From 86190052f55b17c44f36237ab8cc03248bd33a90 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 2 Dec 2026 22:15:13 -0800 Subject: [PATCH] Versions: semantics 2331, artifact format 604, runtime 2556 for a texture buffer read through a sampler by its words SEMANTICS_VERSION 2330 -> 2331: a read through a sampler of a texture buffer held as words is built by the words (the sampler's addressing, the words' width and the border texel by code), and no texture buffer access records RuntimeFact::TexelBufferOwnView, which goes. ARTIFACT_FORMAT_VERSION 603 -> 604: RuntimeFact loses the TexelBufferOwnView variant (cache/codec.rs). RUNTIME_VERSION 2555 -> 2556: the runtime no longer refuses a draw or dispatch that binds a texture buffer held as words where an own-view access reaches it (Gap::TexelBufferOwnView and its plumbing go). runtime-sources.sha256 holds the inputs' new hash (device/mechanism.rs, an input, loses the fact's mechanism row), computed as the build script computes it (the same computation gives development 13d511cfe9's committed a929dd9581...). --- crates/metal2vulkan-validation/runtime-sources.sha256 | 2 +- crates/metal2vulkan/src/cache/mod.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/metal2vulkan-validation/runtime-sources.sha256 b/crates/metal2vulkan-validation/runtime-sources.sha256 index 66fb83a3e..eb8a10f3e 100644 --- a/crates/metal2vulkan-validation/runtime-sources.sha256 +++ b/crates/metal2vulkan-validation/runtime-sources.sha256 @@ -1 +1 @@ -a929dd95813d84f82e989f3dc609f3bed474758acd171a608eb79bea1dd9ed73 +70aa1707cdc380e729db68214c801bfc9b8ce6ddb7837f6a7f1e2d13edf9a1ed diff --git a/crates/metal2vulkan/src/cache/mod.rs b/crates/metal2vulkan/src/cache/mod.rs index f37779137..32c1ad13b 100644 --- a/crates/metal2vulkan/src/cache/mod.rs +++ b/crates/metal2vulkan/src/cache/mod.rs @@ -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 = 2330; +pub const SEMANTICS_VERSION: u32 = 2331; /// 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 = 2330; /// 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 = 603; +pub const ARTIFACT_FORMAT_VERSION: u32 = 604; /// 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 @@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 603; /// 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 = 2555; +pub const RUNTIME_VERSION: u32 = 2556; /// Writes a digest as lowercase hex. pub(crate) fn write_hex(f: &mut fmt::Formatter<'_>, name: &str, hash: &Hash256) -> fmt::Result {