pan/bi: Add constants to bi_clause
Scheduling will have to pay attention to this.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4061>
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index 654a085..a010cb8 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -252,6 +252,10 @@
/* 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 {