Fix some missing operators not getting parsed properly. Fixed field access type checking with depth more than 1.
This commit is contained in:
8
test/binary_with_access.ink
Normal file
8
test/binary_with_access.ink
Normal file
@@ -0,0 +1,8 @@
|
||||
props :: properties {
|
||||
resolution : float2;
|
||||
}
|
||||
|
||||
vertex main :: (pos : float3 @position) -> float4 @position {
|
||||
p := float2(1.0 - 2.0 * props.resolution.x, 1.0 - 2.0 * props.resolution.y);
|
||||
return float4(p, 1.0, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user