From ab9e148bfb10c1a442741a23ea4afe09226fa520 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Tue, 25 Nov 2025 17:39:59 +0800 Subject: [PATCH] pvr: enable samplerMirrorClampToEdge feature This is forgotten when advertising the corresponding extension, which leads to inconsistency, thus fail of dEQP-VK.api.info.vulkan1p2.feature_extensions_consistency CTS testcase. Enable the corresponding feature too. I ran all CTS tests with "mirror_clamp_to_edge" in name, which are all skipped with NotSupported before (because of the feature being not advertised), and gain 3695/11140 Pass with the remaining ones still NotSupported (no Fail). This also makes the feature extension consistency CTS testcase Pass too. Fixes: 4d34c07b7a9f ("pvr: advertise VK_KHR_sampler_mirror_clamp_to_edge") Signed-off-by: Icenowy Zheng Reviewed-by: Frank Binns Part-of: --- src/imagination/vulkan/pvr_physical_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imagination/vulkan/pvr_physical_device.c b/src/imagination/vulkan/pvr_physical_device.c index 20c172086c3..c9444e49f7b 100644 --- a/src/imagination/vulkan/pvr_physical_device.c +++ b/src/imagination/vulkan/pvr_physical_device.c @@ -274,7 +274,7 @@ static void pvr_physical_device_get_supported_features( .samplerYcbcrConversion = false, /* Vulkan 1.2 */ - .samplerMirrorClampToEdge = false, + .samplerMirrorClampToEdge = true, .drawIndirectCount = false, .storageBuffer8BitAccess = false, .uniformAndStorageBuffer8BitAccess = false,