pvr: enable samplerMirrorClampToEdge feature
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

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: 4d34c07b7a ("pvr: advertise VK_KHR_sampler_mirror_clamp_to_edge")
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38653>
(cherry picked from commit ab9e148bfb)

Conflicts:
	src/imagination/vulkan/pvr_physical_device.c
        (File has been renamed since branchpoint)
This commit is contained in:
Icenowy Zheng 2025-11-25 17:39:59 +08:00 committed by Dylan Baker
parent 2f87d6a72b
commit ec57edb3de
2 changed files with 2 additions and 2 deletions

View file

@ -2414,7 +2414,7 @@
"description": "pvr: enable samplerMirrorClampToEdge feature",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "4d34c07b7a9f58e92061844a378ceaf2f737c27a",
"notes": null

View file

@ -322,7 +322,7 @@ static void pvr_physical_device_get_supported_features(
.samplerYcbcrConversion = false,
/* Vulkan 1.2 */
.samplerMirrorClampToEdge = false,
.samplerMirrorClampToEdge = true,
.drawIndirectCount = false,
.storageBuffer8BitAccess = false,
.uniformAndStorageBuffer8BitAccess = false,