Fix type checker not promoting ints. Fix some issues in the codegen.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user