mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: LINUX-ONLY
* It works with the HW renderer !!! * Not sure this fix will work with dual blending but we will see later * screen is vertically flipped again... git-svn-id: http://pcsx2.googlecode.com/svn/branches/gsdx-ogl@5031 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
aa499f4bfd
commit
000220f93f
|
@ -603,7 +603,7 @@ void ps_main()
|
||||||
|
|
||||||
// FIXME: I'm not sure about the value of others field
|
// FIXME: I'm not sure about the value of others field
|
||||||
// output.c1 = c.a * 2; // used for alpha blending
|
// output.c1 = c.a * 2; // used for alpha blending
|
||||||
SV_Target1 = vec4(c.a*2, c.a*2, c.a*2, c.a * 2);
|
SV_Target0 = vec4(c.a*2, c.a*2, c.a*2, c.a * 2);
|
||||||
|
|
||||||
if(PS_AOUT != 0) // 16 bit output
|
if(PS_AOUT != 0) // 16 bit output
|
||||||
{
|
{
|
||||||
|
@ -616,10 +616,10 @@ void ps_main()
|
||||||
if(c.a < 0.5) c.a += 0.5;
|
if(c.a < 0.5) c.a += 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
SV_Target0 = c;
|
SV_Target1 = c;
|
||||||
|
|
||||||
//SV_Target0 = vec4(1.0f,0.0f,0.0f, 1.0f);
|
//SV_Target0 = vec4(1.0f,0.0f,0.0f, 1.0f);
|
||||||
//SV_Target1 = vec4(1.0f,0.0f,0.0f, 1.0f);
|
//SV_Target1 = vec4(0.0f,1.0f,0.0f, 1.0f);
|
||||||
#else
|
#else
|
||||||
SV_Target = vec4(1.0f,0.0f,0.0f, 1.0f);
|
SV_Target = vec4(1.0f,0.0f,0.0f, 1.0f);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue