From 110fc8f83332e0abc58376c370013d8b3bdcdded Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 28 Jun 2019 04:31:17 +0200 Subject: [PATCH] [dxvk] Properly clear used command buffer flags Fixes an issue where we would always submit the init buffer, even if it is empty. --- src/dxvk/dxvk_cmdlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_cmdlist.cpp b/src/dxvk/dxvk_cmdlist.cpp index 108b564bf..2da9d26f3 100644 --- a/src/dxvk/dxvk_cmdlist.cpp +++ b/src/dxvk/dxvk_cmdlist.cpp @@ -109,7 +109,7 @@ namespace dxvk { // Unconditionally mark the exec buffer as used. There // is virtually no use case where this isn't correct. - m_cmdBuffersUsed.set(DxvkCmdBuffer::ExecBuffer); + m_cmdBuffersUsed = DxvkCmdBuffer::ExecBuffer; }