Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
entry: Mark
Entry::from_parts_1_1()
as unsafe
`Entry` is the only struct marking some Vulkan API calls as safe, as their soundness can be trivially upheld. This however relies on `vkGetInstanceProcAddr` returning a sound function pointer, which is not something we can guarantee when the user passes us function pointers via `Entry::from_parts_1_1()` instead: hence mark this new constructor as `unsafe` to uphold this contract. Related discussion chain: #748 (comment)
- Loading branch information