summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/GL4x.xml
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-10 19:39:02 +0200
committerEduardo Lima Mitev <[email protected]>2017-12-12 08:18:32 +0100
commit46b21b8f9060faafdb838aa94f2aef35de03901a (patch)
tree5ad3981ad120a1dc65c09580a56471d17deb2d61 /src/mapi/glapi/gen/GL4x.xml
parentdf657ebb68a000b031d1b052748af5df4b645b59 (diff)
mesa: add GL_ARB_gl_spirv boilerplate
v2: * Add meson build bits (Eric Engestrom) * Return INVALID_OPERATION error on SpecializeShaderARB (Ian Romanick) v3: Include boilerplate for the GL 4.6 alias of glSpecializeShaderARB (Neil Roberts) Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/GL4x.xml')
-rw-r--r--src/mapi/glapi/gen/GL4x.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/GL4x.xml b/src/mapi/glapi/gen/GL4x.xml
index 88dba5cd71a..0a8094166c8 100644
--- a/src/mapi/glapi/gen/GL4x.xml
+++ b/src/mapi/glapi/gen/GL4x.xml
@@ -73,6 +73,17 @@
<param name="clamp" type="GLfloat"/>
</function>
<enum name="POLYGON_OFFSET_CLAMP" value="0x8E1B"/>
+
+ <enum name="SHADER_BINARY_FORMAT_SPIR_V" value="0x9551"/>
+ <enum name="SPIR_V_BINARY" value="0x9552"/>
+
+ <function name="SpecializeShader" alias="SpecializeShaderARB">
+ <param name="shader" type="GLuint"/>
+ <param name="pEntryPoint" type="const GLchar *"/>
+ <param name="numSpecializationConstants" type="GLuint"/>
+ <param name="pConstantIndex" type="const GLuint *"/>
+ <param name="pConstantValue" type="const GLuint *"/>
+ </function>
</category>
</OpenGLAPI>