17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 04:39:16 +01:00

Report where the GPU got to when the Vulkan device is lost

This commit is contained in:
2026-10-28 20:21:00 +01:00
parent c4e23932bf
commit 8f891fdc14
10 changed files with 267 additions and 3 deletions

View File

@@ -1850,6 +1850,11 @@ global_settings::ConfigParse_gfx( cParser &Parser, std::string_view const Token
Parser.getTokens(1);
Parser >> gfx_vulkan_asynccompute;
}
else if (Token == "gfx.vulkan.checkpoints")
{
Parser.getTokens(1);
Parser >> gfx_vulkan_checkpoints;
}
else if (ConfigParse_gfx_sky(Parser, Token))
{
@@ -2391,6 +2396,7 @@ global_settings::export_as_text( std::ostream &Output ) const {
export_as_text( Output, "gfx.vulkan.parallelpasses", gfx_vulkan_parallelpasses );
export_as_text( Output, "gfx.vulkan.parallelmodels", gfx_vulkan_parallelmodels );
export_as_text( Output, "gfx.vulkan.asynccompute", gfx_vulkan_asynccompute );
export_as_text( Output, "gfx.vulkan.checkpoints", gfx_vulkan_checkpoints );
export_as_text( Output, "gfx.shadow.angle.min", gfx_shadow_angle_min );
export_as_text( Output, "gfx.shadow.rank.cutoff", gfx_shadow_rank_cutoff );
export_as_text( Output, "gfx.shadow.sdsm", gfx_shadow_sdsm );