mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Update to latest wgpu-core
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>>(
|
||||
|
||||
Reference in New Issue
Block a user