Upgrade wgpu to 23.0

This commit is contained in:
dtzxporter 2024-10-30 11:59:19 -04:00 committed by Héctor Ramón Jiménez
parent 0d7ba1bba4
commit 09712a70df
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 6 additions and 6 deletions

View file

@ -8,13 +8,13 @@ repository = "https://github.com/grovesNL/glyphon"
license = "MIT OR Apache-2.0 OR Zlib"
[dependencies]
wgpu = { version = "22.0", 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 }
rustc-hash = "2.0"
[dev-dependencies]
winit = { version = "0.29.10", features = ["rwh_05"] }
wgpu = { version = "22.0", default-features = true }
pollster = "0.3.0"
winit = "0.29"
wgpu = "23"
pollster = "0.4"

View file

@ -218,13 +218,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),