forge
Explore
Log in

Don't you dare go Hollow

The sb128 CfL gate retires enable-cfl-intra from both coverage lists

Browse files at this commit

52a7f38828c2e3f77c76d0b56f0e8d82d8b86879Ahmet Kaan GümüşParent: 516d68b
  • test
    • the sb128 CfL gate retires enable-cfl-intra from both coverage lists
Show full message
test(av1): the sb128 CfL gate retires enable-cfl-intra from both coverage lists

The gate passes --enable-cfl-intra=1 at 8 and 10 bits, so both
NEVER_EXERCISED lists drop it. covers_both_depths also learns the
'for depth in [8usize, 10]' spelling: such a gate builds both streams from one
recipe, but its yuv420p10le arm made is_ten_bit classify it 10-bit only.
crates/ec-av1/src/gate_coverage.rsmodified+8 -9
@@ -148,10 +148,9 @@ const ALIASES: &[(&str, &str)] = &[("superres-mode", "enable-superres")];
148 /// depth retires the entry, and this test fails until it is deleted.148 /// depth retires the entry, and this test fails until it is deleted.
149 #[cfg(test)]149 #[cfg(test)]
150 const NEVER_EXERCISED_8BIT: &[(&str, &str)] = &[150 const NEVER_EXERCISED_8BIT: &[(&str, &str)] = &[
151- (151+ // `enable-cfl-intra` LEFT both lists on 2026-09-02 (lane-reelckf r1): the
152- "enable-cfl-intra",152+ // sb128 skipped-CfL / 1:4-chroma gate passes `--enable-cfl-intra=1` at 8
153- "off in 41 gates, on in none: chroma-from-luma prediction is unimplemented",153+ // AND 10 bits and pixel-compares both arms.
154- ),
155 (154 (
156 "enable-dist-wtd-comp",155 "enable-dist-wtd-comp",
157 "off in 11 gates, on in none: distance-weighted compound is unimplemented",156 "off in 11 gates, on in none: distance-weighted compound is unimplemented",
@@ -206,10 +205,6 @@ const NEVER_EXERCISED_10BIT: &[(&str, &str)] = &[ // lane-cwarp's 10-bit comp
206 // gate passes `=1` for both. `enable-1to4-partitions` left it on 2026-09-02:205 // gate passes `=1` for both. `enable-1to4-partitions` left it on 2026-09-02:
207 // lane-tx64x16 r4's 32-level 1:4 gate has a 10-bit arm that asserts both206 // lane-tx64x16 r4's 32-level 1:4 gate has a 10-bit arm that asserts both
208 // orientations and coded strips inside pixel-exact attempts.207 // orientations and coded strips inside pixel-exact attempts.
209- (
210- "enable-cfl-intra",
211- "hole at both depths, see the 8-bit list",
212- ),
213 (208 (
214 "enable-dual-filter",209 "enable-dual-filter",
215 "hole at both depths, see the 8-bit list",210 "hole at both depths, see the 8-bit list",
@@ -416,8 +411,12 @@ mod tests {
416 /// an 8-bit and a 10-bit stream from one recipe, so its flags cover both411 /// an 8-bit and a 10-bit stream from one recipe, so its flags cover both
417 /// depths -- classifying it by the 10-bit strings inside its conditional412 /// depths -- classifying it by the 10-bit strings inside its conditional
418 /// alone hid `--enable-tx-size-search=1` from the 8-bit list.413 /// alone hid `--enable-tx-size-search=1` from the 8-bit list.
414+ /// lane-reelckf r1: the same blind spot with the other spelling -- a gate
415+ /// that loops `for depth in [8usize, 10]` builds BOTH streams from one
416+ /// recipe, but its `yuv420p10le` arm made `is_ten_bit` classify it as
417+ /// 10-bit only, hiding `--enable-cfl-intra=1` from the 8-bit list.
419 fn covers_both_depths(body: &str) -> bool {418 fn covers_both_depths(body: &str) -> bool {
420- body.contains("if bit_depth == 10")419+ body.contains("if bit_depth == 10") || body.contains("for depth in [8usize, 10]")
421 }420 }
422 421
423 /// Whether a gate body drives a stream at this depth.422 /// Whether a gate body drives a stream at this depth.