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/calibrated_device: Use self.handle instead of requiring vk::Device argument #898

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

MarijnS95
Copy link
Collaborator

When introducing this new VK_KHR_calibrated_timestamps extension based on VK_EXT_calibrated_timestamps in #890 in parallel to finalizing and merging the Instance/Device separation in #734, I seem to have missed an opportunity to use the newly available self.handle for this extension from struct Device, instead leaving an unnecessary device: vk::Device argument in place.

…ing `vk::Device` argument

When introducing this new `VK_KHR_calibrated_timestamps` extension based
on `VK_EXT_calibrated_timestamps` in #890 in parallel to finalizing
and merging the `Instance`/`Device` separation in #734, I seem to have
missed an opportunity to use the newly available `self.handle` for this
extension from `struct Device`, instead leaving an unnecessary
`device: vk::Device` argument in place.
Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

Nice catch!

@MarijnS95 MarijnS95 merged commit 0c362c0 into master Mar 31, 2024
20 checks passed
@MarijnS95 MarijnS95 deleted the khr-calibrated-timestamps-device-self-handle branch March 31, 2024 19:33
@MarijnS95 MarijnS95 added this to the Ash 0.38 milestone Dec 3, 2024
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