GS-d3d12: Remove scale factor clamp.

Already handled in config so it's duplicate.
This commit is contained in:
lightningterror 2022-06-14 02:17:55 +02:00
parent c8c7ac45d1
commit 6e5e9ab7bc
1 changed files with 2 additions and 2 deletions

View File

@ -985,7 +985,7 @@ GSDevice12::ComPtr<ID3DBlob> GSDevice12::GetUtilityVertexShader(const std::strin
GSDevice12::ComPtr<ID3DBlob> GSDevice12::GetUtilityPixelShader(const std::string& source, const char* entry_point)
{
ShaderMacro sm_model(m_shader_cache.GetFeatureLevel());
sm_model.AddMacro("PS_SCALE_FACTOR", std::max(1u, GSConfig.UpscaleMultiplier));
sm_model.AddMacro("PS_SCALE_FACTOR", GSConfig.UpscaleMultiplier);
return m_shader_cache.GetPixelShader(source, sm_model.GetPtr(), entry_point);
}
@ -1533,7 +1533,7 @@ const ID3DBlob* GSDevice12::GetTFXPixelShader(const GSHWDrawConfig::PSSelector&
return it->second.get();
ShaderMacro sm(m_shader_cache.GetFeatureLevel());
sm.AddMacro("PS_SCALE_FACTOR", std::max(1u, GSConfig.UpscaleMultiplier));
sm.AddMacro("PS_SCALE_FACTOR", GSConfig.UpscaleMultiplier);
sm.AddMacro("PS_FST", sel.fst);
sm.AddMacro("PS_WMS", sel.wms);
sm.AddMacro("PS_WMT", sel.wmt);