dawn-cmake/test/expressions/splat/expression/i32.wgsl.expected.msl

10 lines
275 B
Plaintext

#include <metal_stdlib>
using namespace metal;
void f() {
int2 v2 = int2(as_type<int>((as_type<uint>(1) + as_type<uint>(2))));
int3 v3 = int3(as_type<int>((as_type<uint>(1) + as_type<uint>(2))));
int4 v4 = int4(as_type<int>((as_type<uint>(1) + as_type<uint>(2))));
}