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

@ -74,6 +74,7 @@ fn build_pipeline(
module: &vs_module,
entry_point: "main",
buffers: &[],
compilation_options: wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &fs_module,
@ -86,6 +87,7 @@ fn build_pipeline(
}),
write_mask: wgpu::ColorWrites::ALL,
})],
compilation_options: wgpu::PipelineCompilationOptions::default(),
}),
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,