radv: only decompress the depth/stencil aspect that needs to be resolved
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 18 Jan 2021 14:46:06 +0000 (15:46 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 22 Jan 2021 18:16:19 +0000 (18:16 +0000)
commit093b3f6e1f0b919be247c30bb7cac9c1a25941c3
tree0e0d5822925b8ff28f2daf74a27b0a6f6a2093e0
parent36a4aeb91f3a940f53e1209b5f1671403142a130
radv: only decompress the depth/stencil aspect that needs to be resolved

For depth/stencil images, the driver was decompressing both aspects
while it should be enough to only decompress the one that's going
to be resolved.

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/8561>
src/amd/vulkan/radv_meta_resolve_cs.c
src/amd/vulkan/radv_meta_resolve_fs.c