freedreno: mark all state dirty after switching batch
authorRob Clark <robdclark@gmail.com>
Sat, 27 Oct 2018 18:07:09 +0000 (14:07 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 28 Oct 2018 18:03:38 +0000 (14:03 -0400)
commit05e868925c200853e9d6bffee691e72c1a353ae8
tree1f47e2f5f4f4295d3035b1ddfa8c88ff5c8e7a51
parent1bd4f8fefc2728963fc37900fe75210ee24e09d1
freedreno: mark all state dirty after switching batch

The problem isn't directly with ec717fc629 but rather that commit
exposes the problem.  When we switch batch we cannot assume previous
state is clean so we should mark all state dirty.

Fixes: ec717fc629 freedreno: reduce resource dependency tracking overhead
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_draw.c