mesa/glthread: add async support to ARB_viewport_array functions
authorBartosz Tomczyk <bartosz.tomczyk86@gmail.com>
Thu, 13 Apr 2017 18:10:24 +0000 (20:10 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 18 Apr 2017 10:19:12 +0000 (12:19 +0200)
v2: fix attribute name, it is count_scale not scale_count

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mapi/glapi/gen/ARB_viewport_array.xml

index ebd5b99c83eedcf055641d0187c3ff3f2a92ac50..be67912884e39600ac5362d6bdf36ffda5edbb35 100644 (file)
@@ -32,7 +32,7 @@
     <function name="ViewportArrayv">
         <param name="first" type="GLuint"/>
         <param name="count" type="GLsizei"/>
-        <param name="v" type="const GLfloat *"/>
+        <param name="v" type="const GLfloat *" count="count" count_scale="4"/>
     </function>
     <function name="ViewportIndexedf">
         <param name="index" type="GLuint"/>
     </function>
     <function name="ViewportIndexedfv">
         <param name="index" type="GLuint"/>
-        <param name="v" type="const GLfloat *"/>
+        <param name="v" type="const GLfloat *" count="4"/>
     </function>
     <function name="ScissorArrayv">
         <param name="first" type="GLuint"/>
         <param name="count" type="GLsizei"/>
-        <param name="v" type="const int *"/>
+        <param name="v" type="const int *" count="count" count_scale="4"/>
     </function>
     <function name="ScissorIndexed">
         <param name="index" type="GLuint"/>
     </function>
     <function name="ScissorIndexedv">
         <param name="index" type="GLuint"/>
-        <param name="v" type="const GLint *"/>
+        <param name="v" type="const GLint *" count="4"/>
     </function>
     <function name="DepthRangeArrayv">
         <param name="first" type="GLuint"/>
         <param name="count" type="GLsizei"/>
-        <param name="v" type="const GLclampd *"/>
+        <param name="v" type="const GLclampd *" count="count" count_scale="2"/>
     </function>
     <function name="DepthRangeIndexed">
         <param name="index" type="GLuint"/>