dawn-cmake/test/tint/builtins/gen/var/dpdyCoarse/ae1873.wgsl.expected.msl

15 lines
345 B
Plaintext

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