Mesa (master): mesa: add EXT_dsa glGetFloati_vEXT/glGetDoublei_vEXT
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Oct 18 08:59:34 UTC 2019
Module: Mesa
Branch: master
Commit: cfc0ebe7f1fd02972f86d526d1a4683a52670cf5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cfc0ebe7f1fd02972f86d526d1a4683a52670cf5
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Wed Sep 11 09:30:14 2019 +0200
mesa: add EXT_dsa glGetFloati_vEXT/glGetDoublei_vEXT
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/mapi/glapi/gen/EXT_direct_state_access.xml | 12 ++++++++++++
src/mesa/main/tests/dispatch_sanity.cpp | 2 --
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index bf900eb9306..cf4ab86cdd1 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -1014,6 +1014,18 @@
<param name="params" type="GLint *" />
</function>
+ <function name="GetFloati_vEXT" alias="GetFloati_v">
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLfloat*" />
+ </function>
+
+ <function name="GetDoublei_vEXT" alias="GetDoublei_v">
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLdouble*" />
+ </function>
+
<!-- ARB_vertex_program -->
<function name="NamedProgramStringEXT">
<param name="program" type="GLuint" />
diff --git a/src/mesa/main/tests/dispatch_sanity.cpp b/src/mesa/main/tests/dispatch_sanity.cpp
index 6782e7504d6..920fee4d1e7 100644
--- a/src/mesa/main/tests/dispatch_sanity.cpp
+++ b/src/mesa/main/tests/dispatch_sanity.cpp
@@ -1153,8 +1153,6 @@ const struct function common_desktop_functions_possible[] = {
/* GL_EXT_direct_state_access - EXT_gpu_program_parameters */
{ "glNamedProgramLocalParameters4fvEXT", 10, -1 },
/* GL_EXT_direct_state_access - GL 3.0 */
- //{ "glGetFloati_vEXT", 30, -1 },
- //{ "glGetDoublei_vEXT", 30, -1 },
{ "glNamedRenderbufferStorageEXT", 30, -1 },
{ "glGetNamedRenderbufferParameterivEXT", 30, -1 },
//{ "glNamedRenderbufferStorageMultisampleEXT", 30, -1 },
More information about the mesa-commit
mailing list