summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2023-10-29 16:51:53 -0700
committerPokechu22 <Pokechu022@gmail.com>2023-11-12 10:39:56 -0800
commit3984d1964bc6920ed4823573be8b0f44c7a8587c (patch)
treea4ce803862ea9870b711b115bb376a52ba293eb5 /Source/Core/VideoCommon/BPStructs.cpp
parente7b922ee62bf8d4c68ae538a136f07f9506cbacc (diff)
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.
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp1
1 files changed, 1 insertions, 0 deletions
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