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

11 lines
196 B
Plaintext
Raw Normal View History

#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 & uint3(31u)));
return;
}