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

10 lines
148 B
WebGPU Shading Language

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