dawn-cmake/test/intrinsics/gen/min/03c7e3.wgsl.expected.wgsl

20 lines
313 B
WebGPU Shading Language

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