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

Preemptively rename stuff, mark enums as non-exhaustive #2172

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

marc0246
Copy link
Contributor

@marc0246 marc0246 commented Apr 1, 2023

Renamed MemoryUsage::GpuOnly to MemoryUsage::DeviceOnly, so that it uses the correct terminology before people start using it in 0.33. Also marked MemoryUsage, MemoryAllocatePreference and AllocationType as non-exhaustive, which I had forgotten. These are all technically breaking changes, but the user was not exposed to any of these APIs until now.

Changelog:

### Breaking changes
- Renamed `MemoryUsage::GpuOnly` to `MemoryUsage::DeviceOnly`.
- Marked `MemoryUsage`, `MemoryAllocatePreference` and `AllocationType` as non-exhaustive.

@Rua Rua merged commit ad530ed into vulkano-rs:master Apr 1, 2023
@marc0246 marc0246 deleted the preemptives branch April 1, 2023 16:52
Rua added a commit that referenced this pull request Apr 1, 2023
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 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