Files
metal2vulkan/docs
Anees Iqbal efe9581bcf Map maxArgumentBufferSamplerCount in the porting guide
What: docs/RUNTIME-PORTING.md gets a table for the consumer's IdentityCaps
(MTLDevice identity and size answers) with one row:
sizes.max_argument_buffer_sampler_count, Metal's
maxArgumentBufferSamplerCount, maps to
DeviceProperties::max_argument_buffer_sampler_count. The row gives the
derivation (one fewer than the smaller of a set-1 sampler array's elements,
pipeline::heap_sampler_capacity, and maxSamplerAllocationCount) and marks
it partial: 65535 on MoltenVK on an M3 Max, where Metal answers 500000.

Why: the samplercount work added the property without a row here, so a port
had no entry for the selector. The Item name is the consumer seam's field
(reims-vgpu-core platform/caps.rs, IdentitySizes, on its current branches).

Docs only. Checked against capabilities.rs (the field's rustdoc) and
docs/API.md's accepted differences, which give the same derivation and
values.

(cherry picked from commit 866e5ab81bfee7ebcc521975a7c277d00ac20378)
2026-11-05 21:13:10 -08:00
..