diff options
author | Luigi Santivetti <luigi.santivetti@imgtec.com> | 2023-08-02 14:32:12 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-08-07 14:06:44 +0000 |
commit | c5a6e88c4e816ded6105b74f101528eb004e0581 (patch) | |
tree | 6e05e0190d7c029838cbce957441985b9613b4c9 | |
parent | 6c25dc09099376dd1fbe86804beccb9d45cab193 (diff) |
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>
-rw-r--r-- | src/imagination/vulkan/pvr_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |