diff options
author | Pierre-Eric Pelloux-Prayer <[email protected]> | 2020-03-18 21:57:31 +0100 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <[email protected]> | 2020-03-24 08:05:12 +0100 |
commit | bd6234f24be024556a4b83e879bb65b89fea7a12 (patch) | |
tree | 4062b5db3b56ceb5db0d2ff2eb07dd3a4989f1d5 /subprojects | |
parent | 67a10ea21596b2dff3ea2dc40713e59784e02ef2 (diff) |
radeonsi: clarify the conditions when FLUSH_AND_INV_DB is needed
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: https://gitlab.freedesktop.org/mesa/mesa/issues/1283
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1330
Reviewed-by: Marek Olšák <[email protected]>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4263>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4263>
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions