Add support for disabling Vulkan timer queries per-platform via define

This commit is contained in:
Wojtek Figat
2021-07-27 16:38:52 +02:00
parent 2050429d6c
commit a713899a36
5 changed files with 46 additions and 25 deletions

View File

@@ -28,6 +28,9 @@
#define VULKAN_HASH_POOLS_WITH_TYPES_USAGE_ID 1
#define VULKAN_USE_DEBUG_LAYER GPU_ENABLE_DIAGNOSTICS
#ifndef VULKAN_USE_QUERIES
#define VULKAN_USE_QUERIES 1
#endif
#ifndef VULKAN_HAS_PHYSICAL_DEVICE_PROPERTIES2
#define VULKAN_HAS_PHYSICAL_DEVICE_PROPERTIES2 0
#endif