freedreno/a6xx: fix corrupted uniforms
authorRob Clark <robdclark@gmail.com>
Fri, 14 Dec 2018 19:35:54 +0000 (14:35 -0500)
committerRob Clark <robdclark@gmail.com>
Fri, 14 Dec 2018 20:01:30 +0000 (15:01 -0500)
commit5f9085638a75b0fdfbb56aaa1c0da3414d8c13ce
tree62c3090a5341aa9ecb4d7c7debfafe11ea067a11
parent4db4b3447d5258a26a805766e156ea0a338c95b7
freedreno/a6xx: fix corrupted uniforms

For older gen's fd_wfi() is used to conditionally insert a WFI if there
hasn't already been one since last draw.  But this doesn't work out well
with stateobj since the order the stateobj is evaluated might not be
what you expect.  (Ie. stateobj might not be evaluated until a later
draw if there is no geometry from the current draw in a given tile.)

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c