Skip to content

Commit 109814b

Browse files
Update to git Vello for wgpu 27 (linebender#1514)
To test things out and prepare for new releases, update to the current git Vello which uses wgpu 27.
1 parent 71bab12 commit 109814b

File tree

5 files changed

+33
-34
lines changed

5 files changed

+33
-34
lines changed

Cargo.lock

Lines changed: 27 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ xilem = { version = "0.4.0", path = "xilem", default-features = false }
5050
tree_arena = { version = "0.2.0", path = "tree_arena" }
5151

5252
anymore = "1.0.0"
53-
vello = { version = "0.6.0", default-features = false, features = ["wgpu"] }
53+
vello = { version = "0.6.0", git = "https://github.com/linebender/vello", rev = "efa9c21d42c3b321464eb7cf91a73e1b1103f8d6", default-features = false, features = [
54+
"wgpu",
55+
] }
5456
kurbo = "0.12.0"
5557
parley = { version = "0.7.0", features = ["accesskit"] }
5658
# TODO: Use no_std correctly in Xilem Web.

masonry_winit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ tracing-tracy = { version = "0.11.4", optional = true }
3131
ui-events-winit.workspace = true
3232
pollster = "0.4.0"
3333
accesskit_winit.workspace = true
34-
wgpu-profiler = { optional = true, version = "0.24.0", default-features = false }
34+
wgpu-profiler = { optional = true, version = "0.25.0", default-features = false }
3535
copypasta = "0.10.2"
3636

3737
[dev-dependencies]

masonry_winit/src/event_loop_runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ impl MasonryState<'_> {
614614
{
615615
let _render_poll_span =
616616
tracing::info_span!("Waiting for GPU to finish rendering").entered();
617-
device.poll(wgpu::PollType::Wait).unwrap();
617+
device.poll(wgpu::PollType::wait_indefinitely()).unwrap();
618618
}
619619
}
620620

masonry_winit/src/vello_util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ impl RenderContext {
219219
required_limits: limits,
220220
memory_hints: MemoryHints::default(),
221221
trace: wgpu::Trace::Off,
222+
experimental_features: wgpu::ExperimentalFeatures::disabled(),
222223
})
223224
.await
224225
.ok()?;

0 commit comments

Comments
 (0)