dawn-cmake/test/expressions/binary/left-shift/vector-vector/u32.wgsl.expected.msl

11 lines
181 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void f() {
uint3 const a = uint3(1u, 2u, 3u);
uint3 const b = uint3(4u, 5u, 6u);
uint3 const r = (a << b);
return;
}