blob: f52c070a2962e5203d80af480583fafa28fc0140 [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;
uint r = tint_mod(a, b);
return;
}