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

Merged
merged 2 commits into from
Sep 25, 2024

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 4 times, most recently from 48cd589 to 1eca1f1 Compare September 23, 2024 17:20
@squidbus
Copy link
Contributor Author

Rebased

@georgemoralis georgemoralis merged commit b2de662 into shadps4-emu:main Sep 25, 2024
10 checks passed
diegolix29 pushed a commit to diegolix29/shadPS4 that referenced this pull request Sep 25, 2024
* vulkan: Enable VULKAN_HPP_NO_EXCEPTIONS broadly.

* vulkan: Use structured bindings for result where possible.
@squidbus squidbus deleted the vk-no-exceptions branch October 1, 2024 20:50
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