Skip to content

Commit

Permalink
Update to wgpu 22.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Aug 1, 2024
1 parent 1ba4fac commit 4d7917c
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 96 deletions.
167 changes: 77 additions & 90 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static_assertions = "1.1.0"
thiserror = "1.0.61"

# NOTE: Make sure to keep this in sync with the version badge in README.md and vello/README.md
wgpu = { version = "0.20.1" }
wgpu = { version = "22.0.0" }
log = "0.4.21"
image = { version = "0.25.1", default-features = false }

Expand All @@ -59,5 +59,5 @@ clap = "4.5.4"
anyhow = "1.0.86"
pollster = "0.3.0"
web-time = "1.1.0"
wgpu-profiler = "0.17.0"
wgpu-profiler = "0.18.0"
scenes = { path = "examples/scenes" }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For now, prefer updating the package-level readmes, e.g. vello/README.md.
[![Linebender Zulip](https://img.shields.io/badge/Linebender-%23gpu-blue?logo=Zulip)](https://xi.zulipchat.com/#narrow/stream/197075-gpu)
[![dependency status](https://deps.rs/repo/github/linebender/vello/status.svg)](https://deps.rs/repo/github/linebender/vello)
[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](#license)
[![wgpu version](https://img.shields.io/badge/wgpu-v0.20.1-orange.svg)](https://crates.io/crates/wgpu)
[![wgpu version](https://img.shields.io/badge/wgpu-v22.0.0-orange.svg)](https://crates.io/crates/wgpu)

[![Crates.io](https://img.shields.io/crates/v/vello.svg)](https://crates.io/crates/vello)
[![Docs](https://docs.rs/vello/badge.svg)](https://docs.rs/vello)
Expand Down
2 changes: 1 addition & 1 deletion vello/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![Latest published version.](https://img.shields.io/crates/v/vello.svg)](https://crates.io/crates/vello)
[![Documentation build status.](https://img.shields.io/docsrs/vello.svg)](https://docs.rs/vello)
[![Apache 2.0 or MIT license.](https://img.shields.io/badge/license-Apache--2.0_OR_MIT-blue.svg)](#license)
[![Required wgpu version.](https://img.shields.io/badge/wgpu-v0.20.1-orange.svg)](https://crates.io/crates/wgpu)
[![Required wgpu version.](https://img.shields.io/badge/wgpu-v22.1.0-orange.svg)](https://crates.io/crates/wgpu)
\
[![Linebender Zulip chat.](https://img.shields.io/badge/Linebender-%23gpu-blue?logo=Zulip)](https://xi.zulipchat.com/#narrow/stream/197075-gpu)
[![GitHub Actions CI status.](https://img.shields.io/github/actions/workflow/status/linebender/vello/ci.yml?logo=github&label=CI)](https://github.com/linebender/vello/actions)
Expand Down
1 change: 1 addition & 0 deletions vello/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ impl BlitPipeline {
alpha_to_coverage_enabled: false,
},
multiview: None,
cache: None,
});
Self {
bind_layout,
Expand Down
1 change: 1 addition & 0 deletions vello/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ impl RenderContext {
label: None,
required_features: features & maybe_features,
required_limits: limits,
memory_hints: Default::default(),
},
None,
)
Expand Down
1 change: 1 addition & 0 deletions vello/src/wgpu_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,7 @@ impl WgpuEngine {
zero_initialize_workgroup_memory: false,
..Default::default()
},
cache: None,
});
WgpuShader {
pipeline,
Expand Down
4 changes: 2 additions & 2 deletions vello_shaders/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ workspace = true

[dependencies]
bytemuck = { workspace = true, optional = true }
naga = { version = "0.20.0", features = ["wgsl-in"], optional = true }
naga = { version = "22.1.0", features = ["wgsl-in"], optional = true }
thiserror = { workspace = true, optional = true }
vello_encoding = { workspace = true, optional = true }

[build-dependencies]
naga = { version = "0.20.0", features = ["wgsl-in"] }
naga = { version = "22.1.0", features = ["wgsl-in"] }
thiserror = { workspace = true }

0 comments on commit 4d7917c

Please sign in to comment.