diff --git a/src/back/msl/writer.rs b/src/back/msl/writer.rs index f341a38ff2..4546309e94 100644 --- a/src/back/msl/writer.rs +++ b/src/back/msl/writer.rs @@ -2884,10 +2884,9 @@ impl Writer { if let Some(ref br) = var.binding { let good = match options.per_stage_map[ep.stage].resources.get(br) { Some(target) => match module.types[var.ty].inner { - crate::TypeInner::Struct { .. } => target.buffer.is_some(), crate::TypeInner::Image { .. } => target.texture.is_some(), crate::TypeInner::Sampler { .. } => target.sampler.is_some(), - _ => false, + _ => target.buffer.is_some(), }, None => false, };