From: Bas Nieuwenhuizen Date: Mon, 17 Jun 2019 19:46:35 +0000 (+0200) Subject: radv: Disable linear tiled compressed textures. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=925c04b4c78fcafc345e3f80b17ef3417451e656;p=mesa.git radv: Disable linear tiled compressed textures. Support got removed in the new addrlib update. Reviewed-by: Samuel Pitoiset --- diff --git a/src/amd/vulkan/radv_formats.c b/src/amd/vulkan/radv_formats.c index e61d793e7f2..2e0a140d395 100644 --- a/src/amd/vulkan/radv_formats.c +++ b/src/amd/vulkan/radv_formats.c @@ -774,6 +774,10 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical break; } + /* addrlib does not support linear compressed textures. */ + if (vk_format_is_compressed(format)) + linear = 0; + out_properties->linearTilingFeatures = linear; out_properties->optimalTilingFeatures = tiled; out_properties->bufferFeatures = buffer;