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:
Alyssa Rosenzweig 2020-03-27 20:07:43 -04:00 committed by Marge Bot
parent 57a8e6e8d0
commit 197c6414ea
1 changed files with 6 additions and 0 deletions

View File

@ -103,6 +103,12 @@ struct bifrost_fma_inst {
unsigned op : 20;
} __attribute__((packed));
struct bifrost_fma_2src {
unsigned src0 : 3;
unsigned src1 : 3;
unsigned op : 17;
} __attribute__((packed));
#define BIFROST_ADD_OP_BLEND (0x1952c)
struct bifrost_add_inst {