Update wgpu to 0.20.1

This commit is contained in:
Héctor Ramón Jiménez 2024-05-01 16:19:08 +02:00
parent fed9c8d19b
commit aed9a03e3c
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
9 changed files with 40 additions and 2 deletions

View file

@ -112,6 +112,8 @@ impl Blit {
module: &shader,
entry_point: "vs_main",
buffers: &[],
compilation_options:
wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
@ -123,6 +125,8 @@ impl Blit {
),
write_mask: wgpu::ColorWrites::ALL,
})],
compilation_options:
wgpu::PipelineCompilationOptions::default(),
}),
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,