-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate functionality of the different versions of Vulkan into the submodules. #615
Comments
Why should we do that? |
Because it's convenient to use. As an example, I use only 1.3 and I don't need to see in suggestions So, I can just import |
That doesn't seem to make much sense. Vulkan 1.3 builds on top of Vulkan 1.0, 1.1 and 1.2. You can't use Vulkan 1.3 in any meaningful way without touching any of the prior APIs. It won't work for member functions on Now, if you had made a point of limiting the highest version to use, ie. importing just Vulkan 1.0 and 1.1 to enforce a restriction on the available API to stay compatible with Android (phones are still forced to ship with 1.1, no 1.2 allowed), that's a valid use case. |
In
|
Summary: with the information from @Friz64 this is only applied sparsely in If we were to do this I feel like it should be paired with a revert of #412 so that the separation is uniform across item definitions and associated functions on entry/instance/device. @Jerrody Unless you wish to clarify your use-case or there is a popular opinion that this will improve ash in a meaningful way (consider this will be a rather large API break for everyone) I don't see anything actionable here. |
Actually no. For everyone code will keep work the same as before, but I don't know what to add else about this. This is for the logical separation of different editions of Vulkan. So, if you didn't find good in my suggestion or argument I think that issue should be closed. |
That's only the case when creating a |
If you look at the
erupt
crate you will see this structure:https://docs.rs/erupt/latest/erupt/#modules
vk // main module that just exports all submododules
vk1_0
vk1_1
vk1_2
vk1_3
The text was updated successfully, but these errors were encountered: