HLSL: Recognize types declared as identifiers as identifiers.
E.g., in
float float;
(float) * float;
The "(float)" is not a type cast, it is an expression.
This commit is contained in:
parent
91c46c6567
commit
0320d090e2
4 changed files with 127 additions and 76 deletions
|
|
@ -25,6 +25,7 @@ float4 main() : SV_Target0
|
|||
float = float + int + uint + min16float + min10float + (bool[0] ? int : float) + fn(float);
|
||||
|
||||
half2x3 half2x3;
|
||||
half2x3._11 = (float) * float;
|
||||
|
||||
return float + half2x3._11;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue