Shader Binary Size

This topic contains 2 replies, has 2 voices, and was last updated by  uday 2 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49093

    uday
    Member

    Hi,

    I am writing a code to read the binary shader file. But using PowerVR SDK 3.5 i am not able to compile and generate a binary shader file. Also, I am interested to know what will be the size of the generated binary shader so if there is any such offline compiler tool please do let me know about it.

    #49095

    PaulL
    Admin

    The BinaryShader example in the PowerVR Graphics SDK demonstrates how to save and load binary shaders in an application.

    It is recommended that shader binaries be generated per application per device, as the binaries are not guaranteed to be portable from device to device, even if they have identical specifications.

    #49097

    uday
    Member

    Thanks for the reply. The sample program gives a better understanding on my queries.

    I was able to use the API in my application as well.

    Thanks for the support.

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