Resources: Move fxaa.fx to out of dx11 directory

It was used by both DX and OGL
This commit is contained in:
TellowKrinkle 2021-12-12 00:01:16 -06:00 committed by tellowkrinkle
parent da651cabe4
commit 962db4bfc4
3 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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;