Module: Mesa
Branch: master
Commit: b59b1793b84ba6be9656262e703e0d9fb202d0cc
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b59b1793b84ba6be9656262e703e0d9fb202d0cc

Author: Alyssa Rosenzweig <[email protected]>
Date:   Thu Aug 15 08:00:04 2019 -0700

pan/midgard: Shrink successors[] to 2 length

A block can't have more.

Signed-off-by: Alyssa Rosenzweig <[email protected]>

---

 src/panfrost/midgard/compiler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h
index 942d288a326..61fe8a92b2e 100644
--- a/src/panfrost/midgard/compiler.h
+++ b/src/panfrost/midgard/compiler.h
@@ -170,7 +170,7 @@ typedef struct midgard_block {
 
         /* Succeeding blocks. The compiler should not necessarily rely on
          * source-order traversal */
-        struct midgard_block *successors[4];
+        struct midgard_block *successors[2];
         unsigned nr_successors;
 
         /* The successors pointer form a graph, and in the case of

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to