i965: Re-emit depth/stencil/hiz on BRW_NEW_AUX_STATE
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 5 May 2018 19:48:54 +0000 (12:48 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 May 2018 15:23:55 +0000 (08:23 -0700)
commit6fc34049119f9086638e8d768ef5ce09e9ba57e4
treeeb9c2b5ac9d6f2f9f5936a60bff9bde94943faeb
parent3cdf1bf97db19b94577b49079cbbc521157d4e03
i965: Re-emit depth/stencil/hiz on BRW_NEW_AUX_STATE

Certain things can change the aux usage or fast clear color of a depth
surface and we want to re-emit if that happens.  For instance, if you do
a fast depth clear of an already clear depth surface, we will just set
the clear color and not do anything else.  In that case, we could fail
to re-emit 3DSTATE_CLEAR_PARAMS and not get the new fast-clear color.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_misc_state.c