KhronosGroup / Vulkan-Loader

Vulkan Loader
https://vulkan.lunarg.com/doc/sdk/latest/linux/LoaderInterfaceArchitecture.html
Other
505 stars 273 forks source link

Fix preloaded icd's being freed with custom allocators #1504

Closed charles-lunarg closed 3 months ago

charles-lunarg commented 3 months ago

During unloading of unused drivers, the loader checks for the driver in its list of preloaded ICD's, and removes it if it is in it. If the user provided a custom callback during instance creation, this was being used during this unloading, which is wrong because preloaded icd's weren't allocated with the custom allocator in the first place.

ci-tester-lunarg commented 3 months ago

CI Vulkan-Loader build queued with queue ID 199883.

ci-tester-lunarg commented 3 months ago

CI Vulkan-Loader build queued with queue ID 199883.

ci-tester-lunarg commented 3 months ago

CI Vulkan-Loader build # 2602 running.

ci-tester-lunarg commented 3 months ago

CI Vulkan-Loader build # 2602 passed.