[GPU] Occlusion query faking extension
This commit is contained in:
committed by
Radosław Gliński
parent
fb3c12d362
commit
b447699a5b
@@ -55,10 +55,14 @@ DEFINE_bool(
|
||||
"when MSAA is used with fullscreen passes.",
|
||||
"GPU");
|
||||
|
||||
DEFINE_int32(query_occlusion_fake_sample_count, 100,
|
||||
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 "
|
||||
"EVENT_WRITE_ZPD by this number. Setting this to 0 means "
|
||||
"everything is reported as occluded.",
|
||||
"GPU");
|
||||
UPDATE_from_int32(query_occlusion_fake_sample_count, 2024, 9, 23, 9, 1000);
|
||||
DEFINE_int32(
|
||||
query_occlusion_sample_upper_threshold, 100,
|
||||
"Set to higher number than query_occlusion_sample_lower_threshold. This "
|
||||
"value is ignored if query_occlusion_sample_lower_threshold is set to -1.",
|
||||
"GPU");
|
||||
|
||||
Reference in New Issue
Block a user