mirror of https://github.com/PCSX2/pcsx2.git
Resources: Move fxaa.fx to out of dx11 directory
It was used by both DX and OGL
This commit is contained in:
parent
da651cabe4
commit
962db4bfc4
|
@ -969,7 +969,7 @@ void GSDevice11::DoFXAA(GSTexture* sTex, GSTexture* dTex)
|
|||
{
|
||||
try
|
||||
{
|
||||
std::optional<std::string> shader = Host::ReadResourceFileToString("shaders/dx11/fxaa.fx");
|
||||
std::optional<std::string> shader = Host::ReadResourceFileToString("shaders/common/fxaa.fx");
|
||||
if (shader.has_value())
|
||||
{
|
||||
ShaderMacro sm(m_shader.model);
|
||||
|
|
|
@ -1611,7 +1611,7 @@ void GSDeviceOGL::DoFXAA(GSTexture* sTex, GSTexture* dTex)
|
|||
std::string fxaa_macro = "#define FXAA_GLSL_130 1\n";
|
||||
fxaa_macro += "#extension GL_ARB_gpu_shader5 : enable\n";
|
||||
|
||||
std::optional<std::string> shader = Host::ReadResourceFileToString("shaders/opengl/fxaa.fx");
|
||||
std::optional<std::string> shader = Host::ReadResourceFileToString("shaders/common/fxaa.fx");
|
||||
if (!shader.has_value())
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in New Issue