Files
metal2vulkan/docs
Anees Iqbal c6901502d2 Prove max_buffer_length's heap bound in the lane: a buffer one byte past it is nil, one of it is made
The lane's a_buffer_past_max_buffer_length_is_nil prints the device's
max_buffer_length (MAX-BUFFER-LENGTH) and refuses a Shared and a Private
buffer one byte longer as Nil(new_buffer, BufferLength), as plain Metal
answers nil past maxBufferLength. The ignored
a_buffer_of_max_buffer_length_is_made_where_the_heap_bounds_it makes a
Private buffer of exactly max_buffer_length where the heap bound is below the
compile layer's answer (the RTX 5080 Laptop GPU's) and refuses one byte more;
it takes three quarters of the device's memory, so it runs only by name.

docs/API.md's accepted differences name the proxy: the largest DEVICE_LOCAL
heap stands for Metal's recommendedMaxWorkingSetSize, which Vulkan does not
report.

Verified: not yet built (potluck build queued).
(cherry picked from commit 77fc830057352d11837826a8bb181ebb9a6bac5b)
2026-11-05 05:10:58 -08:00
..