This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Nexus 10 shader compiler bug

I have a Nexus 10 with Android 5.0 and I'm getting this "error" when compiling the attached shaders :

12-09 04:33:35.369: I/com.re3.benchmark(5159): L0001 The fragment shader uniform structure Light0 does not match the vertex shader uniform structure Light0.

12-09 04:33:35.369: I/com.re3.benchmark(5159):     The precision does not match.

I'm basically declaring a structure in the VS that I'm not using, and I think the compiler optimizes the components out, compares with the one that's used in the FS and then realizes they don't match, but instead it says the precision doesn't match. As you can see my FS is highp and putting highp manually in the VS doesn't change the error returned. I've also encountered a second error with a shader that declares just a uniform in the VS but is only used in the FS.

This shouldn't be an error obviously, and an ETA on a fix would be nice.

MaliShaders.zip
Parents Reply Children