aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Peres <[email protected]>2015-06-04 14:09:31 +0300
committerMartin Peres <[email protected]>2015-06-04 15:42:06 +0300
commit71e94578779e4344066d434004fd85ca493de552 (patch)
tree7e4b8d4991e3e5d4b5e6c2fab731e906d1ebf0f3 /src
parent87a4bc511811327a00f9bbc1b6870b7fa46675f7 (diff)
main: fix a regression in uniform handling introduced by 87a4bc5
The comment was accurate but the condition was reversed... Reviewed-by: Jose Fonseca <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Signed-off-by: Martin Peres <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index 50b86ada37a..514bb930e76 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -2410,7 +2410,7 @@ _mesa_associate_uniform_storage(struct gl_context *ctx,
&shader_program->UniformStorage[location];
/* Do not associate any uniform storage to built-in uniforms */
- if (!storage->builtin)
+ if (storage->builtin)
continue;
if (location != last_location) {