1 parent bc8af1e commit c9971a6Copy full SHA for c9971a6
1 file changed
tests/tests/wgpu-gpu/texture_format/mod.rs
@@ -629,6 +629,11 @@ fn smoke_storage_bind(
629
array_layer_count: Option<u32>,
630
access: wgpu::StorageTextureAccess,
631
) {
632
+ // Storage textures are color-only; a whole-image view of a combined
633
+ // depth/stencil format has both aspects, which can't be a storage binding.
634
+ if format.has_depth_aspect() || format.has_stencil_aspect() {
635
+ return;
636
+ }
637
let bgl = ctx
638
.device
639
.create_bind_group_layout(&wgpu::BindGroupLayoutDescriptor {
0 commit comments