HLSL: Fix binary-expression associativity and termination issue.

This commit is contained in:
John Kessenich 2016-07-28 21:43:17 -06:00
parent fea226ba43
commit 64076ed7e9
8 changed files with 243 additions and 180 deletions

View file

@ -5,5 +5,5 @@ float4 PixelShaderFunction(
float4 a4
) : COLOR0
{
return a1 + a2 * a3 + a4;
return a1 + a2 * a3 + a4 + float4(a1.rgb * a2.rgb, a3.a);
}