Mesa (master): mesa/glthread: add async support to ARB_viewport_array functions

Nicolai Hähnle nh at kemper.freedesktop.org
Tue Apr 18 10:48:57 UTC 2017


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

Author: Bartosz Tomczyk <bartosz.tomczyk86 at gmail.com>
Date:   Thu Apr 13 20:10:24 2017 +0200

mesa/glthread: add async support to ARB_viewport_array functions

v2: fix attribute name, it is count_scale not scale_count

Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

---

 src/mapi/glapi/gen/ARB_viewport_array.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/mapi/glapi/gen/ARB_viewport_array.xml b/src/mapi/glapi/gen/ARB_viewport_array.xml
index ebd5b99c83..be67912884 100644
--- a/src/mapi/glapi/gen/ARB_viewport_array.xml
+++ b/src/mapi/glapi/gen/ARB_viewport_array.xml
@@ -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"/>
@@ -43,12 +43,12 @@
     </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"/>
@@ -59,12 +59,12 @@
     </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"/>




More information about the mesa-commit mailing list