921: Update wgpu to eadaa1b7d8 r=kvark a=kvark

Picks up https://github.com/gfx-rs/wgpu/pull/1419, https://github.com/gfx-rs/wgpu/pull/1417, and https://github.com/gfx-rs/wgpu/pull/1403

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
This commit is contained in:
bors[bot] 2021-06-01 13:10:49 +00:00 committed by GitHub
commit 6e680d96a4
2 changed files with 10 additions and 8 deletions

View File

@ -26,20 +26,20 @@ cross = ["wgc/cross"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "7ce535cc97958d8e224247764f3d57c162594504"
rev = "eadaa1b7d8f585761e28445904fe619b180aca0d"
features = ["raw-window-handle"]
[target.'cfg(target_arch = "wasm32")'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "7ce535cc97958d8e224247764f3d57c162594504"
rev = "eadaa1b7d8f585761e28445904fe619b180aca0d"
features = ["raw-window-handle"]
optional = true
[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "7ce535cc97958d8e224247764f3d57c162594504"
rev = "eadaa1b7d8f585761e28445904fe619b180aca0d"
[dependencies]
arrayvec = "0.5"

View File

@ -1412,11 +1412,13 @@ impl crate::Context for Context {
label: desc.label.map(Borrowed),
format: desc.format,
dimension: desc.dimension,
aspect: desc.aspect,
base_mip_level: desc.base_mip_level,
mip_level_count: desc.mip_level_count,
base_array_layer: desc.base_array_layer,
array_layer_count: desc.array_layer_count,
range: wgt::ImageSubresourceRange {
aspect: desc.aspect,
base_mip_level: desc.base_mip_level,
mip_level_count: desc.mip_level_count,
base_array_layer: desc.base_array_layer,
array_layer_count: desc.array_layer_count,
},
};
let global = &self.0;
let (id, error) = wgc::gfx_select!(