[Mesa-dev] [PATCH] radv: Disable linear tiled compressed textures.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Mon Jun 17 19:47:13 UTC 2019


Support got removed in the new addrlib update.
---
 src/amd/vulkan/radv_formats.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/amd/vulkan/radv_formats.c b/src/amd/vulkan/radv_formats.c
index e61d793e7f2..e8470a1622e 100644
--- a/src/amd/vulkan/radv_formats.c
+++ b/src/amd/vulkan/radv_formats.c
@@ -774,6 +774,9 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
 		break;
 	}
 
+	if (vk_format_is_compressed(format))
+		linear = 0;
+
 	out_properties->linearTilingFeatures = linear;
 	out_properties->optimalTilingFeatures = tiled;
 	out_properties->bufferFeatures = buffer;
-- 
2.21.0



More information about the mesa-dev mailing list