Forums - [BUG] GLSL compiler bug on HTC One M7. Adding 0.0 to expression causes black image.

4 posts / 0 new
Last post
[BUG] GLSL compiler bug on HTC One M7. Adding 0.0 to expression causes black image.
PaulT
Join Date: 24 Nov 16
Posts: 4
Posted: Mon, 2016-11-28 08:50

The bug description, shader files, screenshots, platform details, and reproduction instructions, are all available in this GitHub issue:

https://github.com/mc-imperial/shader-compiler-bugs/issues/27

The "recipient" shader is supposed to render a space scene, but instead gives a red image. In the "variant" shader, we add `+ 0.0` to an expression (which should have no effect) and the image is now black.

 

  • Up0
  • Down0
mhfeldma Moderator
Join Date: 29 Nov 12
Posts: 310
Posted: Wed, 2016-11-30 06:58

Paul - I can confirm that the correct image is being rendered on our current Adreno 420 drivers with both fragment shaders.. 

The HTC One M7 has an older Adreno 320 GPU.  The only device I have available for verification w/Adreno 320 is a Nexus 4 and can confirm the red and black results as described in https://github.com/mc-imperial/shader-compiler-bugs/issues/27

  • Up0
  • Down0
PaulT
Join Date: 24 Nov 16
Posts: 4
Posted: Mon, 2016-12-05 01:38

Thanks for the reply.

Can you advise of devices that we could use to test your latest drivers?

  • Up0
  • Down0
mhfeldma Moderator
Join Date: 29 Nov 12
Posts: 310
Posted: Mon, 2016-12-05 06:37

There are some links to follow here to get a list of devices with the corresponding chipset.

https://en.wikipedia.org/wiki/List_of_Qualcomm_Snapdragon_devices#Snapdr...

We checked on an Android N build.

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.