mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-07 06:40:12 +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 =
|
const std::string name =
|
||||||
palette_format.has_value() ?
|
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 =
|
std::unique_ptr<AbstractShader> shader =
|
||||||
g_renderer->CreateShaderFromSource(ShaderStage::Compute, shader_source, name);
|
g_renderer->CreateShaderFromSource(ShaderStage::Compute, shader_source, name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user