Skip to content

Commit

Permalink
bump wgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhou121 committed Oct 25, 2023
1 parent 0d2b7e7 commit 286ffb9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ floem_renderer = { path = "renderer" }
floem_vger = { path = "vger" }
floem_tiny_skia = { path = "tiny_skia" }
floem_reactive = { path = "reactive" }
winit = { git = "https://github.com/lapce/winit", rev = "fa3a4f5cb8eadcfe07d9a629e57f4c3c0f6ce109", features = ["rwh_05"] }
winit = { git = "https://github.com/lapce/winit", rev = "96d8a1f7d8ab7969d836f940d0b18d3540979e6c", features = ["rwh_05"] }
# winit = { path = "../winit" }
image = { version = "0.24", features = ["jpeg", "png"] }

Expand Down
4 changes: 2 additions & 2 deletions vger/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ license.workspace = true

[dependencies]
resvg = "0.33.0"
wgpu = "0.17.0"
wgpu = "0.18.0"
raw-window-handle = "0.5.1"
futures = "0.3.26"
anyhow = "1.0.69"
peniko = { git = "https://github.com/linebender/peniko", rev = "cafdac9a211a0fb2fec5656bd663d1ac770bcc81" }
swash = "0.1.8"
vger = { git = "https://github.com/lapce/vger-rs", rev = "4ef94b8682ef5df1b3d03fc7debfe74f056d24aa" }
vger = { git = "https://github.com/lapce/vger-rs", rev = "9b994a61bdf84d1d6a2bb3c3830ba3fd3661edad" }
# vger = { path = "../../vger-rs" }
image = { version = "0.24", features = ["jpeg", "png"] }
floem_renderer = { path = "../renderer" }
6 changes: 4 additions & 2 deletions vger/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use peniko::{
BrushRef, Color, GradientKind,
};
use vger::{Image, PaintIndex, PixelFormat, Vger};
use wgpu::{Device, DeviceType, Queue, Surface, SurfaceConfiguration, TextureFormat};
use wgpu::{Device, DeviceType, Queue, StoreOp, Surface, SurfaceConfiguration, TextureFormat};

pub struct VgerRenderer {
device: Arc<Device>,
Expand Down Expand Up @@ -443,10 +443,12 @@ impl Renderer for VgerRenderer {
resolve_target: None,
ops: wgpu::Operations {
load: wgpu::LoadOp::Clear(wgpu::Color::WHITE),
store: true,
store: StoreOp::Store,
},
})],
depth_stencil_attachment: None,
timestamp_writes: None,
occlusion_query_set: None,
};

self.vger.encode(&desc);
Expand Down

0 comments on commit 286ffb9

Please sign in to comment.