From 0ff4a5fa3918c5a1aa9d973061354bf21d7205d8 Mon Sep 17 00:00:00 2001
From: Fernando Sahmkow <fsahmkow27@gmail.com>
Date: Sun, 14 Jul 2019 11:56:47 -0400
Subject: [PATCH] Maxwell3D: Correct marking dirtiness on CB upload

---
 src/video_core/engines/maxwell_3d.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index d499aaa8d3..0c4e72dfe7 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -568,6 +568,7 @@ void Maxwell3D::FinishCBData() {
 
     const u32 id = cb_data_state.id;
     memory_manager.WriteBlock(address, cb_data_state.buff[id].data(), size);
+    dirty.ResetVertexArrays();
 
     cb_data_state.id = null_cb_data;
     cb_data_state.current = null_cb_data;
-- 
GitLab