aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-05-28 09:42:26 -0700
committerRob Clark <[email protected]>2019-06-03 12:44:03 -0700
commit7bbf21e89830588c576264c74e94076ea94eab34 (patch)
tree42b574a5f608c9e37c5cc70cf155e7860f33bf4a /src
parent771d04c82d007dae289b5429b4549f006140993d (diff)
freedreno/ir3: immediately schedule meta instructions
The aren't real instructions, and don't change # of live values, so no point in them competing with real instructions. Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/ir3/ir3_sched.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_sched.c b/src/freedreno/ir3/ir3_sched.c
index 1b07bf8c1dd..f027d7b7a30 100644
--- a/src/freedreno/ir3/ir3_sched.c
+++ b/src/freedreno/ir3/ir3_sched.c
@@ -571,6 +571,9 @@ find_eligible_instr(struct ir3_sched_ctx *ctx, struct ir3_sched_notes *notes,
if (!candidate)
continue;
+ if (is_meta(candidate))
+ return candidate;
+
deepest = MAX2(deepest, candidate->depth);
}