How to use binary shader?

This topic contains 1 reply, has 2 voices, and was last updated by  Xmas 8 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29720

    windy
    Member

    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.

    #32782

    Xmas
    Member

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.