pan/bi: Use enum bifrost_message_type
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 22 Dec 2020 20:38:33 +0000 (15:38 -0500)
committerMarge Bot <eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:44 +0000 (16:55 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>

src/panfrost/bifrost/compiler.h

index f3d71bc..8fd8583 100644 (file)
@@ -460,8 +460,8 @@ typedef struct {
          */
         bool branch_constant;
 
-        /* What type of high latency instruction is here, basically */
-        unsigned message_type;
+        /* Unique in a clause */
+        enum bifrost_message_type message_type;
 } bi_clause;
 
 typedef struct bi_block {