summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.cpp
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.cpp
parent6df0fd8fe9ccf5c927797897277343f068420a45 (diff)
glsl: Use UniformBooleanTrue value for uniform initializers.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/glsl/linker.cpp')
-rw-r--r--src/glsl/linker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 497a77aeab4..d5473adc36e 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -2821,7 +2821,7 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
goto done;
update_array_sizes(prog);
- link_assign_uniform_locations(prog);
+ link_assign_uniform_locations(prog, ctx->Const.UniformBooleanTrue);
link_assign_atomic_counter_resources(ctx, prog);
store_fragdepth_layout(prog);