From 6228030a2181df783327ce498ab28534e2a9e129 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 16 Jul 2024 17:55:42 +0700 Subject: [PATCH] Update to wgpu 0.20.1 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 4cc56c02e..256eff42a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2808,9 +2808,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", @@ -2834,9 +2834,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", @@ -2861,9 +2861,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 8c6682dca..426914620 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,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" image = { version = "0.25.1", default-features = false } diff --git a/README.md b/README.md index 8d26c20c3..460a22db1 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)