Module: Mesa
Branch: main
Commit: e9d08bb04335b167f974ff61affff7fbeb6a6ed5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e9d08bb04335b167f974ff61affff7fbeb6a6ed5

Author: Marek Olšák <[email protected]>
Date:   Thu Dec  7 12:40:02 2023 -0500

glapi: rename primcount -> instance_count in a few Draw functions

In order to match the marshal structures we already have in the tree.
The next commit will depend on this.

Reviewed-by: Timothy Arceri <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26548>

---

 src/mapi/glapi/gen/ARB_base_instance.xml  | 4 ++--
 src/mapi/glapi/gen/ARB_draw_instanced.xml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mapi/glapi/gen/ARB_base_instance.xml 
b/src/mapi/glapi/gen/ARB_base_instance.xml
index 06d140368f0..b57be7ad78b 100644
--- a/src/mapi/glapi/gen/ARB_base_instance.xml
+++ b/src/mapi/glapi/gen/ARB_base_instance.xml
@@ -12,7 +12,7 @@
     <param name="mode" type="GLenum"/>
     <param name="first" type="GLint"/>
     <param name="count" type="GLsizei"/>
-    <param name="primcount" type="GLsizei"/>
+    <param name="instance_count" type="GLsizei"/>
     <param name="baseinstance" type="GLuint"/>
   </function>
 
@@ -30,7 +30,7 @@
     <param name="count" type="GLsizei"/>
     <param name="type" type="GLenum"/>
     <param name="indices" type="const GLvoid *"/>
-    <param name="primcount" type="GLsizei"/>
+    <param name="instance_count" type="GLsizei"/>
     <param name="basevertex" type="GLint"/>
     <param name="baseinstance" type="GLuint"/>
   </function>
diff --git a/src/mapi/glapi/gen/ARB_draw_instanced.xml 
b/src/mapi/glapi/gen/ARB_draw_instanced.xml
index 980217535f4..9427a086ef1 100644
--- a/src/mapi/glapi/gen/ARB_draw_instanced.xml
+++ b/src/mapi/glapi/gen/ARB_draw_instanced.xml
@@ -20,7 +20,7 @@
     <param name="count" type="GLsizei"/>
     <param name="type" type="GLenum"/>
     <param name="indices" type="const GLvoid *"/>
-    <param name="primcount" type="GLsizei"/>
+    <param name="instance_count" type="GLsizei"/>
   </function>
 
 </category>

Reply via email to