pan/bi: Add bifrost_fma_2src generic
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
This commit is contained in:
parent
57a8e6e8d0
commit
197c6414ea
|
@ -103,6 +103,12 @@ struct bifrost_fma_inst {
|
||||||
unsigned op : 20;
|
unsigned op : 20;
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
|
struct bifrost_fma_2src {
|
||||||
|
unsigned src0 : 3;
|
||||||
|
unsigned src1 : 3;
|
||||||
|
unsigned op : 17;
|
||||||
|
} __attribute__((packed));
|
||||||
|
|
||||||
#define BIFROST_ADD_OP_BLEND (0x1952c)
|
#define BIFROST_ADD_OP_BLEND (0x1952c)
|
||||||
|
|
||||||
struct bifrost_add_inst {
|
struct bifrost_add_inst {
|
||||||
|
|
Loading…
Reference in New Issue