dawn-cmake/test/expressions/binary/right-shift/scalar-scalar/i32.wgsl.expected.msl

11 lines
145 B
Plaintext

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