From f1f50ab7b1d35291c3504f4b0a50c7f12e0099db Mon Sep 17 00:00:00 2001 From: dtzxporter Date: Wed, 30 Oct 2024 11:59:19 -0400 Subject: [PATCH] Upgrade to wgpu v23. --- Cargo.toml | 8 ++++---- src/cache.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ea27abb..ef92d74 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/src/cache.rs b/src/cache.rs index a4a3449..e3a6167 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -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),