radv: Don't relayout images with modifiers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 16 Nov 2020 11:01:54 +0000 (12:01 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Feb 2021 00:43:56 +0000 (00:43 +0000)
commit4dbbd59a010a44efd095dbda64282eeebf290db6
tree3a381a99c2168ff9b09fb5d5c62ec77ee2855051
parentf543f09e2ac2424226b89f5a41371b444cff4635
radv: Don't relayout images with modifiers.

The modifier should have been the exact layout of the image. Hence
we should not relayout the image according to the implicit modifier
on memory import (i.e. VkMemory allocation).

Reviewed-By: Chad Versace <chad@kiwitree.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7667>
src/amd/vulkan/radv_device.c