mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
7 lines
179 B
WebGPU Shading Language
7 lines
179 B
WebGPU Shading Language
[[stage(compute), workgroup_size(1)]]
|
|
fn main([[builtin(global_invocation_id)]] global_id: vec3<u32>) {
|
|
//TODO: execution-only barrier?
|
|
storageBarrier();
|
|
workgroupBarrier();
|
|
}
|