-
Pierre-Eric Pelloux-Prayer authored
FLUSH_AND_INV_DB should be done when we're changing surface state registers of a bound depth target. When depth_clear_value changes, si_state will modify S_028038_ZRANGE_PRECISION so we need to flush the DB caches. Verified with the captures from bugs cited below. Closes: mesa#1283 Closes: mesa#1330 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Tested-by: Marge Bot <mesa!4263> Part-of: <mesa!4263>
bd6234f2