[GPU] Simplify ZPD cvars

This commit is contained in:
bomabomabomaboma
2026-06-01 11:56:48 -07:00
committed by Radosław Gliński
parent fbd620c22b
commit 73945c06d7
8 changed files with 23 additions and 28 deletions

View File

@@ -71,13 +71,6 @@ DEFINE_int32(occlusion_query_fake_upper_threshold, 100,
"Keep this higher than occlusion_query_fake_lower_threshold.\n"
"Ignored if occlusion_query_fake_lower_threshold is -1.",
"GPU");
DEFINE_bool(occlusion_query_fast_preserve_cached_zero, false,
"Alternate fast ZPD behavior that allows saved zero results to be "
"used for unresolved fast writes instead of forcing them visible.\n"
"This can materially improve flare accuracy in titles that might "
"otherwise need strict mode, but it also tends to break occlusion "
"culling in some titles.",
"GPU");
DEFINE_int32(occlusion_query_querybatch_range, 0,
"Range of fake sample count values to walk for titles using the "
"D3D QueryBatch standard before wrapping back to "
@@ -86,7 +79,7 @@ DEFINE_int32(occlusion_query_querybatch_range, 0,
"unless necessary for a specific title.",
"GPU");
DEFINE_double(
occlusion_query_sample_count_saturation, 1.0,
occlusion_query_saturation, 1.0,
"Compress higher occlusion query sample counts before guest writeback.\n"
"This can be useful if effects such as lens flares appear too strong.\n"
"1.0 = default behavior\n"