Upgrade to wgpu v23.
This commit is contained in:
parent
0115197751
commit
f1f50ab7b1
2 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ repository = "https://github.com/grovesNL/glyphon"
|
||||||
license = "MIT OR Apache-2.0 OR Zlib"
|
license = "MIT OR Apache-2.0 OR Zlib"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wgpu = { version = "22", default-features = false, features = ["wgsl"] }
|
wgpu = { version = "23", default-features = false, features = ["wgsl"] }
|
||||||
etagere = "0.2.10"
|
etagere = "0.2.10"
|
||||||
cosmic-text = "0.12"
|
cosmic-text = "0.12"
|
||||||
lru = { version = "0.12.1", default-features = false }
|
lru = { version = "0.12.1", default-features = false }
|
||||||
|
@ -16,6 +16,6 @@ rustc-hash = "2.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
winit = "0.30.3"
|
winit = "0.30.3"
|
||||||
wgpu = "22"
|
wgpu = "23"
|
||||||
resvg = { version = "0.42", default-features = false }
|
resvg = { version = "0.44", default-features = false }
|
||||||
pollster = "0.3.0"
|
pollster = "0.4.0"
|
||||||
|
|
|
@ -221,13 +221,13 @@ impl Cache {
|
||||||
layout: Some(pipeline_layout),
|
layout: Some(pipeline_layout),
|
||||||
vertex: VertexState {
|
vertex: VertexState {
|
||||||
module: shader,
|
module: shader,
|
||||||
entry_point: "vs_main",
|
entry_point: Some("vs_main"),
|
||||||
buffers: vertex_buffers,
|
buffers: vertex_buffers,
|
||||||
compilation_options: PipelineCompilationOptions::default(),
|
compilation_options: PipelineCompilationOptions::default(),
|
||||||
},
|
},
|
||||||
fragment: Some(FragmentState {
|
fragment: Some(FragmentState {
|
||||||
module: shader,
|
module: shader,
|
||||||
entry_point: "fs_main",
|
entry_point: Some("fs_main"),
|
||||||
targets: &[Some(ColorTargetState {
|
targets: &[Some(ColorTargetState {
|
||||||
format,
|
format,
|
||||||
blend: Some(BlendState::ALPHA_BLENDING),
|
blend: Some(BlendState::ALPHA_BLENDING),
|
||||||
|
|
Loading…
Reference in a new issue