165: Update wgpu-core r=trivial a=kvark



Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
This commit is contained in:
bors[bot]
2020-01-24 00:14:55 +00:00
committed by GitHub
2 changed files with 3 additions and 5 deletions

View File

@@ -27,14 +27,14 @@ vulkan = ["wgn/vulkan-portability"]
package = "wgpu-native"
version = "0.4"
git = "https://github.com/gfx-rs/wgpu"
rev = "3a41272cbac25477659f4b1413159da90d26e081"
rev = "009bde0f90d581ef4112978c1d1f3edc14f38e1e"
#path = "../wgpu/wgpu-native"
[dependencies.wgc]
package = "wgpu-core"
version = "0.1"
git = "https://github.com/gfx-rs/wgpu"
rev = "3a41272cbac25477659f4b1413159da90d26e081"
rev = "009bde0f90d581ef4112978c1d1f3edc14f38e1e"
#path = "../wgpu/wgpu-core"
[dependencies]

View File

@@ -1116,9 +1116,7 @@ impl CommandEncoder {
/// This function returns a [`ComputePass`] object which records a single compute pass.
pub fn begin_compute_pass(&mut self) -> ComputePass {
ComputePass {
id: unsafe {
wgn::wgpu_command_encoder_begin_compute_pass(self.id, None)
},
id: wgn::wgpu_command_encoder_begin_compute_pass(self.id, None),
_parent: self,
}
}