Good day to everyone. I just wanted to report a possible bug with the Adreno GLSL Compiler for Samsung Galaxy S3. There seems to be trouble with Uniform Structures. Works on Desktop GLSL, and on Android Emulator.
Then with GLES your usual glUniformMatrix4F call with the name 'scene.modelViewProjectionMatrix', it doesn't work in Adreno. But it does on the Android Emulator and Linux Desktop version (tested on Samsung Galaxy S3).
But as soon as you do:
And: glUniformMatrix4F with 'scene_modelViewProjectionMatrix', it works..
I looked in the GLES GLSL specs and it does state that it can handle uniform structures.. Is this a bug?
struct SceneStruct {
mat4 modelViewProjectionMatrix;
};
uniform SceneStruct scene;
Then with GLES your usual glUniformMatrix4F call with the name 'scene.modelViewProjectionMatrix', it doesn't work in Adreno. But it does on the Android Emulator and Linux Desktop version (tested on Samsung Galaxy S3).
But as soon as you do:
uniform mat4 scene_modelViewProjectionMatrix;
And: glUniformMatrix4F with 'scene_modelViewProjectionMatrix', it works..
I looked in the GLES GLSL specs and it does state that it can handle uniform structures.. Is this a bug?