dawn-cmake/test/tint/builtins/gen/literal/dpdyFine/1fb7ab.wgsl.expected.msl

14 lines
317 B
Plaintext
Raw Normal View History

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