SEMANTICS_VERSION 2013, RUNTIME_VERSION 2001 and the pin for Metal 4.1 reads through a sampler
What: the fifteen commits before this one (exitcrash, steelbrain/readoffset 3514ac3e7a): Metal 4.1 read(sampler, coord[, offset][, lod]) builds for every constexpr sampler state, a runtime [[sampler(n)]] (SamplerWord::READ_STATE) and an argument buffer's sampler, with the border texel a new spec (SpecKey::BorderTexels, set by the binder from the bound texture's format and swizzle). The M3's measured rules: the level is the read's under a mip filter, else 0; a level or layer past the texture reads zero; border modes read the border texel through the swizzle, edge modes clamp; a texture buffer's index past its end reads the border texel where t is a border mode, else texel 0, except a runtime sampler whose s is clamp_to_edge clamps. Still refused (typed): an argument buffer's texture read through an opaque border or a runtime sampler (no handle room for its border texels). Known gap recorded: an argument buffer's swizzled texture through a transparent-black border reads (0,0,0,0) where Metal reads (0,0,1,0). SEMANTICS 2013 (the branch's 2012 collided with deadrog's), ARTIFACT_FORMAT 499 (two encoded variants), RUNTIME_VERSION 2000 -> 2001 (the runtime's sampler words and binder). The pin follows. Verified (exitcrash): new conformance family read_through, 13 cases recorded on the M3; M3 MoltenVK replay REPLAY_RC 0 (job 13305), lavapipe replay REPLAY_RC 0 (13302; 96 of its 98 ledger rows are llvmpipe's unorm conversion, one ulp); negative control at base: all 13 refused (13272); Linux core 5352/5353 (the 38 golden rows, re-blessed next), conformance 1034/1034; clippy plain/m2v_gpu/m2v_cpu_icd and rustdoc clean (13303). Generators and api-signatures --check unchanged at landing.
This commit is contained in:
1 parent
848c072b8f
commit
3257c8886c
2 files changed
+3
-3
No files matched your search
@@ -1 +1 @@
|
||||
2719afd5a565f169573a2bd346bcf8bdd246d226c44b18eb851a26d8d9dd5253
|
||||
91f3369d556d14b86a76e507084ea37521b1edce091f90acf2c8f0df3de34404
|
||||
Vendored
+2
-2
@@ -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 = 2012;
|
||||
pub const SEMANTICS_VERSION: u32 = 2013;
|
||||
|
||||
/// The byte-layout version of encoded artifacts (`CompiledFunction::to_bytes` and the
|
||||
/// [`PipelineArtifact`] encodings). Every encoded artifact carries it, and a decode under another
|
||||
@@ -93,7 +93,7 @@ pub const ARTIFACT_FORMAT_VERSION: u32 = 499;
|
||||
/// 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 = 2000;
|
||||
pub const RUNTIME_VERSION: u32 = 2001;
|
||||
|
||||
/// 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
|
||||
|
||||
Reference in new issue
Block a user