VideoCommon: pixel shader gen changes needed to support custom pixel shaders in graphics mods

This commit is contained in:
iwubcode
2022-07-30 00:33:29 -05:00
parent c3a370839a
commit e704385fce
3 changed files with 234 additions and 7 deletions

View File

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