projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be237a6
)
glsl: No longer require ubo block index to be constant in ir_validate
author
Chris Forbes
<chrisf@ijw.co.nz>
Sun, 18 May 2014 00:19:04 +0000
(12:19 +1200)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Sat, 26 Jul 2014 04:46:03 +0000
(16:46 +1200)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ir_validate.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_validate.cpp
b/src/glsl/ir_validate.cpp
index 37e1ce33e7ad448ce2adbe9172d6d55001ef087c..4f85b7db83366d4e56d15e064e7019d9111f0389 100644
(file)
--- 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);