[Mesa-dev] [PATCH 6/6] glsl: No longer require ubo block index to be constant in ir_validate
Chris Forbes
chrisf at ijw.co.nz
Sat Jul 12 18:52:01 PDT 2014
Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
src/glsl/ir_validate.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index 42142da..74ae318 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);
--
2.0.1
More information about the mesa-dev
mailing list