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

Fixed Vulkan deprecation warning #284

Merged
merged 1 commit into from
May 2, 2022
Merged

Fixed Vulkan deprecation warning #284

merged 1 commit into from
May 2, 2022

Conversation

COM8
Copy link
Contributor

@COM8 COM8 commented May 2, 2022

The value of ResultValue<T> should be accessed explicitly. Implicit access is deprecated.
Fixes the second half of: #278

Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
@axsaucedo
Copy link
Member

Good spot - do you know if this has to be under any macro guard (that validates particular versions of vulkan headers)? Or is it already depricated from 1.2?

@COM8
Copy link
Contributor Author

COM8 commented May 2, 2022

As far as I get it this is deprecated since it may return the wrong result in some cases. More on that can be found here: https://github.com/KhronosGroup/Vulkan-Hpp/blob/master/README.md#deprecated-elements

Yes, it's already deprecated in 1.2: https://github.com/KhronosGroup/Vulkan-Hpp/blob/v1.2.203/README.md#deprecated-elements

@axsaucedo
Copy link
Member

Awesome - thanks for having a deeper look

@axsaucedo axsaucedo merged commit 850d8bd into KomputeProject:master May 2, 2022
@axsaucedo axsaucedo self-requested a review May 2, 2022 12:44
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