blob: 86c548b119e5ab96ffc552c55bf910cd1843381a [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
float3 tint_fwidth_fine(float3 v) {
return (fabs(dfdx(v)) + fabs(dfdy(v)));
}
void fwidthFine_523fdc(device packed_float3* const tint_symbol) {
float3 res = tint_fwidth_fine(float3(1.0f));
*(tint_symbol) = packed_float3(res);
}
fragment void fragment_main(device packed_float3* tint_symbol_1 [[buffer(0)]]) {
fwidthFine_523fdc(tint_symbol_1);
return;
}