mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
Implemented in both the reader and writer with E2E tests. Other backends will ICE for now. Bug: tint:1488 Change-Id: Ied2afa55a338347f427dee98a4076643ac432d9c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/86003 Reviewed-by: Ben Clayton <bclayton@google.com>
7 lines
96 B
WebGPU Shading Language
7 lines
96 B
WebGPU Shading Language
@group(0) @binding(0) var<storage, read_write> a : vec4<u32>;
|
|
|
|
fn main() {
|
|
a[1]++;
|
|
a.z++;
|
|
}
|