i965: Move the post-HiZ-clear flush/stall to intel_hiz_exec
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Jun 2017 00:05:02 +0000 (17:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 7 Jun 2017 15:54:54 +0000 (08:54 -0700)
commita2152775fd57fb33a1100cd6b2ec609cf3a79b6c
tree6df564f7093a9ed88744c1521077b17a7f02eef6
parent9cb6ac62fbab86ed914152b40cb1f8f4ee7fdaff
i965: Move the post-HiZ-clear flush/stall to intel_hiz_exec

This also changes it to be predicated so we only do the flush/stall on
clears and HiZ resolves.  The docs only say it's needed for clears but
empirical evidence says it's also needed for HiZ resolves.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/gen8_depth_state.c