From 74e100affc0ac1bced4787067274579d8f0d137f Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 18 May 2014 12:19:04 +1200 Subject: [PATCH] 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 --- 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 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); -- 2.30.2