From 7e1a19478b276fac6a42d789af8f328d0323a3a6 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sat, 23 Mar 2024 13:35:06 +0700 Subject: [PATCH] dev-deps: Update wgpu to 0.19 This requires features enabled to select a backend. --- Cargo.toml | 2 +- tests/wgpu.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 777a726..01d50e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ static-rc = { version = "0.6", features = ["alloc"], default-features = false, o criterion = { version = "0.4", features = ["cargo_bench_support", "html_reports"], default-features = false } rand = { version = "0.8", features = ["std_rng"], default-features = false } mimalloc = { version = "0.1", default-features = false } -wgpu = { version = "0.17", features = ["wgsl"], default-features = false } +wgpu = { version = "0.19", features = ["wgsl"] } futures = { version = "0.3", features = ["executor"], default-features = false } pprof = { version = "0.11", features = ["criterion", "flamegraph"], default-features = false } trybuild = { version = "1", default-features = false } diff --git a/tests/wgpu.rs b/tests/wgpu.rs index 870ab09..734fc95 100644 --- a/tests/wgpu.rs +++ b/tests/wgpu.rs @@ -160,6 +160,7 @@ fn in_out( let instance = wgpu::Instance::new(wgpu::InstanceDescriptor { backends: wgpu::Backends::PRIMARY, dx12_shader_compiler: wgpu::Dx12Compiler::Fxc, + ..Default::default() }); let adapter = block_on(instance.request_adapter(&wgpu::RequestAdapterOptions { power_preference: wgpu::PowerPreference::default(),