#210 GL_GEOMETRY_VERTICES_OUT wrong define?

1.10.1
wont-fix
Nigel Stewart
None
7
2014-02-20
2013-01-23
Anonymous
No

according to the specification of OpenGL 4.2 this

define GL_GEOMETRY_VERTICES_OUT 0x8916

define GL_GEOMETRY_INPUT_TYPE 0x8917

define GL_GEOMETRY_OUTPUT_TYPE 0x8918

should be

define GL_GEOMETRY_VERTICES_OUT 0x8DDA

define GL_GEOMETRY_INPUT_TYPE 0x8DDB

define GL_GEOMETRY_OUTPUT_TYPE 0x8DDC

Discussion

  • Nigel Stewart
    Nigel Stewart
    2013-01-23

    A spec bug?

    $ wget http://www.opengl.org/registry/api/glext.h
    ...
    
    $ grep 'GL_GEOMETRY_VERTICES_OUT' glext.h 
    #define GL_GEOMETRY_VERTICES_OUT          0x8916
    #define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
    #define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
    
    $ grep 'GL_GEOMETRY_INPUT_TYPE' glext.h 
    #define GL_GEOMETRY_INPUT_TYPE            0x8917
    #define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
    #define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
    
    $ grep 'GL_GEOMETRY_OUTPUT_TYPE' glext.h 
    #define GL_GEOMETRY_OUTPUT_TYPE           0x8918
    #define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
    #define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
    
     
  • Nigel Stewart
    Nigel Stewart
    2013-01-28

    Inclined to close this as "not a GLEW bug".

    Anything further?

    • Nigel
     
  • Nigel Stewart
    Nigel Stewart
    2013-07-12

    I'll stick with matching the opengl.org glext.h, for now...

    $ for i in GL_GEOMETRY_VERTICES_OUT GL_GEOMETRY_INPUT_TYPE GL_GEOMETRY_OUTPUT_TYPE; do grep $i include/GL/glew.h; done
    #define GL_GEOMETRY_VERTICES_OUT 0x8916
    #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
    #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
    #define GL_GEOMETRY_INPUT_TYPE 0x8917
    #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
    #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
    #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
    #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
    #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
    
    $ for i in GL_GEOMETRY_VERTICES_OUT GL_GEOMETRY_INPUT_TYPE GL_GEOMETRY_OUTPUT_TYPE; do grep $i gl/api/glext.h; done
    #define GL_GEOMETRY_VERTICES_OUT          0x8916
    #define GL_GEOMETRY_VERTICES_OUT_ARB      0x8DDA
    #define GL_GEOMETRY_VERTICES_OUT_EXT      0x8DDA
    /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
    #define GL_GEOMETRY_INPUT_TYPE            0x8917
    #define GL_GEOMETRY_INPUT_TYPE_ARB        0x8DDB
    #define GL_GEOMETRY_INPUT_TYPE_EXT        0x8DDB
    /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
    #define GL_GEOMETRY_OUTPUT_TYPE           0x8918
    #define GL_GEOMETRY_OUTPUT_TYPE_ARB       0x8DDC
    #define GL_GEOMETRY_OUTPUT_TYPE_EXT       0x8DDC
    /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
    
     
  • Nigel Stewart
    Nigel Stewart
    2014-02-20

    • status: open --> wont-fix
    • assigned_to: Nigel Stewart
    • Group: 1.10.2 --> 1.10.1
     


Anonymous


Cancel   Add attachments