wgpu: Bump to wgpu 23.0.0 and wasm-bindgen to 0.2.95 (#5330)

Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
TÖRÖK Attila
2024-10-30 18:53:22 +01:00
committed by GitHub
co-authored by Andreas Reich
parent 5bfff316c9
commit 67c82ed5f2
11 changed files with 430 additions and 614 deletions
+1 -1
View File
@@ -78,6 +78,6 @@ rfd = { version = "0.13", optional = true }
# web:
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "=0.2.93"
wasm-bindgen = "=0.2.95"
wasm-bindgen-futures.workspace = true
web-sys.workspace = true
@@ -47,13 +47,13 @@ impl Custom3d {
layout: Some(&pipeline_layout),
vertex: wgpu::VertexState {
module: &shader,
entry_point: "vs_main",
entry_point: None,
buffers: &[],
compilation_options: wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "fs_main",
entry_point: Some("fs_main"),
targets: &[Some(wgpu_render_state.target_format.into())],
compilation_options: wgpu::PipelineCompilationOptions::default(),
}),