mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
metal: detect BC texture support on iOS (#9656)
This commit is contained in:
1 parent
c402c1cae0
commit
98a70621f2
2 files changed
+5
-1
No files matched your search
@@ -245,6 +245,7 @@ By @beholdnec in [#8505](https://github.com/gfx-rs/wgpu/pull/8505).
|
||||
|
||||
#### Metal
|
||||
|
||||
- Detect BC texture support on newer iOS, tvOS, and visionOS devices. By @bmisiak in [#9656](https://github.com/gfx-rs/wgpu/pull/9656).
|
||||
- Fix crash on fence creation when running in a MacOS Seatbelt sandbox. By @wumpf in [#9415](https://github.com/gfx-rs/wgpu/pull/9415)
|
||||
- Improved command buffer completion handling. By @39ali in [#9328](https://github.com/gfx-rs/wgpu/pull/9328).
|
||||
- Wait using a condition variable, instead of polling.
|
||||
|
||||
@@ -745,7 +745,10 @@ impl super::CapabilitiesQuery {
|
||||
1
|
||||
},
|
||||
format_b5: os_type != super::OsType::Macos,
|
||||
format_bc: os_type == super::OsType::Macos,
|
||||
format_bc: os_type == super::OsType::Macos
|
||||
|| (available!(macos = 11.0, ios = 16.4, tvos = 16.4, visionos = 1.0)
|
||||
&& device_class_responds_to(device, sel!(supportsBCTextureCompression))
|
||||
&& device.supportsBCTextureCompression()),
|
||||
format_eac_etc: os_type != super::OsType::Macos
|
||||
// M1 in macOS supports EAC/ETC2
|
||||
|| (family_check && device.supportsFamily(MTLGPUFamily::Apple7)),
|
||||
|
||||
Reference in new issue
Block a user