From: Alyssa Rosenzweig Date: Thu, 15 Aug 2019 15:00:04 +0000 (-0700) Subject: pan/midgard: Shrink successors[] to 2 length X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b59b1793b84ba6be9656262e703e0d9fb202d0cc;p=mesa.git pan/midgard: Shrink successors[] to 2 length A block can't have more. Signed-off-by: Alyssa Rosenzweig --- 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