dawn-cmake/test/intrinsics/gen/distance/aa4055.wgsl.expected.msl

28 lines
443 B
Plaintext

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