-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workaround pre-instance functions on Android (#53)
Pre-instance functions are not supposed to be intercepted, but Android doesn't implement the better interface for chainable pre-instance functions. Trying to use vkGetInstanceProcAddr to get the "next layer down" vkEnumerateInstanceExtensionProperties so a layer can query what extensions are available will not work for any layer other than the bottom layer in the stack. If you have multiple layers in installed, the higher layers will use vkGetInstanceProcAddr to get the function in the next layer down and get the stub implementation for the extensions the layer itself implements without the request reaching the driver.
- Loading branch information
1 parent
4982028
commit 2ced999
Showing
2 changed files
with
34 additions
and
4 deletions.
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