pan/bi: Model Valhall action on bi_instr
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 3 Mar 2022 01:49:20 +0000 (20:49 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 18 Mar 2022 18:52:06 +0000 (18:52 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15461>

src/panfrost/bifrost/compiler.h

index 912094f..bc98756 100644 (file)
@@ -397,6 +397,9 @@ typedef struct {
         enum bi_register_format register_format;
         enum bi_vecsize vecsize;
 
+        /* Action (flow control) associated with a Valhall instruction */
+        uint8_t action;
+
         /* Can we spill the value written here? Used to prevent
          * useless double fills */
         bool no_spill;