summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-05-25 11:34:42 -0700
committerIan Romanick <[email protected]>2012-06-13 11:50:25 -0700
commit502449d71f5eed6b8db00549dd4759743260f41a (patch)
tree85ba0ce0bd00c4f1f50ee8a1f77f1d3ca0ecbef0 /src/mapi
parenta4a0c1f09d5f3854fed8d760344af08a34af984f (diff)
glapi: Add texture swizzle enums
These are from OpenGL 3.3, ARB_texture_swizzle, and EXT_texture_swizzle (with different names). I only added them to 3.3 because that required the least work. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/GL3x.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml
index baa216117fe..b3ab24d358c 100644
--- a/src/mapi/glapi/gen/GL3x.xml
+++ b/src/mapi/glapi/gen/GL3x.xml
@@ -585,6 +585,11 @@
<category name="3.3">
<!-- There are other new functions and tokens defined by other extensions -->
+ <enum name="TEXTURE_SWIZZLE_R" value="0x8E42"/>
+ <enum name="TEXTURE_SWIZZLE_G" value="0x8E43"/>
+ <enum name="TEXTURE_SWIZZLE_B" value="0x8E44"/>
+ <enum name="TEXTURE_SWIZZLE_A" value="0x8E45"/>
+ <enum name="TEXTURE_SWIZZLE_RGBA" value="0x8E46"/>
<function name="VertexAttribDivisor" offset="assign">
<param name="index" type="GLuint"/>