From: Chris Forbes Date: Sun, 18 May 2014 00:19:04 +0000 (+1200) Subject: glsl: No longer require ubo block index to be constant in ir_validate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74e100affc0ac1bced4787067274579d8f0d137f;p=mesa.git glsl: No longer require ubo block index to be constant in ir_validate Signed-off-by: Chris Forbes Reviewed-by: Ilia Mirkin Reviewed-by: Kenneth Graunke --- 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);