glapi: Add missing enums for GL_ATI_fragment_shader
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 25 May 2012 18:39:59 +0000 (11:39 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Jun 2012 18:50:25 +0000 (11:50 -0700)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mapi/glapi/gen/gl_API.xml

index 4e16ead77897a5c729cf86759472b149d935f123..c883e8f132770a69217a791c3006abae76ffb994 100644 (file)
 </category>
 
 <category name="GL_ATI_fragment_shader" number="245">
+    <enum name="FRAGMENT_SHADER_ATI"                      value="0x8920"/>
+    <enum name="REG_0_ATI"                                value="0x8921"/>
+    <enum name="REG_1_ATI"                                value="0x8922"/>
+    <enum name="REG_2_ATI"                                value="0x8923"/>
+    <enum name="REG_3_ATI"                                value="0x8924"/>
+    <enum name="REG_4_ATI"                                value="0x8925"/>
+    <enum name="REG_5_ATI"                                value="0x8926"/>
+
+    <!-- These values are not in the extension spec, but they are in glext.h -->
+    <enum name="REG_6_ATI"                                value="0x8927"/>
+    <enum name="REG_7_ATI"                                value="0x8928"/>
+    <enum name="REG_8_ATI"                                value="0x8929"/>
+    <enum name="REG_9_ATI"                                value="0x892A"/>
+    <enum name="REG_10_ATI"                               value="0x892B"/>
+    <enum name="REG_11_ATI"                               value="0x892C"/>
+    <enum name="REG_12_ATI"                               value="0x892D"/>
+    <enum name="REG_13_ATI"                               value="0x892E"/>
+    <enum name="REG_14_ATI"                               value="0x892F"/>
+    <enum name="REG_15_ATI"                               value="0x8930"/>
+    <enum name="REG_16_ATI"                               value="0x8931"/>
+    <enum name="REG_17_ATI"                               value="0x8932"/>
+    <enum name="REG_18_ATI"                               value="0x8933"/>
+    <enum name="REG_19_ATI"                               value="0x8934"/>
+    <enum name="REG_20_ATI"                               value="0x8935"/>
+    <enum name="REG_21_ATI"                               value="0x8936"/>
+    <enum name="REG_22_ATI"                               value="0x8937"/>
+    <enum name="REG_23_ATI"                               value="0x8938"/>
+    <enum name="REG_24_ATI"                               value="0x8939"/>
+    <enum name="REG_25_ATI"                               value="0x893A"/>
+    <enum name="REG_26_ATI"                               value="0x893B"/>
+    <enum name="REG_27_ATI"                               value="0x893C"/>
+    <enum name="REG_28_ATI"                               value="0x893D"/>
+    <enum name="REG_29_ATI"                               value="0x893E"/>
+    <enum name="REG_30_ATI"                               value="0x893F"/>
+    <enum name="REG_31_ATI"                               value="0x8940"/>
+
+    <enum name="CON_0_ATI"                                value="0x8941"/>
+    <enum name="CON_1_ATI"                                value="0x8942"/>
+    <enum name="CON_2_ATI"                                value="0x8943"/>
+    <enum name="CON_3_ATI"                                value="0x8944"/>
+    <enum name="CON_4_ATI"                                value="0x8945"/>
+    <enum name="CON_5_ATI"                                value="0x8946"/>
+    <enum name="CON_6_ATI"                                value="0x8947"/>
+    <enum name="CON_7_ATI"                                value="0x8948"/>
+
+    <!-- These values are not in the extension spec, but they are in glext.h -->
+    <enum name="CON_8_ATI"                                value="0x8949"/>
+    <enum name="CON_9_ATI"                                value="0x894A"/>
+    <enum name="CON_10_ATI"                               value="0x894B"/>
+    <enum name="CON_11_ATI"                               value="0x894C"/>
+    <enum name="CON_12_ATI"                               value="0x894D"/>
+    <enum name="CON_13_ATI"                               value="0x894E"/>
+    <enum name="CON_14_ATI"                               value="0x894F"/>
+    <enum name="CON_15_ATI"                               value="0x8950"/>
+    <enum name="CON_16_ATI"                               value="0x8951"/>
+    <enum name="CON_17_ATI"                               value="0x8952"/>
+    <enum name="CON_18_ATI"                               value="0x8953"/>
+    <enum name="CON_19_ATI"                               value="0x8954"/>
+    <enum name="CON_20_ATI"                               value="0x8955"/>
+    <enum name="CON_21_ATI"                               value="0x8956"/>
+    <enum name="CON_22_ATI"                               value="0x8957"/>
+    <enum name="CON_23_ATI"                               value="0x8958"/>
+    <enum name="CON_24_ATI"                               value="0x8959"/>
+    <enum name="CON_25_ATI"                               value="0x895A"/>
+    <enum name="CON_26_ATI"                               value="0x895B"/>
+    <enum name="CON_27_ATI"                               value="0x895C"/>
+    <enum name="CON_28_ATI"                               value="0x895D"/>
+    <enum name="CON_29_ATI"                               value="0x895E"/>
+    <enum name="CON_30_ATI"                               value="0x895F"/>
+    <enum name="CON_31_ATI"                               value="0x8960"/>
+
+    <enum name="MOV_ATI"                                  value="0x8961"/>
+    <enum name="ADD_ATI"                                  value="0x8963"/>
+    <enum name="MUL_ATI"                                  value="0x8964"/>
+    <enum name="SUB_ATI"                                  value="0x8965"/>
+    <enum name="DOT3_ATI"                                 value="0x8966"/>
+    <enum name="DOT4_ATI"                                 value="0x8967"/>
+    <enum name="MAD_ATI"                                  value="0x8968"/>
+    <enum name="LERP_ATI"                                 value="0x8969"/>
+    <enum name="CND_ATI"                                  value="0x896A"/>
+    <enum name="CND0_ATI"                                 value="0x896B"/>
+    <enum name="DOT2_ADD_ATI"                             value="0x896C"/>
+    <enum name="SECONDARY_INTERPOLATOR_ATI"               value="0x896D"/>
+
+    <!--
+    These values are not in the extension spec, but they are in glext.h.
+    However, the specification does say that they are deprecated.
+    -->
+    <enum name="NUM_FRAGMENT_REGISTERS_ATI"               value="0x896E"/>
+    <enum name="NUM_FRAGMENT_CONSTANTS_ATI"               value="0x896F"/>
+    <enum name="NUM_PASSES_ATI"                           value="0x8970"/>
+    <enum name="NUM_INSTRUCTIONS_PER_PASS_ATI"            value="0x8971"/>
+    <enum name="NUM_INSTRUCTIONS_TOTAL_ATI"               value="0x8972"/>
+    <enum name="NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI"    value="0x8973"/>
+    <enum name="NUM_LOOPBACK_COMPONENTS_ATI"              value="0x8974"/>
+    <enum name="COLOR_ALPHA_PAIRING_ATI"                  value="0x8975"/>
+
+    <enum name="SWIZZLE_STR_ATI"                          value="0x8976"/>
+    <enum name="SWIZZLE_STQ_ATI"                          value="0x8977"/>
+    <enum name="SWIZZLE_STR_DR_ATI"                       value="0x8978"/>
+    <enum name="SWIZZLE_STQ_DQ_ATI"                       value="0x8979"/>
+
+    <!-- These values are not in the extension spec, but they are in glext.h -->
+    <enum name="SWIZZLE_STRQ_ATI"                         value="0x897A"/>
+    <enum name="SWIZZLE_STRQ_DQ_ATI"                      value="0x897B"/>
+
+    <!--
+    The _BIT enums are not added because they just clutter enums.c with
+    redudndant garbage.  There are a lot of enums with the value 0x00000001.
+    -->
+
     <function name="GenFragmentShadersATI" offset="assign">
       <return type="GLuint"/>
       <param name="range" type="GLuint"/>