-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Track the extension used to create each VkSurfaceKHR
The Vulkan-Loader now doesn't call into drivers if they do not support the extension that was used to create the VkSurfaceKHR handle. This prevents crashes from occuring where a driver is called using a surface that it does not know about, due to the driver not supporting the surface extension. Because the specification requires that VkSurfaceKHR must be a valid handle, the loader should not allow calls down into drivers which cannot know about the surface. Instead it should "emulate" the call as appropriate, returning 0 for counts and setting to 0 any structures that were passed in.
- Loading branch information
1 parent
b3b62dc
commit 9d5fea5
Showing
5 changed files
with
243 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.