Skip to content

Commit 98ff215

Browse files
authored
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.
1 parent e17fc53 commit 98ff215

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

assets/shaders/fallback_image_test.wgsl

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#import bevy_pbr::mesh_view_bindings
22
#import bevy_pbr::mesh_bindings
3+
#import bevy_pbr::mesh_vertex_output MeshVertexOutput
34

45
@group(1) @binding(0)
56
var test_texture_1d: texture_1d<f32>;
@@ -31,9 +32,5 @@ var test_texture_3d: texture_3d<f32>;
3132
@group(1) @binding(11)
3233
var test_texture_3d_sampler: sampler;
3334

34-
struct FragmentInput {
35-
#import bevy_pbr::mesh_vertex_output
36-
};
37-
3835
@fragment
39-
fn fragment(in: FragmentInput) {}
36+
fn fragment(in: MeshVertexOutput) {}

0 commit comments

Comments
 (0)