mirror of https://github.com/PCSX2/pcsx2.git
GS-d3d12: Remove scale factor clamp.
Already handled in config so it's duplicate.
This commit is contained in:
parent
c8c7ac45d1
commit
6e5e9ab7bc
|
@ -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)
|
GSDevice12::ComPtr<ID3DBlob> GSDevice12::GetUtilityPixelShader(const std::string& source, const char* entry_point)
|
||||||
{
|
{
|
||||||
ShaderMacro sm_model(m_shader_cache.GetFeatureLevel());
|
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);
|
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();
|
return it->second.get();
|
||||||
|
|
||||||
ShaderMacro sm(m_shader_cache.GetFeatureLevel());
|
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_FST", sel.fst);
|
||||||
sm.AddMacro("PS_WMS", sel.wms);
|
sm.AddMacro("PS_WMS", sel.wms);
|
||||||
sm.AddMacro("PS_WMT", sel.wmt);
|
sm.AddMacro("PS_WMT", sel.wmt);
|
||||||
|
|
Loading…
Reference in New Issue