mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 00:33:51 +00: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;
|
|
}
|