aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-05-28 17:06:00 +0200
committerPierre-Eric Pelloux-Prayer <[email protected]>2019-10-18 10:26:26 +0200
commit1d1722e91070d7c3768744f55c8b02a49b46c18e (patch)
treea654a35dbe11d7750c66629920642c1ea1e74725 /src/mapi
parenteaeab0a99845f3fb6a5ff70d4e275b31df506a0e (diff)
mesa: add EXT_dsa NamedProgram functions
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/EXT_direct_state_access.xml72
-rw-r--r--src/mapi/glapi/gen/static_data.py9
2 files changed, 81 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml
index 28cc9b91b0f..b7074c34841 100644
--- a/src/mapi/glapi/gen/EXT_direct_state_access.xml
+++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml
@@ -1008,5 +1008,77 @@
<param name="pname" type="GLenum" />
<param name="params" type="GLint *" />
</function>
+
+ <!-- ARB_vertex_program -->
+ <function name="NamedProgramStringEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="format" type="GLenum" />
+ <param name="len" type="GLsizei" />
+ <param name="string" type="const GLvoid*" />
+ </function>
+
+ <function name="GetNamedProgramStringEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="pname" type="GLenum" />
+ <param name="string" type="GLvoid*" />
+ </function>
+
+ <function name="NamedProgramLocalParameter4fEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="x" type="GLfloat" />
+ <param name="y" type="GLfloat" />
+ <param name="z" type="GLfloat" />
+ <param name="w" type="GLfloat" />
+ </function>
+
+ <function name="NamedProgramLocalParameter4fvEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="const GLfloat*" />
+ </function>
+
+ <function name="GetNamedProgramLocalParameterfvEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLfloat*" />
+ </function>
+
+ <function name="NamedProgramLocalParameter4dEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="x" type="GLdouble" />
+ <param name="y" type="GLdouble" />
+ <param name="z" type="GLdouble" />
+ <param name="w" type="GLdouble" />
+ </function>
+
+ <function name="NamedProgramLocalParameter4dvEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="const GLdouble*" />
+ </function>
+
+ <function name="GetNamedProgramLocalParameterdvEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="index" type="GLuint" />
+ <param name="params" type="GLdouble*" />
+ </function>
+
+ <function name="GetNamedProgramivEXT">
+ <param name="program" type="GLuint" />
+ <param name="target" type="GLenum" />
+ <param name="pname" type="GLenum" />
+ <param name="params" type="GLint*" />
+ </function>
+
</category>
</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 141eb8ff7ff..2116a1b38a5 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1573,6 +1573,15 @@ offsets = {
"GetNamedRenderbufferParameterivEXT": 1537,
"ClientAttribDefaultEXT": 1538,
"PushClientAttribDefaultEXT": 1539,
+ "NamedProgramStringEXT": 1540,
+ "GetNamedProgramStringEXT": 1541,
+ "NamedProgramLocalParameter4fEXT": 1542,
+ "NamedProgramLocalParameter4fvEXT": 1543,
+ "GetNamedProgramLocalParameterfvEXT": 1544,
+ "NamedProgramLocalParameter4dEXT": 1545,
+ "NamedProgramLocalParameter4dvEXT": 1546,
+ "GetNamedProgramLocalParameterdvEXT": 1547,
+ "GetNamedProgramivEXT": 1548,
}
functions = [