mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-24 10:44:15 +08:00
aco/ir: Add swapped opcode for v_cmp_u/v_cmp_o.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17763>
This commit is contained in:
parent
8f7ceff774
commit
22d860fe4a
@ -651,12 +651,14 @@ get_cmp_info(aco_opcode op, CmpInfo* info)
|
||||
#define ORD_TEST(sz) \
|
||||
case aco_opcode::v_cmp_u_f##sz: \
|
||||
info->f32 = aco_opcode::v_cmp_u_f32; \
|
||||
info->swapped = aco_opcode::v_cmp_u_f##sz; \
|
||||
info->inverse = aco_opcode::v_cmp_o_f##sz; \
|
||||
info->vcmpx = aco_opcode::v_cmpx_u_f##sz; \
|
||||
info->size = sz; \
|
||||
return true; \
|
||||
case aco_opcode::v_cmp_o_f##sz: \
|
||||
info->f32 = aco_opcode::v_cmp_o_f32; \
|
||||
info->swapped = aco_opcode::v_cmp_o_f##sz; \
|
||||
info->inverse = aco_opcode::v_cmp_u_f##sz; \
|
||||
info->vcmpx = aco_opcode::v_cmpx_o_f##sz; \
|
||||
info->size = sz; \
|
||||
|
Loading…
Reference in New Issue
Block a user