Update wgpu for faster release builds

This commit is contained in:
2024-11-15 00:23:49 -05:00
parent eef8f834d6
commit 8f62ec1c52
3 changed files with 133 additions and 163 deletions
+2 -2
View File
@@ -121,13 +121,13 @@ impl GameWindow {
layout: Some(&render_pipeline_layout),
vertex: wgpu::VertexState {
module: &shader,
entry_point: "vs_main",
entry_point: Some("vs_main"),
buffers: &[],
compilation_options: wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "fs_main",
entry_point: Some("fs_main"),
targets: &[Some(wgpu::ColorTargetState {
format: wgpu::TextureFormat::Bgra8UnormSrgb,
blend: Some(wgpu::BlendState::REPLACE),