ir_to_mesa: Make the first temp index we use 1 to show off bugs.
Regs aren't allocated at the right times yet, so we see TEMP[0] a lot.
This commit is contained in:
@@ -496,6 +496,13 @@ ir_to_mesa_visitor::visit(ir_if *ir)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
ir_to_mesa_visitor::ir_to_mesa_visitor()
|
||||
{
|
||||
result = NULL;
|
||||
next_temp = 1;
|
||||
next_constant = 0;
|
||||
}
|
||||
|
||||
static struct prog_src_register
|
||||
mesa_src_reg_from_ir_src_reg(ir_to_mesa_src_reg reg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user