summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-11-23 10:58:51 -0800
committerKenneth Graunke <[email protected]>2013-12-01 15:33:02 -0800
commit1b557b1606ffcf05d2612d66226306e876b6b937 (patch)
tree135006952c9c11947b6021e6137d3a5df83892e3 /src/glsl/ir.h
parent5af97b43c962c57aceb9c40d3c9050745d124892 (diff)
glsl: Create an accessor for the built-in function shader.
Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r--src/glsl/ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index b898d619b3e..57f3bcac026 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -2366,6 +2366,9 @@ extern ir_function_signature *
_mesa_glsl_find_builtin_function(_mesa_glsl_parse_state *state,
const char *name, exec_list *actual_parameters);
+extern gl_shader *
+_mesa_glsl_get_builtin_function_shader(void);
+
extern void
_mesa_glsl_release_functions(void);