summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2016-05-21 14:21:32 -0700
committerJordan Justen <[email protected]>2016-06-01 19:29:02 -0700
commit7b9def35835232a10010f256b9c108219f97f752 (patch)
tree1bbad9392a897a4e09c10cb38e835f0a7ba98ff4 /src/compiler/glsl/ir.h
parent1205999c229b8e67af39fb9875bd87bc0a1404eb (diff)
glsl: Add glsl LowerCsDerivedVariables option
v2: * Move lower flag to context constants. (Ken) Cc: "12.0" <[email protected]> Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> (v1) Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r--src/compiler/glsl/ir.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index e8efd27112f..93716c483de 100644
--- a/src/compiler/glsl/ir.h
+++ b/src/compiler/glsl/ir.h
@@ -2562,7 +2562,8 @@ _mesa_glsl_initialize_variables(exec_list *instructions,
struct _mesa_glsl_parse_state *state);
extern void
-_mesa_glsl_initialize_derived_variables(gl_shader *shader);
+_mesa_glsl_initialize_derived_variables(struct gl_context *ctx,
+ gl_shader *shader);
extern void
_mesa_glsl_initialize_functions(_mesa_glsl_parse_state *state);