17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-07 11:03:19 +01:00

feat(vulkan): gfxrenderer picks the opengl 4.6 or the vulkan 1.4 renderer (B1-B3)

This commit is contained in:
2026-10-24 03:06:33 +02:00
parent 6bcdb7dd05
commit 68fa5dc2da
25 changed files with 3056 additions and 83 deletions

View File

@@ -367,6 +367,12 @@ struct global_settings {
bool gfx_extraeffects = true;
bool gfx_shadergamma = false;
bool gfx_gldebug = false;
// (vulkan) the gpu to run on: its index in the list of the log or a part of its name; empty: the best one
std::string gfx_vulkan_device;
// (vulkan) 0: no validation layer, 1: validation layer, 2: also gpu-assisted validation
int gfx_vulkan_validation { 0 };
// (vulkan) frames recorded while the gpu works on the earlier ones, 2 or 3
int gfx_vulkan_framesinflight { 2 };
bool vr = false;
std::string vr_backend;