v30 Release Followups (#9792)

This commit is contained in:
Connor Fitzgerald authored and GitHub committed 2026-07-08 11:27:12 -04:00
1 parent 0efd6dd7ce
commit c4e9f3c218
2 files changed
+61 -14

No files matched your search

+48 -2
View File
@@ -330,7 +330,6 @@ By @inner-daemons in [#9434](https://github.com/gfx-rs/wgpu/pull/9434).
- Fixed vkAcquireNextImage fence being awaited on non-Windows platforms causing frametime spikes on nvidia drivers. By @cohaereo in [#9486](https://github.com/gfx-rs/wgpu/pull/9486).
- Fixed alignment and `MatrixStride` for mat2x2 in SPIR-V uniform blocks. By @39ali [#9369](https://github.com/gfx-rs/wgpu/pull/9369).
- Fixed loading of `libvulkan.so` on OpenHarmony (`target_env = "ohos"`). By @jschwe in [#9649](https://github.com/gfx-rs/wgpu/pull/9649).
- Fixed `VUID-RuntimeSpirv-vulkanMemoryModel-06265` validation errors by enabling `vulkanMemoryModelDeviceScope` whenever the Vulkan memory model is enabled, since the SPIR-V backend emits storage atomics with `Device` scope. By @francisdb in [#9741](https://github.com/gfx-rs/wgpu/pull/9741).
- Fixed some cases where out-of-memory errors were reported incorrectly. By @andyleiserson in [#9643](https://github.com/gfx-rs/wgpu/pull/9643) and [#9747](https://github.com/gfx-rs/wgpu/pull/9747).
- Fixed signed integer `%` (and `%=`) returning the wrong result for negative operands in the SPIR-V backend, e.g. `-1 % 768` yielding `255` instead of `-1` on NVIDIA. `OpSRem` is poison for negative operands in the Vulkan SPIR-V environment without `VK_KHR_maintenance8`, even though WGSL defines `%` for these operands, so signed remainder is now always lowered as `a - b * (a / b)`. By @mstampfli in [#9674](https://github.com/gfx-rs/wgpu/pull/9674).
@@ -342,7 +341,6 @@ By @inner-daemons in [#9434](https://github.com/gfx-rs/wgpu/pull/9434).
- Wait using a condition variable, instead of polling.
- Fixed a hang in `Device::poll(PollType::wait_indefinitely())` when a Metal command buffer exits with an error.
- Fixed structure field names incorrectly ignoring reserved keywords in the Metal (MSL) backend. By @39ali [#9379](https://github.com/gfx-rs/wgpu/pull/9379).
- Restore the `Queue::as_raw` method, which was removed without good reason in v29. It now returns `&ProtocolObject<dyn MTLCommandQueue>`. By @andyleiserson in [#9560](https://github.com/gfx-rs/wgpu/pull/9560).
#### WebGPU
@@ -359,6 +357,54 @@ By @inner-daemons in [#9434](https://github.com/gfx-rs/wgpu/pull/9434).
- We now use `tombi` as our TOML formatter instead of `taplo`, which has been unmaintained for some time. If you currently use `taplo` as part of your workflow, we recommend you migrate, or change your editor settings while working with wgpu.
## v29.0.4 (2026-07-01)
### New Features
#### GLES
- XCB window handles can now be used to initialize OpenGL on Linux. By @reflectronic in [#9271](https://github.com/gfx-rs/wgpu/pull/9271).
### Bug Fixes
#### Metal
- Restore the `Queue::as_raw` method, which was removed without good reason in v29. It now returns `&ProtocolObject<dyn MTLCommandQueue>`. By @andyleiserson in [#9560](https://github.com/gfx-rs/wgpu/pull/9560).
#### Vulkan
- Fixed `VUID-RuntimeSpirv-vulkanMemoryModel-06265` validation errors by enabling `vulkanMemoryModelDeviceScope` whenever the Vulkan memory model is enabled, since the SPIR-V backend emits storage atomics with `Device` scope. By @francisdb in [#9741](https://github.com/gfx-rs/wgpu/pull/9741).
## v29.0.3 (2026-05-01)
### Bug Fixes
- Fix compilation error when `cfg(debug_assertions)` is not active. `wgpu-core` `v29.0.2` has been yanked. By @Elabajaba in [#9352](https://github.com/gfx-rs/wgpu/pull/9352).
## v29.0.2 (2026-05-01)
### Bug Fixes
#### General
- Fix late bindings not being updated for identical pipeline layouts. By @kristoff3r in [#9341](https://github.com/gfx-rs/wgpu/pull/9341).
- Fix missing dependency feature activations when building wgpu-hal with gles/dx12 in isolation. By @wumpf in [#9325](https://github.com/gfx-rs/wgpu/pull/9325).
- Make `wgpu_types::texture::format::TextureChannel` accessible as `wgpu::TextureChannel`. By @TornaxO7 in [#9349](https://github.com/gfx-rs/wgpu/pull/9349).
#### DX12
- Fixed a `debug_assert` during stride validation for indirect multi draw. By @kristoff3r in [#9332](https://github.com/gfx-rs/wgpu/pull/9332).
- Fix incorrect `max_binding_array_sampler_elements_per_shader_stage` limit reported on DX12. By @kristoff3r in [#9330](https://github.com/gfx-rs/wgpu/pull/9330).
#### Vulkan
- Only request `shaderDrawParameters` when `SHADER_DRAW_INDEX` is requested, avoiding device creation failures on drivers that don't support it (e.g. V3DV, SwiftShader). By @mohamedtahaguelzim in [#9331](https://github.com/gfx-rs/wgpu/pull/9331).
#### Metal
- Fix crash on fence creation when running in a MacOS sandbox. By @wumpf in [#9415](https://github.com/gfx-rs/wgpu/pull/9415).
## v29.0.1 (2026-03-26)
This release includes `wgpu-core`, `wgpu-hal` and `wgpu-types` version `29.0.1`. All other crates remain at their previous versions.
+13 -12
View File
@@ -43,12 +43,12 @@ Day of Release:
```bash
cargo publish --workspace --all-features --exclude deno_webgpu
```
- If there were any newly published crates, ensure `github:gfx-rs/wgpu` is added as an owner of that crate.
- Create a new tag called `vX.Y.Z` and push it to the repo.
- If there were any newly published crates, ensure `github:gfx-rs:wgpu` is added as an owner of that crate.
- Create a new signed tag called `vX.Y.Z` and push it to the repo.
- For each crate being released (viz., every `publish`-able crate that is not `deno*`), create a new tag of the form `{crate_name}-vX.Y.X`.
- Create a new release on the `wgpu` repo with the changelog from this version, targeting that tag
- Create a branch with the with the new version `vX` and push it to the repo.
- On this branch, remove the [!NOTE] at the top of [wgpu/examples/README.md].
- On this branch, remove the [!NOTE] at the top of [examples/README.md].
- Complete the release's milestone on GitHub.
- Create a new milestone for the next release, in 12 weeks time.
- Update the release checklist with any needed changes.
@@ -70,16 +70,17 @@ Day of Release:
- On _your own branch_ based on the latest release branch. Cherry-pick the PRs that need to be backported. When modifying the commits, use --append to retain their original authorship.
- Remove the `needs-backport` label from the PRs.
- Fix the changelogs items and add a new header for the patch release with the release version and date.
- The release section should start with a header saying the following (for example)
```markdown
This release includes `crate1`, `crate2` and `crate3` version `X.Y.Z`. All other crates remain at their previous versions.
```
- Once all the PRs are cherry-picked, look at the diff between HEAD and the previous patch release. See what crates changed.
- Bump all the versions of the crates that changed.
- Create a PR with all of the version changes and changelog updates into the release branch.
- Once the PR is CI clean, (force) rebase merge it.
- Checkout the release branch with the merged PR.
- Publish all relevant crates (see list above).
- While waiting on the PR, do a dry run of publishing.
```bash
cargo publish --dry-run --workspace --all-features --exclude deno_webgpu
```
- Once the PR is CI clean and publish worked, (force) merge it.
- Checkout the version branch with the merged PR.
- Publish! These commands can be pasted directly into your terminal in a single command, and they will publish everything.
```bash
cargo publish --workspace --all-features --exclude deno_webgpu
```
- Create a new release on the `wgpu` repo with the relevant changelog included, based on a new tag called `vX.Y.Z` in the release branch.
- For each crate released, also create a tag `{crate_name}-vX.Y.Z`.
- Backport the changelog and version bumps to the `trunk` branch.