Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


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

glShaderBinary error message = 1281

I use mali_offline_compiler transform
the VertexScene.txt to VertexScene.bin as follows
malioc --opengles -c Mali-G31 --vertex D:VertexScene.txt -o D:VertexScene.bin

and use the VertexScene.bin to compiler

while we run the glShaderBinary

type=GL_VERTEX_SHADER
format=GL_MALI_SHADER_BINARY_ARM

and output the error message as follows

err=1281

Any body can tell me what is the problem?

Parents
  • 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?

    code

    error message

Reply
  • 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?

    code

    error message

Children
  • 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