| |
| static int a = 0; |
| static float b = 0.0f; |
| int tint_mod_i32(int lhs, int rhs) { |
| int v = ((((rhs == 0) | ((lhs == -2147483648) & (rhs == -1)))) ? (1) : (rhs)); |
| return (lhs - ((lhs / v) * v)); |
| } |
| |
| int tint_div_i32(int lhs, int rhs) { |
| return (lhs / ((((rhs == 0) | ((lhs == -2147483648) & (rhs == -1)))) ? (1) : (rhs))); |
| } |
| |
| void foo(int maybe_zero) { |
| a = tint_div_i32(a, maybe_zero); |
| a = tint_mod_i32(a, maybe_zero); |
| b = (b / 0.0f); |
| float v_1 = b; |
| float v_2 = (v_1 / 0.0f); |
| float v_3 = floor(v_2); |
| b = ((v_1 - (((v_2 < 0.0f)) ? (ceil(v_2)) : (v_3))) * 0.0f); |
| float v_4 = float(maybe_zero); |
| b = (b / v_4); |
| float v_5 = float(maybe_zero); |
| float v_6 = b; |
| float v_7 = (v_6 / v_5); |
| float v_8 = floor(v_7); |
| b = ((v_6 - (((v_7 < 0.0f)) ? (ceil(v_7)) : (v_8))) * v_5); |
| } |
| |
| [numthreads(1, 1, 1)] |
| void unused_entry_point() { |
| } |
| |