summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-05-18 12:19:04 +1200
committerChris Forbes <[email protected]>2014-07-26 16:46:03 +1200
commit74e100affc0ac1bced4787067274579d8f0d137f (patch)
tree582c4b8ae7bf0bc1bebccd83d32bb0bc8564b166
parentbe237a61297936227b2f4afc2ac28f60c3c76bbf (diff)
glsl: No longer require ubo block index to be constant in ir_validate
Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/glsl/ir_validate.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index 37e1ce33e7a..4f85b7db833 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -495,7 +495,6 @@ ir_validate::visit_leave(ir_expression *ir)
break;
case ir_binop_ubo_load:
- assert(ir->operands[0]->as_constant());
assert(ir->operands[0]->type == glsl_type::uint_type);
assert(ir->operands[1]->type == glsl_type::uint_type);