Translator: SEMANTICS_VERSION 2295 and ARTIFACT_FORMAT_VERSION 594 for storage levels under the identity domains

A storage slot written, read or size-queried at a run-time level under the identity domains was a
refusal (Unsupported{IdentityDomains}) and is a module since 0dec15d410, under the same key, so
cached translations of it are stale. The same commit adds PushField::TextureLevelBase to the cached
artifact's codec. Development holds SEMANTICS_VERSION 2294 and ARTIFACT_FORMAT_VERSION 593 at
17473a1a42: these are the next free numbers.

The form's cost on each card, once per device (a VM holds one), base against the written form,
arms alternated in one job per card, the validation layer off:
- RADV on the Radeon 780M (Mesa 26.2.6): Device::new +1,659 us (13,228 -> 14,887 us, +12.5%);
  device memory +2,097,152 B (65,536 x 32 B, in the DRM fdinfo totals and the memory budget), host
  heap +16 KB (job m3-max-71086).
- AMDVLK 2025.Q2.1 on the Radeon 780M: Device::new +293 us (3,352 -> 3,644 us); device memory
  +4,202,496 B in the DRM fdinfo totals, host heap +16 KB (job m3-max-71086).
- ANV on the Iris Xe (Mesa 26.2.6): Device::new +0.28 ms (8,114 -> 8,390 us, +3.4%); host heap
  +3,162,128 B (ANV's 48-byte host descriptor per element, allocated at pool creation), device
  memory +2,621,440 B in the DRM fdinfo totals, 0 in the memory budget (job m3-max-71073).
- NVIDIA 620.70.06 on the RTX 3090: Device::new +0.6% (99,187 -> 99,761 us); host heap +278,296 B,
  memory budget +0 (job m3-max-71091).
The dispatch loop per command buffer on the Iris Xe moved by at most 1.4% (job m3-max-71022).
This commit is contained in:
Anees Iqbal committed 2026-11-23 09:05:12 -08:00
1 parent cc4763d5d3
commit 0e51949ef1
1 file changed
+2 -2
+2 -2
View File
@@ -60,7 +60,7 @@ mod tests;
/// unchanged version, and its bless records the version. Independent of the crate's version and of
/// [`ARTIFACT_FORMAT_VERSION`]. The commit that bumps it says what changed; this comment keeps no
/// history.
pub const SEMANTICS_VERSION: u32 = 2294;
pub const SEMANTICS_VERSION: u32 = 2295;
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another
@@ -70,7 +70,7 @@ pub const SEMANTICS_VERSION: u32 = 2294;
/// re-typed in an encoded type, its `codec` body or its `envelope`. A variant removed while its tag
/// stays unused needs no bump: an entry holding it fails to decode, which is a miss. The commit that
/// bumps it says what changed; this comment keeps no history.
pub const ARTIFACT_FORMAT_VERSION: u32 = 593;
pub const ARTIFACT_FORMAT_VERSION: u32 = 594;
/// The version of what this crate gives a runtime for the runs of a compiled pipeline, beside the
/// compile: the device a run opens and what it enables, the Vulkan and Metal vocabularies a runtime