Update to wgpu 0.12

This commit is contained in:
Werner
2022-03-31 19:52:27 -03:00
parent b23bc27f55
commit 0a24096e90
7 changed files with 18 additions and 12 deletions

View File

@ -183,12 +183,12 @@ impl State for Cubes {
layout: Some(&render_pipeline_layout),
vertex: wgpu::VertexState {
module: &shader,
entry_point: "main",
entry_point: "vs_main",
buffers: &[ModelVertex::GetDescriptor(), InstanceRaw::GetDescriptor()],
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "main",
entry_point: "fs_main",
targets: &[wgpu::ColorTargetState {
format: display.config.format,
blend: Some(wgpu::BlendState {