pan/bi: Add slot to bi_instr
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 25 May 2022 13:38:48 +0000 (09:38 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 1 Jun 2022 16:14:38 +0000 (16:14 +0000)
For better handling of message-passing instructions.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16804>

src/panfrost/bifrost/compiler.h

index 4527aff..076c4bf 100644 (file)
@@ -390,6 +390,9 @@ typedef struct {
         /* Flow control associated with a Valhall instruction */
         uint8_t flow;
 
+        /* Slot associated with a message-passing instruction */
+        uint8_t slot;
+
         /* Can we spill the value written here? Used to prevent
          * useless double fills */
         bool no_spill;