diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-20 12:39:29 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-22 03:32:35 +0000 |
commit | 0be1116b818edd56351d0415172015771eea1f44 (patch) | |
tree | 008e513fbbe80668e2bbb96ef8223e71d2b7371b /src/panfrost/bifrost/bifrost.h | |
parent | 9213b2520cdafefbb83f8f495281b0db419f85a8 (diff) |
pan/bi: Pack st_vary
This should let varying writes go through finally.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4276>
Diffstat (limited to 'src/panfrost/bifrost/bifrost.h')
-rw-r--r-- | src/panfrost/bifrost/bifrost.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index b0662966eab..6ee9291ca7b 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -121,6 +121,16 @@ struct bifrost_add_2src { unsigned op : 14; } __attribute__((packed)); +#define BIFROST_ADD_OP_ST_VAR (0x19300 >> 8) + +struct bifrost_st_vary { + unsigned src0 : 3; + unsigned src1 : 3; + unsigned src2 : 3; + unsigned channels : 2; + unsigned op : 9; +} __attribute__((packed)); + #define BIFROST_ADD_OP_ATEST (0xc8f) struct bifrost_add_atest { |