blob: 2373dcf99f91d3d0ccc7bd7e002c0c895603ec71 [file] [log] [blame]
uint tint_mod(uint lhs, uint rhs) {
return (lhs % ((rhs == 0u) ? 1u : rhs));
}
[numthreads(1, 1, 1)]
void f() {
uint a = 1u;
uint b = 0u;
const uint r = tint_mod(a, (b + b));
return;
}