mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
ir_to_mesa: Traverse the "else" instrs after "else", instead of "then" again.
This commit is contained in:
parent
3f3f41357d
commit
0a52e8b691
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue