i965: Also emit HiZ and Stencil packets when disabling depth on Gen6.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Aug 2013 20:57:13 +0000 (13:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 28 Oct 2013 18:29:36 +0000 (11:29 -0700)
commit5563dfabc8c1b7cc1a67e4d64311ea29aef43087
tree60adf15056124fba21a41fbb9332ca23a4e435d7
parent29e5d5db5149f721e6c15a9aee6f8135a98ba5c8
i965: Also emit HiZ and Stencil packets when disabling depth on Gen6.

The normal drawing path does this, and it's necessary on Ivybridge,
so let's try it on Sandybridge too.  It's not explicitly documented
as necessary, but might help with hangs.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Xinkai Chen <yeled.nova@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/gen6_blorp.cpp