mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
aco: allow opsel for last v_alignbyte/bit operand
For completeness' sake. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13285 Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39061>
This commit is contained in:
parent
d8e524cd6b
commit
0c42141299
1 changed files with 2 additions and 0 deletions
|
|
@ -597,6 +597,8 @@ can_use_opsel(amd_gfx_level gfx_level, aco_opcode op, int idx)
|
|||
case aco_opcode::v_cvt_pk_fp8_f32:
|
||||
case aco_opcode::p_v_cvt_pk_fp8_f32_ovfl:
|
||||
case aco_opcode::v_cvt_pk_bf8_f32: return idx == -1;
|
||||
case aco_opcode::v_alignbyte_b32:
|
||||
case aco_opcode::v_alignbit_b32: return idx == 2;
|
||||
default:
|
||||
return gfx_level >= GFX11 && (get_gfx11_true16_mask(op) & BITFIELD_BIT(idx == -1 ? 3 : idx));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue