1 Reply Latest reply on Apr 23, 2014 9:05 AM by gsellers

    GL 4.4.12874 Transform feedback

    Taz1024

      Hi,

       

      These queries appear to be broken:

       

      glGetProgramInterfaceiv(PrgName, GL_TRANSFORM_FEEDBACK_BUFFER, GL_MAX_NUM_ACTIVE_VARIABLES, &nVar);

      glGetProgramInterfaceiv(PrgName, GL_TRANSFORM_FEEDBACK_BUFFER, GL_ACTIVE_RESOURCES, &nBuffers);

       

      They both generate an invalid enum error.

       

      Also, this would-be follow up query fails with invalid enum:

      GLenum Prop = GL_BUFFER_BINDING;

      glGetProgramResourceiv(PrgName, GL_TRANSFORM_FEEDBACK_BUFFER, iBuffer, 1, &Prop, 1, NULL, &iBinding);

       

      The transform feedback seems to work properly though. (using the new xfb_buffer, xfb_stride, and xfb_offset layout qualifiers)

       

      This is tested on this render context:

      GLRenderer = AMD Radeon HD 7900 Series

      GLVersion = 4.4.12874 Core Profile Forward-Compatible/Debug Context 14.100.0.0

      GLShadingLanguageVersion = 4.30 (<-- also a bug?, I'm running programs compiled with #version 440)

       

      cheers,

      -mh