Results 1 to 3 of 3

Thread: OES_shader_source and OES_shader_binary

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    3

    OES_shader_source and OES_shader_binary

    In specifications of OpenGL ES 2.0 Version 1.06, it explained OES_shader_source and OES_shader_binary.

    However, the string of OES_shader_source and OES_shader_binary disappeared from specifications of OpenGL ES 2.0 Version 1.19.

    Where did the specification of OES_shader_source and OES_shader_binary move?
    ("Khronos OpenGL ES API Registry" It is not. )

    Are neither OES_shader_source nor OES_shader_binary used now?

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    353
    Both glShaderSource and glShaderBinary entry points are part of the core specification now, but only one of them has to be supported.

    You should query the values GL_SHADER_COMPILER, GL_NUM_SHADER_BINARY_FORMATS, and GL_SHADER_BINARY_FORMATS to find out what is supported.
    Georg Kolling, Imagination Technologies
    Please ask questions specific to PowerVR hardware or SDKs on the PowerVR Insider Forum
    DevTech@imgtec.com | http://www.powervrinsider.com

  3. #3
    Junior Member
    Join Date
    Dec 2006
    Posts
    3

    Re: OES_shader_source and OES_shader_binary

    The doubt was solved.

    For instance,

    If SHADER_COMPILER is true, the source can be loaded.
    If NUM_SHADER_BINARY_FORMATS >=1,
    the binary can be loaded.
    etc...

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •