diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2020-01-24 11:53:51 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-24 11:53:51 +1000 |
| commit | 42c03c4dadd9e507a91b07bb01ff597bbd1df728 (patch) | |
| tree | b0f9bcdf862ff55197faf4c260283bb55c58a5a6 /Source/Core/VideoCommon/ShaderCache.cpp | |
| parent | a0b7c1beae0cdb9ad082a45a502186eb8ade8b77 (diff) | |
| parent | 687f1f0330a405e2b0557b24d183ac57d1fa6218 (diff) | |
Merge pull request #8576 from lioncash/texture-cvt-shader-fmt
VideoCommon/TextureConversionShader: Convert over to using ShaderCode
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp index 8c184c7256..53866a3bfa 100644 --- a/Source/Core/VideoCommon/ShaderCache.cpp +++ b/Source/Core/VideoCommon/ShaderCache.cpp @@ -1178,7 +1178,7 @@ const AbstractPipeline* ShaderCache::GetEFBCopyToRAMPipeline(const EFBCopyParams if (iter != m_efb_copy_to_ram_pipelines.end()) return iter->second.get(); - const char* const shader_code = + const std::string shader_code = TextureConversionShaderTiled::GenerateEncodingShader(uid, m_api_type); const auto shader = g_renderer->CreateShaderFromSource(ShaderStage::Pixel, shader_code); if (!shader) |
