From f5fdbcc4c1b83dbdc8c431ad90156d68fae61d30 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 16 Jul 2024 19:45:39 +0700 Subject: [PATCH] Update to wgpu 0.20.1 (#631) This also updates `wgpu-core` and `wgpu-hal` to the corresponding versions (which are 0.21.x). This fixes some undefined behavior when building with Rust 1.79 and using the Direct3D 12 backend: https://github.com/gfx-rs/wgpu/issues/5812 It also fixes an issue on OpenGL where non-sRGB was still using sRGB: https://github.com/gfx-rs/wgpu/pull/5642 --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- README.md | 2 +- vello/README.md | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8d18edb9d..cec6fc8d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2683,9 +2683,9 @@ dependencies = [ [[package]] name = "wgpu" -version = "0.20.0" +version = "0.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32ff1bfee408e1028e2e3acbf6d32d98b08a5a059ccbf5f33305534453ba5d3e" +checksum = "90e37c7b9921b75dfd26dd973fdcbce36f13dfa6e2dc82aece584e0ed48c355c" dependencies = [ "arrayvec", "cfg-if", @@ -2709,9 +2709,9 @@ dependencies = [ [[package]] name = "wgpu-core" -version = "0.20.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac6a86eaa5e763e59c73cf9e97d55fffd4dfda69fd8bda19589fcf851ddfef1f" +checksum = "d50819ab545b867d8a454d1d756b90cd5f15da1f2943334ca314af10583c9d39" dependencies = [ "arrayvec", "bit-vec", @@ -2736,9 +2736,9 @@ dependencies = [ [[package]] name = "wgpu-hal" -version = "0.20.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d71c8ae05170583049b65ee562fd839fdc0b3e9ddb84f4e40c9d5f8ea0d4c8c" +checksum = "172e490a87295564f3fcc0f165798d87386f6231b04d4548bca458cbbfd63222" dependencies = [ "android_system_properties", "arrayvec", diff --git a/Cargo.toml b/Cargo.toml index 74a9ed1ed..76dc34d1a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ static_assertions = "1.1.0" thiserror = "1.0.61" # NOTE: Make sure to keep this in sync with the version badge in README.md and vello/README.md -wgpu = { version = "0.20.0" } +wgpu = { version = "0.20.1" } log = "0.4.21" # Used for examples diff --git a/README.md b/README.md index b3e8b520c..60b00f143 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ For now, prefer updating the package-level readmes, e.g. vello/README.md. [![Linebender Zulip](https://img.shields.io/badge/Linebender-%23gpu-blue?logo=Zulip)](https://xi.zulipchat.com/#narrow/stream/197075-gpu) [![dependency status](https://deps.rs/repo/github/linebender/vello/status.svg)](https://deps.rs/repo/github/linebender/vello) [![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](#license) -[![wgpu version](https://img.shields.io/badge/wgpu-v0.20.0-orange.svg)](https://crates.io/crates/wgpu) +[![wgpu version](https://img.shields.io/badge/wgpu-v0.20.1-orange.svg)](https://crates.io/crates/wgpu) [![Crates.io](https://img.shields.io/crates/v/vello.svg)](https://crates.io/crates/vello) [![Docs](https://docs.rs/vello/badge.svg)](https://docs.rs/vello) diff --git a/vello/README.md b/vello/README.md index 69d1d8d09..26c2a0cef 100644 --- a/vello/README.md +++ b/vello/README.md @@ -7,7 +7,7 @@ [![Latest published version.](https://img.shields.io/crates/v/vello.svg)](https://crates.io/crates/vello) [![Documentation build status.](https://img.shields.io/docsrs/vello.svg)](https://docs.rs/vello) [![Apache 2.0 or MIT license.](https://img.shields.io/badge/license-Apache--2.0_OR_MIT-blue.svg)](#license) -[![Required wgpu version.](https://img.shields.io/badge/wgpu-v0.20.0-orange.svg)](https://crates.io/crates/wgpu) +[![Required wgpu version.](https://img.shields.io/badge/wgpu-v0.20.1-orange.svg)](https://crates.io/crates/wgpu) \ [![Linebender Zulip chat.](https://img.shields.io/badge/Linebender-%23gpu-blue?logo=Zulip)](https://xi.zulipchat.com/#narrow/stream/197075-gpu) [![GitHub Actions CI status.](https://img.shields.io/github/actions/workflow/status/linebender/vello/ci.yml?logo=github&label=CI)](https://github.com/linebender/vello/actions)