dawn-cmake/test/intrinsics/gen/normalize/64d8c0.wgsl.expected.wgsl

20 lines
342 B
WebGPU Shading Language
Raw Normal View History

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