mirror of https://github.com/PCSX2/pcsx2.git
glsl: oups forget to remove a line
This commit is contained in:
parent
5565544ba6
commit
51ed3e63e9
|
@ -398,7 +398,6 @@ void ps_blend(inout vec4 c, in float As)
|
||||||
c.rgb = c.rgb * (Ad + 1.0f);
|
c.rgb = c.rgb * (Ad + 1.0f);
|
||||||
#elif PS_BLEND == 6
|
#elif PS_BLEND == 6
|
||||||
// {9, D3DBLENDOP_ADD, D3DBLEND_BLENDFACTOR, D3DBLEND_ZERO}, //*0220: (Cs - 0)*F + Cs ==> Cs*(F + 1)
|
// {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
|
c.rgb = c.rgb * (Af.x + 1.0f); // FIXME Not bogus
|
||||||
#elif PS_BLEND == 7
|
#elif PS_BLEND == 7
|
||||||
// {10,D3DBLENDOP_REVSUBTRACT, D3DBLEND_SRCALPHA, D3DBLEND_SRCALPHA}, //*1001: (Cd - Cs)*As + Cd ==> Cd*(As + 1) - Cs*As
|
// {10,D3DBLENDOP_REVSUBTRACT, D3DBLEND_SRCALPHA, D3DBLEND_SRCALPHA}, //*1001: (Cd - Cs)*As + Cd ==> Cd*(As + 1) - Cs*As
|
||||||
|
|
|
@ -1112,7 +1112,6 @@ static const char* tfx_fs_all_glsl =
|
||||||
" c.rgb = c.rgb * (Ad + 1.0f);\n"
|
" c.rgb = c.rgb * (Ad + 1.0f);\n"
|
||||||
"#elif PS_BLEND == 6\n"
|
"#elif PS_BLEND == 6\n"
|
||||||
" // {9, D3DBLENDOP_ADD, D3DBLEND_BLENDFACTOR, D3DBLEND_ZERO}, //*0220: (Cs - 0)*F + Cs ==> Cs*(F + 1)\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"
|
" c.rgb = c.rgb * (Af.x + 1.0f); // FIXME Not bogus\n"
|
||||||
"#elif PS_BLEND == 7\n"
|
"#elif PS_BLEND == 7\n"
|
||||||
" // {10,D3DBLENDOP_REVSUBTRACT, D3DBLEND_SRCALPHA, D3DBLEND_SRCALPHA}, //*1001: (Cd - Cs)*As + Cd ==> Cd*(As + 1) - Cs*As\n"
|
" // {10,D3DBLENDOP_REVSUBTRACT, D3DBLEND_SRCALPHA, D3DBLEND_SRCALPHA}, //*1001: (Cd - Cs)*As + Cd ==> Cd*(As + 1) - Cs*As\n"
|
||||||
|
|
Loading…
Reference in New Issue