[vk] Adjusted Query Cache

This commit is contained in:
CamilleLaVey 2025-11-29 12:16:42 -04:00 committed by lizzie
parent c86737e21f
commit 8bf8e08e36
2 changed files with 12 additions and 3 deletions

View file

@ -364,6 +364,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;