lavapipe: fix advertised depth resolve modes

only sample0 is actually supported

Fixes: 07956bbcae ("lavapipe: VK_KHR_depth_stencil_resolve support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36004>
This commit is contained in:
Mike Blumenkrantz
2025-07-08 08:24:43 -04:00
committed by Marge Bot
parent 48cd696213
commit eed207e597

View File

@@ -1023,7 +1023,7 @@ lvp_get_properties(const struct lvp_physical_device *device, struct vk_propertie
.maxDescriptorSetUpdateAfterBindStorageImages = MAX_DESCRIPTORS,
.maxDescriptorSetUpdateAfterBindInputAttachments = MAX_DESCRIPTORS,
.supportedDepthResolveModes = VK_RESOLVE_MODE_SAMPLE_ZERO_BIT | VK_RESOLVE_MODE_AVERAGE_BIT,
.supportedDepthResolveModes = VK_RESOLVE_MODE_SAMPLE_ZERO_BIT,
.supportedStencilResolveModes = VK_RESOLVE_MODE_SAMPLE_ZERO_BIT,
.independentResolveNone = false,
.independentResolve = false,