diff --git a/benches/benches/bind_groups.rs b/benches/benches/bind_groups.rs index 35da49cccbb..f14fa9a3b18 100644 --- a/benches/benches/bind_groups.rs +++ b/benches/benches/bind_groups.rs @@ -62,6 +62,15 @@ impl BindGroupState { fn run_bench(ctx: &mut Criterion) { let state = Lazy::new(BindGroupState::new); + if !state + .device_state + .device + .features() + .contains(wgpu::Features::TEXTURE_BINDING_ARRAY) + { + return; + } + let mut group = ctx.benchmark_group("Bind Group Creation"); for count in [5, 50, 500, 5_000, 50_000] {