mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Merge #165
165: Update wgpu-core r=trivial a=kvark Co-authored-by: Dzmitry Malyshau <dmalyshau@mozilla.com>
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user