Function overload check cleanup. Added if statement to parsing.

This commit is contained in:
2025-01-12 22:15:02 +01:00
parent ec31046d30
commit 85b23f90e5
12 changed files with 540 additions and 3 deletions

12
test/custom_hint.ink Normal file
View File

@@ -0,0 +1,12 @@
p :: properties {
time : float @time;
}
vertex main :: (pos : float3 @position) -> float4 @position {
return float4(pos.x, pos.y, pos.z, 1.0);
}
pixel main :: (pos : float4 @outposition) -> float4 @target {
t := p.time;
return float4(1, 1, 1, 1);
}