mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 21:00:22 +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> (cherry picked from commit0209311c6e)
This commit is contained in:
parent
b8c9d9268e
commit
b9c1d7c96d
2 changed files with 2 additions and 2 deletions
|
|
@ -130,7 +130,7 @@
|
|||
"description": "ir3: Use source in ir3_output_conv_src_type()",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d3e08327cf85ef0b07c8e4920c168329cf66ec41"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1409,7 +1409,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