dawn-cmake/test/intrinsics/gen/round/52c84d.wgsl.expected.msl

28 lines
418 B
Plaintext
Raw Normal View History

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