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

extensions/khr: Add VK_KHR_device_group_creation #630

Merged
merged 1 commit into from
Jun 5, 2022

Conversation

MarijnS95
Copy link
Collaborator

No description provided.

@MarijnS95 MarijnS95 mentioned this pull request Jun 4, 2022
Comment on lines +55 to +61
pub fn fp(&self) -> &vk::KhrDeviceGroupCreationFn {
&self.fp
}

pub fn device(&self) -> vk::Instance {
self.handle
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably inline these too, since they're utterly trivial.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't done this for any of ash/src/extensions yet, shall I set that up in a separate PR?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! IIRC I just didn't have the energy to dig through them all, or maybe my regexes missed them, or something.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are many so it's going to take some effort to get this one right. fp()/device()/name() are easy, the rest is just a find-replace on pub unsafe fn I think.

Copy link
Collaborator Author

@MarijnS95 MarijnS95 Jun 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But again, I'll do that after the remaining extensions (except the ones blocking on the spec update) are merged, so that I won't miss any.

(All the more reason to get a better generator over with sooner than later)

@MarijnS95 MarijnS95 merged commit 85fa542 into master Jun 5, 2022
@MarijnS95 MarijnS95 deleted the khr-device-group-creation branch June 5, 2022 10:32
@MarijnS95 MarijnS95 mentioned this pull request Aug 30, 2022
55 tasks
MarijnS95 added a commit that referenced this pull request May 6, 2023
Looks like #630 typo'd the argument for `DeviceGroupCreation::new()` by
unnecessarily requiring a move (`Clone`) of `Entry` just to call
`get_instance_proc_addr()` on it.  Replace this with a borrow to match
all other extensions.
Ralith pushed a commit that referenced this pull request May 6, 2023
…)` (#753)

Looks like #630 typo'd the argument for `DeviceGroupCreation::new()` by
unnecessarily requiring a move (`Clone`) of `Entry` just to call
`get_instance_proc_addr()` on it.  Replace this with a borrow to match
all other extensions.
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