dawn-cmake/test/tint/builtins/gen/any/0e3e58.wgsl.expected.wgsl

20 lines
296 B
WebGPU Shading Language
Raw Normal View History

fn any_0e3e58() {
var res : bool = any(vec2<bool>());
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_0e3e58();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
any_0e3e58();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_0e3e58();
}