mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-30 15:32:47 +00:00
ShaderCache: Fix inverted usage of palette_format.
This commit is contained in:
parent
fac66897af
commit
e072aaa769
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user