v3d: Fix detection of TMU write sequences in register spilling.
authorEric Anholt <eric@anholt.net>
Thu, 25 Apr 2019 19:58:12 +0000 (12:58 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 26 Apr 2019 19:42:30 +0000 (12:42 -0700)
commitfb0611df3d406804da738d599a22da99aa382682
treeced0753ad2c5b16b421a44b50c152395913a6570
parent18894a5e5a55e110aa0b2a64d5446c4ffcef1365
v3d: Fix detection of TMU write sequences in register spilling.

We can't use the QPU functions to detect this until register allocation is
done and we've moved inst->dst into inst->qpu.

Fixes bad TMU sequences from register spilling in
KHR-GLES31.core.compute_shader.shared-max.
src/broadcom/compiler/vir_register_allocate.c