dawn-cmake/test/tint/builtins/gen/var/dpdxFine/f92fb6.wgsl.expected.msl

15 lines
341 B
Plaintext
Raw Normal View History

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