blob: 9874c80b25b91bcb4ee184f502c10707cf0e6588 [file] [log] [blame]
int tint_div_i32(int lhs, int rhs) {
return (lhs / ((((rhs == 0) | ((lhs == -2147483648) & (rhs == -1)))) ? (1) : (rhs)));
}
[numthreads(1, 1, 1)]
void f() {
int a = 1;
int b = 0;
int c = tint_div_i32(a, b);
}