From: Alyssa Rosenzweig Date: Tue, 3 Mar 2020 18:01:41 +0000 (-0500) Subject: pan/bi: Add constants to bi_clause X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3370bd5a50d8a490a8b57a92853ff203f07711c;p=mesa.git pan/bi: Add constants to bi_clause Scheduling will have to pay attention to this. Signed-off-by: Alyssa Rosenzweig Part-of: --- 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 {