From 83fc15c594c7acba8016001413db7ee8bde23f9d Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sat, 26 Oct 2019 12:41:40 +0200 Subject: [PATCH] [dxvk] Force-update draw buffer for graphics pipeline barrier checks --- src/dxvk/dxvk_context.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_context.cpp b/src/dxvk/dxvk_context.cpp index ff721753a..1c4dde8c3 100644 --- a/src/dxvk/dxvk_context.cpp +++ b/src/dxvk/dxvk_context.cpp @@ -3785,7 +3785,8 @@ namespace dxvk { // Force-update vertex/index buffers for hazard checks m_flags.set(DxvkContextFlag::GpDirtyIndexBuffer, - DxvkContextFlag::GpDirtyVertexBuffers); + DxvkContextFlag::GpDirtyVertexBuffers, + DxvkContextFlag::DirtyDrawBuffer); // This is necessary because we'll only do hazard // tracking if the active pipeline has side effects