v3d: Wait for TMU writes to complete before continuing after a spill.
authorEric Anholt <eric@anholt.net>
Wed, 1 Aug 2018 23:56:38 +0000 (16:56 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 6 Aug 2018 20:03:23 +0000 (13:03 -0700)
commit3f9cb2eb05152f4f0269e97893a16f23261f095b
tree2bfdefba8077dd383143590f923e352763b52a41
parentccbe33af5b086f4b488ac7ca8a8a45ebc9ac189c
v3d: Wait for TMU writes to complete before continuing after a spill.

The simulator complained that we had write responses outstanding at shader
end.  It seems that a TMU read does not guarantee that previous TMU writes
by the thread have completed, which surprised me.

Cc: "18.2" <mesa-stable@lists.freedesktop.org>
src/broadcom/compiler/vir_register_allocate.c