From: Bas Nieuwenhuizen Date: Mon, 17 Jun 2019 19:46:35 +0000 (+0200) Subject: radv: Disable linear tiled compressed textures. X-Git-Tag: upstream/19.3.0~5395 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=925c04b4c78fcafc345e3f80b17ef3417451e656;p=platform%2Fupstream%2Fmesa.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 e61d793..2e0a140 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;