mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01:00
Merge #487
487: Update to latest `wgpu-core` r=kvark a=GabrielMajeri Pulls in the latest changes from `wgpu-core`, follow up for https://github.com/gfx-rs/wgpu/pull/841 Co-authored-by: Gabriel Majeri <gabriel.majeri6@gmail.com>
This commit is contained in:
commit
e4711d0141
2 files changed
+4
-2
No files matched your search
+2
-2
@@ -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