mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 10:40:39 +01:00
Resources: Move fxaa.fx to out of dx11 directory
It was used by both DX and OGL
This commit is contained in:
1 parent
da651cabe4
commit
962db4bfc4
3 files changed
+2
-2
No files matched your search
File renamed without changes.
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user