2021-06-28 15:56:57 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
float get_f32() {
|
|
|
|
return 1.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
void f() {
|
2022-03-15 15:35:13 +00:00
|
|
|
float const tint_symbol = get_f32();
|
|
|
|
float2 v2 = float2(tint_symbol);
|
|
|
|
float const tint_symbol_1 = get_f32();
|
|
|
|
float3 v3 = float3(tint_symbol_1);
|
|
|
|
float const tint_symbol_2 = get_f32();
|
|
|
|
float4 v4 = float4(tint_symbol_2);
|
2021-06-28 15:56:57 +00:00
|
|
|
}
|
|
|
|
|