dawn-cmake/test/tint/builtins/gen/literal/fwidth/5d1b39.wgsl.expected.msl

14 lines
315 B
Plaintext

#include <metal_stdlib>
using namespace metal;
void fwidth_5d1b39(device packed_float3* const tint_symbol) {
float3 res = fwidth(float3(1.0f));
*(tint_symbol) = packed_float3(res);
}
fragment void fragment_main(device packed_float3* tint_symbol_1 [[buffer(0)]]) {
fwidth_5d1b39(tint_symbol_1);
return;
}