mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue