projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pan/mdg: Schedule based on liveness
[mesa.git]
/
src
/
panfrost
/
midgard
/
mir.c
diff --git
a/src/panfrost/midgard/mir.c
b/src/panfrost/midgard/mir.c
index 75a4e38fcac77fbb946bafb2e8643d209279017f..343c4bdb1d76a191fe7865603b6c8cf5e40e2fb0 100644
(file)
--- a/
src/panfrost/midgard/mir.c
+++ b/
src/panfrost/midgard/mir.c
@@
-71,6
+71,10
@@
mir_rewrite_index_dst(compiler_context *ctx, unsigned old, unsigned new)
mir_foreach_instr_global(ctx, ins) {
mir_rewrite_index_dst_single(ins, old, new);
}
+
+ /* Implicitly written before the shader */
+ if (ctx->blend_input == old)
+ ctx->blend_input = new;
}
void