17
0
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:
2026-10-27 20:56:11 +01:00
parent c44b243698
commit 1447dcf075
55 changed files with 4114 additions and 427 deletions

View File

@@ -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;