Module: Mesa Branch: main Commit: c5a6e88c4e816ded6105b74f101528eb004e0581 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5a6e88c4e816ded6105b74f101528eb004e0581
Author: Luigi Santivetti <[email protected]> Date: Wed Aug 2 14:32:12 2023 +0100 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 <[email protected]> Reviewed-by: Karmjit Mahil <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24448> --- 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 9613b84d640..6c038aff75f 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,
