Skip to content

Commit

Permalink
Fix fallback_image example (#8968)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
rparrett committed Jun 27, 2023
1 parent e17fc53 commit 98ff215
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions assets/shaders/fallback_image_test.wgsl
Original file line number Diff line number Diff line change
@@ -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<f32>;
Expand Down Expand Up @@ -31,9 +32,5 @@ var test_texture_3d: texture_3d<f32>;
@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) {}

0 comments on commit 98ff215

Please sign in to comment.