Bump RUNTIME_VERSION to 1839: the in-place check's fresh-pages class lies in fresh pages wherever the device takes them

amdperf-22 (the six picked commits before this): Device::fresh_pages_check_buffer makes the
check's fresh pages whatever the import tax, so RADV checks the class (Passed x3 on the 780M,
m3-max-5640; Unchecked x3 at the parent, 5648), and a copied rebind under an image in place
takes fresh pages where they passed (copied_device 29/29 780M, 33/33 lavapipe, 5667).
CHECK_VERSION 4. Re-pinned; signatures and REFUSALS unchanged. Clippy plain and m2v_gpu
(5701), fast_paths 21/21 (5687).
This commit is contained in:
Anees Iqbal committed 2026-11-07 16:25:43 -08:00
1 parent dfa56df28b
commit ff631aada9
3 files changed
+4 -4

No files matched your search

@@ -1 +1 @@
1b349a26518d5523ec940ac05451919ec9b1a097fd1bdd50a3898717568881c4
760e6097d8d49dae822884930116515b8af1cc6baeffee5ba0062f322c8268fa
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 493;
/// 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 = 1838;
pub const RUNTIME_VERSION: u32 = 1839;
/// 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
@@ -344,7 +344,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 | 10: `crates/metal2vulkan-runtime/src/buffer.rs (buffer_of_length)`, `crates/metal2vulkan-runtime/src/buffer.rs (placed_new_buffer)` (+8) | `-` |
| `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 | 11: `crates/metal2vulkan-runtime/src/buffer.rs (buffer_of_length)`, `crates/metal2vulkan-runtime/src/buffer.rs (fresh_pages_check_buffer)` (+9) | `-` |
| `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) | `-` |
@@ -823,7 +823,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 (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 (new_exportable_buffer)`; `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 (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 (new_exportable_buffer)`; `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)`; `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)`; `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)`