Looking for a GPU...

Started by EgonOlsen, February 10, 2016, 09:14:47 AM

Previous topic - Next topic

EgonOlsen

...is anybody out there with a device with PowerVR SGX544 GPU? There seems to be a problem with one of Naroth's shaders on this device, but I don't know what it is and I don't have access to such a device. My only PowerVR based device uses a SGX540, and that one works just fine...

HELP!

EgonOlsen

I think I found it with the help of the PowerVR developer toolkit...The weapon's vertex shader doesn't compile on the 5XT-compiler (it does so on all the others though). There's no proper error message either, just "nope, didn't work!".

I tracked it down to this line:


if (angle > 0.0 && !dungeon) {
...
}


for some reason, it doesn't like this line. But it likes this one:


if (!dungeon && angle > 0.0) {
  ...
}


Oh, the joys of shader compilation...but anyway...anybody has such a device (like a Galaxy S4)? I would love to test my change to see, if it actually solves the problem or if this is a red hering.

Darai

Hmm is there a siple way to find out which GPU you have in the device? I'll probably have to search the net...
Well I have Nexus 7, which means Nvidia Tegra 3, but that is CPU, not GPU unles it ... nope, I just find that I have there probably Adreno 320. Sorry.

EgonOlsen

The Galaxy S4 is a popular example, also some Asus Fonepads and Zenfones.

EgonOlsen

Got a user to test it for me. Seems to work fine now on PowerVR SGX54x, x>0...stupid shader compiler... >:(