aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-15 08:00:04 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-19 08:32:17 -0700
commitb59b1793b84ba6be9656262e703e0d9fb202d0cc (patch)
tree98ae99735568e7563419bab393c886cba4126f15 /src/panfrost/midgard
parentfdd6151612d720b2dbf5cbc65eaa01d20492da19 (diff)
pan/midgard: Shrink successors[] to 2 length
A block can't have more. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/compiler.h2
1 files changed, 1 insertions, 1 deletions
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