Builds the clustered light grid (point/spot lights, fixed-capacity-per-cluster, no atomics)
via a compute pass, before any other pass reads it -- see
docs/adr/0007-clustered-lighting-webgl2-webgpu-only.md. Relies on _updateGlobalBuffers()
(called earlier in WebGPURenderer.render(), before the command encoder loop) having already
written this frame's light data and cluster grid metadata into the global uniform/storage
buffers referenced by renderer.globalBindGroup.
Builds the clustered light grid (point/spot lights, fixed-capacity-per-cluster, no atomics) via a compute pass, before any other pass reads it -- see docs/adr/0007-clustered-lighting-webgl2-webgpu-only.md. Relies on
_updateGlobalBuffers()(called earlier inWebGPURenderer.render(), before the command encoder loop) having already written this frame's light data and cluster grid metadata into the global uniform/storage buffers referenced byrenderer.globalBindGroup.