#include using namespace metal; fragment void tint_symbol(device int* tint_symbol_1 [[buffer(0)]], device float* tint_symbol_3 [[buffer(1)]]) { thread bool tint_symbol_2 = false; if ((*(tint_symbol_1) < 0)) { tint_symbol_2 = true; } if (!(tint_symbol_2)) { *(tint_symbol_3) = dfdx(1.0f); } if (tint_symbol_2) { discard_fragment(); } return; }