rsx: Move analyser dump to its own config option

This commit is contained in:
kd-11 2020-05-08 00:22:12 +03:00 committed by kd-11
parent a1b6415c5a
commit 79c54aeba9
2 changed files with 2 additions and 1 deletions

View file

@ -178,7 +178,7 @@ vertex_program_utils::vertex_program_metadata vertex_program_utils::analyse_vert
}
};
if (g_cfg.video.log_programs)
if (g_cfg.video.debug_program_analyser)
{
fs::file dump(fs::get_cache_dir() + "shaderlog/vp_analyser.bin", fs::rewrite);
dump.write(&entry, 4);

View file

@ -129,6 +129,7 @@ struct cfg_root : cfg::node
cfg::_bool multithreaded_rsx{ this, "Multithreaded RSX", false };
cfg::_bool relaxed_zcull_sync{ this, "Relaxed ZCULL Sync", false };
cfg::_bool enable_3d{ this, "Enable 3D", false };
cfg::_bool debug_program_analyser{ this, "Debug Program Analyser", false };
cfg::_int<1, 8> consecutive_frames_to_draw{ this, "Consecutive Frames To Draw", 1, true};
cfg::_int<1, 8> consecutive_frames_to_skip{ this, "Consecutive Frames To Skip", 1, true};
cfg::_int<50, 800> resolution_scale_percent{ this, "Resolution Scale", 100 };