Declare the interlocked split in the sRGB fetch-ordered rows too

fetch-ordered-bgra8unorm-srgb and fetch-ordered-rgba8unorm-srgb are
srgb_fetch.rs's rows, not fetch_ordered.rs's. The M3 replay at
60c5eba469 (m3-max-5506) still read them divergent at case/notices for
the undeclared render-pass-split. Their draws fetch in the pixel
interlock one after another as the other rows' do.

Verified: cargo fmt. The M3 replay follows.
(cherry picked from commit 4675844caafa41cc7565f706273cc218db97250f)
This commit is contained in:
Anees Iqbal committed 2026-11-07 15:37:40 -08:00
1 parent a18add5a86
commit b50a345f73
2 files changed
+4 -1

No files matched your search

@@ -231,6 +231,9 @@ impl Case for SrgbFetch {
// The buffer each pass reads its target back through is `Shared`
// ([`crate::replay::shared_memory_notice`]).
crate::replay::shared_memory_notice(),
// Each draw after the first fetches in the pixel interlock what the one before
// wrote there ([`crate::replay::interlocked_split_notice`]).
crate::replay::interlocked_split_notice(),
])
.collect()
}
@@ -378,7 +378,7 @@ pub fn shared_memory_notice() -> crate::allowance::Allowance {
/// [`notice_allowance`] it loosens the notices site alone: every value still compares exactly.
///
/// **Its evidence.** Measured on the M3 Max (MoltenVK 1.4.2, macOS 27.0.1): it fired for every row
/// of `fetch-ordered-*`, `xr-gamut-*`, `xr-masked-*` whose second draw blends or writes a
/// of `fetch-ordered-*` (its sRGB rows among them), `xr-gamut-*`, `xr-masked-*` whose second draw blends or writes a
/// `BGR10_XR` word under a mask, and `xr-gradient-*-blended-*`, the families that name it.
pub fn interlocked_split_notice() -> crate::allowance::Allowance {
notice_allowance(metal2vulkan_runtime::Degradation::RenderPassSplit.code())