[GPU] Improved fake ZPD for QueryBatch titles

This commit is contained in:
bomabomabomaboma
2026-05-01 21:09:16 +00:00
committed by Radosław Gliński
parent 6e1bd0a9a6
commit 08c0cf5ad0
3 changed files with 16 additions and 9 deletions

View File

@@ -59,11 +59,11 @@ DEFINE_bool(
"when MSAA is used with fullscreen passes.",
"GPU");
DEFINE_bool(query_occlusion_batched, false,
"Increment the sample count total by a fixed amount on every "
"EVENT_WRITE_ZPD. This provides an approximate batched occlusion "
"query implementation for many titles.",
"GPU");
DEFINE_int32(query_occlusion_querybatch_range, 0,
"Range of fake ZPD sample count values to cycle for titles that "
"use D3D QueryBatch. 0 disables this behavior entirely. Any non-"
"zero values should only be used if required for specific titles.",
"GPU");
DEFINE_int32(query_occlusion_sample_lower_threshold, 80,
"If set to -1 no sample counts are written, games may hang. Else, "
"the sample count of every tile will be incremented on every "