24 lines
384 B
WebGPU Shading Language
24 lines
384 B
WebGPU Shading Language
intrinsics/gen/ignore/6698df.wgsl:28:3 warning: use of deprecated intrinsic
|
|
ignore(1u);
|
|
^^^^^^
|
|
|
|
fn ignore_6698df() {
|
|
ignore(1u);
|
|
}
|
|
|
|
@stage(vertex)
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
ignore_6698df();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@stage(fragment)
|
|
fn fragment_main() {
|
|
ignore_6698df();
|
|
}
|
|
|
|
@stage(compute) @workgroup_size(1)
|
|
fn compute_main() {
|
|
ignore_6698df();
|
|
}
|