dawn-cmake/test/intrinsics/gen/trunc/eb83df.wgsl.expected.msl

28 lines
412 B
Plaintext

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