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, 2 insertions, 1 deletions
diff --git a/src/mesa/program/prog_optimize.h b/src/mesa/program/prog_optimize.h
index 1f20ac0f89a..c99ce9ecee5 100644
--- a/src/mesa/program/prog_optimize.h
+++ b/src/mesa/program/prog_optimize.h
@@ -46,7 +46,8 @@ _mesa_find_temp_intervals(const struct prog_instruction *instructions,
GLint intEnd[MAX_PROGRAM_TEMPS]);
extern void
-_mesa_optimize_program(struct gl_context *ctx, struct gl_program *program);
+_mesa_optimize_program(struct gl_context *ctx, struct gl_program *program,
+ void *mem_ctx);
extern GLboolean
_mesa_constant_fold(struct gl_program *prog);