mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 07:23:35 +00:00
8 lines
219 B
WebGPU Shading Language
8 lines
219 B
WebGPU Shading Language
@group(1) @binding(0) var<storage, read_write> write_ssbo: array<u32>;
|
|
|
|
@compute @workgroup_size(16, 16, 1)
|
|
fn main(@builtin(global_invocation_id) grid: vec3<u32>)
|
|
{
|
|
write_ssbo[grid.x * grid.y] = u32(0xFFFFFFFF);
|
|
}
|