Files
Pulse/Tests/Shaders/WebGPU/WriteOnlyBindings.wgsl
2025-03-17 22:41:04 +01:00

8 lines
248 B
WebGPU Shading Language

@group(1) @binding(0) var<storage, read_write> write_ssbo: array<u32>;
@group(1) @binding(1) var write_texture: texture_storage_2d<rgba8unorm, write>;
@compute @workgroup_size(16, 16, 1)
fn main(@builtin(global_invocation_id) grid: vec3<u32>)
{
}