Resources: Move fxaa.fx to out of dx11 directory

It was used by both DX and OGL
This commit is contained in:
TellowKrinkle authored and tellowkrinkle committed 2021-12-12 06:10:47 -06:00
1 parent da651cabe4
commit 962db4bfc4
3 files changed
+2 -2

No files matched your search

File renamed without changes.
+1 -1
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);
+1 -1
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;