Skip to content

Commit

Permalink
Fix a few entry_point parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
nical authored and teoxoy committed Jul 24, 2024
1 parent e216566 commit 7446790
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/tests/regression/issue_4485.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: &[],
},
Expand All @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tests/tests/regression/issue_4514.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: &[],
},
Expand All @@ -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,
Expand Down

0 comments on commit 7446790

Please sign in to comment.