Re: [Piglit] [PATCH] registry: update gl.xml

2017-08-06 Thread Timothy Arceri

Thanks.

Acked-by: Timothy Arceri 
___
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit


[Piglit] [PATCH] registry: update gl.xml

2017-08-06 Thread Ilia Mirkin
This updates to commit 9df96757eb43626917e5ee509c4943264c38308c from
github.com/KhronosGroup/OpenGL-Registry. Needed to fix dispatch
generation for glMultiDrawElementsBaseVertex so that it does not attempt
to use the OES-suffixed variant.

We also need to add a new typedef to piglit-dispatch.h so that it
compiles.

Signed-off-by: Ilia Mirkin 
---
 registry/gl.xml  | 269 +++
 tests/util/piglit-dispatch.h |   1 +
 2 files changed, 223 insertions(+), 47 deletions(-)

diff --git a/registry/gl.xml b/registry/gl.xml
index 353d0ef26..7b13ff907 100644
--- a/registry/gl.xml
+++ b/registry/gl.xml
@@ -83,6 +83,7 @@ typedef unsigned __int64 uint64_t;
 typedef float GLclampf;
 typedef double GLdouble;
 typedef double GLclampd;
+typedef void *GLeglClientBufferEXT;
 typedef void *GLeglImageOES;
 typedef char GLchar;
 typedef char GLcharARB;
@@ -2181,7 +2182,8 @@ typedef unsigned int GLhandleARB;
 
 
 
-
+
+
 
 
 
@@ -3648,8 +3650,10 @@ typedef unsigned int GLhandleARB;
 
 
 
-
-
+
+
+
+
 
 
 
@@ -4285,18 +4289,30 @@ typedef unsigned int GLhandleARB;
  ARB_direct_state_access in February 2015 after determining it
  was not well defined or implementable. -->
 
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 
@@ -4784,8 +4800,10 @@ typedef unsigned int GLhandleARB;
 
 
 
-
-
+
+
+
+
 
 
 
@@ -6090,16 +6108,20 @@ typedef unsigned int GLhandleARB;
 
 
 
+
 
 
 
+
 
 
 
+
 
 
 
 
+
 
 
 
@@ -7267,7 +7289,8 @@ typedef unsigned int GLhandleARB;
 
 
 
-
+
+
 
 
 
@@ -7439,12 +7462,16 @@ typedef unsigned int GLhandleARB;
 
 
 
+
 
 
+
 
 
+
 
 
+
 
 
 
@@ -8668,9 +8695,13 @@ typedef unsigned int GLhandleARB;
 
 
 
-
-
-
+
+
+
+
+
+
+
 
 
 
@@ -9861,6 +9892,14 @@ typedef unsigned int GLhandleARB;
 
 
 
+void glBufferStorageExternalEXT
+GLenum target
+GLintptr offset
+GLsizeiptr size
+GLeglClientBufferEXT 
clientBuffer
+GLbitfield flags
+
+
 void glBufferStorageMemEXT
 GLenum 
target
 GLsizeiptr 
size
@@ -11048,7 +11087,6 @@ typedef unsigned int GLhandleARB;
 GLint border
 GLsizei imageSize
 const void *data
-
 
 
 void glCompressedTexSubImage1D
@@ -11147,7 +11185,6 @@ typedef unsigned int GLhandleARB;
 GLenum format
 GLsizei imageSize
 const void *data
-
 
 
 void glCompressedTextureImage1DEXT
@@ -11769,7 +11806,6 @@ typedef unsigned int GLhandleARB;
 GLint y
 GLsizei width
 GLsizei height
-
 
 
 void glCopyTextureImage1DEXT
@@ -14067,7 +14103,6 @@ typedef unsigned int GLhandleARB;
 GLuint texture
 GLint level
 GLint zoffset
-
 
 
 void glFramebufferTextureARB
@@ -16679,7 +16714,7 @@ typedef unsigned int GLhandleARB;
 GLenum shadertype
 GLenum precisiontype
 GLint *range
-GLint *precision
+GLint *precision
 
 
 void glGetShaderSource
@@ -19445,12 +19480,21 @@ typedef unsigned int GLhandleARB;
 GLint vertexBufferCount
 
 
+void glMultiDrawArraysIndirectCount
+GLenum 
mode
+const void *indirect
+GLintptr drawcount
+GLsizei maxdrawcount
+GLsizei stride
+
+
 void glMultiDrawArraysIndirectCountARB
 GLenum 
mode
-GLintptr indirect
+const void *indirect
 GLintptr drawcount
 GLsizei maxdrawcount