From 51ed3e63e9fc5083db0d593c2a50219d0e8ccf2e Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 10 May 2015 10:39:23 +0200 Subject: [PATCH] glsl: oups forget to remove a line --- plugins/GSdx/res/glsl/tfx_fs.glsl | 1 - plugins/GSdx/res/glsl_source.h | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/GSdx/res/glsl/tfx_fs.glsl b/plugins/GSdx/res/glsl/tfx_fs.glsl index 458e561d81..a6f4335d13 100644 --- a/plugins/GSdx/res/glsl/tfx_fs.glsl +++ b/plugins/GSdx/res/glsl/tfx_fs.glsl @@ -398,7 +398,6 @@ void ps_blend(inout vec4 c, in float As) c.rgb = c.rgb * (Ad + 1.0f); #elif PS_BLEND == 6 // {9, D3DBLENDOP_ADD, D3DBLEND_BLENDFACTOR, D3DBLEND_ZERO}, //*0220: (Cs - 0)*F + Cs ==> Cs*(F + 1) - besoin du fix c.rgb = c.rgb * (Af.x + 1.0f); // FIXME Not bogus #elif PS_BLEND == 7 // {10,D3DBLENDOP_REVSUBTRACT, D3DBLEND_SRCALPHA, D3DBLEND_SRCALPHA}, //*1001: (Cd - Cs)*As + Cd ==> Cd*(As + 1) - Cs*As diff --git a/plugins/GSdx/res/glsl_source.h b/plugins/GSdx/res/glsl_source.h index 91c6033d58..1592794949 100644 --- a/plugins/GSdx/res/glsl_source.h +++ b/plugins/GSdx/res/glsl_source.h @@ -1112,7 +1112,6 @@ static const char* tfx_fs_all_glsl = " c.rgb = c.rgb * (Ad + 1.0f);\n" "#elif PS_BLEND == 6\n" " // {9, D3DBLENDOP_ADD, D3DBLEND_BLENDFACTOR, D3DBLEND_ZERO}, //*0220: (Cs - 0)*F + Cs ==> Cs*(F + 1)\n" - " besoin du fix\n" " c.rgb = c.rgb * (Af.x + 1.0f); // FIXME Not bogus\n" "#elif PS_BLEND == 7\n" " // {10,D3DBLENDOP_REVSUBTRACT, D3DBLEND_SRCALPHA, D3DBLEND_SRCALPHA}, //*1001: (Cd - Cs)*As + Cd ==> Cd*(As + 1) - Cs*As\n"