Author Topic: Looking for a GPU...  (Read 510 times)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Looking for a GPU...
« on: February 10, 2016, 09:14:47 am »
...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!

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Looking for a GPU...
« Reply #1 on: February 10, 2016, 10:28:59 am »
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:

Code: [Select]
if (angle > 0.0 && !dungeon) {
 ...
}

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

Code: [Select]
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.

Offline Darai

  • byte
  • *
  • Posts: 45
    • View Profile
Re: Looking for a GPU...
« Reply #2 on: February 10, 2016, 02:23:08 pm »
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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Looking for a GPU...
« Reply #3 on: February 10, 2016, 02:27:13 pm »
The Galaxy S4 is a popular example, also some Asus Fonepads and Zenfones.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11776
    • View Profile
    • http://www.jpct.net
Re: Looking for a GPU...
« Reply #4 on: February 11, 2016, 04:49:47 pm »
Got a user to test it for me. Seems to work fine now on PowerVR SGX54x, x>0...stupid shader compiler... >:(