aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-08-05 15:40:44 +1000
committerTimothy Arceri <[email protected]>2019-11-20 05:05:55 +0000
commit906f1a293312ecca60b6187b08a11afffe432796 (patch)
tree53538d7f427a5b9554114dc10bcfb4134fd846e6 /src/mapi
parent4eb2a1dc6fc32a047d53620a929eae0bb255f9da (diff)
mesa: add ARB_shading_language_include stubs
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-by: Witold Baryluk <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/ARB_shading_language_include.xml42
-rw-r--r--src/mapi/glapi/gen/gl_API.xml3
-rw-r--r--src/mapi/glapi/gen/static_data.py6
3 files changed, 50 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/ARB_shading_language_include.xml b/src/mapi/glapi/gen/ARB_shading_language_include.xml
new file mode 100644
index 00000000000..c305a7e2294
--- /dev/null
+++ b/src/mapi/glapi/gen/ARB_shading_language_include.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+<category name="GL_ARB_shading_language_include" number="76">
+ <function name="NamedStringARB">
+ <param name="type" type="GLenum" />
+ <param name="namelen" type="GLint" />
+ <param name="name" type="const GLchar *" />
+ <param name="stringlen" type="GLint" />
+ <param name="string" type="const GLchar *" />
+ </function>
+ <function name="DeleteNamedStringARB">
+ <param name="namelen" type="GLint" />
+ <param name="name" type="const GLchar *" />
+ </function>
+ <function name="CompileShaderIncludeARB">
+ <param name="shader" type="GLuint" />
+ <param name="count" type="GLsizei" />
+ <param name="path" type="const GLchar * const *" />
+ <param name="length" type="const GLint *" />
+ </function>
+ <function name="IsNamedStringARB">
+ <param name="namelen" type="GLint" />
+ <param name="name" type="const GLchar *" />
+ <return type="GLboolean"/>
+ </function>
+ <function name="GetNamedStringARB">
+ <param name="namelen" type="GLint" />
+ <param name="name" type="const GLchar *" />
+ <param name="bufSize" type="GLsizei" />
+ <param name="stringlen" type="GLint *" />
+ <param name="string" type="GLchar *" />
+ </function>
+ <function name="GetNamedStringivARB">
+ <param name="namelen" type="GLint" />
+ <param name="name" type="const GLchar *" />
+ <param name="pname" type="GLenum" />
+ <param name="params" type="GLint *" />
+ </function>
+</category>
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index a804e850f46..dff4e9560bc 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -8059,7 +8059,8 @@
<!-- ARB extension number 74 is a WGL extension. -->
<!-- ARB extension number 75 is a GLX extension. -->
-<!-- 76. GL_ARB_shading_language_include -->
+<xi:include href="ARB_shading_language_include.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
<!-- 77. GL_ARB_texture_compression_bptc -->
<xi:include href="ARB_blend_func_extended.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 176df719a23..22bdf003544 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1632,6 +1632,12 @@ offsets = {
"VertexArrayVertexAttribBindingEXT": 1596,
"VertexArrayVertexBindingDivisorEXT": 1597,
"NamedBufferPageCommitmentEXT": 1598,
+ "NamedStringARB": 1599,
+ "DeleteNamedStringARB": 1600,
+ "CompileShaderIncludeARB": 1601,
+ "IsNamedStringARB": 1602,
+ "GetNamedStringARB": 1603,
+ "GetNamedStringivARB": 1604,
}
functions = [