Add support for Nvidia Fermi extensions.

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@595 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
nigels 2010-04-19 03:52:05 +00:00
parent ea6c9830f7
commit 341b043b31
3 changed files with 16 additions and 21 deletions

View File

@ -234,13 +234,18 @@ EOT
GL_MAX_SAMPLES_EXT 0x8D57 GL_MAX_SAMPLES_EXT 0x8D57
EOT EOT
# Filter out GL_NV_gpu_program_fp64 enums and functions
head -n3 $1/GL_NV_gpu_program_fp64 > tmp
mv tmp $1/GL_NV_gpu_program_fp64
# Filter glGetUniformui64vNV from GL_NV_shader_buffer_load
grep -v "glGetUniformui64vNV" $1/GL_NV_shader_buffer_load > tmp
mv tmp $1/GL_NV_shader_buffer_load
# Filter out GL_ARB_gpu_shader_fp64 enums and functions # Filter out GL_ARB_gpu_shader_fp64 enums and functions
head -n3 $1/GL_ARB_gpu_shader_fp64 > tmp head -n3 $1/GL_ARB_gpu_shader_fp64 > tmp
mv tmp $1/GL_ARB_gpu_shader_fp64 mv tmp $1/GL_ARB_gpu_shader_fp64
# fix const correctness in GL_ARB_shader_objects
# perl -e 's/(.+glUniform.*(fv|iv).+)(GLfloat\*.+|GLint\*.+)/\1const \3/;' -pi $1/GL_ARB_shader_objects
# Filter out profile enumerations from GLX_ARB_create_context # Filter out profile enumerations from GLX_ARB_create_context
grep -v "_PROFILE_" $1/GLX_ARB_create_context > tmp grep -v "_PROFILE_" $1/GLX_ARB_create_context > tmp
mv tmp $1/GLX_ARB_create_context mv tmp $1/GLX_ARB_create_context

View File

@ -1,18 +0,0 @@
GL_ARB_sampler_objects
http://www.opengl.org/registry/specs/ARB/sampler_objects.txt
GL_ARB_sampler_objects
GL_SAMPLER_BINDING 0x8919
void glBindSampler (GLuint unit, GLuint sampler)
void glDeleteSamplers (GLsizei count, const GLuint * samplers)
void glGenSamplers (GLsizei count, GLuint* samplers)
void glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint* params)
void glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint* params)
void glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat* params)
void glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint* params)
GLboolean glIsSampler (GLuint sampler)
void glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint* params)
void glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint* params)
void glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param)
void glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat* params)
void glSamplerParameteri (GLuint sampler, GLenum pname, GLint param)
void glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint* params)

View File

@ -0,0 +1,8 @@
GL_NV_tessellation_program5
http://www.opengl.org/registry/specs/NV/tessellation_program5.txt
GL_NV_gpu_program5
GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
GL_TESS_CONTROL_PROGRAM_NV 0x891E
GL_TESS_EVALUATION_PROGRAM_NV 0x891F
GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75