dawn-cmake/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.wgsl

20 lines
297 B
WebGPU Shading Language

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();
}
[[stage(compute), workgroup_size(1)]]
fn compute_main() {
ignore_d91a2f();
}