2021-10-21 09:39:13 +00:00
|
|
|
fn any_2ab91a() {
|
|
|
|
var res : bool = any(bool());
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(vertex)
|
|
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
2021-10-21 09:39:13 +00:00
|
|
|
any_2ab91a();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(fragment)
|
2021-10-21 09:39:13 +00:00
|
|
|
fn fragment_main() {
|
|
|
|
any_2ab91a();
|
|
|
|
}
|
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@stage(compute) @workgroup_size(1)
|
2021-10-21 09:39:13 +00:00
|
|
|
fn compute_main() {
|
|
|
|
any_2ab91a();
|
|
|
|
}
|