[rs] Update to latest wgpu-core

This commit is contained in:
Gabriel Majeri
2020-07-28 21:32:39 +03:00
parent 26eb6c0882
commit 04c1ff27ea
2 changed files with 4 additions and 2 deletions

View File

@@ -27,14 +27,14 @@ vulkan-portability = ["wgc/gfx-backend-vulkan"]
package = "wgpu-core"
version = "0.5"
git = "https://github.com/gfx-rs/wgpu"
rev = "11b3a95671d096aae2eac0d187be5472b5ab91c0"
rev = "5bd24d50852eb9932535eb258c216a5e4a79808f"
features = ["raw-window-handle"]
[dependencies.wgt]
package = "wgpu-types"
version = "0.5"
git = "https://github.com/gfx-rs/wgpu"
rev = "11b3a95671d096aae2eac0d187be5472b5ab91c0"
rev = "5bd24d50852eb9932535eb258c216a5e4a79808f"
[dependencies]
arrayvec = "0.5"

View File

@@ -1183,6 +1183,7 @@ impl crate::Context for Context {
) {
let global = &self.0;
wgc::gfx_select!(*queue => global.queue_write_buffer(*queue, *buffer, offset, data))
.unwrap()
}
fn queue_write_texture(
@@ -1201,6 +1202,7 @@ impl crate::Context for Context {
&data_layout,
&size
))
.unwrap()
}
fn queue_submit<I: Iterator<Item = Self::CommandBufferId>>(