dawn-cmake/test/intrinsics/gen/inverseSqrt/c22347.wgsl.expected.msl

28 lines
443 B
Plaintext
Raw Normal View History

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