Skip to content

Commit

Permalink
update wgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
msparkles committed Jul 19, 2024
1 parent 09f581b commit 7bc14f0
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 6 deletions.
3 changes: 1 addition & 2 deletions crates/bootstrap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@ log = "0.4.17"
pollster = "0.3.0"
profiling = "1.0.6"
tracy-client = { version = "0.15.1", optional = true }

wgpu = "22.0.0"
winit = "0.30.0"
wgpu = "0.20.1"
2 changes: 1 addition & 1 deletion crates/demo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ yakui-app = { path = "../yakui-app" }
env_logger = "0.10.0"
log = "0.4.17"
pollster = "0.3.0"
wgpu = { version = "0.20.1", features = ["webgl"] }
wgpu = { version = "22.0.0", features = ["webgl"] }
winit = "0.30.0"

[target.'cfg(target_arch = "wasm32")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/yakui-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ yakui-wgpu = { path = "../yakui-wgpu" }

profiling = { version = "1.0.6", optional = true }
winit = { version = "0.30.0" }
wgpu = "0.20.1"
wgpu = "22.0.0"
1 change: 1 addition & 0 deletions crates/yakui-app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ impl Graphics {
} else {
wgpu::Limits::default()
},
memory_hints: Default::default(),
label: None,
},
None, // Trace path
Expand Down
2 changes: 1 addition & 1 deletion crates/yakui-to-image/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ edition = "2021"
yakui-core = { path = "../yakui-core" }
yakui-wgpu = { path = "../yakui-wgpu" }

wgpu = "0.20.1"
wgpu = "22.0.0"
image = { version = "0.24.4", default-features = false, features = ["png"] }
pollster = "0.3.0"
1 change: 1 addition & 0 deletions crates/yakui-to-image/src/graphics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ impl Graphics {
&wgpu::DeviceDescriptor {
required_features: wgpu::Features::empty(),
required_limits: wgpu::Limits::default(),
memory_hints: Default::default(),
label: None,
},
None,
Expand Down
2 changes: 1 addition & 1 deletion crates/yakui-wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition = "2021"
[dependencies]
yakui-core = { path = "../yakui-core", version = "0.2.0" }

wgpu = "0.20.1"
wgpu = "22.0.0"
glam = { version = "0.27.0", features = ["bytemuck"] }
bytemuck = { version = "1.12.1", features = ["derive"] }
thunderdome = "0.6.0"
Expand Down
2 changes: 2 additions & 0 deletions crates/yakui-wgpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ fn make_main_pipeline(
..Default::default()
},
multiview: None,
cache: None,
})
}

Expand Down Expand Up @@ -520,5 +521,6 @@ fn make_text_pipeline(
..Default::default()
},
multiview: None,
cache: None,
})
}

0 comments on commit 7bc14f0

Please sign in to comment.