HLSL: Fix binary-expression associativity and termination issue.
This commit is contained in:
parent
fea226ba43
commit
64076ed7e9
8 changed files with 243 additions and 180 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue