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

Remove stale and UB winapi compatibility layer #256

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

MarijnS95
Copy link
Member

Fixes #255

With the windows migration we introduced a winapi compatibility layer to make it easier to use winapi types with gpu-allocator. As most of the ecosystem has switched to windows it is now time to sunset these helpers which are otherwise tedious to test and maintain, not to mention contain long(er) standing unsoundness bugs.

@MarijnS95
Copy link
Member Author

MarijnS95 commented Dec 10, 2024

Yikes this new presser code is triggering some new clippy lints... and as far as I remember didn't even resolve our original soundness issues 😅

@MarijnS95
Copy link
Member Author

@Jasper-Bekkers in order to merge this, we must remove the branch-protection rules that expect a check with public-winapi in the title to succeed, because that feature no longer exists 👍

With the `windows` migration we introduced a `winapi` compatibility
layer to make it easier to use `winapi` types with `gpu-allocator`.  As
most of the ecosystem has switched to `windows` it is now time to sunset
these helpers which are otherwise tedious to test and maintain, not to
mention contain long(er) standing unsoundness bugs.
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.

Maybe Unsound in from_winapi_d3d12_resource_desc
2 participants