[Mesa-dev] [PATCH v2] mesa: Add GL4.6 aliases of functions from GL_ARB_indirect_parameters

Neil Roberts nroberts at igalia.com
Thu Jan 4 17:49:44 UTC 2018


---

This is just a rebase of the patch with a minor conflict resolution.

 src/mapi/glapi/gen/GL4x.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/src/mapi/glapi/gen/GL4x.xml b/src/mapi/glapi/gen/GL4x.xml
index 0a80941..4b2703c 100644
--- a/src/mapi/glapi/gen/GL4x.xml
+++ b/src/mapi/glapi/gen/GL4x.xml
@@ -84,6 +84,28 @@
     <param name="pConstantIndex" type="const GLuint *"/>
     <param name="pConstantValue" type="const GLuint *"/>
   </function>
+
+  <enum name="PARAMETER_BUFFER" value="0x80EE"/>
+  <enum name="PARAMETER_BUFFER_BINDING" value="0x80EF"/>
+
+  <function name="MultiDrawArraysIndirectCount"
+            alias="MultiDrawArraysIndirectCountARB">
+    <param name="mode" type="GLenum"/>
+    <param name="indirect" type="GLintptr"/>
+    <param name="drawcount" type="GLintptr"/>
+    <param name="maxdrawcount" type="GLsizei"/>
+    <param name="stride" type="GLsizei"/>
+  </function>
+
+  <function name="MultiDrawElementsIndirectCount"
+            alias="MultiDrawElementsIndirectCountARB">
+    <param name="mode" type="GLenum"/>
+    <param name="type" type="GLenum"/>
+    <param name="indirect" type="GLintptr"/>
+    <param name="drawcount" type="GLintptr"/>
+    <param name="maxdrawcount" type="GLsizei"/>
+    <param name="stride" type="GLsizei"/>
+  </function>
 </category>
 
 </OpenGLAPI>
-- 
2.9.5



More information about the mesa-dev mailing list