Skip to content

Commit c9971a6

Browse files
committed
Fix final issues on my mac
1 parent bc8af1e commit c9971a6

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • tests/tests/wgpu-gpu/texture_format

tests/tests/wgpu-gpu/texture_format/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,11 @@ fn smoke_storage_bind(
629629
array_layer_count: Option<u32>,
630630
access: wgpu::StorageTextureAccess,
631631
) {
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+
}
632637
let bgl = ctx
633638
.device
634639
.create_bind_group_layout(&wgpu::BindGroupLayoutDescriptor {

0 commit comments

Comments
 (0)