diff options
author | Chris Forbes <chrisf@ijw.co.nz> | 2014-05-18 12:19:04 +1200 |
---|---|---|
committer | Chris Forbes <chrisf@ijw.co.nz> | 2014-07-26 16:46:03 +1200 |
commit | 74e100affc0ac1bced4787067274579d8f0d137f (patch) | |
tree | 582c4b8ae7bf0bc1bebccd83d32bb0bc8564b166 /src/glsl | |
parent | be237a61297936227b2f4afc2ac28f60c3c76bbf (diff) | |
download | external_mesa3d-74e100affc0ac1bced4787067274579d8f0d137f.zip external_mesa3d-74e100affc0ac1bced4787067274579d8f0d137f.tar.gz external_mesa3d-74e100affc0ac1bced4787067274579d8f0d137f.tar.bz2 |
glsl: No longer require ubo block index to be constant in ir_validate
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ir_validate.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp index 37e1ce3..4f85b7d 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); |