mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue