pan/bi: Fix outmod/roundmode flip
I misread the disassembler, the fields are in the other order. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4396> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4396>
This commit is contained in:
parent
12cf9f43f0
commit
1b16d6354b
|
@ -204,8 +204,8 @@ struct bifrost_fma_add {
|
|||
unsigned src1_neg : 1;
|
||||
unsigned unk : 3;
|
||||
unsigned src0_abs : 1;
|
||||
enum bifrost_outmod outmod : 2;
|
||||
enum bifrost_roundmode roundmode : 2;
|
||||
enum bifrost_outmod outmod : 2;
|
||||
unsigned op : 6;
|
||||
} __attribute__((packed));
|
||||
|
||||
|
@ -222,9 +222,9 @@ struct bifrost_fma_add_minmax16 {
|
|||
unsigned src1_neg : 1;
|
||||
unsigned src0_swizzle : 2;
|
||||
unsigned src1_swizzle : 2;
|
||||
unsigned mode : 2;
|
||||
enum bifrost_outmod outmod : 2;
|
||||
/* roundmode for add, min/max mode for min/max */
|
||||
unsigned mode : 2;
|
||||
unsigned op : 6;
|
||||
} __attribute__((packed));
|
||||
|
||||
|
|
Loading…
Reference in New Issue