1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-26 04:32:35 +01:00

rsx: Make "Disable ZCull Occlusion" setting dynamic

This commit is contained in:
Eladash 2020-05-15 16:02:54 +03:00 committed by Ani
parent 3663a8ab4d
commit e2248332ae
2 changed files with 1 additions and 7 deletions

View File

@ -2312,9 +2312,6 @@ namespace rsx
void thread::check_zcull_status(bool framebuffer_swap)
{
if (g_cfg.video.disable_zcull_queries)
return;
if (framebuffer_swap)
{
zcull_surface_active = false;
@ -2346,9 +2343,6 @@ namespace rsx
void thread::clear_zcull_stats(u32 type)
{
if (g_cfg.video.disable_zcull_queries)
return;
zcull_ctrl->clear(this, type);
}

View File

@ -123,7 +123,7 @@ struct cfg_root : cfg::node
cfg::_bool stretch_to_display_area{ this, "Stretch To Display Area", false, true };
cfg::_bool force_high_precision_z_buffer{ this, "Force High Precision Z buffer" };
cfg::_bool strict_rendering_mode{ this, "Strict Rendering Mode" };
cfg::_bool disable_zcull_queries{ this, "Disable ZCull Occlusion Queries", false };
cfg::_bool disable_zcull_queries{ this, "Disable ZCull Occlusion Queries", false, true };
cfg::_bool disable_vertex_cache{ this, "Disable Vertex Cache", false };
cfg::_bool disable_FIFO_reordering{ this, "Disable FIFO Reordering", false };
cfg::_bool frame_skip_enabled{ this, "Enable Frame Skip", false, true };