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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user