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

20 lines
287 B
WebGPU Shading Language
Raw Normal View History

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) @workgroup_size(1)
fn compute_main() {
max_ce7c30();
}