diff options
author | Rob Clark <[email protected]> | 2015-04-30 13:57:15 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-06-21 07:53:17 -0400 |
commit | 7273cb4e933f8be65fc73b9d8c69c76d1078cb14 (patch) | |
tree | c37dc582a6892349a72543da34df2c47fa7a73cb /src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | |
parent | adf1659ff5f07d907eca552be3b566e408c8601e (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_compiler_nir.c')
-rw-r--r-- | src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c index 8d382e5cf3e..caea34c7fd4 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c @@ -1250,6 +1250,7 @@ emit_intrinisic(struct ir3_compile *ctx, nir_intrinsic_instr *intr) cond->regs[0]->num = regid(REG_P0, 0); kill = ir3_KILL(b, cond, 0); + array_insert(ctx->ir->predicates, kill); ctx->kill[ctx->kill_count++] = kill; ctx->so->has_kill = true; |