From eed207e597534813f457fa584bd404b40b32b3db Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 8 Jul 2025 08:24:43 -0400 Subject: [PATCH] lavapipe: fix advertised depth resolve modes only sample0 is actually supported Fixes: 07956bbcae4 ("lavapipe: VK_KHR_depth_stencil_resolve support") Part-of: --- src/gallium/frontends/lavapipe/lvp_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 66414919f72..c773506b2c1 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -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,