OSDN Git Service

radv: Allow DCC & TC-compat HTILE with VK_IMAGE_CREATE_EXTENDED_USAGE_BIT.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 16 Jan 2020 01:33:35 +0000 (02:33 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 11:16:39 +0000 (11:16 +0000)
commit0890482969d1331b0cf876ca1ab6f06486817bef
treef177d09a41b7ade9dad0453152c4de26024e8eb3
parent1b447bd2e6f73b48945ab250d79eca0a53f23e0e
radv: Allow DCC & TC-compat HTILE with VK_IMAGE_CREATE_EXTENDED_USAGE_BIT.

I misunderstood the flag when initially disabling. But this flag
only does something with mutable formats. If we have DCC and
mutable formats, the formats are close enough that the allowed
usage flags are not meaningfully different nor used during
allocation.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3424>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3424>
src/amd/vulkan/radv_image.c