summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-04-30 13:57:15 -0400
committerRob Clark <[email protected]>2015-06-21 07:53:17 -0400
commit7273cb4e933f8be65fc73b9d8c69c76d1078cb14 (patch)
treec37dc582a6892349a72543da34df2c47fa7a73cb /src/gallium/drivers/freedreno/ir3/ir3.c
parentadf1659ff5f07d907eca552be3b566e408c8601e (diff)
freedreno/ir3/sched: convert to priority queue
Use a more standard priority-queue based scheduling algo. It is simpler and will make things easier once we have multiple basic blocks and flow control. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3.c')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3.c b/src/gallium/drivers/freedreno/ir3/ir3.c
index 84564a9eef7..aea1b967b07 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3.c
@@ -82,6 +82,7 @@ void ir3_destroy(struct ir3 *shader)
free(chunk);
}
free(shader->indirects);
+ free(shader->predicates);
free(shader->baryfs);
free(shader);
}