Add various enumerants missing from glew.h currently

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@617 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
nigels 2010-08-13 20:49:25 +00:00
parent 7102be81a7
commit 5d70415c04
4 changed files with 21 additions and 2 deletions

View File

@ -278,6 +278,15 @@ EOT
grep -v "EXT" $1/GL_ARB_viewport_array > tmp
mv tmp $1/GL_ARB_viewport_array
# Additional enumerations for GL_NV_vertex_buffer_unified_memory
# These are mentioned in GL_ARB_draw_indirect.txt
cat >> $1/GL_NV_vertex_buffer_unified_memory <<EOT
GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
EOT
# clean up
rm -f $1/*.bak

View File

@ -1,6 +1,6 @@
GL_EXT_draw_range_elements
http://oss.sgi.com/projects/ogl-sample/registry/EXT/draw_range_elements.txt
GL_EXT_draw_range_elements
GL_MAX_ELEMENTS_VERTICES 0x80E8
GL_MAX_ELEMENTS_INDICES 0x80E9
GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
void glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)

View File

@ -0,0 +1,9 @@
GL_NV_gpu_program5
http://www.opengl.org/registry/specs/NV/gpu_program5.txt
GL_NV_gpu_program5
GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F

View File

@ -1,3 +1,4 @@
GL_NV_vertex_program4
http://developer.download.nvidia.com/opengl/specs/GL_NV_vertex_program4.txt
GL_NV_gpu_program4
GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD