mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 19:25:47 +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>
9 lines
123 B
WebGPU Shading Language
9 lines
123 B
WebGPU Shading Language
fn f(a : i32, b : i32, c : i32) -> i32 {
|
|
return ((a * b) + c);
|
|
}
|
|
|
|
[[stage(compute)]]
|
|
fn main() {
|
|
ignore(f(1, 2, 3));
|
|
}
|