18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-24 14:19:12 +01:00

Vulkan: parity with GL (P1–P7), shared GPU culling records (N6c), threaded command recording and render thread (M1, M4)

This commit is contained in:
2026-10-25 03:06:01 +01:00
parent 49f9df7d98
commit c48c58776a
146 changed files with 20748 additions and 4606 deletions

View File

@@ -375,6 +375,11 @@ struct global_settings {
int gfx_vulkan_validation { 0 };
// (vulkan) frames recorded while the gpu works on the earlier ones, 2 or 3
int gfx_vulkan_framesinflight { 2 };
// (vulkan) the command buffers of the frame recorded, submitted and presented by a thread of its own while the simulation goes on
// with the next frame
bool gfx_vulkan_renderthread { true };
// threads recording the command buffers of the vulkan renderer; 0: the cores less two, 1: one thread records them all
int gfx_threads { 0 };
bool vr = false;
std::string vr_backend;