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

vulkan: Enable VULKAN_HPP_NO_EXCEPTIONS broadly. #995

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

squidbus
Copy link
Contributor

@squidbus squidbus commented Sep 20, 2024

This is a follow-up to some discussion in #906. Enables VULKAN_HPP_NO_EXCEPTIONS broadly, adjusting the necessary API calls to check the result value.

In some places a non-success result will fail gracefully, where it makes sense to or other checks on the output already do so. Others I have added asserts to basically mirror the current behavior but without exceptions; these can be adjusted in the future as needed. Feel free to comment if you have any specific preferences anywhere.

@squidbus squidbus force-pushed the vk-no-exceptions branch 3 times, most recently from 05d0b9f to 48cd589 Compare September 20, 2024 09:39
@squidbus
Copy link
Contributor Author

Rebased

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.

1 participant