mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 19:01:24 +00:00
Bug: tint:1213 Change-Id: Ib1ebc4947405c4ada7a9bdbc6bd5a36447bbd234 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/67064 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
13 lines
166 B
WebGPU Shading Language
13 lines
166 B
WebGPU Shading Language
[[block]]
|
|
struct S {
|
|
i : i32;
|
|
};
|
|
|
|
[[binding(0), group(0)]] var<storage, read_write> s : S;
|
|
|
|
[[stage(compute), workgroup_size(1)]]
|
|
fn main() {
|
|
_ = s;
|
|
_ = s.i;
|
|
}
|