From 8cbccf4b6e7709713764147d1ca9ba23e802a399 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Wed, 27 Nov 2024 14:37:36 +0300 Subject: [PATCH] Skip fur pipelines. --- UnleashedRecomp/gpu/video.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index 3a903441..a2d24628 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -4396,6 +4396,9 @@ static void CompileMeshPipeline(Hedgehog::Mirage::CMeshData* mesh, MeshLayer lay auto& material = mesh->m_spMaterial; auto& shaderList = material->m_spShaderListData; + if (strstr(shaderList->m_TypeAndName.c_str(), "Fur") != nullptr) // Skip fur, these do instancing and should not be compiled here. + return; + bool isSky = strstr(shaderList->m_TypeAndName.c_str(), "Sky") != nullptr; bool constTexCoord = true;