#include <metal_stdlib>

using namespace metal;
float2 fwidth_b83ebb() {
  float2 arg_0 = float2(1.0f);
  float2 res = fwidth(arg_0);
  return res;
}

fragment void fragment_main(device float2* tint_symbol [[buffer(0)]]) {
  *(tint_symbol) = fwidth_b83ebb();
  return;
}

