- Fix VkRaytrace::Raytrace not working properly if called multiple times per frame.
- Only call VkRaytrace::Raytrace once per scene
This commit is contained in:
parent
e3e08c29b0
commit
2178de0c6c
4 changed files with 10 additions and 7 deletions
|
|
@ -486,6 +486,7 @@ void VulkanRenderDevice::BeginFrame()
|
|||
for (auto& renderstate : mRenderState)
|
||||
renderstate->BeginFrame();
|
||||
mDescriptorSetManager->BeginFrame();
|
||||
mLightmap->BeginFrame();
|
||||
}
|
||||
|
||||
void VulkanRenderDevice::Draw2D()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue