mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-04 03:02:05 +01:00
Report where the GPU got to when the Vulkan device is lost
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -436,6 +436,9 @@ struct global_settings {
|
||||
// (vulkan) the passes of the sky and the weather run on the compute queue, at the same time as the sun shadows, where the gpu has a
|
||||
// compute family of its own; off until a measurement on such a gpu shows what it gains
|
||||
bool gfx_vulkan_asynccompute { false };
|
||||
// (vulkan) the passes leave checkpoints where the gpu has them (VK_NV_device_diagnostic_checkpoints): the report of a lost device
|
||||
// in the log tells the pass the gpu got to
|
||||
bool gfx_vulkan_checkpoints { true };
|
||||
bool vr = false;
|
||||
std::string vr_backend;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user