diff options
author | Ian Romanick <[email protected]> | 2011-12-05 15:12:07 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-12-13 16:07:17 -0800 |
commit | e089a0e2ee4a0546df73fdf76a40395d6d9ceb52 (patch) | |
tree | 6edce2a05769338b5f5fddad41ce09ae5ea5c425 /src/mapi | |
parent | 090dd9428dbd7e57039dbd7a739e4496fcd7febe (diff) |
glapi: Remove mention of nonexistent enums
glext.h doesn't have GL_MIN_PROGRAM_TEXEL_OFFSET_EXT or
GL_MAX_PROGRAM_TEXEL_OFFSET_EXT. Using them in the XML causes code to
be generated for the xserver that won't compile. Use the names that
exist instead.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/EXT_gpu_shader4.xml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/EXT_gpu_shader4.xml b/src/mapi/glapi/gen/EXT_gpu_shader4.xml index 7a8944ea3b4..bf2f6a3ed21 100644 --- a/src/mapi/glapi/gen/EXT_gpu_shader4.xml +++ b/src/mapi/glapi/gen/EXT_gpu_shader4.xml @@ -31,10 +31,15 @@ <enum name="UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT" value="0x8DD6"/> <enum name="UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT" value="0x8DD7"/> <enum name="UNSIGNED_INT_SAMPLER_BUFFER_EXT" value="0x8DD8"/> - <enum name="MIN_PROGRAM_TEXEL_OFFSET_EXT" value="0x8904"> + + <!-- There is no MIN_PROGRAM_TEXEL_OFFSET_EXT in glext.h. There is + MIN_PROGRAM_TEXEL_OFFSET_NV and MIN_PROGRAM_TEXEL_OFFSET (OpenGL + 3.0). Same goes for MAX_PROGRAM_TEXEL_OFFSET_EXT. + --> + <enum name="MIN_PROGRAM_TEXEL_OFFSET" value="0x8904"> <size name="Get" mode="get"/> </enum> - <enum name="MAX_PROGRAM_TEXEL_OFFSET_EXT" value="0x8905"> + <enum name="MAX_PROGRAM_TEXEL_OFFSET" value="0x8905"> <size name="Get" mode="get"/> </enum> |