v0.20.2 release for wgpu et al., v0.21.1 release for wgpu-{core,hal} (#5850)

Co-authored-by: Nicolas Silva <nical@fastmail.com>
This commit is contained in:
Erich Gubler 2024-06-24 18:00:23 -04:00 committed by GitHub
parent 32d21c8e4f
commit 14a7698d16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 29 additions and 11 deletions

View File

@ -39,6 +39,20 @@ Bottom level categories:
## Unreleased ## Unreleased
## v0.20.2 (2024-06-12)
This release force-bumps transitive dependencies of `wgpu` on `wgpu-core` and `wgpu-hal` to 0.21.1, to resolve some undefined behavior observable in the DX12 backend after upgrading to Rust 1.79 or later.
### Bug Fixes
#### General
* Fix a `CommandBuffer` leak. By @cwfitzgerald and @nical in [#5141](https://github.com/gfx-rs/wgpu/pull/5141)
#### DX12
* Do not feed `&""` to `D3DCompile`, by @workingjubilee in [#5812](https://github.com/gfx-rs/wgpu/issues/5812).
## v0.20.1 (2024-06-12) ## v0.20.1 (2024-06-12)
This release included v0.21.0 of `wgpu-core` and `wgpu-hal`, due to breaking changes needed to solve vulkan validation issues. This release included v0.21.0 of `wgpu-core` and `wgpu-hal`, due to breaking changes needed to solve vulkan validation issues.

16
Cargo.lock generated
View File

@ -2619,7 +2619,7 @@ checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
[[package]] [[package]]
name = "player" name = "player"
version = "0.20.1" version = "0.20.2"
dependencies = [ dependencies = [
"env_logger", "env_logger",
"log", "log",
@ -4052,7 +4052,7 @@ dependencies = [
[[package]] [[package]]
name = "wgpu" name = "wgpu"
version = "0.20.1" version = "0.20.2"
dependencies = [ dependencies = [
"arrayvec 0.7.4", "arrayvec 0.7.4",
"cfg-if", "cfg-if",
@ -4077,7 +4077,7 @@ dependencies = [
[[package]] [[package]]
name = "wgpu-core" name = "wgpu-core"
version = "0.21.0" version = "0.21.1"
dependencies = [ dependencies = [
"arrayvec 0.7.4", "arrayvec 0.7.4",
"bit-vec", "bit-vec",
@ -4105,7 +4105,7 @@ dependencies = [
[[package]] [[package]]
name = "wgpu-examples" name = "wgpu-examples"
version = "0.20.1" version = "0.20.2"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"cfg-if", "cfg-if",
@ -4138,7 +4138,7 @@ dependencies = [
[[package]] [[package]]
name = "wgpu-hal" name = "wgpu-hal"
version = "0.21.0" version = "0.21.1"
dependencies = [ dependencies = [
"android_system_properties", "android_system_properties",
"arrayvec 0.7.4", "arrayvec 0.7.4",
@ -4186,7 +4186,7 @@ dependencies = [
[[package]] [[package]]
name = "wgpu-info" name = "wgpu-info"
version = "0.20.1" version = "0.20.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags 2.5.0", "bitflags 2.5.0",
@ -4200,7 +4200,7 @@ dependencies = [
[[package]] [[package]]
name = "wgpu-macros" name = "wgpu-macros"
version = "0.20.1" version = "0.20.2"
dependencies = [ dependencies = [
"heck 0.5.0", "heck 0.5.0",
"quote", "quote",
@ -4209,7 +4209,7 @@ dependencies = [
[[package]] [[package]]
name = "wgpu-test" name = "wgpu-test"
version = "0.20.1" version = "0.20.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec 0.7.4", "arrayvec 0.7.4",

View File

@ -45,7 +45,7 @@ keywords = ["graphics"]
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
homepage = "https://wgpu.rs/" homepage = "https://wgpu.rs/"
repository = "https://github.com/gfx-rs/wgpu" repository = "https://github.com/gfx-rs/wgpu"
version = "0.20.1" version = "0.20.2"
authors = ["gfx-rs developers"] authors = ["gfx-rs developers"]
[workspace.dependencies.wgc] [workspace.dependencies.wgc]

View File

@ -1,6 +1,6 @@
[package] [package]
name = "wgpu-core" name = "wgpu-core"
version = "0.21.0" version = "0.21.1"
authors = ["gfx-rs developers"] authors = ["gfx-rs developers"]
edition = "2021" edition = "2021"
description = "WebGPU core logic on wgpu-hal" description = "WebGPU core logic on wgpu-hal"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "wgpu-hal" name = "wgpu-hal"
version = "0.21.0" version = "0.21.1"
authors = ["gfx-rs developers"] authors = ["gfx-rs developers"]
edition = "2021" edition = "2021"
description = "WebGPU hardware abstraction layer" description = "WebGPU hardware abstraction layer"

View File

@ -2263,6 +2263,10 @@ impl crate::Context for ContextWgpuCore {
Err(err) => self.handle_error_fatal(err, "Queue::submit"), Err(err) => self.handle_error_fatal(err, "Queue::submit"),
}; };
for cmdbuf in &temp_command_buffers {
wgc::gfx_select!(*queue => self.0.command_buffer_drop(*cmdbuf));
}
(Unused, index) (Unused, index)
} }