Add missing codegen for minusequals and etc. Do proper type checking on else blocks. Spread single arg constructors not supported in hlsl.

This commit is contained in:
2025-01-23 22:47:09 +01:00
parent 8ce8651d6b
commit cd167d1560
3 changed files with 41 additions and 2 deletions

View File

@@ -285,3 +285,5 @@ int4x4 :: struct {
#foreign lerp :: (float2, float2, float) -> float2;
#foreign lerp :: (float3, float3, float) -> float3;
#foreign lerp :: (float4, float4, float) -> float4;
#foreign fmod :: (float, float) -> float;