summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2018-01-05 11:38:58 +0100
committerNeil Roberts <[email protected]>2018-01-06 09:28:45 +0100
commit2971f688e6444b315856e6ffd17b428b14262edf (patch)
tree41f65a6e32df1debfc5a9beb5b1330df2f085337 /src/mapi
parent87efa71001d9a597304a2e8d7d63aaf1fa519056 (diff)
mesa: Tidy up the 4.6 section of GL4x.xml
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 <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/GL4x.xml15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/mapi/glapi/gen/GL4x.xml b/src/mapi/glapi/gen/GL4x.xml
index 4b2703c7ec0..cd2e3b831ed 100644
--- a/src/mapi/glapi/gen/GL4x.xml
+++ b/src/mapi/glapi/gen/GL4x.xml
@@ -67,15 +67,21 @@
</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">