From e406484b84f7ebf9b3a6ebeea187c4d127aa0856 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 2 Jul 2022 15:26:02 +0200 Subject: [PATCH] [d3d9] Don't use VK_RESOLVE_MODE_AVERAGE_BIT_KHR for stencil resolves Doesn't work, always write sample zero instead. --- src/d3d9/d3d9_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 79a3b5542..cdfdfea08 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -1066,7 +1066,7 @@ namespace dxvk { ctx->resolveDepthStencilImage( cDstImage, cSrcImage, cRegion, VK_RESOLVE_MODE_AVERAGE_BIT_KHR, - VK_RESOLVE_MODE_AVERAGE_BIT_KHR); + VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR); } }); };