flowchart LR heap["D3D12 sampler heap
2048 distinct samplers"] --> ms["2048 unique Metal samplers
(created without an error)"] ms --> budget{"maxArgumentBufferSamplerCount
= 1024 on the M1 Max"} budget -->|"samplers 0–1022"| ok["read the right value ✔"] budget -->|"sampler 1023 and later"| bad["read 0 or unrelated values,
nothing logged ✘"]