Fix a few entry_point parameters

This commit is contained in:
Nicolas Silva 2024-07-24 13:58:09 +02:00 committed by Teodor Tanasoaia
parent e216566e48
commit 7446790354
2 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ async fn test_impl(ctx: &TestingContext) {
layout: None,
vertex: wgpu::VertexState {
module: &shader,
entry_point: "vs_main",
entry_point: Some("vs_main"),
compilation_options: Default::default(),
buffers: &[],
},
@ -54,7 +54,7 @@ async fn test_impl(ctx: &TestingContext) {
multisample: wgpu::MultisampleState::default(),
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "fs_main",
entry_point: Some("fs_main"),
compilation_options: Default::default(),
targets: &[Some(wgpu::ColorTargetState {
format: wgpu::TextureFormat::Rgba8Unorm,

View File

@ -45,7 +45,7 @@ async fn test_impl(ctx: &TestingContext) {
layout: None,
vertex: wgpu::VertexState {
module: &shader,
entry_point: "vs_main",
entry_point: Some("vs_main"),
compilation_options: Default::default(),
buffers: &[],
},
@ -54,7 +54,7 @@ async fn test_impl(ctx: &TestingContext) {
multisample: wgpu::MultisampleState::default(),
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "fs_main",
entry_point: Some("fs_main"),
compilation_options: Default::default(),
targets: &[Some(wgpu::ColorTargetState {
format: wgpu::TextureFormat::Rgba8Unorm,