dawn-cmake/test/bug/tint/1136.wgsl

4 lines
153 B
WebGPU Shading Language

[[block]] struct Buffer { data: u32; };
[[group(0), binding(0)]] var<storage, read_write> buffer: Buffer;
fn main() { buffer.data = buffer.data + 1u; }