dawn-cmake/test/tint/builtins/gen/literal/dpdx/0763f7.wgsl.expected.msl

14 lines
309 B
Plaintext

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