Hello ARM,
In testing today, we found what appears to be an infinite loop in the mali T6xx shader compiler. Tested against Galaxy Note 2014 running 4.4.2.
Two shaders are here attached:
-shader0291.txt, which compiles successfully.
-shader0292.txt, for which glCompileShader never returns (presumably in an infinite loop).
shader0292 is an alpha test variant of shader0291. However, as you may notice, it happens to be alpha testing against 1.0, something we've now optimized out of our shader code generation. However, despite the simple workaround, figured I'd share these since the compiler bug itself appears valid.
Thanks!
Stephane