Imagination PowerVR SDK Blog

How to use binary shader?


#1

I got the GL_SHADER_BINARY_FORMATS successfully.
I can successfully compile the shader code at run time, and I use the binary shader successfully compiled by PVRUniSCo.


However, when I want to link the shader programs, the error message shows " xxx shader was not successfully compiled."
What is wrong?

My hardware is SGX 535.


#2

You need to obtain the correct binary compiler from your platform provider. The PVRUniSCo compiler that comes with the SDK is indended for shader validation and profiling, it does not produce binaries that are compatible with your hardware platform.