diff --git a/GPU/Vulkan/DrawEngineVulkan.cpp b/GPU/Vulkan/DrawEngineVulkan.cpp index 5cd4ef69fe..c9331aa79b 100644 --- a/GPU/Vulkan/DrawEngineVulkan.cpp +++ b/GPU/Vulkan/DrawEngineVulkan.cpp @@ -907,6 +907,9 @@ void DrawEngineVulkan::DoFlush() { VulkanPipeline *pipeline = pipelineManager_->GetOrCreatePipeline(renderManager, pipelineLayout_, renderPass, pipelineKey_, &dec_->decFmt, vshader, fshader, false); if (!pipeline || !pipeline->pipeline) { // Already logged, let's bail out. + decodedVerts_ = 0; + numDrawCalls = 0; + decodeCounter_ = 0; return; } BindShaderBlendTex(); // This might cause copies so super important to do before BindPipeline.