[vk] Adjusted Query Cache

This commit is contained in:
CamilleLaVey 2025-11-29 12:16:42 -04:00 committed by Caio Oliveira
parent 7bb41a9dfb
commit 5dddef31e0
2 changed files with 12 additions and 3 deletions

View file

@ -366,6 +366,11 @@ public:
return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
}
/// Returns true if vkResetQueryPool can be used from the host.
bool SupportsHostQueryReset() const {
return features.host_query_reset.hostQueryReset;
}
/// Returns true when the driver should use the mobile mega buffer allocator.
bool ShouldUseMobileMegaBuffer() const {
return use_mobile_megabuffer;