mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 19:01:24 +00:00
Bug: tint:938 Fixed: tint:759 Change-Id: I5794d7f40ec154c55240b163316ed45c7f14b190 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56547 Reviewed-by: James Price <jrprice@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
11 lines
115 B
WebGPU Shading Language
11 lines
115 B
WebGPU Shading Language
struct S {
|
|
a : i32;
|
|
b : f32;
|
|
};
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn main() {
|
|
var v : S;
|
|
ignore(v);
|
|
}
|