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