dawn-cmake/test/tint/builtins/gen/var/min/af326d.wgsl.expected.wgsl

22 lines
312 B
WebGPU Shading Language
Raw Normal View History

fn min_af326d() {
var arg_0 = 1.0;
var arg_1 = 1.0;
var res : f32 = min(arg_0, arg_1);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
min_af326d();
return vec4<f32>();
}
@fragment
fn fragment_main() {
min_af326d();
}
@compute @workgroup_size(1)
fn compute_main() {
min_af326d();
}