summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-04-20 10:29:12 +1000
committerDave Airlie <[email protected]>2015-07-23 17:25:59 +1000
commit6f57fda494a6b4ccf30cab000ca28154fbabcb78 (patch)
treed8980fce3defc130475711b9513c78d9993e694b /src/mesa/main/shaderapi.h
parent3f4f3e2d4877e1e2bda064cc323fb7b3667e12fe (diff)
mesa: fill out the ARB_shader_subroutine APIs
This fleshes out the APIs, using the program resource APIs where they should match. It also sets the default values to valid subroutines. Acked-by: Kenneth Graunke <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.h')
-rw-r--r--src/mesa/main/shaderapi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/shaderapi.h b/src/mesa/main/shaderapi.h
index c2f04d875a7..c081f749f93 100644
--- a/src/mesa/main/shaderapi.h
+++ b/src/mesa/main/shaderapi.h
@@ -272,6 +272,9 @@ extern void GLAPIENTRY
_mesa_PatchParameterfv(GLenum pname, const GLfloat *values);
/* GL_ARB_shader_subroutine */
+void
+_mesa_shader_program_init_subroutine_defaults(struct gl_shader_program *shProg);
+
extern GLint GLAPIENTRY
_mesa_GetSubroutineUniformLocation(GLuint program, GLenum shadertype,
const GLchar *name);