Closed ztreer closed 9 years ago
Actually the vertexSource/fragmentSource may be all right, because they would fail earlier, and compileShader() succeeds for both (at least the return value signals a success). But later gl.getError() will be checked and that returns a failure - but only an integer error code, which is : 1281
**GL_INVALID_VALUE, 0x0501**
Given when a value parameter is not a legal value for that function. This is only given for local problems; if the spec allows the value in certain circumstances, where other parameters or state dictate those circumstances, then GL_INVALID_OPERATION is the result instead.
well that's not much help, as it will not tell us about what value was invalid in which operation ....
Hi!
We've seen an 'Error while compiling program' rarely but regularly for a while now, i've added logging the name of the program, and now it turned out which program fails to compile in GPUProgram.createProgram()
Error while compiling program: FlatColorMesh_DirectionLight
vertexSource:
fragmentSource:
Running on GT-N7100, Android 4.3
Do you have any ideas why this is failing?
Thank you!