Fix type checker not promoting ints. Fix some issues in the codegen.

This commit is contained in:
2024-09-11 07:24:10 +02:00
parent 517209c886
commit c84516d39f
5 changed files with 96 additions and 23 deletions

View File

@@ -259,4 +259,4 @@ int4x4 :: struct {
#foreign atan2 :: (float4, float4) -> float4;
#foreign atan2 :: (float4x4, float4x4) -> float4x4;
#foreign sample :: (Texture2D, float2, Sampler) -> float4;
#foreign sample :: (Texture2D, Sampler, float2) -> float4;