17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-09 03:58:55 +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

@@ -136,6 +136,8 @@ class instance_cull : public gfx::instance_cull
void read_counters(command_stream *Commands);
std::shared_ptr<shared_data> m_shared;
// the record buffer of the dispatch, which its second phase reads too (another pass may make the shared one anew in between)
std::shared_ptr<buffer> m_recordbuffer;
std::shared_ptr<buffer> m_counters;
std::shared_ptr<buffer> m_output;
std::shared_ptr<buffer> m_commands;