From b4dd62d1781c923ae0b52195fb9e710a7fc6b177 Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Mon, 4 Oct 2021 15:04:21 +0200 Subject: [PATCH] bump to latest wgpu-core --- Cargo.lock | 7 ++++--- Cargo.toml | 4 ++-- src/device.rs | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 106eeb3e..2715e532 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -950,7 +950,7 @@ dependencies = [ [[package]] name = "wgpu-core" version = "0.10.0" -source = "git+https://github.com/gfx-rs/wgpu?rev=8fa3ca731bb5e0d54366ae4e28dfd14cb8483444#8fa3ca731bb5e0d54366ae4e28dfd14cb8483444" +source = "git+https://github.com/gfx-rs/wgpu?rev=c3d906856f11821ab75f7318089704c20922359d#c3d906856f11821ab75f7318089704c20922359d" dependencies = [ "arrayvec", "bitflags", @@ -973,7 +973,7 @@ dependencies = [ [[package]] name = "wgpu-hal" version = "0.10.1" -source = "git+https://github.com/gfx-rs/wgpu?rev=8fa3ca731bb5e0d54366ae4e28dfd14cb8483444#8fa3ca731bb5e0d54366ae4e28dfd14cb8483444" +source = "git+https://github.com/gfx-rs/wgpu?rev=c3d906856f11821ab75f7318089704c20922359d#c3d906856f11821ab75f7318089704c20922359d" dependencies = [ "arrayvec", "ash", @@ -995,6 +995,7 @@ dependencies = [ "naga", "objc", "parking_lot", + "profiling", "range-alloc", "raw-window-handle", "renderdoc-sys", @@ -1020,7 +1021,7 @@ dependencies = [ [[package]] name = "wgpu-types" version = "0.10.0" -source = "git+https://github.com/gfx-rs/wgpu?rev=8fa3ca731bb5e0d54366ae4e28dfd14cb8483444#8fa3ca731bb5e0d54366ae4e28dfd14cb8483444" +source = "git+https://github.com/gfx-rs/wgpu?rev=c3d906856f11821ab75f7318089704c20922359d#c3d906856f11821ab75f7318089704c20922359d" dependencies = [ "bitflags", "bitflags_serde_shim", diff --git a/Cargo.toml b/Cargo.toml index b1dea24a..b4e6b971 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ default = [] [dependencies.wgc] package = "wgpu-core" git = "https://github.com/gfx-rs/wgpu" -rev = "8fa3ca731bb5e0d54366ae4e28dfd14cb8483444" +rev = "c3d906856f11821ab75f7318089704c20922359d" # path = "../wgpu/wgpu-core" version = "0.10" features = ["raw-window-handle", "trace"] @@ -31,7 +31,7 @@ features = ["raw-window-handle", "trace"] [dependencies.wgt] package = "wgpu-types" git = "https://github.com/gfx-rs/wgpu" -rev = "8fa3ca731bb5e0d54366ae4e28dfd14cb8483444" +rev = "c3d906856f11821ab75f7318089704c20922359d" # path = "../wgpu/wgpu-types" version = "0.10" diff --git a/src/device.rs b/src/device.rs index d51629bd..5c817beb 100644 --- a/src/device.rs +++ b/src/device.rs @@ -42,6 +42,7 @@ pub unsafe extern "C" fn wgpuInstanceRequestAdapter( &wgt::RequestAdapterOptions { power_preference, compatible_surface, + force_fallback_adapter: false, }, wgc::instance::AdapterInputs::Mask(backend_bits, |_| PhantomData), )