dawn-cmake/test/intrinsics/gen/sign/159665.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 sign_159665() {
float3 res = sign(float3());
}
vertex tint_symbol vertex_main() {
sign_159665();
tint_symbol const tint_symbol_1 = {.value=float4()};
return tint_symbol_1;
}
fragment void fragment_main() {
sign_159665();
return;
}
kernel void compute_main() {
sign_159665();
return;
}