Fix a few entry_point parameters

This commit is contained in:
Nicolas Silva authored and Teodor Tanasoaia committed 2024-07-24 14:31:23 +02:00
1 parent e216566e48
commit 7446790354
2 files changed
+4 -4

No files matched your search

+2 -2
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,
+2 -2
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,