mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
aco: add integer min/max to can_swap_operands
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2883> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2883>
This commit is contained in:
parent
f92a89a979
commit
f978e0e516
1 changed files with 4 additions and 0 deletions
|
|
@ -393,6 +393,10 @@ bool can_swap_operands(aco_ptr<Instruction>& instr)
|
|||
case aco_opcode::v_xor_b32:
|
||||
case aco_opcode::v_max_f32:
|
||||
case aco_opcode::v_min_f32:
|
||||
case aco_opcode::v_max_i32:
|
||||
case aco_opcode::v_min_i32:
|
||||
case aco_opcode::v_max_u32:
|
||||
case aco_opcode::v_min_u32:
|
||||
case aco_opcode::v_cmp_eq_f32:
|
||||
case aco_opcode::v_cmp_lg_f32:
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue