dawn-cmake/test/tint/builtins/gen/var/normalize/fc2ef1.wgsl.expected.wgsl

21 lines
330 B
WebGPU Shading Language
Raw Normal View History

fn normalize_fc2ef1() {
var arg_0 = vec2<f32>();
var res : vec2<f32> = normalize(arg_0);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
normalize_fc2ef1();
return vec4<f32>();
}
@fragment
fn fragment_main() {
normalize_fc2ef1();
}
@compute @workgroup_size(1)
fn compute_main() {
normalize_fc2ef1();
}