mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
12 lines
157 B
WebGPU Shading Language
12 lines
157 B
WebGPU Shading Language
struct Ah {
|
|
inner: array<f32, 2>,
|
|
}
|
|
|
|
@group(0) @binding(0)
|
|
var<storage> ah: Ah;
|
|
|
|
@compute @workgroup_size(1, 1, 1)
|
|
fn cs_main() {
|
|
let ah_1 = ah;
|
|
}
|