HLSL: Fix #754: recognize type casts in if-statements separately from declarations.
This commit is contained in:
parent
621c0e3d69
commit
057df2935a
4 changed files with 63 additions and 24 deletions
|
|
@ -30,4 +30,6 @@ float4 PixelShaderFunction(float4 input) : COLOR0
|
|||
if (float ii = input.z)
|
||||
++ii;
|
||||
++ii;
|
||||
if (float(ii) == 1.0)
|
||||
++ii;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue