Skip to content

Commit

Permalink
Enum fixes found while making #534 (#546)
Browse files Browse the repository at this point in the history
* Add SpriteModeSGIX group

* Removed SpriteModeSGIX from glSpriteParameterfvSGIX

* Added TextureEnvTarget, TextureEnvParameter, and TextureEnvMode groups

* Removed group=SpriteModeSGIX from glSpriteParameterfSGIX

* Fix broken xml
  • Loading branch information
NogginBops authored Dec 9, 2022
1 parent 1a11c27 commit 65e0c7e
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions xml/gl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ typedef unsigned int GLhandleARB;
<enum value="0x0D19" name="GL_GREEN_BIAS" group="PixelTransferParameter,GetPName"/>
<enum value="0x0D1A" name="GL_BLUE_SCALE" group="PixelTransferParameter,GetPName"/>
<enum value="0x0D1B" name="GL_BLUE_BIAS" group="PixelTransferParameter,GetPName"/>
<enum value="0x0D1C" name="GL_ALPHA_SCALE" group="PixelTransferParameter,GetPName"/>
<enum value="0x0D1C" name="GL_ALPHA_SCALE" group="PixelTransferParameter,GetPName,TextureEnvParameter"/>
<enum value="0x0D1D" name="GL_ALPHA_BIAS" group="PixelTransferParameter,GetPName"/>
<enum value="0x0D1E" name="GL_DEPTH_SCALE" group="PixelTransferParameter,GetPName"/>
<enum value="0x0D1F" name="GL_DEPTH_BIAS" group="PixelTransferParameter,GetPName"/>
Expand Down Expand Up @@ -1014,7 +1014,7 @@ typedef unsigned int GLhandleARB;
<enum value="0x1D01" name="GL_SMOOTH" group="ShadingModel"/>
<unused start="0x1D02" end="0x1DFF" comment="Unused for ShadingModel"/>
<enum value="0x1E00" name="GL_KEEP" group="StencilOp"/>
<enum value="0x1E01" name="GL_REPLACE" group="StencilOp,LightEnvModeSGIX"/>
<enum value="0x1E01" name="GL_REPLACE" group="StencilOp,LightEnvModeSGIX,TextureEnvMode"/>
<enum value="0x1E02" name="GL_INCR" group="StencilOp"/>
<enum value="0x1E03" name="GL_DECR" group="StencilOp"/>
<unused start="0x1E04" end="0x1EFF" comment="Unused for StencilOp"/>
Expand Down Expand Up @@ -1697,9 +1697,9 @@ typedef unsigned int GLhandleARB;
<enum value="0x8149" name="GL_SPRITE_MODE_SGIX" group="GetPName,SpriteParameterNameSGIX"/>
<enum value="0x814A" name="GL_SPRITE_AXIS_SGIX" group="GetPName"/>
<enum value="0x814B" name="GL_SPRITE_TRANSLATION_SGIX" group="GetPName"/>
<enum value="0x814C" name="GL_SPRITE_AXIAL_SGIX"/>
<enum value="0x814D" name="GL_SPRITE_OBJECT_ALIGNED_SGIX"/>
<enum value="0x814E" name="GL_SPRITE_EYE_ALIGNED_SGIX"/>
<enum value="0x814C" name="GL_SPRITE_AXIAL_SGIX" group="SpriteModeSGIX"/>
<enum value="0x814D" name="GL_SPRITE_OBJECT_ALIGNED_SGIX" group="SpriteModeSGIX"/>
<enum value="0x814E" name="GL_SPRITE_EYE_ALIGNED_SGIX" group="SpriteModeSGIX"/>
<enum value="0x814F" name="GL_TEXTURE_4D_BINDING_SGIS" group="GetPName"/>
</enums>

Expand Down Expand Up @@ -2760,9 +2760,9 @@ typedef unsigned int GLhandleARB;
<enum value="0x84FE" name="GL_TEXTURE_MAX_ANISOTROPY_EXT" alias="GL_TEXTURE_MAX_ANISOTROPY"/>
<enum value="0x84FF" name="GL_MAX_TEXTURE_MAX_ANISOTROPY"/>
<enum value="0x84FF" name="GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT" alias="GL_MAX_TEXTURE_MAX_ANISOTROPY"/>
<enum value="0x8500" name="GL_TEXTURE_FILTER_CONTROL"/>
<enum value="0x8500" name="GL_TEXTURE_FILTER_CONTROL" group="TextureEnvTarget"/>
<enum value="0x8500" name="GL_TEXTURE_FILTER_CONTROL_EXT"/>
<enum value="0x8501" name="GL_TEXTURE_LOD_BIAS" group="TextureParameterName,SamplerParameterF"/>
<enum value="0x8501" name="GL_TEXTURE_LOD_BIAS" group="TextureParameterName,SamplerParameterF,TextureEnvParameter"/>
<enum value="0x8501" name="GL_TEXTURE_LOD_BIAS_EXT"/>
<enum value="0x8502" name="GL_MODELVIEW1_STACK_DEPTH_EXT"/>
<enum value="0x8503" name="GL_COMBINE4_NV"/>
Expand Down Expand Up @@ -2920,16 +2920,16 @@ typedef unsigned int GLhandleARB;
</enums>

