GSdx-d3d: Drop an useless min in FS - port from GL.

Commit: a1957a685d

GPU will clamp color anyway. It reduces the number of instruction of 25%
(4->3).
This commit is contained in:
lightningterror 2018-08-01 22:47:57 +02:00
parent 1498f538dd
commit 188a1f1416
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ struct PS_INPUT
float4 ps_main0(PS_INPUT input) : SV_Target0
{
float4 c = Texture.Sample(Sampler, input.t);
c.a = min(c.a * 2, 1);
c.a *= 2.0f;
return c;
}