Skip to content

Commit

Permalink
Update wgpu to a commit that fixes use on Nvidia drivers
Browse files Browse the repository at this point in the history
This can be tested with something like
`VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json cargo run -p tour
--features iced/wgpu`.

On Nvidia I'm seeing a flood of `Suboptimal present of frame` warnings.
So some improvement may still be needed here. But if it doesn't regress
behavior on other hardware, that seems like an improvement over
freezing.
  • Loading branch information
ids1024 authored and mmstick committed Feb 6, 2024
1 parent a83d381 commit 575de00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ bytemuck = { version = "1.0", features = ["derive"] }
cosmic-text = { git = "https://github.com/pop-os/cosmic-text.git", rev = "1b025ae" }
futures = "0.3"
glam = "0.24"
glyphon = { git = "https://github.com/wash2/glyphon.git", tag = "cosmic-0.5" }
glyphon = { git = "https://github.com/pop-os/glyphon.git", tag = "cosmic-0.5-wgpu" }
guillotiere = "0.6"
half = "2.2"
image = "0.24"
Expand Down Expand Up @@ -172,7 +172,9 @@ wasm-timer = "0.2"
wayland-protocols = { version = "0.31.0", features = [ "staging"]}
web-sys = "0.3"
web-time = "0.2"
wgpu = "0.19"
# wgpu = "0.19"
# Newer wgpu commit that fixes Vulkan backend on Nvidia
wgpu = { git = "https://github.com/gfx-rs/wgpu", rev = "20fda69" }
winapi = "0.3"
window_clipboard = "0.4"
winit = { git = "https://github.com/iced-rs/winit.git", rev = "b91e39ece2c0d378c3b80da7f3ab50e17bb798a5" }

0 comments on commit 575de00

Please sign in to comment.