dawn-cmake/test/tint/builtins/gen/normalize/9a0aab.wgsl.expected.wgsl

20 lines
330 B
WebGPU Shading Language
Raw Normal View History

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