dawn-cmake/test/intrinsics/gen/cos/29d66d.wgsl.expected.msl

28 lines
409 B
Plaintext

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