summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-08-08 19:46:05 -0700
committerMatt Turner <[email protected]>2014-08-18 18:35:48 -0700
commit9e2e7c7dc0ff08a2066435dd519502340955bbd2 (patch)
tree11865fdb82419c8a2a23a47470766cac5d0f846d /src/glsl/linker.h
parent6df0fd8fe9ccf5c927797897277343f068420a45 (diff)
glsl: Use UniformBooleanTrue value for uniform initializers.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r--src/glsl/linker.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h
index 8851da6c8b4..beb9bb21695 100644
--- a/src/glsl/linker.h
+++ b/src/glsl/linker.h
@@ -34,10 +34,12 @@ extern void
link_invalidate_variable_locations(exec_list *ir);
extern void
-link_assign_uniform_locations(struct gl_shader_program *prog);
+link_assign_uniform_locations(struct gl_shader_program *prog,
+ unsigned int boolean_true);
extern void
-link_set_uniform_initializers(struct gl_shader_program *prog);
+link_set_uniform_initializers(struct gl_shader_program *prog,
+ unsigned int boolean_true);
extern int
link_cross_validate_uniform_block(void *mem_ctx,