aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/apiexec.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/gen/apiexec.py')
-rw-r--r--src/mapi/glapi/gen/apiexec.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/gen/apiexec.py
index b623b44beeb..3a0eb1869a8 100644
--- a/src/mapi/glapi/gen/apiexec.py
+++ b/src/mapi/glapi/gen/apiexec.py
@@ -74,6 +74,17 @@ functions = {
# GL_ARB_geometry_shader4, so OpenGL 3.2 is required.
"FramebufferTexture": exec_info(core=32),
+ # OpenGL 4.0 / GL_ARB_shader_subroutines. Mesa only exposes this
+ # extension with core profile.
+ "GetSubroutineUniformLocation": exec_info(core=31),
+ "GetSubroutineIndex": exec_info(core=31),
+ "GetActiveSubroutineUniformiv": exec_info(core=31),
+ "GetActiveSubroutineUniformName": exec_info(core=31),
+ "GetActiveSubroutineName": exec_info(core=31),
+ "UniformSubroutinesuiv": exec_info(core=31),
+ "GetUniformSubroutineuiv": exec_info(core=31),
+ "GetProgramStageiv": exec_info(core=31),
+
# OpenGL 4.0 / GL_ARB_gpu_shader_fp64. The extension spec says:
#
# "OpenGL 3.2 and GLSL 1.50 are required."