ShaderCache: Fix inverted usage of palette_format.

This commit is contained in:
Admiral H. Curtiss 2022-07-09 13:17:53 +02:00
parent fac66897af
commit e072aaa769
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -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);