dawn-cmake/test/tint/builtins/gen/literal/length/555aba.wgsl.expected.wgsl

20 lines
280 B
WebGPU Shading Language
Raw Normal View History

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