[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

@@ -3318,7 +3318,8 @@ CommandProcessor::QueryOpenResult VulkanCommandProcessor::OpenZPDQuery(
is_pool_exhausted = !zpd_host_query_pool_->has_free_indices();
}
if (is_pool_exhausted && GetZPDMode() == ZPDMode::kFast) {
if (is_pool_exhausted &&
(GetZPDMode() == ZPDMode::kFast || GetZPDMode() == ZPDMode::kFastAlt)) {
return QueryOpenResult::kPoolExhausted;
}