mirror of https://github.com/PCSX2/pcsx2.git
GS-hw: Remove useless shader line from CLR As/Af case.
This commit is contained in:
parent
93af9656d0
commit
c9216e5625
|
@ -762,7 +762,6 @@ void ps_blend(inout float4 Color, float As, float2 pos_xy)
|
|||
|
||||
float Alpha = PS_CLR1 == 2 ? Af : As;
|
||||
|
||||
Color.rgb /= (float3)255.0f;
|
||||
Color.rgb = max((float3)0.0f, (Alpha - (float3)1.0f));
|
||||
Color.rgb *= (float3)255.0f;
|
||||
}
|
||||
|
|
|
@ -731,7 +731,6 @@ void ps_blend(inout vec4 Color, float As)
|
|||
float Alpha = As;
|
||||
#endif
|
||||
|
||||
Color.rgb /= vec3(255.0f);
|
||||
Color.rgb = max(vec3(0.0f), (Alpha - vec3(1.0f)));
|
||||
Color.rgb *= vec3(255.0f);
|
||||
#endif
|
||||
|
|
|
@ -1069,7 +1069,6 @@ void ps_blend(inout vec4 Color, float As)
|
|||
float Alpha = As;
|
||||
#endif
|
||||
|
||||
Color.rgb /= vec3(255.0f);
|
||||
Color.rgb = max(vec3(0.0f), (Alpha - vec3(1.0f)));
|
||||
Color.rgb *= vec3(255.0f);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue