diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-08-22 02:18:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-22 02:18:40 +0200 |
| commit | dbe6a5f7e4caca71de9d9ba86916f82c0bc21683 (patch) | |
| tree | 84fd8c6f664f1df62350f9d7b5aa9d110b6aee02 /Source/Core/VideoCommon/ShaderCache.cpp | |
| parent | 3451cb1ca2583f9c2b02d0d216355047787c134b (diff) | |
| parent | 55061216855af89f21eee1174fa81d927bc94991 (diff) | |
Merge pull request #11300 from iwubcode/custom-shaders
VideoCommon: add a graphics mod action that allows you to modify the game's base rendering
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/ShaderCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp index d1deef8424..7d11645949 100644 --- a/Source/Core/VideoCommon/ShaderCache.cpp +++ b/Source/Core/VideoCommon/ShaderCache.cpp @@ -449,7 +449,7 @@ ShaderCache::CompileVertexUberShader(const UberShader::VertexShaderUid& uid) con std::unique_ptr<AbstractShader> ShaderCache::CompilePixelShader(const PixelShaderUid& uid) const { const ShaderCode source_code = - GeneratePixelShaderCode(m_api_type, m_host_config, uid.GetUidData()); + GeneratePixelShaderCode(m_api_type, m_host_config, uid.GetUidData(), {}); return g_gfx->CreateShaderFromSource(ShaderStage::Pixel, source_code.GetBuffer()); } @@ -457,7 +457,7 @@ std::unique_ptr<AbstractShader> ShaderCache::CompilePixelUberShader(const UberShader::PixelShaderUid& uid) const { const ShaderCode source_code = - UberShader::GenPixelShader(m_api_type, m_host_config, uid.GetUidData()); + UberShader::GenPixelShader(m_api_type, m_host_config, uid.GetUidData(), {}); return g_gfx->CreateShaderFromSource(ShaderStage::Pixel, source_code.GetBuffer(), fmt::to_string(*uid.GetUidData())); } |
