[GPU] EVENT_WRITE_ZPD batched sample accumulation cvar

This commit is contained in:
goldislead
2026-04-03 22:17:43 -07:00
committed by Radosław Gliński
parent 7e39a7018f
commit 9c00ce9366
3 changed files with 21 additions and 1 deletions

View File

@@ -59,6 +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_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 "