SEMANTICS_VERSION 2001, RUNTIME_VERSION 1958 and the runtime-sources pin for storage-form color inputs read once
The commit before this is sweep's fix of the coverage_chain red on the M3. - Cause: a discarding fill uses its fetched coverage twice, once for the discard test and once for the colour. Its body read the raster-ordered storage image, branched on the value, fenced, and read it again. Under GPU load on the M3 the second read loses the colour output in 8x4 blocks. - Fix: a storage-form colour input is read once, before the body (fragment::emit_entry, EmitCx::fetched), and every use takes that texel, which is Metal's semantics (the function gets one value of the attachment). - Translation changes on the interlock profiles (MoltenVK, RADV, ANV), so SEMANTICS_VERSION goes 2000 -> 2001. RUNTIME_VERSION goes 1957 -> 1958 with it, and the runtime-sources pin is recomputed: see crates/metal2vulkan-validation/runtime-sources.sha256. - The golden tables are re-blessed on development. Verified at the tip 3917662cbb (ondf79c0a7df) by sweep, M3 MoltenVK 1.4.2 job 11274: - coverage_chain A/B, 120 runs each under runtime-suite load: development's lowering failed 15, the tip 0. - translator fragment, imageblock, helper-thread and fetch tests 149/149 with MSL compiles. - lanes framebuffer_fetch, interlocked_draw_order, view_attachments, imageblock and runtime fetch 121/121. The new test tests::engine_fragment::a_fetched_color_is_read_once_before_the_body asserts one read in the first block on every interlock profile. Still to run: gem10 11275 (clippy, rustdoc, the suite, and the test failing against development's lowering), and the XTX and 780M fetch lanes. The cherry-pick ontob60bab13e4was clean; this tree is not yet built.
This commit is contained in:
1 parent
0c3eb77a5d
commit
67650c36a5
1 file changed
+2
-2
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 = 2000;
|
||||
pub const SEMANTICS_VERSION: u32 = 2001;
|
||||
|
||||
/// 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 = 497;
|
||||
/// 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 = 1957;
|
||||
pub const RUNTIME_VERSION: u32 = 1958;
|
||||
|
||||
/// 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