mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 23:43:34 +00:00
yes
This commit is contained in:
7
Tests/Shaders/WebGPU/SimpleBufferWrite.wgsl
git.filemode.normal_file
7
Tests/Shaders/WebGPU/SimpleBufferWrite.wgsl
git.filemode.normal_file
@@ -0,0 +1,7 @@
|
||||
@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);
|
||||
}
|
||||
Reference in New Issue
Block a user