From 3984d1964bc6920ed4823573be8b0f44c7a8587c Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sun, 29 Oct 2023 16:51:53 -0700 Subject: [PATCH] Fix accidental fallthrough in BPStructs This caused us to update the indirect texture information in shaders more often than we needed to, which probably doesn't matter in practice since it's only used in ubershaders and copyyscale and stride are generally only updated before EFB/XFB copies, which generally will have other changes afterwards. --- Source/Core/VideoCommon/BPStructs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 13a445b94b..72b2a5c7dc 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -525,6 +525,7 @@ static void BPWritten(PixelShaderManager& pixel_shader_manager, case BPMEM_EFB_STRIDE: // Display Copy Stride case BPMEM_COPYYSCALE: // Display Copy Y Scale + return; /* 24 RID * 21 BC3 - Ind. Tex Stage 3 NTexCoord