mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
Adjust metal workgroup limits
This commit is contained in:
parent
d77dfb8c00
commit
e610c71f13
|
@ -164,9 +164,12 @@ impl MtlInstance {
|
||||||
has_descriptor_indexing: false,
|
has_descriptor_indexing: false,
|
||||||
has_subgroups: false,
|
has_subgroups: false,
|
||||||
subgroup_size: None,
|
subgroup_size: None,
|
||||||
|
// The workgroup limits are taken from the minimum of a desktop installation;
|
||||||
|
// we don't support iOS right now, but in case of testing on those devices it might
|
||||||
|
// need to change these (or just queried properly).
|
||||||
workgroup_limits: WorkgroupLimits {
|
workgroup_limits: WorkgroupLimits {
|
||||||
max_size: [512, 512, 512],
|
max_size: [1024, 1024, 64],
|
||||||
max_invocations: 512,
|
max_invocations: 1024,
|
||||||
},
|
},
|
||||||
has_memory_model: false,
|
has_memory_model: false,
|
||||||
use_staging_buffers,
|
use_staging_buffers,
|
||||||
|
|
Loading…
Reference in a new issue