GS-hw: Remove useless shader line from CLR As/Af case.

This commit is contained in:
lightningterror 2022-01-24 11:42:54 +01:00
parent 93af9656d0
commit c9216e5625
3 changed files with 0 additions and 3 deletions

View File

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

View File

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

View File

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