Mesa (staging/18.1): glapi: actually implement GL_EXT_robustness for GLES
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 24 16:34:32 UTC 2018
Module: Mesa
Branch: staging/18.1
Commit: 9517387144a2ac03c91b0d3a475082912506b613
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9517387144a2ac03c91b0d3a475082912506b613
Author: Marek Olšák <marek.olsak at amd.com>
Date: Wed Aug 22 17:28:26 2018 -0400
glapi: actually implement GL_EXT_robustness for GLES
The extension was exposed but not the functions.
This fixes:
dEQP-GLES31.functional.debug.negative_coverage.get_error.buffer.readn_pixels
dEQP-GLES31.functional.debug.negative_coverage.get_error.state.get_nuniformfv
dEQP-GLES31.functional.debug.negative_coverage.get_error.state.get_nuniformiv
Cc: 18.1 18.2 <mesa-stable at lists.freedesktop.org>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
(cherry picked from commit 37eee90df730ac6ba371b2ba8e61a1db9e55d7df)
---
src/mapi/glapi/gen/KHR_robustness_es.xml | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/src/mapi/glapi/gen/KHR_robustness_es.xml b/src/mapi/glapi/gen/KHR_robustness_es.xml
index 84f6fd2cdb..82b7edf31a 100644
--- a/src/mapi/glapi/gen/KHR_robustness_es.xml
+++ b/src/mapi/glapi/gen/KHR_robustness_es.xml
@@ -60,4 +60,36 @@
</category>
+<category name="GL_EXT_robustness" number="107">
+ <function name="GetGraphicsResetStatusEXT"
+ alias="GetGraphicsResetStatusARB" es2="2.0">
+ <return type="GLenum"/>
+ </function>
+
+ <function name="ReadnPixelsEXT" alias="ReadnPixelsARB" es2="2.0">
+ <param name="x" type="GLint"/>
+ <param name="y" type="GLint"/>
+ <param name="width" type="GLsizei"/>
+ <param name="height" type="GLsizei"/>
+ <param name="format" type="GLenum"/>
+ <param name="type" type="GLenum"/>
+ <param name="bufSize" type="GLsizei"/>
+ <param name="data" type="GLvoid *" output="true"/>
+ </function>
+
+ <function name="GetnUniformfvEXT" alias="GetnUniformfvARB" es2="2.0">
+ <param name="program" type="GLuint"/>
+ <param name="location" type="GLint"/>
+ <param name="bufSize" type="GLsizei"/>
+ <param name="params" type="GLfloat *" output="true"/>
+ </function>
+
+ <function name="GetnUniformivEXT" alias="GetnUniformivARB" es2="2.0">
+ <param name="program" type="GLuint"/>
+ <param name="location" type="GLint"/>
+ <param name="bufSize" type="GLsizei"/>
+ <param name="params" type="GLint *" output="true"/>
+ </function>
+</category>
+
</OpenGLAPI>
More information about the mesa-commit
mailing list