mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-09-20 01:59:38 +00:00
It's been removed from the spec: https://github.com/gpuweb/gpuweb/pull/2127 Fixed: tint:1213 Change-Id: I163fe807765bb1ac0580b398f4897daea555216a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67067 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com> Reviewed-by: James Price <jrprice@google.com>
24 lines
394 B
WebGPU Shading Language
24 lines
394 B
WebGPU Shading Language
intrinsics/gen/ignore/51aeb7.wgsl:28:3 warning: use of deprecated intrinsic
|
|
ignore(1);
|
|
^^^^^^
|
|
|
|
fn ignore_51aeb7() {
|
|
ignore(1);
|
|
}
|
|
|
|
[[stage(vertex)]]
|
|
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
|
|
ignore_51aeb7();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
[[stage(fragment)]]
|
|
fn fragment_main() {
|
|
ignore_51aeb7();
|
|
}
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn compute_main() {
|
|
ignore_51aeb7();
|
|
}
|