RUNTIME_VERSION 1963, the runtime-sources pin and REFUSALS.md for the opaque-fd block split

radvruns' split (43 commits, its fd-blocks-2 branch at dd5e698bff): on a unified device's system
heap, runtime buffers lie in blocks exportable as opaque fds once the device's in-place check
takes them, and buffers that declare their padding unobserved stay in plain blocks. On the 780M
this removes the submit stall behind the kernel's lock (0 turnarounds of 8 ms or more against
11-12; the lock wait 305 -> 2.6 ms). A buffer's making no longer starts the in-place check
(289b04fae4); kept room serves the runtime's own pools first (916073fc37); blocks made ahead stop
at the allocation margin left to the objects (dd5e698bff). REFUSALS.md: BufferLength gains the
pooled_check_buffer site. The runtime changed, so RUNTIME_VERSION 1963.

Verified (radvruns) at dd5e698bff: PHOENIX (um790, release, gpucfg) host_ram_device 22/22, the
seven earlier-red modules 47/47, the full runtime suite 1963/1963 and 1962/1963 (completion_order's
timing test once; base comparison 11395 against tip 11394 running); M3 clippy plain/m2v_gpu/
m2v_cpu_icd and rustdoc clean, runtime 1367/1367, m2v_gpu set 168/168. Open: Iris
in_place_check::the_in_place_check_takes_no_range_of_the_metal_space failed at dccbb9d3d7 (base
vs tip 11363/11364 pending). Here: the API-signature check, REFUSALS.md and
CONFORMANCE-COVERAGE.md regenerated, cargo fmt clean.
This commit is contained in:
Anees Iqbal committed 2026-11-09 01:45:34 -08:00
1 parent fc60379c1f
commit 92202c5eaf
3 files changed
+4 -4

No files matched your search

