Skip to content

Commit 89d7ca4

Browse files
committed
check for MTLTextureType.type2DMultisampleArray support
1 parent 95e2e3f commit 89d7ca4

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

wgpu-hal/src/metal/adapter.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,13 +1084,8 @@ impl super::CapabilitiesQuery {
10841084

10851085
supports_multisample_array: {
10861086
//https://developer.apple.com/documentation/metal/mtltexturetype/type2dmultisamplearray
1087-
// According to Metal Feature Set Tables:
1088-
// Multisample 2D Array textures are supported on:
1089-
// - Apple Family 3 and higher (A10 chips/iPhone 7 and newer)
1090-
// - Mac Family 1 and higher (All Intel/AMD/Apple Silicon Macs)
10911087
if available!(macos = 10.14, ios = 14.0, tvos = 16.0, visionos = 1.0) {
1092-
device.supportsFamily(MTLGPUFamily::Apple3)
1093-
|| device.supportsFamily(MTLGPUFamily::Mac1)
1088+
true
10941089
} else {
10951090
false
10961091
}

0 commit comments

Comments
 (0)