glsl: oups forget to remove a line

This commit is contained in:
Gregory Hainaut 2015-05-10 10:39:23 +02:00
parent 5565544ba6
commit 51ed3e63e9
2 changed files with 0 additions and 2 deletions

View File

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

View File

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