summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-07-09 13:17:53 +0200
committerAdmiral H. Curtiss <pikachu025@gmail.com>2022-07-09 13:17:53 +0200
commite072aaa76964730d6c647f436b943c6897caaf3f (patch)
tree668d6220a92f91c55ddf753825c73fc8d212d972 /Source/Core
parentfac66897af7336b5e2dc2e3b879effb98b30fe47 (diff)
ShaderCache: Fix inverted usage of palette_format.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/VideoCommon/ShaderCache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp
index 8bc14d28ed..65e8c22882 100644
--- a/Source/Core/VideoCommon/ShaderCache.cpp
+++ b/Source/Core/VideoCommon/ShaderCache.cpp
@@ -1371,8 +1371,8 @@ ShaderCache::GetTextureDecodingShader(TextureFormat format,
const std::string name =
palette_format.has_value() ?
- fmt::format("Texture decoding compute shader: {}", format) :
- fmt::format("Texture decoding compute shader: {}, {}", format, *palette_format);
+ fmt::format("Texture decoding compute shader: {}, {}", format, *palette_format) :
+ fmt::format("Texture decoding compute shader: {}", format);
std::unique_ptr<AbstractShader> shader =
g_renderer->CreateShaderFromSource(ShaderStage::Compute, shader_source, name);