From ef720f94de5ad79ea6a5200941387a5b7f635f50 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Mon, 26 Oct 2026 03:56:26 +0200 Subject: [PATCH] Stop the rebound-use error naming a pending draw as unencodable The steps this packet landed as, in order: - Re-pin the runtime sources at the landing tip Content: the tree of `development` at 73bdf78b12, unchanged. --- crates/metal2vulkan-runtime/src/error.rs | 14 +++++++------- .../metal2vulkan-validation/runtime-sources.sha256 | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/metal2vulkan-runtime/src/error.rs b/crates/metal2vulkan-runtime/src/error.rs index 6d7c6c43b..3235fefcc 100644 --- a/crates/metal2vulkan-runtime/src/error.rs +++ b/crates/metal2vulkan-runtime/src/error.rs @@ -2068,13 +2068,13 @@ pub enum CommandBufferError { /// mapping update reads its buffer as it runs; a call refused at its encoding is refused /// again, and the calls after it run); this fails only an encoder that cannot be encoded /// again: one of a command buffer that used command predication; a render pass recorded later - /// (an indirect command buffer's execution, a draw whose pipeline was being made) or whose end - /// captured its draws' tile reach. Each of Metal's submissions holding such an encoder ran - /// nothing (the command buffer's split), every other ran, the event signals fired and the - /// handlers ran. What the command buffer's encoders made resident - /// (`use_resource`, `use_heap`) and what its commands reach unnamed follow the rebind as - /// Metal's do. The device announces the first (`Degradation::EncodedUseRebound`). A command - /// buffer submitted before the rebind keeps the old pages, as Metal's does. + /// (an indirect command buffer's execution) or whose end captured its draws' tile reach. Each + /// of Metal's submissions holding such an encoder ran nothing (the command buffer's split), + /// every other ran, the event signals fired and the handlers ran. What the command buffer's + /// encoders made resident (`use_resource`, `use_heap`) and what its commands reach unnamed + /// follow the rebind as Metal's do. The device announces the first + /// (`Degradation::EncodedUseRebound`). A command buffer submitted before the rebind keeps the + /// old pages, as Metal's does. EncodedUseRebound, /// A command of the command buffer used a buffer over the caller's host pages (a no-copy /// buffer, a heap over the caller's memory, or a buffer placed in one) that was detached diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 772c79927..87d6ed523 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -b29046b49de3f973efbc4d90bda1530646dab85756ed9d9f2b75dacc6038bd43 +fdea01aa44d71db46786af1322ed6c239ff983ee7e68d05f0490566f69792c12