blob: 6d1444ed6c6e68e4ae85122c362d847f0b5367c7 [file] [log] [blame]
uint tint_div(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_div(a, (b + b));
return;
}