aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/panfrost/bifrost/compiler.h')
-rw-r--r--src/panfrost/bifrost/compiler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h
index b1f7887e587..fb95c6d83df 100644
--- a/src/panfrost/bifrost/compiler.h
+++ b/src/panfrost/bifrost/compiler.h
@@ -376,6 +376,12 @@ typedef struct {
uint64_t constants[8];
unsigned constant_count;
+ /* Branches encode a constant offset relative to the program counter
+ * with some magic flags. By convention, if there is a branch, its
+ * constant will be last. Set this flag to indicate this is required.
+ */
+ bool branch_constant;
+
/* What type of high latency instruction is here, basically */
unsigned clause_type;
} bi_clause;