mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 14:10:09 +01:00
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:
parent
a4a0c1f09d
commit
502449d71f
1 changed files with 5 additions and 0 deletions
|
|
@ -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"/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue