From 7446790354562b2d439cc4d604ce097763488bd9 Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Wed, 24 Jul 2024 13:58:09 +0200 Subject: [PATCH] Fix a few entry_point parameters --- tests/tests/regression/issue_4485.rs | 4 ++-- tests/tests/regression/issue_4514.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/tests/regression/issue_4485.rs b/tests/tests/regression/issue_4485.rs index 101712fe02..4944afe49f 100644 --- a/tests/tests/regression/issue_4485.rs +++ b/tests/tests/regression/issue_4485.rs @@ -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, diff --git a/tests/tests/regression/issue_4514.rs b/tests/tests/regression/issue_4514.rs index f447f879bf..b3609ff9ad 100644 --- a/tests/tests/regression/issue_4514.rs +++ b/tests/tests/regression/issue_4514.rs @@ -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,