소스 검색

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.
riperiperi 2 년 전
부모
커밋
ba91f5d401
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs

+ 1 - 0
src/Ryujinx.Graphics.Vulkan/BarrierBatch.cs

@@ -144,6 +144,7 @@ namespace Ryujinx.Graphics.Vulkan
                                     i -= deleteCount;
 
                                     firstMatch = -1;
+                                    end = list.Count;
                                 }
                             }
                         }