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

11 lines
162 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);
}