Fix Vulkan Tracy timestamp queries on MoltenVK
Disable Vulkan Tracy GPU profiling when Vulkan timer queries are disabled. Apple platforms already set VULKAN_USE_TIMER_QUERIES to 0
This commit is contained in:
@@ -1677,7 +1677,7 @@ bool GPUDeviceVulkan::Init()
|
||||
VulkanPlatform::RestrictEnabledPhysicalDeviceFeatures(PhysicalDeviceFeatures, enabledFeatures);
|
||||
deviceInfo.pEnabledFeatures = &enabledFeatures;
|
||||
|
||||
#if GPU_ENABLE_TRACY && VK_EXT_calibrated_timestamps && VK_EXT_host_query_reset
|
||||
#if VULKAN_USE_TRACY_GPU && VK_EXT_calibrated_timestamps && VK_EXT_host_query_reset
|
||||
VkPhysicalDeviceHostQueryResetFeatures resetFeatures;
|
||||
if (PhysicalDeviceFeatures12.hostQueryReset)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user