blob: 3b819cd7e346b3b954c56cdec17e77b4661f6649 [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 = 2;
int r = tint_div_i32(a, b);
}