RUNTIME_VERSION 1951 and the runtime-sources pin for the in-place check's own queue

The three commits before this are radvruns' fix for a bug reims hit at pin 27 on Iris: the guest's texture
reservation handed out IDs 1..15 twice.
- Cause: the in-place check's command queue went through queue_place as a program's queue. It made the texture
  pool and took the device sampler, so a reservation after it kept the pool's first range (Metal's first-queue
  rule), and a sampler reservation after it was ignored. The race goes to the check on Iris, where more check
  classes run.
- Fix: the check's queue is now made by Device::own_command_queue_now, and each queue records whom it was made for
  (MadeFor). Only a program's queue makes the pool or takes the device sampler, including the place a recovery
  re-makes.
The ID answers change, which a stored runtime artifact can see. RUNTIME_VERSION goes 1949 -> 1951, skipping 1950,
which pin 27b (67f9922c3c plus this fix, a separate branch) takes so that no two trees share a number. The
runtime-sources pin is recomputed: e9c0cdabf11dcf274fa1cf9271b9fdc71fddcaa659d3912c2e7e56bbcb095e17.

Verified at the tip ca36de998a by radvruns:
- M3 MoltenVK 11102: clippy under m2v_gpu and m2v_cpu_icd 0; in_place_check, resource_ids, numbered_samplers,
  reserved_queues, queue*, device_recovery and caller_queue_writes 72/72.
- 11099 at cdc84aff87: plain clippy 0, runtime suite 1357/1357.
- lavapipe 11103: 73/73.
- The new test, with the check's render queue made before the reservation: textures took 65..96, samplers 18..25,
  0 late lines.
- Negative control (base queue.rs and in_place_check.rs): 4/4 runs fail; textures took 1..15 inside the
  reservation, samplers 2..9, 1 late line.
Still to run: RADV PHOENIX. The cherry-pick onto 3dad05d1cb was clean; this tree is not yet built. api-signatures
--check, refusal-surface and conformance-coverage leave the docs unchanged.
This commit is contained in:
Anees Iqbal committed 2026-11-08 23:38:09 -08:00
1 parent 9a5efd9e3a
commit a1b2bb1907
2 files changed
+2 -2

No files matched your search

@@ -1 +1 @@
19dd0107e3c354befc4b67ce969ca4cdfbe494dcb5f10e8fecb9833a3f44ba81
e9c0cdabf11dcf274fa1cf9271b9fdc71fddcaa659d3912c2e7e56bbcb095e17
+1 -1
View File
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 496;
/// 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 = 1949;
pub const RUNTIME_VERSION: u32 = 1951;
/// 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