dawn-cmake/test/tint/expressions/binary/add/scalar-vec3/i32.wgsl.expected.msl

11 lines
214 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
kernel void f() {
int const a = 4;
int3 const b = int3(1, 2, 3);
int3 const r = as_type<int3>((as_type<uint>(4) + as_type<uint3>(int3(1, 2, 3))));
return;
}