dawn-cmake/test/intrinsics/gen/normalize/fc2ef1.wgsl.expected.wgsl

19 lines
266 B
WebGPU Shading Language

fn normalize_fc2ef1() {
var res : vec2<f32> = normalize(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() {
normalize_fc2ef1();
}
[[stage(fragment)]]
fn fragment_main() {
normalize_fc2ef1();
}
[[stage(compute)]]
fn compute_main() {
normalize_fc2ef1();
}