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

10 lines
149 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
void f() {
float a = float2(1.0f)[1];
float b = float3(1.0f)[2];
float c = float4(1.0f)[3];
}