summaryrefslogtreecommitdiffstats
path: root/src/panfrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-03-03 13:01:41 -0500
committerMarge Bot <[email protected]>2020-03-05 14:35:38 +0000
commitd3370bd5a50d8a490a8b57a92853ff203f07711c (patch)
tree0766fae08f8347899636eab8f5b8dbe5e2759cec /src/panfrost
parentcb3cd8aa56e76afa988429f0373642c53c1b4f92 (diff)
pan/bi: Add constants to bi_clause
Scheduling will have to pay attention to this. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
Diffstat (limited to 'src/panfrost')
-rw-r--r--src/panfrost/bifrost/compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index 654a0859fd7..a010cb896d1 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -252,6 +252,10 @@ typedef struct {
/* Corresponds to the usual bit but shifted by a clause */
bool data_register_write_barrier;
+
+ /* Constants read by this clause. ISA limit. */
+ uint64_t constants[8];
+ unsigned constant_count;
} bi_clause;
typedef struct bi_block {