dawn-cmake/test/intrinsics/gen/abs/b96037.wgsl.expected.msl

28 lines
403 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_symbol {
float4 value [[position]];
};
void abs_b96037() {
float res = fabs(1.0f);
}
vertex tint_symbol vertex_main() {
abs_b96037();
tint_symbol const tint_symbol_1 = {.value=float4()};
return tint_symbol_1;
}
fragment void fragment_main() {
abs_b96037();
return;
}
kernel void compute_main() {
abs_b96037();
return;
}