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

11 lines
156 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
kernel void f() {
uint const a = 1u;
uint const b = 2u;
uint const r = (a << (b & 31u));
return;
}