From fcf1219b03eba9b92ea2dbc6e4d8bfa2e3224a94 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 10 Nov 2026 02:05:40 -0800 Subject: [PATCH] Runtime lane: the heap decode's stage-note test takes the plan through its adjust a_heap_decode_s_stage_note_is_announced_where_its_command_can_name_a_raw_texture landed after the queue limits' discovery run. Its two dispatches each make a command queue (dispatch_with), so at the lane's limits its second command queue shares the round robin's one VkQueue where the plan gives it its own, and the device says so (metal2vulkan-queue-limits-reached), which fails the test. Its adjust closure now ends in at_plan, as the module's other dispatching tests' do. The other lane tests landed since the discovery run (color_groups' dead-read scene, framebuffer_fetch's dead_reads) draw on their lane's one command queue. Verified on the RTX 5080 Laptop GPU (NVIDIA's manifest alone, --cfg m2v_gpu): heap_extended_reads, color_groups and framebuffer_fetch::dead_reads, 12/12, no limits' message. Without the at_plan line, the test fails on the message ("the program's command queue 2 on a round robin of 1 VkQueue(s)"). The Radeon 780M passes it either way: its plan gives a second command queue no VkQueue of its own, so only the 5080 shows the difference. (cherry picked from commit a5c7e5184ba2cdbc157f019f32142351fbdff4e9) --- .../src/runtime_lane/heap_extended_reads.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/metal2vulkan-validation/src/runtime_lane/heap_extended_reads.rs b/crates/metal2vulkan-validation/src/runtime_lane/heap_extended_reads.rs index c976b20c1..4136270f2 100644 --- a/crates/metal2vulkan-validation/src/runtime_lane/heap_extended_reads.rs +++ b/crates/metal2vulkan-validation/src/runtime_lane/heap_extended_reads.rs @@ -890,6 +890,7 @@ fn a_heap_decode_s_stage_note_is_announced_where_its_command_can_name_a_raw_text let pack = Degradation::DevicePackConversion; let each = |options: &mut DeviceOptions| { options.announce_each = [pack].into_iter().collect(); + at_plan(options); }; on_device_with(each, |device, messages| { let stage = stage_notes(device, true, Texel::Float);