mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-09-15 07:33:52 +00:00
Fixed: tint:871 Change-Id: I01e275686094611d67a54735593320bce16705c3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53681 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
20 lines
276 B
WebGPU Shading Language
20 lines
276 B
WebGPU Shading Language
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)]]
|
|
fn compute_main() {
|
|
ignore_51aeb7();
|
|
}
|