mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-29 22:07:28 +01:00
Walk the shadow passes and the culled model groups on worker threads in the Vulkan renderer
This commit is contained in:
@@ -141,7 +141,7 @@ bool vulkan14_renderer::compute_ao_lighting(std::size_t const Index)
|
||||
auto &ctx{*m_context};
|
||||
auto &scene{ctx.scene};
|
||||
auto &targets{scene.targets[Index]};
|
||||
auto const commands{ctx.commands};
|
||||
auto const commands{m_commands};
|
||||
if ((false == bool(targets.ssao)) || (false == bool(targets.ssao_blur)) || (false == bool(targets.scene_depth)))
|
||||
{
|
||||
return false;
|
||||
@@ -187,7 +187,7 @@ void vulkan14_renderer::render_ao(std::size_t const Index, int const Mode)
|
||||
auto &ctx{*m_context};
|
||||
auto &scene{ctx.scene};
|
||||
auto &targets{scene.targets[Index]};
|
||||
auto const commands{ctx.commands};
|
||||
auto const commands{m_commands};
|
||||
if ((false == bool(targets.ssao)) || (false == bool(targets.ssao_blur)))
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user