From 05330ab9dd7c51671f943b0dee426e660c388af5 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Wed, 10 May 2023 14:52:15 +0000 Subject: [PATCH] d3d11: fix render pass msaa resolve problem Bug: dawn:1804 Change-Id: I16373eae35d1a8fb1317a4a11811787bd91d1236 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132420 Reviewed-by: Corentin Wallez Kokoro: Kokoro Reviewed-by: Austin Eng Commit-Queue: Peng Huang --- src/dawn/native/d3d11/CommandBufferD3D11.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dawn/native/d3d11/CommandBufferD3D11.cpp b/src/dawn/native/d3d11/CommandBufferD3D11.cpp index 48aee390cf..1fc3296b55 100644 --- a/src/dawn/native/d3d11/CommandBufferD3D11.cpp +++ b/src/dawn/native/d3d11/CommandBufferD3D11.cpp @@ -642,10 +642,6 @@ MaybeError CommandBuffer::ExecuteRenderPass(BeginRenderPassCmd* renderPass, continue; } - if (attachment.storeOp != wgpu::StoreOp::Store) { - continue; - } - ASSERT(attachment.view->GetAspects() == Aspect::Color); ASSERT(attachment.resolveTarget->GetAspects() == Aspect::Color);