mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 06:00:10 +01:00
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: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 commitab9e148bfb) Conflicts: src/imagination/vulkan/pvr_physical_device.c (File has been renamed since branchpoint)
This commit is contained in:
parent
2f87d6a72b
commit
ec57edb3de
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue