ir3: Use source in ir3_output_conv_src_type()
This was incorrectly converted when splitting the regs array. Noticed by
inspection.
Fixes: d3e08327cf
("ir3/core: Switch to srcs/dsts arrays")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13220>
This commit is contained in:
parent
f1c322c269
commit
0209311c6e
|
@ -1443,7 +1443,7 @@ ir3_output_conv_src_type(struct ir3_instruction *instr, type_t base_type)
|
|||
return TYPE_F32;
|
||||
|
||||
default:
|
||||
return (instr->dsts[1]->flags & IR3_REG_HALF) ? half_type(base_type)
|
||||
return (instr->srcs[0]->flags & IR3_REG_HALF) ? half_type(base_type)
|
||||
: full_type(base_type);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue