i965: Add Gen6 depth stall flushes before disabling depth in BLORP.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Aug 2013 18:34:01 +0000 (11:34 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 16 Aug 2013 22:03:38 +0000 (15:03 -0700)
commit8fba8d4ee7632ae185f70356093e10a563ea64cd
treebd96dffc9daff543f5a45ebf251eeb4837e46607
parent9c48ae751ab28f35eb878551d24c071be0ce11b0
i965: Add Gen6 depth stall flushes before disabling depth in BLORP.

We emit these before configuring depth in the normal path, or actually
using the depth buffer in BLORP - we just failed to emit them when
disabling depth altogether.

On Sandybridge, this also requires the post_sync_nonzero flush.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/gen6_blorp.cpp