dawn-cmake/test/intrinsics/gen/distance/0657d4.wgsl.expected.hlsl

26 lines
440 B
HLSL

struct tint_symbol {
float4 value : SV_Position;
};
void distance_0657d4() {
float res = distance(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
tint_symbol vertex_main() {
distance_0657d4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
return tint_symbol_1;
}
void fragment_main() {
distance_0657d4();
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
distance_0657d4();
return;
}