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

    • Binaries generated by the offline compiler are specific to the GPU hardware and driver version that the DDK was built for. If you update driver versions you will need to update the offline compiler build too.
    • In general we do not recommend shipping binaries built with the offline compiler, as it misses optimization passes that are present in the DDK compiler, as so they are often less efficient. Instead we would suggest using glGetProgramBinary() to cache binaries that were built using the driver present on the target.

    Kind regards,

    Pete

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

    • Binaries generated by the offline compiler are specific to the GPU hardware and driver version that the DDK was built for. If you update driver versions you will need to update the offline compiler build too.
    • In general we do not recommend shipping binaries built with the offline compiler, as it misses optimization passes that are present in the DDK compiler, as so they are often less efficient. Instead we would suggest using glGetProgramBinary() to cache binaries that were built using the driver present on the target.

    Kind regards,

    Pete

Children