#include <metal_stdlib> | |
using namespace metal; | |
float2 tint_fwidth_fine(float2 v) { | |
return (fabs(dfdx(v)) + fabs(dfdy(v))); | |
} | |
float2 fwidthFine_ff6aa0() { | |
float2 arg_0 = float2(1.0f); | |
float2 res = tint_fwidth_fine(arg_0); | |
return res; | |
} | |
fragment void fragment_main(device float2* tint_symbol [[buffer(0)]]) { | |
*(tint_symbol) = fwidthFine_ff6aa0(); | |
return; | |
} | |