projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57a8e6e
)
pan/bi: Add bifrost_fma_2src generic
author
Alyssa Rosenzweig
<alyssa.rosenzweig@collabora.com>
Sat, 28 Mar 2020 00:07:43 +0000
(20:07 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 31 Mar 2020 01:12:26 +0000
(
01:12
+0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
src/panfrost/bifrost/bifrost.h
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bifrost.h
b/src/panfrost/bifrost/bifrost.h
index 1c06968d70a26dafbce1625af3366de7a3000a09..045295b69658fd0281fe6c08dee2d5e52e04816f 100644
(file)
--- a/
src/panfrost/bifrost/bifrost.h
+++ b/
src/panfrost/bifrost/bifrost.h
@@
-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 {