mirror of https://github.com/PCSX2/pcsx2.git
GS/DX12: Fix FXAA compilation
This commit is contained in:
parent
00b2ad49d5
commit
a959d33f85
|
@ -2682,7 +2682,7 @@ bool GSDevice12::CompilePostProcessingPipelines()
|
||||||
}
|
}
|
||||||
|
|
||||||
ShaderMacro sm;
|
ShaderMacro sm;
|
||||||
sm.AddMacro("FXAA_HLSL_5", "1");
|
sm.AddMacro("FXAA_HLSL", "1");
|
||||||
ComPtr<ID3DBlob> ps = m_shader_cache.GetPixelShader(*shader, sm.GetPtr());
|
ComPtr<ID3DBlob> ps = m_shader_cache.GetPixelShader(*shader, sm.GetPtr());
|
||||||
if (!ps)
|
if (!ps)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue