mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 19:55:37 +00:00
Change-Id: I6b4aee4bb08b0f4c02c015f469edc24be1623fc3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/73340 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
12 lines
87 B
WebGPU Shading Language
12 lines
87 B
WebGPU Shading Language
struct A {
|
|
a : i32;
|
|
};
|
|
|
|
struct B {
|
|
b : i32;
|
|
};
|
|
|
|
fn f(a : A) -> B {
|
|
return B();
|
|
}
|