diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-20 12:38:53 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-22 03:32:35 +0000 |
commit | 9213b2520cdafefbb83f8f495281b0db419f85a8 (patch) | |
tree | bb060a8638bc394f8f6b888df40f31d639f98483 /src/panfrost/bifrost/compiler.h | |
parent | c57ac9d1368e83ce001be4439c73473529e48135 (diff) |
pan/bi: Add store_channels property
It can't be inferred from the usual writemask since stores don't write
to a register destination.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4276>
Diffstat (limited to 'src/panfrost/bifrost/compiler.h')
-rw-r--r-- | src/panfrost/bifrost/compiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index ee868f75d92..b09bd536729 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -261,6 +261,9 @@ typedef struct { /* For BLEND -- the location 0-7 */ unsigned blend_location; + + /* For STORE, STORE_VAR -- channel count */ + unsigned store_channels; }; } bi_instruction; |