Skip to content

Commit

Permalink
Try #2598:
Browse files Browse the repository at this point in the history
  • Loading branch information
bors[bot] authored Aug 6, 2021
2 parents 43d99bb + 64a759f commit bbbec65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/bevy_render/src/shader/shader_reflect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ fn reflect_binding(
filtering: true,
},
),
_ => panic!("Unsupported bind type {:?}.", binding.descriptor_type),
_ => {
let ReflectDescriptorBinding { descriptor_type, name, set, binding, .. } = binding;
panic!("Unsupported shader bind type {:?} (name '{}', set {}, binding {})", descriptor_type, name, set, binding);
}
};

let shader_stage = match shader_stage {
Expand Down

0 comments on commit bbbec65

Please sign in to comment.