mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Fix max_task_workgroup_count limit checking for Apple2 instead of Apple7 (#10065)
This commit is contained in:
1 parent
32e58ebd59
commit
8a15a9caef
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user