dawn-cmake/test/intrinsics/gen/any/e755c1.wgsl.expected.wgsl

20 lines
289 B
WebGPU Shading Language
Raw Normal View History

fn any_e755c1() {
var res : bool = any(vec3<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
any_e755c1();
return vec4<f32>();
}
[[stage(fragment)]]
fn fragment_main() {
any_e755c1();
}
[[stage(compute)]]
fn compute_main() {
any_e755c1();
}