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 <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Ian Romanick 2012-05-25 11:34:42 -07:00
parent a4a0c1f09d
commit 502449d71f

View file

@ -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"/>