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