Skip to content
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

add support for vulkan #91

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

add support for vulkan #91

wants to merge 3 commits into from

Conversation

russelltg
Copy link

use ash for the vulkan types. Requires a bit of effort to rename the ash types.

Alternative is just letting bindgen do it's thing and generate all of vulkan.h, but that feels pretty messy....

src/lib.rs Outdated Show resolved Hide resolved
@dmtrKovalenko
Copy link
Collaborator

I wonder about your usecase could you please clarify how are you using a pure vulkan flag

@russelltg
Copy link
Author

Right. My usecase is russelltg/wl-screenrec#90

I'll add some comments around that. Ideally those lifetimes would be bubbled up through the bindgen interfaces but I don't think that's possible.

@russelltg
Copy link
Author

Added a good comment about why 'static and ran cargo fmt

@russelltg
Copy link
Author

Weird, rustup failed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants