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

17 lines
328 B
Plaintext
Raw Normal View History

#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);
}