Add option to disable pipeline cache on specific Vulkan platforms

This commit is contained in:
Wojtek Figat
2025-07-24 12:20:09 +02:00
parent 751d179cdb
commit af0ea65d78
2 changed files with 16 additions and 0 deletions

View File

@@ -33,6 +33,10 @@
#define VULKAN_USE_DEBUG_LAYER GPU_ENABLE_DIAGNOSTICS
#define VULKAN_USE_DEBUG_DATA (GPU_ENABLE_DIAGNOSTICS && COMPILE_WITH_DEV_ENV)
#ifndef VULKAN_USE_PIPELINE_CACHE
#define VULKAN_USE_PIPELINE_CACHE 1
#endif
#ifndef VULKAN_USE_VALIDATION_CACHE
#ifdef VK_EXT_validation_cache
#define VULKAN_USE_VALIDATION_CACHE VK_EXT_validation_cache