Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into tracking-optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed May 16, 2022
2 parents 1bbff99 + b51fd85 commit 740a182
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 77 deletions.
78 changes: 6 additions & 72 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion wgpu-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ codespan-reporting = "0.11"
copyless = "0.1"
fxhash = "0.2"
log = "0.4"
parking_lot = "0.12"
# parking_lot 0.12 switches from `winapi` to `windows`; permit either
parking_lot = ">=0.11,<0.13"
profiling = { version = "1", default-features = false }
raw-window-handle = { version = "0.4", optional = true }
ron = { version = "0.7", optional = true }
Expand Down
3 changes: 2 additions & 1 deletion wgpu-core/src/command/bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ impl RenderBundleEncoder {
.trackers
.render_pipelines
.extend(&*pipeline_guard, pipeline_id)
.unwrap();
.map_err(|_| RenderCommandError::InvalidPipeline(pipeline_id))
.map_pass_err(scope)?;

self.context
.check_compatible(&pipeline.pass_context)
Expand Down
3 changes: 2 additions & 1 deletion wgpu-hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ required-features = ["gles"]

[dependencies]
bitflags = "1.0"
parking_lot = "0.12"
# parking_lot 0.12 switches from `winapi` to `windows`; permit either
parking_lot = ">=0.11,<0.13"
profiling = { version = "1", default-features = false }
raw-window-handle = "0.4"
thiserror = "1"
Expand Down
6 changes: 4 additions & 2 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ version = "0.12"
[dependencies]
arrayvec = "0.7"
log = "0.4"
parking_lot = "0.12"
# parking_lot 0.12 switches from `winapi` to `windows`; permit either
parking_lot = ">=0.11,<0.13"
raw-window-handle = "0.4"
serde = { version = "1", features = ["derive"], optional = true }
smallvec = "1"
Expand Down Expand Up @@ -283,7 +284,8 @@ web-sys = { version = "0.3.53", features = [
]}
js-sys = "0.3.50"
wasm-bindgen-futures = "0.4.23"
parking_lot = "0.12"
# parking_lot 0.12 switches from `winapi` to `windows`; permit either
parking_lot = ">=0.11,<0.13"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
console_error_panic_hook = "0.1.6"
Expand Down

0 comments on commit 740a182

Please sign in to comment.