blob: e58159ae7ed6417a69b049998c06972412dd4947 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
int2 tint_unary_minus(const int2 v) {
return select(-v, v, v == -2147483648);
}
void main_1() {
int2 const x_1 = tint_unary_minus(as_type<int2>(uint2(10u, 20u)));
return;
}
fragment void tint_symbol() {
main_1();
return;
}