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

20 lines
306 B
WebGPU Shading Language
Raw Normal View History

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)]]
fn compute_main() {
min_03c7e3();
}