<enums namespace="GL" start="0x8570" end="0x859F" group="TextureEnvParameter" vendor="AMD/NV">
<enum value="0x8570" name="GL_COMBINE" group="TextureEnvParameter"/>
<enum value="0x8570" name="GL_COMBINE" group="TextureEnvParameter,TextureEnvMode"/>
<enum value="0x8570" name="GL_COMBINE_ARB" group="TextureEnvParameter"/>
<enum value="0x8570" name="GL_COMBINE_EXT" group="TextureEnvParameter"/>
<enum value="0x8571" name="GL_COMBINE_RGB" group="TextureEnvParameter"/>
<enum value="0x8571" name="GL_COMBINE_RGB" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8571" name="GL_COMBINE_RGB_ARB" group="TextureEnvParameter"/>
<enum value="0x8571" name="GL_COMBINE_RGB_EXT" group="TextureEnvParameter"/>
<enum value="0x8572" name="GL_COMBINE_ALPHA" group="TextureEnvParameter"/>
<enum value="0x8572" name="GL_COMBINE_ALPHA" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8572" name="GL_COMBINE_ALPHA_ARB" group="TextureEnvParameter"/>
<enum value="0x8572" name="GL_COMBINE_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x8573" name="GL_RGB_SCALE" group="TextureEnvParameter"/>
<enum value="0x8573" name="GL_RGB_SCALE" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8573" name="GL_RGB_SCALE_ARB" group="TextureEnvParameter"/>
<enum value="0x8573" name="GL_RGB_SCALE_EXT" group="TextureEnvParameter"/>
<enum value="0x8574" name="GL_ADD_SIGNED" group="TextureEnvParameter"/>
Expand All @@ -2952,50 +2952,50 @@ typedef unsigned int GLhandleARB;
<enum value="0x8580" name="GL_SOURCE0_RGB" group="TextureEnvParameter"/>
<enum value="0x8580" name="GL_SOURCE0_RGB_ARB" group="TextureEnvParameter"/>
<enum value="0x8580" name="GL_SOURCE0_RGB_EXT" group="TextureEnvParameter"/>
<enum value="0x8580" name="GL_SRC0_RGB" alias="GL_SOURCE0_RGB" group="TextureEnvParameter"/>
<enum value="0x8580" name="GL_SRC0_RGB" alias="GL_SOURCE0_RGB" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8581" name="GL_SOURCE1_RGB" group="TextureEnvParameter"/>
<enum value="0x8581" name="GL_SOURCE1_RGB_ARB" group="TextureEnvParameter"/>
<enum value="0x8581" name="GL_SOURCE1_RGB_EXT" group="TextureEnvParameter"/>
<enum value="0x8581" name="GL_SRC1_RGB" alias="GL_SOURCE1_RGB" group="TextureEnvParameter"/>
<enum value="0x8581" name="GL_SRC1_RGB" alias="GL_SOURCE1_RGB" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8582" name="GL_SOURCE2_RGB" group="TextureEnvParameter"/>
<enum value="0x8582" name="GL_SOURCE2_RGB_ARB" group="TextureEnvParameter"/>
<enum value="0x8582" name="GL_SOURCE2_RGB_EXT" group="TextureEnvParameter"/>
<enum value="0x8582" name="GL_SRC2_RGB" alias="GL_SOURCE2_RGB" group="TextureEnvParameter"/>
<enum value="0x8582" name="GL_SRC2_RGB" alias="GL_SOURCE2_RGB" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8583" name="GL_SOURCE3_RGB_NV" group="TextureEnvParameter"/>
<unused start="0x8584" end="0x8587" comment="Additional combiner enums only"/>
<enum value="0x8588" name="GL_SOURCE0_ALPHA" group="TextureEnvParameter"/>
<enum value="0x8588" name="GL_SOURCE0_ALPHA_ARB" group="TextureEnvParameter"/>
<enum value="0x8588" name="GL_SOURCE0_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x8588" name="GL_SRC0_ALPHA" alias="GL_SOURCE0_ALPHA" group="TextureEnvParameter"/>
<enum value="0x8588" name="GL_SRC0_ALPHA" alias="GL_SOURCE0_ALPHA" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8589" name="GL_SOURCE1_ALPHA" group="TextureEnvParameter"/>
<enum value="0x8589" name="GL_SOURCE1_ALPHA_ARB" group="TextureEnvParameter"/>
<enum value="0x8589" name="GL_SOURCE1_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x8589" name="GL_SRC1_ALPHA" alias="GL_SOURCE1_ALPHA" group="TextureEnvParameter,BlendingFactor"/>
<enum value="0x8589" name="GL_SRC1_ALPHA" alias="GL_SOURCE1_ALPHA" group="TextureEnvParameter,BlendingFactor,TextureEnvParameter"/>
<enum value="0x8589" name="GL_SRC1_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x858A" name="GL_SOURCE2_ALPHA" group="TextureEnvParameter"/>
<enum value="0x858A" name="GL_SOURCE2_ALPHA_ARB" group="TextureEnvParameter"/>
<enum value="0x858A" name="GL_SOURCE2_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x858A" name="GL_SRC2_ALPHA" alias="GL_SOURCE2_ALPHA" group="TextureEnvParameter"/>
<enum value="0x858A" name="GL_SRC2_ALPHA" alias="GL_SOURCE2_ALPHA" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x858B" name="GL_SOURCE3_ALPHA_NV" group="TextureEnvParameter"/>
<unused start="0x858C" end="0x858F" comment="Additional combiner enums only"/>
<enum value="0x8590" name="GL_OPERAND0_RGB" group="TextureEnvParameter"/>
<enum value="0x8590" name="GL_OPERAND0_RGB" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8590" name="GL_OPERAND0_RGB_ARB" group="TextureEnvParameter"/>
<enum value="0x8590" name="GL_OPERAND0_RGB_EXT" group="TextureEnvParameter"/>
<enum value="0x8591" name="GL_OPERAND1_RGB" group="TextureEnvParameter"/>
<enum value="0x8591" name="GL_OPERAND1_RGB" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8591" name="GL_OPERAND1_RGB_ARB" group="TextureEnvParameter"/>
<enum value="0x8591" name="GL_OPERAND1_RGB_EXT" group="TextureEnvParameter"/>
<enum value="0x8592" name="GL_OPERAND2_RGB" group="TextureEnvParameter"/>
<enum value="0x8592" name="GL_OPERAND2_RGB" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8592" name="GL_OPERAND2_RGB_ARB" group="TextureEnvParameter"/>
<enum value="0x8592" name="GL_OPERAND2_RGB_EXT" group="TextureEnvParameter"/>
<enum value="0x8593" name="GL_OPERAND3_RGB_NV" group="TextureEnvParameter"/>
<unused start="0x8594" end="0x8597" comment="Additional combiner enums only"/>
<enum value="0x8598" name="GL_OPERAND0_ALPHA" group="TextureEnvParameter"/>
<enum value="0x8598" name="GL_OPERAND0_ALPHA" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8598" name="GL_OPERAND0_ALPHA_ARB" group="TextureEnvParameter"/>
<enum value="0x8598" name="GL_OPERAND0_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x8599" name="GL_OPERAND1_ALPHA" group="TextureEnvParameter"/>
<enum value="0x8599" name="GL_OPERAND1_ALPHA" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x8599" name="GL_OPERAND1_ALPHA_ARB" group="TextureEnvParameter"/>
<enum value="0x8599" name="GL_OPERAND1_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x859A" name="GL_OPERAND2_ALPHA" group="TextureEnvParameter"/>
<enum value="0x859A" name="GL_OPERAND2_ALPHA" group="TextureEnvParameter,TextureEnvParameter"/>
<enum value="0x859A" name="GL_OPERAND2_ALPHA_ARB" group="TextureEnvParameter"/>
<enum value="0x859A" name="GL_OPERAND2_ALPHA_EXT" group="TextureEnvParameter"/>
<enum value="0x859B" name="GL_OPERAND3_ALPHA_NV" group="TextureEnvParameter"/>
Expand Down Expand Up @@ -3857,11 +3857,11 @@ typedef unsigned int GLhandleARB;
<enum value="0x885E" name="GL_HILO8_NV"/>
<enum value="0x885F" name="GL_SIGNED_HILO8_NV"/>
<enum value="0x8860" name="GL_FORCE_BLUE_TO_ONE_NV"/>
<enum value="0x8861" name="GL_POINT_SPRITE"/>
<enum value="0x8861" name="GL_POINT_SPRITE" group="TextureEnvTarget"/>
<enum value="0x8861" name="GL_POINT_SPRITE_ARB"/>
<enum value="0x8861" name="GL_POINT_SPRITE_NV"/>
<enum value="0x8861" name="GL_POINT_SPRITE_OES"/>
<enum value="0x8862" name="GL_COORD_REPLACE"/>
<enum value="0x8862" name="GL_COORD_REPLACE" group="TextureEnvParameter" />
<enum value="0x8862" name="GL_COORD_REPLACE_ARB"/>
<enum value="0x8862" name="GL_COORD_REPLACE_NV"/>
<enum value="0x8862" name="GL_COORD_REPLACE_OES"/>
Expand Down Expand Up @@ -23307,25 +23307,25 @@ typedef unsigned int GLhandleARB;
<command>
<proto>void <name>glSpriteParameterfSGIX</name></proto>
<param group="SpriteParameterNameSGIX"><ptype>GLenum</ptype> <name>pname</name></param>
<param group="CheckedFloat32"><ptype>GLfloat</ptype> <name>param</name></param>
<param><ptype>GLfloat</ptype> <name>param</name></param>
<glx type="render" opcode="2060"/>
</command>
<command>
<proto>void <name>glSpriteParameterfvSGIX</name></proto>
<param group="SpriteParameterNameSGIX"><ptype>GLenum</ptype> <name>pname</name></param>
<param group="CheckedFloat32" len="COMPSIZE(pname)">const <ptype>GLfloat</ptype> *<name>params</name></param>
<param len="COMPSIZE(pname)">const <ptype>GLfloat</ptype> *<name>params</name></param>
<glx type="render" opcode="2061"/>
</command>
<command>
<proto>void <name>glSpriteParameteriSGIX</name></proto>
<param group="SpriteParameterNameSGIX"><ptype>GLenum</ptype> <name>pname</name></param>
<param group="CheckedInt32"><ptype>GLint</ptype> <name>param</name></param>
<param group="SpriteModeSGIX"><ptype>GLint</ptype> <name>param</name></param>
<glx type="render" opcode="2062"/>
</command>
<command>
<proto>void <name>glSpriteParameterivSGIX</name></proto>
<param group="SpriteParameterNameSGIX"><ptype>GLenum</ptype> <name>pname</name></param>
<param group="CheckedInt32" len="COMPSIZE(pname)">const <ptype>GLint</ptype> *<name>params</name></param>
<param group="SpriteModeSGIX" len="COMPSIZE(pname)">const <ptype>GLint</ptype> *<name>params</name></param>
<glx type="render" opcode="2063"/>
</command>
<command>
Expand Down

0 comments on commit 65e0c7e

Please sign in to comment.