Update wgpu to 23.0

This commit is contained in:
Héctor Ramón Jiménez 2024-11-05 13:32:14 +01:00
parent 50340b4b43
commit ebc4e17ba8
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
9 changed files with 22 additions and 22 deletions

View file

@ -128,7 +128,7 @@ impl Pipeline {
layout: Some(&layout),
vertex: wgpu::VertexState {
module: &shader,
entry_point: "vs_main",
entry_point: Some("vs_main"),
buffers: &[wgpu::VertexBufferLayout {
array_stride: mem::size_of::<Instance>() as u64,
step_mode: wgpu::VertexStepMode::Instance,
@ -158,7 +158,7 @@ impl Pipeline {
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "fs_main",
entry_point: Some("fs_main"),
targets: &[Some(wgpu::ColorTargetState {
format,
blend: Some(wgpu::BlendState {