dawn-cmake/test/tint/builtins/gen/literal/select/3a14be.wgsl.expected.wgsl

20 lines
297 B
WebGPU Shading Language
Raw Normal View History

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