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

24 lines
392 B
WebGPU Shading Language
Raw Normal View History

intrinsics/gen/ignore/f414a6.wgsl:28:3 warning: use of deprecated intrinsic
ignore(bool());
^^^^^^
fn ignore_f414a6() {
ignore(bool());
}
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
ignore_f414a6();
return vec4<f32>();
}
@stage(fragment)
fn fragment_main() {
ignore_f414a6();
}
@stage(compute) @workgroup_size(1)
fn compute_main() {
ignore_f414a6();
}