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

using offline compiled shader?

Hi,

I want to use the Mali off-line shader compiler, to compile the Vertex shader and Fragment shaders.

I am using function below.

glShaderBinary(1, &vertexShader, GL_MALI_SHADER_BINARY_ARM, (void*)&buffer, sizeof(char)*sizeof(buffer));

however, an error occurs ' GL_MALI_SHADER_BINARY_ARM ' was not declared in this scope. So how can I solve that?  Thanks~~