mesa: Tidy up the 4.6 section of GL4x.xml
authorNeil Roberts <nroberts@igalia.com>
Fri, 5 Jan 2018 10:38:58 +0000 (11:38 +0100)
committerNeil Roberts <nroberts@igalia.com>
Sat, 6 Jan 2018 08:28:45 +0000 (09:28 +0100)
The enums are moved to the top and indented like the rest of the file.
Comments are added to split up the function aliases by corresponding
extension. This should make no functional difference.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/gen/GL4x.xml

index 4b2703c7ec0fc2c11613b3425ca3c3e0d98ed085..cd2e3b831ed43b1577c062b784cf8af5d2aa024e 100644 (file)
 </category>
 
 <category name="4.6">
+  <enum name="PARAMETER_BUFFER"                          value="0x80EE"/>
+  <enum name="PARAMETER_BUFFER_BINDING"                  value="0x80EF"/>
+  <enum name="POLYGON_OFFSET_CLAMP"                      value="0x8E1B"/>
+  <enum name="SHADER_BINARY_FORMAT_SPIR_V"               value="0x9551"/>
+  <enum name="SPIR_V_BINARY"                             value="0x9552"/>
+
+  <!-- This function aliases one from GL_EXT_polygon_offset_clamp -->
+
   <function name="PolygonOffsetClamp" alias="PolygonOffsetClampEXT">
     <param name="factor" type="GLfloat"/>
     <param name="units" type="GLfloat"/>
     <param name="clamp" type="GLfloat"/>
   </function>
-  <enum name="POLYGON_OFFSET_CLAMP" value="0x8E1B"/>
 
-  <enum name="SHADER_BINARY_FORMAT_SPIR_V" value="0x9551"/>
-  <enum name="SPIR_V_BINARY" value="0x9552"/>
+  <!-- This function aliases one from GL_ARB_gl_spirv -->
 
   <function name="SpecializeShader" alias="SpecializeShaderARB">
     <param name="shader" type="GLuint"/>
@@ -85,8 +91,7 @@
     <param name="pConstantValue" type="const GLuint *"/>
   </function>
 
-  <enum name="PARAMETER_BUFFER" value="0x80EE"/>
-  <enum name="PARAMETER_BUFFER_BINDING" value="0x80EF"/>
+  <!-- These functions alias ones from GL_ARB_indirect_parameters -->
 
   <function name="MultiDrawArraysIndirectCount"
             alias="MultiDrawArraysIndirectCountARB">