I use mali_offline_compiler transform the VertexScene.txt to VertexScene.bin as followsmalioc --opengles -c Mali-G31 --vertex D:VertexScene.txt -o D:VertexScene.binand use the VertexScene.bin to compiler while we run the glShaderBinary type=GL_VERTEX_SHADERformat=GL_MALI_SHADER_BINARY_ARMand output the error message as followserr=1281Any body can tell me what is the problem?
If you have access to the DDK build of the offline compiler that can generate binaries please raise a support case and we can handle there, as it's not a public tool.
Two general pieces of advice though:
Kind regards,
Pete
Hi Peter,
(1) Is there any user guide about the DDK can let me to study. I have no idea about the DDK.
(2) I load the vertexScene.txt directly and use the glGetProgramBinary() to compile. There is the error message below. GL_PROGRAM_BINARY_SIZE was not declared in the scope. How to fix the error?
Is there any user guide about the DDK can let me to study. I have no idea about the DDK.
Yes, guides should be in the driver DDK download bundle your company licensed. As above, if you need more help please raise a support case, as we cannot discuss confidential material on a public forum.
For your error, I think it should be GL_PROGRAM_BINARY_LENGTH.
Kind regards, Pete