Skip to content

Commit

Permalink
[rs] Merge gfx-rs#677
Browse files Browse the repository at this point in the history
677: Update to latest wgpu master r=kvark a=yzsolt

- Update to latest `wgpu` master
- Fix build error caused by gfx-rs#1077

Co-authored-by: Zsolt Bölöny <bolony.zsolt@gmail.com>
  • Loading branch information
bors[bot] and yzsolt authored Dec 14, 2020
2 parents cdda85e + acf94e9 commit b369dd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ vulkan-portability = ["wgc/gfx-backend-vulkan"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
package = "wgpu-core"
git = "https://github.com/gfx-rs/wgpu"
rev = "4846e41eb0ffcaafe148833bc25c3a18abce1b26"
rev = "01733a2f45143ee43d2a3473bc618fd06cfc076d"
features = ["raw-window-handle"]

[dependencies.wgt]
package = "wgpu-types"
git = "https://github.com/gfx-rs/wgpu"
rev = "4846e41eb0ffcaafe148833bc25c3a18abce1b26"
rev = "01733a2f45143ee43d2a3473bc618fd06cfc076d"

[dependencies]
arrayvec = "0.5"
Expand Down
4 changes: 2 additions & 2 deletions wgpu/src/backend/direct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ mod pass_impl {
offset: wgt::BufferAddress,
size: Option<wgt::BufferSize>,
) {
wgpu_render_pass_set_index_buffer(self, buffer.id, index_format, offset, size)
self.set_index_buffer(buffer.id, index_format, offset, size)
}
fn set_vertex_buffer(
&mut self,
Expand Down Expand Up @@ -420,7 +420,7 @@ mod pass_impl {
offset: wgt::BufferAddress,
size: Option<wgt::BufferSize>,
) {
wgpu_render_bundle_set_index_buffer(self, buffer.id, index_format, offset, size)
self.set_index_buffer(buffer.id, index_format, offset, size)
}
fn set_vertex_buffer(
&mut self,
Expand Down

0 comments on commit b369dd3

Please sign in to comment.