mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 23:43:34 +00:00
yes
This commit is contained in:
8
Tests/Shaders/WebGPU/BufferCopy.wgsl
git.filemode.normal_file
8
Tests/Shaders/WebGPU/BufferCopy.wgsl
git.filemode.normal_file
@@ -0,0 +1,8 @@
|
||||
@group(0) @binding(0) var<storage, read_only> read_ssbo: array<u32>;
|
||||
@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] = read_ssbo[grid.x * grid.y];
|
||||
}
|
||||
Reference in New Issue
Block a user