Files
metal2vulkan/crates
Anees Iqbal e22ca6d46a Runtime lane: alone_batches and joined_completions' two-queue test take their queue plan
Both tests failed on the RTX 5080 Laptop GPU's validation leg (596d917dfe round) at
layer_claim.rs:293 with the runtime's `metal2vulkan-queue-limits-reached`: "the program's
command queue 2 on a round robin of 1 VkQueue(s), took VkQueue 0, which another took, where the
plan's 14 give it one of its own".

The lane makes its devices under `LANE_QUEUE_LIMITS` (one round-robin VkQueue). Its documented
rule (runtime_lane.rs, `LANE_QUEUE_LIMITS`) is that this notice fails the run, and that a test
whose work places a second command queue, or an unshared one, makes its device with its plan
through its own adjust (`at_plan`). Neither test did:
- `alone_batches::a_batch_that_goes_alone_is_counted_once_by_why` (3a0e4b35a2, 25c7f896f9) uses
  `first`, `queue` and an unshared queue.
- `joined_completions::an_unmarked_command_buffer_is_seen_complete_at_its_own_end` (c9bad0206e)
  uses `queue` and `aside`.
Only a device whose families have queues to spare (NVIDIA's 16) is affected, because elsewhere
the limits leave the plan as it is. Neither test had run on NVIDIA before this round.

The fix is the existing rule, one rule for both: each test's adjust calls `at_plan`. Our notice
stays a failure in the lane, as the lane's queue-limit contract says.

Verified: the 5080 run of this commit (named in the tip report).
2026-11-16 16:31:42 -08:00
..