dawn-cmake/test/tint/expressions/splat/call/f32.wgsl.expected.msl

14 lines
197 B
Plaintext

#include <metal_stdlib>
using namespace metal;
float get_f32() {
return 1.0f;
}
void f() {
float2 v2 = float2(get_f32());
float3 v3 = float3(get_f32());
float4 v4 = float4(get_f32());
}