radv: fix fast clearing depth-only or stencil-only aspects with HTILE
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 16 Apr 2021 07:25:42 +0000 (09:25 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 20 Apr 2021 08:20:49 +0000 (08:20 +0000)
commite4c0724dc6e735da738262de0d26d3e583b746bb
treeb6c18944c2230a4e34808c4a9c07387599fdaf69
parent00ff60f799c3e8a2d0c4d7933b60b3f8f69f092c
radv: fix fast clearing depth-only or stencil-only aspects with HTILE

DB isn't coherent with L2 on GFX6-8. This is needed when the
clear HTILE mask path is selected.

This fixes an issue with avatars in Heroes of The Storm.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3362
Cc: 21.1 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10277>
src/amd/vulkan/radv_meta_clear.c