mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-13 16:18:56 +00:00
rsx: Make "Disable ZCull Occlusion" setting dynamic
This commit is contained in:
parent
3663a8ab4d
commit
e2248332ae
rpcs3/Emu
@ -2312,9 +2312,6 @@ namespace rsx
|
|||||||
|
|
||||||
void thread::check_zcull_status(bool framebuffer_swap)
|
void thread::check_zcull_status(bool framebuffer_swap)
|
||||||
{
|
{
|
||||||
if (g_cfg.video.disable_zcull_queries)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (framebuffer_swap)
|
if (framebuffer_swap)
|
||||||
{
|
{
|
||||||
zcull_surface_active = false;
|
zcull_surface_active = false;
|
||||||
@ -2346,9 +2343,6 @@ namespace rsx
|
|||||||
|
|
||||||
void thread::clear_zcull_stats(u32 type)
|
void thread::clear_zcull_stats(u32 type)
|
||||||
{
|
{
|
||||||
if (g_cfg.video.disable_zcull_queries)
|
|
||||||
return;
|
|
||||||
|
|
||||||
zcull_ctrl->clear(this, type);
|
zcull_ctrl->clear(this, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ struct cfg_root : cfg::node
|
|||||||
cfg::_bool stretch_to_display_area{ this, "Stretch To Display Area", false, true };
|
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 force_high_precision_z_buffer{ this, "Force High Precision Z buffer" };
|
||||||
cfg::_bool strict_rendering_mode{ this, "Strict Rendering Mode" };
|
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_vertex_cache{ this, "Disable Vertex Cache", false };
|
||||||
cfg::_bool disable_FIFO_reordering{ this, "Disable FIFO Reordering", false };
|
cfg::_bool disable_FIFO_reordering{ this, "Disable FIFO Reordering", false };
|
||||||
cfg::_bool frame_skip_enabled{ this, "Enable Frame Skip", false, true };
|
cfg::_bool frame_skip_enabled{ this, "Enable Frame Skip", false, true };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user