diff --git a/Cargo.toml b/Cargo.toml index b5145c9..39ae279 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/cache.rs b/src/cache.rs index 4c63c47..c567341 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -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),