Fix max_task_workgroup_count limit checking for Apple2 instead of Apple7 (#10065)

This commit is contained in:
Inner Daemons authored and GitHub committed 2026-08-14 05:31:11 -04:00
1 parent 32e58ebd59
commit 8a15a9caef
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ Bottom level categories:
#### Metal
- Fix Naga's Metal backend crashing when a storage texture was used as a function argument. By @ErichDonGubler in [#9867](https://github.com/gfx-rs/wgpu/pull/9867).
- Fix `max_task_workgroup_count` being misreported on pre-Apple7 devices. By @inner-daemons in [#10065](https://github.com/gfx-rs/wgpu/pull/10065).
#### GLES
+1 -1
View File
@@ -1134,7 +1134,7 @@ impl super::CapabilitiesQuery {
// https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf#page=4
mesh_shaders,
max_task_workgroup_count: if mesh_shaders
&& (metal4 || device.supportsFamily(MTLGPUFamily::Apple2))
&& (metal4 || device.supportsFamily(MTLGPUFamily::Apple7))
{
u32::MAX
} else if mesh_shaders {