From ee65d9fc9c56c822c9eab39a8c1c43358d156632 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 13 Dec 2020 21:52:29 +0800 Subject: [PATCH] Vulkan:Add more Dirty flag Fix #13741 --- GPU/Vulkan/DrawEngineVulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Vulkan/DrawEngineVulkan.cpp b/GPU/Vulkan/DrawEngineVulkan.cpp index da1fb1f52ca7..91487cd851dd 100644 --- a/GPU/Vulkan/DrawEngineVulkan.cpp +++ b/GPU/Vulkan/DrawEngineVulkan.cpp @@ -959,7 +959,7 @@ void DrawEngineVulkan::DoFlush() { int curRenderStepId = renderManager->GetCurrentStepId(); if (lastRenderStepId_ != curRenderStepId) { // Dirty everything that has dynamic state that will need re-recording. - gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_DEPTHSTENCIL_STATE | DIRTY_BLEND_STATE); + gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_DEPTHSTENCIL_STATE | DIRTY_BLEND_STATE | DIRTY_TEXTURE_IMAGE | DIRTY_TEXTURE_PARAMS); lastRenderStepId_ = curRenderStepId; }