diff --git a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp index 56f49c02..20c9478c 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp +++ b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/pipeline_manager.cpp @@ -667,6 +667,9 @@ namespace skyline::gpu::interconnect::maxwell3d { } Pipeline *Pipeline::LookupNext(const PackedPipelineState &packedState) { + if (packedState == sourcePackedState) + return this; + auto it{std::find_if(transitionCache.begin(), transitionCache.end(), [&packedState](auto pipeline) { if (pipeline && pipeline->sourcePackedState == packedState) return true;