dawn-cmake/test/intrinsics/gen/fract/fa5c71.wgsl.expected.msl

28 lines
414 B
Plaintext
Raw Normal View History

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