projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f3f413
)
ir_to_mesa: Traverse the "else" instrs after "else", instead of "then" again.
author
Eric Anholt
<eric@anholt.net>
Mon, 28 Jun 2010 18:44:30 +0000
(11:44 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 28 Jun 2010 18:45:10 +0000
(11:45 -0700)
src/mesa/shader/ir_to_mesa.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/shader/ir_to_mesa.cpp
b/src/mesa/shader/ir_to_mesa.cpp
index b8113dab2bec842ad13f00a8ac1247de2797e553..a825bf9e67bc8f9d33159bccd75e4c53e27ea00f 100644
(file)
--- a/
src/mesa/shader/ir_to_mesa.cpp
+++ b/
src/mesa/shader/ir_to_mesa.cpp
@@
-1159,7
+1159,7
@@
ir_to_mesa_visitor::visit(ir_if *ir)
else_inst = ir_to_mesa_emit_op1(ir->condition, OPCODE_ELSE,
ir_to_mesa_undef_dst,
ir_to_mesa_undef);
- visit_exec_list(&ir->
then
_instructions, this);
+ visit_exec_list(&ir->
else
_instructions, this);
}
if_inst = ir_to_mesa_emit_op1(ir->condition, OPCODE_ENDIF,