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 <luigi.santivetti@imgtec.com>
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24448>
This commit is contained in:
Luigi Santivetti 2023-08-02 14:32:12 +01:00 committed by Marge Bot
parent 6c25dc0909
commit c5a6e88c4e

View file

@ -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,