dawn-cmake/test/tint/builtins/gen/literal/select/9b478d.wgsl.expected.wgsl

20 lines
285 B
WebGPU Shading Language

fn select_9b478d() {
var res = select(1.0, 1.0, true);
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
select_9b478d();
return vec4<f32>();
}
@fragment
fn fragment_main() {
select_9b478d();
}
@compute @workgroup_size(1)
fn compute_main() {
select_9b478d();
}