render: fix lighting with more than one light

This commit is contained in:
SeanOMik 2024-06-15 23:52:10 -04:00
parent acb58a15ff
commit 7576979797
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 3 additions and 1 deletions

View File

@ -216,7 +216,9 @@ impl Node for LightCullComputePass {
desc desc
} }
fn prepare(&mut self, _world: &mut World, _context: &mut RenderGraphContext) {} fn prepare(&mut self, _world: &mut World, context: &mut RenderGraphContext) {
context.queue_buffer_write_with(LightCullComputePassSlots::IndexCounterBuffer, 0, 0);
}
fn execute( fn execute(
&mut self, &mut self,