From d3370bd5a50d8a490a8b57a92853ff203f07711c Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 3 Mar 2020 13:01:41 -0500 Subject: [PATCH] pan/bi: Add constants to bi_clause Scheduling will have to pay attention to this. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/compiler.h | 4 ++++ 1 file changed, 4 insertions(+) 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 {