Skip to content

Commit 7446790

Browse files
nicalteoxoy
authored andcommitted
Fix a few entry_point parameters
1 parent e216566 commit 7446790

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/tests/regression/issue_4485.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async fn test_impl(ctx: &TestingContext) {
4545
layout: None,
4646
vertex: wgpu::VertexState {
4747
module: &shader,
48-
entry_point: "vs_main",
48+
entry_point: Some("vs_main"),
4949
compilation_options: Default::default(),
5050
buffers: &[],
5151
},
@@ -54,7 +54,7 @@ async fn test_impl(ctx: &TestingContext) {
5454
multisample: wgpu::MultisampleState::default(),
5555
fragment: Some(wgpu::FragmentState {
5656
module: &shader,
57-
entry_point: "fs_main",
57+
entry_point: Some("fs_main"),
5858
compilation_options: Default::default(),
5959
targets: &[Some(wgpu::ColorTargetState {
6060
format: wgpu::TextureFormat::Rgba8Unorm,

tests/tests/regression/issue_4514.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async fn test_impl(ctx: &TestingContext) {
4545
layout: None,
4646
vertex: wgpu::VertexState {
4747
module: &shader,
48-
entry_point: "vs_main",
48+
entry_point: Some("vs_main"),
4949
compilation_options: Default::default(),
5050
buffers: &[],
5151
},
@@ -54,7 +54,7 @@ async fn test_impl(ctx: &TestingContext) {
5454
multisample: wgpu::MultisampleState::default(),
5555
fragment: Some(wgpu::FragmentState {
5656
module: &shader,
57-
entry_point: "fs_main",
57+
entry_point: Some("fs_main"),
5858
compilation_options: Default::default(),
5959
targets: &[Some(wgpu::ColorTargetState {
6060
format: wgpu::TextureFormat::Rgba8Unorm,

0 commit comments

Comments
 (0)