From c5a6e88c4e816ded6105b74f101528eb004e0581 Mon Sep 17 00:00:00 2001 From: Luigi Santivetti Date: Wed, 2 Aug 2023 14:32:12 +0100 Subject: [PATCH] pvr: do not claim support for ASTC texture compression We don't support any ASTC formats yet, but the textureCompressionASTC_LDR feature was incorrectly set to true. Fix this by setting it to false and don't advertise ASTC support for texture compression. Fixes dEQP-VK.api.info.format_properties.compressed_formats Fixes: 8991e646 ("pvr: Add a Vulkan driver for Imagination Technologies PowerVR Rogue GPUs") Signed-off-by: Luigi Santivetti Reviewed-by: Karmjit Mahil Part-of: --- src/imagination/vulkan/pvr_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imagination/vulkan/pvr_device.c b/src/imagination/vulkan/pvr_device.c index 9613b84..6c038af 100644 --- a/src/imagination/vulkan/pvr_device.c +++ b/src/imagination/vulkan/pvr_device.c @@ -187,7 +187,7 @@ static void pvr_physical_device_get_supported_features( .multiViewport = false, .samplerAnisotropy = false, .textureCompressionETC2 = true, - .textureCompressionASTC_LDR = PVR_HAS_FEATURE(dev_info, astc), + .textureCompressionASTC_LDR = false, .textureCompressionBC = false, .occlusionQueryPrecise = false, .pipelineStatisticsQuery = false, -- 2.7.4