17 lines
328 B
Plaintext
17 lines
328 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
float get_f32() {
|
|
return 1.0f;
|
|
}
|
|
|
|
void f() {
|
|
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);
|
|
}
|
|
|