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

20 lines
310 B
WebGPU Shading Language

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();
}