Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: AMD glUseProgramStages 0 handling

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2003
    Location
    Haverhill, UK
    Posts
    6

    AMD glUseProgramStages 0 handling

    Driver Version:
    4.2.11019 Core Profile Forward-Compatible Context
    --------------

    I'm trying to 'detach' a program stage using

    glUseProgramStages( name, stage, 0 )

    but the debug log is returning an error reporting

    error : 1008 : glUseProgramStages parameter <program> has an invalid value '0': must be a valid program object name (GL_INVALID_VALUE)

    the standard says
    If UseProgramStages is called with <program> set to zero or with a program object that contains no executable code for a given stages, it is as if the pipeline object has no programmable stage configured for the indicated shader stages.

    Which seems to say to me the driver is wrong? Or have I misunderstood the standard?

  2. #2
    Junior Member Newbie
    Join Date
    Oct 2010
    Posts
    3

    Re: AMD glUseProgramStages 0 handling

    yes, it is a bug in driver, we will fix it ASAP, thank you!

Posting Permissions

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