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

28 lines
397 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct tint_symbol {
float4 value [[position]];
};
void abs_4ad288() {
int res = abs(1);
}
vertex tint_symbol vertex_main() {
abs_4ad288();
tint_symbol const tint_symbol_1 = {.value=float4()};
return tint_symbol_1;
}
fragment void fragment_main() {
abs_4ad288();
return;
}
kernel void compute_main() {
abs_4ad288();
return;
}