dawn-cmake/test/intrinsics/gen/max/ce7c30.wgsl.expected.wgsl

20 lines
280 B
WebGPU Shading Language

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