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