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

20 lines
323 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)]]
fn compute_main() {
normalize_9a0aab();
}