dawn-cmake/test/intrinsics/gen/length/056071.wgsl.expected.wgsl

20 lines
309 B
WebGPU Shading Language

fn length_056071() {
var res : f32 = length(vec3<f32>());
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
length_056071();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
length_056071();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
length_056071();
}