Upgrade to wgpu v23.

This commit is contained in:
dtzxporter 2024-10-30 11:59:19 -04:00 committed by Josh Groves
parent 0115197751
commit f1f50ab7b1
2 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@ repository = "https://github.com/grovesNL/glyphon"
license = "MIT OR Apache-2.0 OR Zlib"
[dependencies]
wgpu = { version = "22", default-features = false, features = ["wgsl"] }
wgpu = { version = "23", default-features = false, features = ["wgsl"] }
etagere = "0.2.10"
cosmic-text = "0.12"
lru = { version = "0.12.1", default-features = false }
@ -16,6 +16,6 @@ rustc-hash = "2.0"
[dev-dependencies]
winit = "0.30.3"
wgpu = "22"
resvg = { version = "0.42", default-features = false }
pollster = "0.3.0"
wgpu = "23"
resvg = { version = "0.44", default-features = false }
pollster = "0.4.0"

View file

@ -221,13 +221,13 @@ impl Cache {
layout: Some(pipeline_layout),
vertex: VertexState {
module: shader,
entry_point: "vs_main",
entry_point: Some("vs_main"),
buffers: vertex_buffers,
compilation_options: PipelineCompilationOptions::default(),
},
fragment: Some(FragmentState {
module: shader,
entry_point: "fs_main",
entry_point: Some("fs_main"),
targets: &[Some(ColorTargetState {
format,
blend: Some(BlendState::ALPHA_BLENDING),