pan/midgard: Add bizarre corner case
Someone really needs to look into this. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
4ae4d82e21
commit
9eac9389fb
|
@ -534,10 +534,17 @@ mir_compute_segment_interference(
|
|||
if (bun->instructions[j]->src[s] >= ctx->temp_count)
|
||||
continue;
|
||||
|
||||
for (unsigned q = pivot; q < j; ++q) {
|
||||
for (unsigned q = pivot; q < i; ++q) {
|
||||
if (bun->instructions[q]->dest >= ctx->temp_count)
|
||||
continue;
|
||||
|
||||
/* See dEQP-GLES2.functional.shaders.return.output_write_in_func_dynamic_fragment */
|
||||
|
||||
if (q >= j) {
|
||||
if (!(bun->instructions[j]->unit == UNIT_SMUL && bun->instructions[q]->unit == UNIT_VLUT))
|
||||
continue;
|
||||
}
|
||||
|
||||
ra_add_node_interference(l, bun->instructions[q]->dest, bun->instructions[j]->src[s]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue