From 98ff2154bf6948ae938b0a2eb66506efff1b7fab Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Tue, 27 Jun 2023 11:08:02 -0700 Subject: [PATCH] Fix fallback_image example (#8968) # Objective Fixes #8967 ## Solution I think this example was just missed in #5703. I made the same sort of changes to `fallback_image` that were made in other examples in that PR. --- assets/shaders/fallback_image_test.wgsl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/assets/shaders/fallback_image_test.wgsl b/assets/shaders/fallback_image_test.wgsl index 1ececdbfdf70e..5bad13f899355 100644 --- a/assets/shaders/fallback_image_test.wgsl +++ b/assets/shaders/fallback_image_test.wgsl @@ -1,5 +1,6 @@ #import bevy_pbr::mesh_view_bindings #import bevy_pbr::mesh_bindings +#import bevy_pbr::mesh_vertex_output MeshVertexOutput @group(1) @binding(0) var test_texture_1d: texture_1d; @@ -31,9 +32,5 @@ var test_texture_3d: texture_3d; @group(1) @binding(11) var test_texture_3d_sampler: sampler; -struct FragmentInput { - #import bevy_pbr::mesh_vertex_output -}; - @fragment -fn fragment(in: FragmentInput) {} +fn fragment(in: MeshVertexOutput) {}