2021-06-09 08:30:57 +00:00
|
|
|
fn ignore_d91a2f() {
|
|
|
|
ignore(1.0);
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(vertex)]]
|
|
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
|
|
ignore_d91a2f();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
|
|
|
[[stage(fragment)]]
|
|
|
|
fn fragment_main() {
|
|
|
|
ignore_d91a2f();
|
|
|
|
}
|
|
|
|
|
2021-06-29 18:39:44 +00:00
|
|
|
[[stage(compute), workgroup_size(1)]]
|
2021-06-09 08:30:57 +00:00
|
|
|
fn compute_main() {
|
|
|
|
ignore_d91a2f();
|
|
|
|
}
|