radv: do not use gfx fast depth clears for layered depth/stencil images
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 3 Jun 2019 15:52:56 +0000 (17:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 4 Jun 2019 06:55:32 +0000 (08:55 +0200)
commit8a35eb0602735194f2976000ddff9dca2c8b5741
tree9a6403d2ef8ff75213e27e924718b4571f9cf8ef
parent33f4e04d5a7396886f0b2ea6463d295ea038f8c5
radv: do not use gfx fast depth clears for layered depth/stencil images

The driver should only fast depth clears with the graphics path
when the view covers all image layers, otherwise this might
corrupt layers when HTILE is enabled.

Cc: 19.0 19.1 mesa-stable@lists.freedesktop.org
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_clear.c