dawn-cmake/test/intrinsics/gen/length/602a17.wgsl.expected.msl

28 lines
415 B
Plaintext

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