Files
metal2vulkan/crates/metal2vulkan-runtime/src
Anees Iqbal 2c8a34a79e Test: recorded_at_the_call counts fills once the device's queue-switch check ended
What: a_fill_is_recorded_at_its_call waits for the device's queue-switch check
(settle_queue_switch_check, 120 s) after making its command queue and before it counts, as the
other tests that read commands_recorded do (fill_waits, fill_queue, draw_again).

Why: the test's expectation went stale at RUNTIME_VERSION 2089 (24f233db8b). The check's rounds
now open their gate on the GPU with a vkCmdFillBuffer of the check's scratch buffer, recorded on
the check's thread, and WorkCounts::commands_recorded counts every command of the device whatever
the thread (its contract). The test counts all of the device's fills, so a check whose opening was
recorded between the test's fill and its commit read as "the fill recorded again": the RTX 5080's
runtime suite at pin 45 (m3-max-19738) saw 1 at the call and 2 after the commit.

Verified on the RTX 5080 Laptop GPU (NVIDIA 615.71.09), b5080 batch m3-max-19866, with a scratch
probe that counts the device's fills from before its first command queue until its check settled,
the program recording none: 0 at pin 44 (bf442ceb9e + the probe) and 1 at development 9768c1b352
(+ the probe), the check's verdict Idles at both. In that batch this commit's test passed (fills 1
at the call, 1 after the commit). The failure itself needs the check's recording to land inside
the test's window (it did under the suite's load); the unsettled test passed alone in the batch,
as it did in the other devices' suites.
2026-11-12 01:32:26 -08:00
..
…
…
…
…
…