From ba91f5d401bf5f9fc39aaa30feac2600e82f9c42 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Thu, 22 Feb 2024 09:43:22 +0000 Subject: [PATCH] Vulkan: Properly reset barrier batch when splitting due to mismatching flags (#6345) Forgot to set the end variable here. Should stop it from crashing when this path is taken. --- src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs b/src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs index aa158f036..24642af2d 100644 --- a/src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs +++ b/src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs @@ -144,6 +144,7 @@ namespace Ryujinx.Graphics.Vulkan i -= deleteCount; firstMatch = -1; + end = list.Count; } } }