summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2019-05-02 15:01:05 +0200
committerMarek Olšák <marek.olsak@amd.com>2019-07-30 22:04:26 -0400
commita0ac0e26539eaa4501da2691edab3c183a9634ec (patch)
treecc5533f213224b7a3c89c666573fa656997e1aa1 /src/mapi
parentef84d93f3dabfa7e5bca82cfff05e836545a01ea (diff)
mesa: add EXT_dsa indexed generic queries
Only GetPointerIndexedvEXT needs an implementation, the other functions are aliases of existing functions.
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml24
-rw-r--r--src/mapi/glapi/gen/static_data.py2
2 files changed, 25 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index be1ddbafe59..41fcf1e93b6 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -323,6 +323,24 @@
<param name="index" type="GLuint" />
</function>
+ <function name="GetFloatIndexedvEXT" alias="GetFloati_v">
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLfloat*" />
+ </function>
+
+ <function name="GetDoubleIndexedvEXT" alias="GetDoublei_v">
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLdouble*" />
+ </function>
+
+ <function name="GetPointerIndexedvEXT">
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLvoid**" />
+ </function>
+
<!-- OpenGL 1.3 -->
<function name="MatrixLoadTransposefEXT" offset="assign">
@@ -496,5 +514,11 @@
<param name="array" type="GLenum" />
<param name="index" type="GLuint" />
</function>
+
+ <function name="GetPointeri_vEXT" alias="GetPointerIndexedvEXT">
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLvoid**" />
+ </function>
</category>
</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 4ce68fc01e8..fae79d470d9 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1516,7 +1516,7 @@ offsets = {
"GetNamedFramebufferAttachmentParameterivEXT": 1480,
"EnableClientStateiEXT": 1481,
"DisableClientStateiEXT": 1482,
-
+ "GetPointerIndexedvEXT": 1483,
}
functions = [