The samples texture_loading, texture_mipmap_generation, hpp_pipeline_cache, pipeline_cache crash during cleanup if the VVL is not available when running in Debug mode. This can happen in a few cases: a) on Windows with no SDK installed, and b) on the iOS Simulator where the VVL is not built for that target.
The root cause of the crash is that the VVL is marked as Required for Debug mode vs. Optional, and because of this the Vulkan device is never defined. The above samples should check if the Vulkan device is defined before running their cleanup code.
I will submit a PR that addresses both issues: a) VVL marked as Optional, and b) fixes for the cleanup code.
The samples texture_loading, texture_mipmap_generation, hpp_pipeline_cache, pipeline_cache crash during cleanup if the VVL is not available when running in Debug mode. This can happen in a few cases: a) on Windows with no SDK installed, and b) on the iOS Simulator where the VVL is not built for that target.
The root cause of the crash is that the VVL is marked as Required for Debug mode vs. Optional, and because of this the Vulkan device is never defined. The above samples should check if the Vulkan device is defined before running their cleanup code.
I will submit a PR that addresses both issues: a) VVL marked as Optional, and b) fixes for the cleanup code.