mesa: Add GL4.6 aliases of functions from GL_ARB_indirect_parameters
authorNeil Roberts <nroberts@igalia.com>
Fri, 24 Nov 2017 15:53:15 +0000 (16:53 +0100)
committerNeil Roberts <nroberts@igalia.com>
Fri, 5 Jan 2018 10:41:10 +0000 (11:41 +0100)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/gen/GL4x.xml

index 0a8094166c876ff53fef7defaf388982983d8e13..4b2703c7ec0fc2c11613b3425ca3c3e0d98ed085 100644 (file)
     <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>