@@ -1 +1 @@
37495dbfeaaf0f4b44a55768bf7d14194916f95e15b92f439f54a4d2cfc6e483
8ec5397d7d8d12cc8a5389587e2c2da0696389c40d61dc69940d0bcda2022aed
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 497;
/// changes no behaviour, and then updates that hash alone with the commit saying why, or changes
/// behaviour and also bumps this version. The commit that bumps it says what changed; this comment
/// keeps no history.
pub const RUNTIME_VERSION: u32 = 1962;
pub const RUNTIME_VERSION: u32 = 1963;
/// The digest of the sources this build of the crate was compiled from: SHA-256, as lowercase hex,
/// of the manifest, the build script, and exactly the files the crate roots' module tree compiles
+2 -2
View File
@@ -348,7 +348,7 @@ Columns:
| `ImageblockSize` | An imageblock size of more than 1024 cells over more than one row and column, or with a side past 65536, at a compute encoder's... | every device (a public call's own check of its arguments) | `unknown`: plain Metal is held to run the compute form, and the indirect form rests on Metal's API validation; neither measured on a named device | 3: `crates/metal2vulkan-runtime/src/compute.rs (imageblock_size, 2 sites)`, `crates/metal2vulkan-runtime/src/compute.rs (validated_imageblock_size)` | `-` |
| `EmptyThreadgroup` | A tile dispatch's threadgroup with no threads along an axis (a compute dispatch of one runs nothing, as plain Metal's) | every device (a public call's own check of its arguments) | `unknown`: Metal's answer for a tile dispatch of no threads along an axis is unmeasured | 1: `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs (dispatch_tiles_resident)` | `-` |
| `SizeOutOfRange` | A size past what the call can state | every device (a public call's own check of its arguments) | `unknown`: Metal's answer for a tile dispatch's or mesh draw's axis past 32 bits is unmeasured | 2: `crates/metal2vulkan-runtime/src/render/mesh.rs`, `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs (dispatch_tiles_resident)` | `-` |
| `BufferLength` | A buffer of no bytes, or more than the device can hold in one | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max: newBufferWithLength:0 answers nil | 12: `crates/metal2vulkan-runtime/src/buffer.rs (buffer_of_length)`, `crates/metal2vulkan-runtime/src/buffer.rs (fresh_pages_check_buffer)` (+9) | `-` |
| `BufferLength` | A buffer of no bytes, or more than the device can hold in one | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max: newBufferWithLength:0 answers nil | 13: `crates/metal2vulkan-runtime/src/buffer.rs (buffer_of_length)`, `crates/metal2vulkan-runtime/src/buffer.rs (fresh_pages_check_buffer)` (+10) | `-` |
| `UndefinedValue` | A raw value Metal does not define for this type | every device (a public call's own check of its arguments) | `metal-takes`: an Apple M3 Max: setPurgeableState:99, a value MTLPurgeableState does not define, answers 2, and neither plain Metal nor its API validation refuses it | 8: `crates/metal2vulkan-runtime/src/attributes.rs (from_raw)`, `crates/metal2vulkan-runtime/src/degradation.rs (refuse_private_bit)` (+5) | `-` |
| `StorageMode` | A storage mode this call does not take (`Memoryless` for a buffer, for one) | every device (a public call's own check of its arguments) | `metal-measured`: an Apple M3 Max: a buffer of the Memoryless mode asserts "Invalid storageMode", the API validation layer off | 15: `crates/metal2vulkan-runtime/src/argument_encoder.rs (target)`, `crates/metal2vulkan-runtime/src/buffer.rs (buffer_class)` (+13) | `-` |
| `HandlerAfterCommit` | A handler added after the command buffer was committed | every device (a public call's own check of its arguments) | `metal-documented`: Metal asserts "Completed handler provided after commit call" | 5: `crates/metal2vulkan-runtime/src/command_buffer/mod.rs (add_completed_handler)`, `crates/metal2vulkan-runtime/src/command_buffer/mod.rs (add_completion_seen_handler)` (+3) | `-` |
@@ -834,7 +834,7 @@ Each refusal's sites, with the function that builds it.
- `invalid::ImageblockSize`: `crates/metal2vulkan-runtime/src/compute.rs (imageblock_size, 2 sites)`; `crates/metal2vulkan-runtime/src/compute.rs (validated_imageblock_size)`
- `invalid::EmptyThreadgroup`: `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs (dispatch_tiles_resident)`
- `invalid::SizeOutOfRange`: `crates/metal2vulkan-runtime/src/render/mesh.rs`; `crates/metal2vulkan-runtime/src/render/tile_dispatch.rs (dispatch_tiles_resident)`
- `invalid::BufferLength`: `crates/metal2vulkan-runtime/src/buffer.rs (buffer_of_length)`; `crates/metal2vulkan-runtime/src/buffer.rs (fresh_pages_check_buffer)`; `crates/metal2vulkan-runtime/src/buffer.rs (placed_new_buffer)`; `crates/metal2vulkan-runtime/src/buffer.rs (unzeroed_buffer_with)`; `crates/metal2vulkan-runtime/src/buffer_descriptor.rs (buffer_over_host_memory)`; `crates/metal2vulkan-runtime/src/buffer_descriptor.rs (copied_buffer)`; `crates/metal2vulkan-runtime/src/buffer_descriptor.rs (host_window)`; `crates/metal2vulkan-runtime/src/exported_memory.rs (exportable_buffer, 2 sites)`; `crates/metal2vulkan-runtime/src/heap.rs (check_length)`; `crates/metal2vulkan-runtime/src/heap.rs (new_buffer)`; `crates/metal2vulkan-runtime/src/wrapped_buffer.rs (new_buffer_with_vk_buffer)`
- `invalid::BufferLength`: `crates/metal2vulkan-runtime/src/buffer.rs (buffer_of_length)`; `crates/metal2vulkan-runtime/src/buffer.rs (fresh_pages_check_buffer)`; `crates/metal2vulkan-runtime/src/buffer.rs (placed_new_buffer)`; `crates/metal2vulkan-runtime/src/buffer.rs (pooled_check_buffer)`; `crates/metal2vulkan-runtime/src/buffer.rs (unzeroed_buffer_with)`; `crates/metal2vulkan-runtime/src/buffer_descriptor.rs (buffer_over_host_memory)`; `crates/metal2vulkan-runtime/src/buffer_descriptor.rs (copied_buffer)`; `crates/metal2vulkan-runtime/src/buffer_descriptor.rs (host_window)`; `crates/metal2vulkan-runtime/src/exported_memory.rs (exportable_buffer, 2 sites)`; `crates/metal2vulkan-runtime/src/heap.rs (check_length)`; `crates/metal2vulkan-runtime/src/heap.rs (new_buffer)`; `crates/metal2vulkan-runtime/src/wrapped_buffer.rs (new_buffer_with_vk_buffer)`
- `invalid::UndefinedValue`: `crates/metal2vulkan-runtime/src/attributes.rs (from_raw)`; `crates/metal2vulkan-runtime/src/degradation.rs (refuse_private_bit)`; `crates/metal2vulkan-runtime/src/heap.rs (from_raw)`; `crates/metal2vulkan-runtime/src/render_values.rs (undefined)`; `crates/metal2vulkan-runtime/src/sparse/mod.rs (undefined)`; `crates/metal2vulkan-runtime/src/values.rs (undefined)`; `crates/metal2vulkan-runtime/src/visibility.rs (from_raw, 2 sites)`
- `invalid::StorageMode`: `crates/metal2vulkan-runtime/src/argument_encoder.rs (target)`; `crates/metal2vulkan-runtime/src/buffer.rs (buffer_class)`; `crates/metal2vulkan-runtime/src/buffer_descriptor.rs (buffer_over_host_memory)`; `crates/metal2vulkan-runtime/src/heap.rs (heap_with_token)`; `crates/metal2vulkan-runtime/src/heap.rs (new_sparse_heap)`; `crates/metal2vulkan-runtime/src/heap.rs (no_copy_heap_with_token)`; `crates/metal2vulkan-runtime/src/indirect_command_buffer.rs (new_indirect_command_buffer_now)`; `crates/metal2vulkan-runtime/src/rate_map.rs (copy_parameter_data_to_buffer)`; `crates/metal2vulkan-runtime/src/texture.rs (check_viewable)`; `crates/metal2vulkan-runtime/src/texture.rs (host_copy)`; `crates/metal2vulkan-runtime/src/texture/heap.rs (heap_layout)`; `crates/metal2vulkan-runtime/src/texture/shared.rs (new_shared_texture_now)`; `crates/metal2vulkan-runtime/src/texture/wrapped.rs (new_texture_with_vk_image)`; `crates/metal2vulkan-runtime/src/texture/wrapped.rs (new_texture_with_vk_image_plane)`; `crates/metal2vulkan-runtime/src/wrapped_buffer.rs (new_buffer_with_vk_buffer)`
- `invalid::HandlerAfterCommit`: `crates/metal2vulkan-runtime/src/command_buffer/mod.rs (add_completed_handler)`; `crates/metal2vulkan-runtime/src/command_buffer/mod.rs (add_completion_seen_handler)`; `crates/metal2vulkan-runtime/src/command_buffer/mod.rs (add_scheduled_handler)`; `crates/metal2vulkan-runtime/src/command_buffer/mod.rs (add_submission_handler)`; `crates/metal2vulkan-runtime/src/executed_commands.rs (add_executed_commands_handler)`