Skip to content

Conversation

MarijnS95
Copy link
Contributor

@MarijnS95 MarijnS95 commented Jul 27, 2025

Connections
Depends on #6876
Depends on Traverse-Research/gpu-allocator#288

Description
Uses the latest windows 0.61 and windows-core 0.61 releases.

https://github.com/microsoft/windows-rs/releases/tag/63

Testing

WGPU_BACKEND=d3d12 cargo r -p wgpu-examples hello_triangle

Squash or Rebase?
squash

If your pull request contains multiple commits, please indicate whether
they need to be squashed into a single commit before they're merged,
or if they're ready to rebase onto trunk as they stand. In the
latter case, please ensure that each commit passes all CI tests, so
that we can continue to bisect along trunk to isolate bugs.

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.
  • Replaced crate patches with actual releases.

Comment on lines 183 to 185
/// Sum of the memory reserved by all memory blocks including unallocated regions, in bytes.
// XXX: Rename to total_capacity_bytes following the rename at https://github.com/Traverse-Research/gpu-allocator/pull/266?
pub total_reserved_bytes: u64,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/microsoft/windows-rs/releases/tag/0.61.0

The latest `windows 0.59` and `windows-core 0.59` crates were
just released (strangely tagged `0.61`), including some minor code
improvements for us.  The MSRV has been bumped to `1.74`, but `wgpu` is
already on `1.76` anyway.
@MarijnS95 MarijnS95 changed the title [d3d12 wgl] Upgrade to windows 0.61 crates [d3d12 wgl] Upgrade to windows 0.61-0.62 crates Sep 9, 2025
@MarijnS95 MarijnS95 changed the title [d3d12 wgl] Upgrade to windows 0.61-0.62 crates [d3d12 wgl] Upgrade to windows 0.61 crates Sep 9, 2025
@MarijnS95
Copy link
Contributor Author

I would have used a version range to include the latest https://github.com/microsoft/windows-rs/releases/tag/69 release since 0.61-0.62 is mostly compatible, except that wgl.rs calls from_win32() a bunch of times which was renamed to from_thread() in microsoft/windows-rs#3701.

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