dawn-cmake/test/intrinsics/gen/length/afde8b.wgsl.expected.hlsl

26 lines
398 B
HLSL
Raw Normal View History

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