Adding simple visibility pass

This commit is contained in:
Dynamitos committed 2024-06-04 21:34:14 +02:00
1 parent 157368a241
commit ad00e16cf9
10 files changed
+160 -25

No files matched your search

@@ -40,7 +40,9 @@ void LightCullingPass::beginFrame(const Component::Camera& cam)
.owner = Gfx::QueueType::COMPUTE
}
};
oLightIndexCounter->rotateBuffer(sizeof(uint32));
oLightIndexCounter->updateContents(counterReset);
tLightIndexCounter->rotateBuffer(sizeof(uint32));
tLightIndexCounter->updateContents(counterReset);
oLightIndexCounter->pipelineBarrier(
Gfx::SE_ACCESS_MEMORY_WRITE_BIT, Gfx::SE_PIPELINE_STAGE_TRANSFER_BIT,