dawn-cmake/test/intrinsics/gen/round/9edc38.wgsl.expected.msl

28 lines
411 B
Plaintext

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