blob: 1e7cc7b2b895eb6a6783a31f9c6f79bda9e4f808 [file] [log] [blame]
dan sinclair1cc54512023-11-23 13:31:42 +00001#include <metal_stdlib>
2using namespace metal;
dan sinclairf1f381a2023-11-22 09:44:15 +00003
dan sinclair1cc54512023-11-23 13:31:42 +00004float get_f32() {
5 return 1.0f;
6}
James Price48be7e82024-06-19 22:38:07 +00007
dan sinclair1cc54512023-11-23 13:31:42 +00008void f() {
9 float2 v2 = float2(get_f32());
10 float3 v3 = float3(get_f32());
11 float4 v4 = float4(get_f32());
12}