From 925c04b4c78fcafc345e3f80b17ef3417451e656 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 17 Jun 2019 21:46:35 +0200 Subject: [PATCH] radv: Disable linear tiled compressed textures. Support got removed in the new addrlib update. Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_formats.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2