dawn-cmake/test/intrinsics/gen/round/106c0b.wgsl.expected.wgsl

20 lines
322 B
WebGPU Shading Language
Raw Normal View History

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