rsx: Move analyser dump to its own config option
This commit is contained in:
@@ -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);
|
fs::file dump(fs::get_cache_dir() + "shaderlog/vp_analyser.bin", fs::rewrite);
|
||||||
dump.write(&entry, 4);
|
dump.write(&entry, 4);
|
||||||
|
|||||||
@@ -129,6 +129,7 @@ struct cfg_root : cfg::node
|
|||||||
cfg::_bool multithreaded_rsx{ this, "Multithreaded RSX", false };
|
cfg::_bool multithreaded_rsx{ this, "Multithreaded RSX", false };
|
||||||
cfg::_bool relaxed_zcull_sync{ this, "Relaxed ZCULL Sync", false };
|
cfg::_bool relaxed_zcull_sync{ this, "Relaxed ZCULL Sync", false };
|
||||||
cfg::_bool enable_3d{ this, "Enable 3D", 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_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<1, 8> consecutive_frames_to_skip{ this, "Consecutive Frames To Skip", 1, true};
|
||||||
cfg::_int<50, 800> resolution_scale_percent{ this, "Resolution Scale", 100 };
|
cfg::_int<50, 800> resolution_scale_percent{ this, "Resolution Scale", 100 };
|
||||||
|
|||||||
Reference in New Issue
Block a user