mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 07:23:35 +00:00
10 lines
400 B
WebGPU Shading Language
10 lines
400 B
WebGPU Shading Language
@group(0) @binding(0) var<storage, read_only> read_ssbo: array<u32>;
|
|
@group(0) @binding(1) var read_texture: texture_storage_2d<rgba8unorm, read>;
|
|
@group(1) @binding(0) var<storage, read_write> write_ssbo: array<u32>;
|
|
@group(1) @binding(1) var write_texture: texture_storage_2d<rgba8unorm, read_write>;
|
|
|
|
@compute @workgroup_size(16, 16, 1)
|
|
fn main(@builtin(global_invocation_id) grid: vec3<u32>)
|
|
{
|
|
}
|