summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_optimize.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/prog_optimize.h')
-rw-r--r--src/mesa/program/prog_optimize.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/program/prog_optimize.h b/src/mesa/program/prog_optimize.h
index 463f5fc51c4..9854fb7a491 100644
--- a/src/mesa/program/prog_optimize.h
+++ b/src/mesa/program/prog_optimize.h
@@ -44,4 +44,7 @@ _mesa_find_temp_intervals(const struct prog_instruction *instructions,
extern void
_mesa_optimize_program(struct gl_context *ctx, struct gl_program *program);
+extern GLboolean
+_mesa_constant_fold(struct gl_program *prog);
+
#endif