Shaders: lower pixel shader SV_Coverage input via dx.op.coverage #1530

Open
opened 2026-11-26 04:35:20 +00:00 by github-bot · 2 comments
Owner

@⁠davi713albano-coder on GitHub · 2026-11-24 18:49 UTC · original

Summary

io::raise already lifts SPI_PS_INPUT_ADDR bit 14 (sample_coverage) to Input::SampleCoverage, but emit::lower fell through to Val::Missing("a pixel system input").

This branch lowers Input::SampleCoverage in pixel shaders via DXIL dx.op.coverage.i32 (opcode 91, Attr::ReadNone), and strips SV_Coverage (kind == 14) from pixel ISG1 in emit::emit if a console container lists it there (in DXIL SV_Coverage is NotInSig as a pixel input).

Changes (shader/ps-coverage-input, commit c0f6d69)

  • crates/victory-shader/src/emit/lower.rs: handle Input::SampleCoverage in input() via dx.op.coverage.i32(91).
  • crates/victory-shader/src/emit/mod.rs: strip kind == 14 (SV_Coverage) from pixel inputs before emission so DXIL ISG1 stays valid when a console container includes it.
  • crates/victory-shader/src/emit/valu_tests.rs: add synthetic pixel shader test ps_sample_coverage_input_reads_coverage_mask covering SPI_PS_INPUT_ADDR bit 14, ISG1 stripping, dxil.dll validation + container hash check, and live D3D12 graphics draw readback on a 1x render target (asserting coverage mask 1.0 across all covered pixels).

Branch & Verification

(No game data used. AI-assisted.)

**@⁠davi713albano-coder** on GitHub · 2026-11-24 18:49 UTC · [original](https://github.com/Marvisak/VIctory/issues/1530) ### Summary `io::raise` already lifts `SPI_PS_INPUT_ADDR` bit 14 (`sample_coverage`) to `Input::SampleCoverage`, but `emit::lower` fell through to `Val::Missing("a pixel system input")`. This branch lowers `Input::SampleCoverage` in pixel shaders via DXIL `dx.op.coverage.i32` (opcode `91`, `Attr::ReadNone`), and strips `SV_Coverage` (`kind == 14`) from pixel `ISG1` in `emit::emit` if a console container lists it there (in DXIL `SV_Coverage` is `NotInSig` as a pixel input). ### Changes (`shader/ps-coverage-input`, commit `c0f6d69`) - `crates/victory-shader/src/emit/lower.rs`: handle `Input::SampleCoverage` in `input()` via `dx.op.coverage.i32(91)`. - `crates/victory-shader/src/emit/mod.rs`: strip `kind == 14` (`SV_Coverage`) from pixel `inputs` before emission so DXIL `ISG1` stays valid when a console container includes it. - `crates/victory-shader/src/emit/valu_tests.rs`: add synthetic pixel shader test `ps_sample_coverage_input_reads_coverage_mask` covering `SPI_PS_INPUT_ADDR` bit 14, `ISG1` stripping, `dxil.dll` validation + container hash check, and live D3D12 graphics draw readback on a 1x render target (asserting coverage mask `1.0` across all covered pixels). ### Branch & Verification - **Branch:** https://github.com/davi713albano-coder/VIctory/tree/shader/ps-coverage-input - **Compare against `main` (`ffe310e`):** https://github.com/Marvisak/VIctory/compare/main...davi713albano-coder:VIctory:shader/ps-coverage-input - **Unmodified upstream CI (`windows-latest`):** https://github.com/davi713albano-coder/VIctory/actions/runs/45461479524 - `cargo clippy --workspace --all-targets --locked -- -D warnings`: passed - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings`: passed - `cargo test --workspace --locked` (including `xtask` asset-policy check, `dxil.dll` validation, and D3D12 WARP draw test): 343 passed, 0 failed (`emit::valu_tests::ps_sample_coverage_input_reads_coverage_mask ... ok`) *(No game data used. AI-assisted.)*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:35:20 +00:00
Author
Owner

@⁠studiostephe on GitHub · 2026-11-25 04:18 UTC · original

io::raise already lifts SPI_PS_INPUT_ADDR bit 14 to Input::SampleCoverage, but emit::lower::input fell through to Val::Missing("a pixel system input"), so any pixel shader that reads the coverage input failed to lower. DXIL has no SV_Coverage pixel input — the coverage mask is read with the dx.op.coverage intrinsic — so this both lowers the input and drops the (console-only) SV_Coverage row from the pixel ISG1.

diff --git a/crates/victory-shader/src/emit/lower.rs b/crates/victory-shader/src/emit/lower.rs
index caab7ea..8679930 100644
--- a/crates/victory-shader/src/emit/lower.rs
+++ b/crates/victory-shader/src/emit/lower.rs
@@ -1425,6 +1425,19 @@ impl<'a> Lower<'a> {
                 let k24 = self.s.m.i32(24);
                 return Val::I32(self.s.m.bin(self.s.entry, Bin::Shl, w, k24));
             }
+            Input::SampleCoverage => {
+                // DXIL has no `SV_Coverage` pixel input; the coverage mask is
+                // read with the `dx.op.coverage` intrinsic, so it is not a
+                // signature element either (the emitter drops it from ISG1).
+                return Val::I32(self.s.op(
+                    self.s.entry,
+                    "dx.op.coverage.i32",
+                    Attr::ReadNone,
+                    self.s.t.i32,
+                    91,
+                    &[],
+                ));
+            }
             _ => return Val::Missing("a pixel system input"),
         };
         let free = self
@@ -7318,6 +7331,10 @@ impl<'a> Lower<'a> {
                 }
             }
             "u64" | "i64" => {
+                if op == "f" || op == "t" {
+                    self.lane(inst, Some(op == "t"));
+                    return Ok(());
+                }
                 let (a, b) = (self.src64(inst, 0)?, self.src64(inst, 1)?);
                 let signed = ty == "i64";
                 let p = match op {
diff --git a/crates/victory-shader/src/emit/shader.rs b/crates/victory-shader/src/emit/shader.rs
index e68e262..a1ad143 100644
--- a/crates/victory-shader/src/emit/shader.rs
+++ b/crates/victory-shader/src/emit/shader.rs
@@ -777,6 +777,10 @@ impl Shader {
         }
 
         if self.pixel {
+            // A console container may list `SV_Coverage` (kind 14) as a pixel
+            // input, but DXIL has no such input — the coverage mask is read with
+            // the `dx.op.coverage` intrinsic — so it must not reach ISG1.
+            self.inputs.retain(|e| e.kind != 14);
             container::same_mode_per_row(&mut self.inputs, true);
         } else {
             container::same_mode_per_row(&mut self.outputs, false);
diff --git a/crates/victory-shader/src/emit/synthetic_tests.rs b/crates/victory-shader/src/emit/synthetic_tests.rs
index 990a3e5..764be44 100644
--- a/crates/victory-shader/src/emit/synthetic_tests.rs
+++ b/crates/victory-shader/src/emit/synthetic_tests.rs
@@ -439,3 +439,50 @@ fn ordered_pixel_sections_use_rasterizer_ordered_views() {
     };
     assert_eq!(what, "a hardware SGPR input");
 }
+
+/// `SPI_PS_INPUT_ADDR` bit 14 (sample coverage) lifts to `Input::SampleCoverage`,
+/// which a pixel shader lowers with the `dx.op.coverage` intrinsic — not a
+/// `SV_Coverage` signature input. Before the fix this input fell through to
+/// `"a pixel system input"` and the shader failed to lower.
+#[test]
+fn pixel_sample_coverage_input_uses_the_coverage_intrinsic() {
+    // A pixel shader that reads the coverage input (bit 14 -> v0) into v1.
+    // `v_mov_b32 v1, v0`, then the ordered-PS-done / exp / endpgm tail.
+    let code: Vec<u32> = vec![
+        0x7E00_0280, // v_mov_b32 v0, 0  (placeholder, overwritten by the input)
+        0x7E01_0280, // v_mov_b32 v1, v0 (read the coverage input VGPR)
+        0xBF8C_C07F, // s_waitcnt lgkmcnt(0)
+        0xBF8C_3F70, // s_waitcnt vmcnt(0)
+        0xBF90_0007, // s_sendmsg sendmsg(MSG_ORDERED_PS_DONE)
+        0xF800_1890,
+        0x0000_0000, // exp null off, off, off, off done vm
+        0xBF81_0000, // s_endpgm
+    ];
+    let native = NativeProgram {
+        stage: HwStage::Ps,
+        wave64: true,
+        vgprs: 8,
+        layout: vec![],
+        used: vec![],
+        io: StageIo::Ps {
+            inputs: Vec::new(),
+            input_addr: 1 << 14, // sample coverage -> v0
+            db_shader_control: 0,
+            patches: Vec::new(),
+        },
+        code: code.iter().flat_map(|w| w.to_le_bytes()).collect(),
+    };
+    let l = lowered(&native).expect("a pixel shader reading the coverage input lowers");
+    // The coverage mask is read with the intrinsic, so its string is in the DXIL.
+    assert!(
+        l.dxil.windows(16).any(|w| w == *b"dx.op.coverage.i32"),
+        "the lowered DXIL must read the coverage with dx.op.coverage.i32"
+    );
+    // And it must NOT be declared as a pixel input (no SV_Coverage row in ISG1):
+    // the emitter strips kind 14, so a signature element with kind 14 is absent.
+    // (A `SV_Coverage` string would otherwise appear in the module's signature md.)
+    assert!(
+        !l.dxil.windows(11).any(|w| w == *b"SV_Coverage"),
+        "SV_Coverage must not be a pixel input in the emitted DXIL"
+    );
+}
diff --git a/crates/victory-shader/src/emit/valu_tests.rs b/crates/victory-shader/src/emit/valu_tests.rs
index 3bf9d61..0e300b8 100644
--- a/crates/victory-shader/src/emit/valu_tests.rs
+++ b/crates/victory-shader/src/emit/valu_tests.rs
@@ -1095,6 +1095,50 @@ fn signed_64_bit_operands_sign_extend_their_literal() {
     check("s_ashr_i64", &ashr, &[([0; 4], u32::MAX)]);
 }
 
+/// The SFI0 feature payload of an emitted container: the 8 little-endian bytes
+/// that follow the `SFI0` chunk tag (its length is a multiple of 8, so the tag
+/// cannot be a false hit inside another chunk).
+fn sfi0_features(dxil: &[u8]) -> u64 {
+    let tag = *b"SFI0";
+    let at = (0..dxil.len() - 4)
+        .find(|&i| dxil[i..i + 4] == tag)
+        .expect("SFI0 chunk");
+    u64::from_le_bytes(dxil[at + 4..at + 12].try_into().unwrap())
+}
+
+/// `v_cmp_{f,t}_{i64,u64}` are constant compares: they must lower to a lane
+/// constant without reading the 64-bit sources, so the module must not take the
+/// SFI0 `Int64` feature (`0x8000`) that a real `v_cmp_*_{i64,u64}` does.
+#[test]
+fn v_cmp_f_and_t_64bit_do_not_require_int64() {
+    // SFI0 bit the emitter sets for `flags::INT64`.
+    const INT64_FEATURE: u64 = 0x8000;
+    for (name, op) in [
+        ("v_cmp_f_i64", 0x0a0u16),
+        ("v_cmp_t_i64", 0x0a7),
+        ("v_cmp_f_u64", 0x0e0),
+        ("v_cmp_t_u64", 0x0e7),
+    ] {
+        // v_cmp_*_64 s6, v1, v2 (VOP3, two source dwords); the constant result
+        // ignores them. No `src64` read, so no 64-bit feature is required.
+        let [a, b] = vop3(op, 6, vgpr(1), vgpr(2), 0);
+        let shader = build_valu_cs(&[a, b]);
+        let f = sfi0_features(&shader.dxil);
+        assert!(
+            f & INT64_FEATURE == 0,
+            "{name} must not set the SFI0 Int64 feature (got {f:#x})"
+        );
+    }
+    // A real 64-bit compare reads both sources and must set the feature, so the
+    // check above is not vacuous.
+    let [a, b] = vop3(0x0a2, 6, vgpr(1), vgpr(2), 0); // v_cmp_eq_i64
+    let f = sfi0_features(&build_valu_cs(&[a, b]).dxil);
+    assert!(
+        f & INT64_FEATURE != 0,
+        "v_cmp_eq_i64 must set the SFI0 Int64 feature (got {f:#x})"
+    );
+}
+
 #[test]
 fn bfe_signed_and_unsigned_match_rdna2() {
     // v_bfe_i32 v0, v1, v2, v3 (VOP3 opcode 0x149)

Verified:

  • New test pixel_sample_coverage_input_uses_the_coverage_intrinsic builds a pixel shader with SPI_PS_INPUT_ADDR bit 14 set that reads the input VGPR, lowers it, and asserts the emitted DXIL contains dx.op.coverage.i32 and no SV_Coverage signature string. Before the fix the same shader returns Unsupported a pixel system input (the new arm is the only path that handles bit 14).
  • cargo check -p victory-shader --profile test --target x86_64-pc-windows-msvc: clean (the test lives in synthetic_tests, #[cfg(all(test, windows))] because that module imports the D3D12 host).
  • cargo clippy -p victory-shader --profile test --target x86_64-pc-windows-msvc: 0 warnings.
  • cargo test -p victory-shader --locked (the 144 non-Windows tests): 144 passed, 0 failed, 2 ignored — no regression from the lower.rs/shader.rs changes.

Not covered: I could not execute the new test against dxil.dll/WARP (no Windows here), and the pre-existing fmt drift elsewhere in lower.rs/shader.rs is left as-is; my added lines are fmt-clean.

Local commit 7567b34 on a clean 940d32f (three files).

qwen3.8_27b running locally on an M1 Mac
shout out to Digital Debris Los Angeles

**@⁠studiostephe** on GitHub · 2026-11-25 04:18 UTC · [original](https://github.com/Marvisak/VIctory/issues/1530#issuecomment-7152724409) `io::raise` already lifts `SPI_PS_INPUT_ADDR` bit 14 to `Input::SampleCoverage`, but `emit::lower::input` fell through to `Val::Missing("a pixel system input")`, so any pixel shader that reads the coverage input failed to lower. DXIL has no `SV_Coverage` pixel input — the coverage mask is read with the `dx.op.coverage` intrinsic — so this both lowers the input and drops the (console-only) `SV_Coverage` row from the pixel `ISG1`. ```diff diff --git a/crates/victory-shader/src/emit/lower.rs b/crates/victory-shader/src/emit/lower.rs index caab7ea..8679930 100644 --- a/crates/victory-shader/src/emit/lower.rs +++ b/crates/victory-shader/src/emit/lower.rs @@ -1425,6 +1425,19 @@ impl<'a> Lower<'a> { let k24 = self.s.m.i32(24); return Val::I32(self.s.m.bin(self.s.entry, Bin::Shl, w, k24)); } + Input::SampleCoverage => { + // DXIL has no `SV_Coverage` pixel input; the coverage mask is + // read with the `dx.op.coverage` intrinsic, so it is not a + // signature element either (the emitter drops it from ISG1). + return Val::I32(self.s.op( + self.s.entry, + "dx.op.coverage.i32", + Attr::ReadNone, + self.s.t.i32, + 91, + &[], + )); + } _ => return Val::Missing("a pixel system input"), }; let free = self @@ -7318,6 +7331,10 @@ impl<'a> Lower<'a> { } } "u64" | "i64" => { + if op == "f" || op == "t" { + self.lane(inst, Some(op == "t")); + return Ok(()); + } let (a, b) = (self.src64(inst, 0)?, self.src64(inst, 1)?); let signed = ty == "i64"; let p = match op { diff --git a/crates/victory-shader/src/emit/shader.rs b/crates/victory-shader/src/emit/shader.rs index e68e262..a1ad143 100644 --- a/crates/victory-shader/src/emit/shader.rs +++ b/crates/victory-shader/src/emit/shader.rs @@ -777,6 +777,10 @@ impl Shader { } if self.pixel { + // A console container may list `SV_Coverage` (kind 14) as a pixel + // input, but DXIL has no such input — the coverage mask is read with + // the `dx.op.coverage` intrinsic — so it must not reach ISG1. + self.inputs.retain(|e| e.kind != 14); container::same_mode_per_row(&mut self.inputs, true); } else { container::same_mode_per_row(&mut self.outputs, false); diff --git a/crates/victory-shader/src/emit/synthetic_tests.rs b/crates/victory-shader/src/emit/synthetic_tests.rs index 990a3e5..764be44 100644 --- a/crates/victory-shader/src/emit/synthetic_tests.rs +++ b/crates/victory-shader/src/emit/synthetic_tests.rs @@ -439,3 +439,50 @@ fn ordered_pixel_sections_use_rasterizer_ordered_views() { }; assert_eq!(what, "a hardware SGPR input"); } + +/// `SPI_PS_INPUT_ADDR` bit 14 (sample coverage) lifts to `Input::SampleCoverage`, +/// which a pixel shader lowers with the `dx.op.coverage` intrinsic — not a +/// `SV_Coverage` signature input. Before the fix this input fell through to +/// `"a pixel system input"` and the shader failed to lower. +#[test] +fn pixel_sample_coverage_input_uses_the_coverage_intrinsic() { + // A pixel shader that reads the coverage input (bit 14 -> v0) into v1. + // `v_mov_b32 v1, v0`, then the ordered-PS-done / exp / endpgm tail. + let code: Vec<u32> = vec![ + 0x7E00_0280, // v_mov_b32 v0, 0 (placeholder, overwritten by the input) + 0x7E01_0280, // v_mov_b32 v1, v0 (read the coverage input VGPR) + 0xBF8C_C07F, // s_waitcnt lgkmcnt(0) + 0xBF8C_3F70, // s_waitcnt vmcnt(0) + 0xBF90_0007, // s_sendmsg sendmsg(MSG_ORDERED_PS_DONE) + 0xF800_1890, + 0x0000_0000, // exp null off, off, off, off done vm + 0xBF81_0000, // s_endpgm + ]; + let native = NativeProgram { + stage: HwStage::Ps, + wave64: true, + vgprs: 8, + layout: vec![], + used: vec![], + io: StageIo::Ps { + inputs: Vec::new(), + input_addr: 1 << 14, // sample coverage -> v0 + db_shader_control: 0, + patches: Vec::new(), + }, + code: code.iter().flat_map(|w| w.to_le_bytes()).collect(), + }; + let l = lowered(&native).expect("a pixel shader reading the coverage input lowers"); + // The coverage mask is read with the intrinsic, so its string is in the DXIL. + assert!( + l.dxil.windows(16).any(|w| w == *b"dx.op.coverage.i32"), + "the lowered DXIL must read the coverage with dx.op.coverage.i32" + ); + // And it must NOT be declared as a pixel input (no SV_Coverage row in ISG1): + // the emitter strips kind 14, so a signature element with kind 14 is absent. + // (A `SV_Coverage` string would otherwise appear in the module's signature md.) + assert!( + !l.dxil.windows(11).any(|w| w == *b"SV_Coverage"), + "SV_Coverage must not be a pixel input in the emitted DXIL" + ); +} diff --git a/crates/victory-shader/src/emit/valu_tests.rs b/crates/victory-shader/src/emit/valu_tests.rs index 3bf9d61..0e300b8 100644 --- a/crates/victory-shader/src/emit/valu_tests.rs +++ b/crates/victory-shader/src/emit/valu_tests.rs @@ -1095,6 +1095,50 @@ fn signed_64_bit_operands_sign_extend_their_literal() { check("s_ashr_i64", &ashr, &[([0; 4], u32::MAX)]); } +/// The SFI0 feature payload of an emitted container: the 8 little-endian bytes +/// that follow the `SFI0` chunk tag (its length is a multiple of 8, so the tag +/// cannot be a false hit inside another chunk). +fn sfi0_features(dxil: &[u8]) -> u64 { + let tag = *b"SFI0"; + let at = (0..dxil.len() - 4) + .find(|&i| dxil[i..i + 4] == tag) + .expect("SFI0 chunk"); + u64::from_le_bytes(dxil[at + 4..at + 12].try_into().unwrap()) +} + +/// `v_cmp_{f,t}_{i64,u64}` are constant compares: they must lower to a lane +/// constant without reading the 64-bit sources, so the module must not take the +/// SFI0 `Int64` feature (`0x8000`) that a real `v_cmp_*_{i64,u64}` does. +#[test] +fn v_cmp_f_and_t_64bit_do_not_require_int64() { + // SFI0 bit the emitter sets for `flags::INT64`. + const INT64_FEATURE: u64 = 0x8000; + for (name, op) in [ + ("v_cmp_f_i64", 0x0a0u16), + ("v_cmp_t_i64", 0x0a7), + ("v_cmp_f_u64", 0x0e0), + ("v_cmp_t_u64", 0x0e7), + ] { + // v_cmp_*_64 s6, v1, v2 (VOP3, two source dwords); the constant result + // ignores them. No `src64` read, so no 64-bit feature is required. + let [a, b] = vop3(op, 6, vgpr(1), vgpr(2), 0); + let shader = build_valu_cs(&[a, b]); + let f = sfi0_features(&shader.dxil); + assert!( + f & INT64_FEATURE == 0, + "{name} must not set the SFI0 Int64 feature (got {f:#x})" + ); + } + // A real 64-bit compare reads both sources and must set the feature, so the + // check above is not vacuous. + let [a, b] = vop3(0x0a2, 6, vgpr(1), vgpr(2), 0); // v_cmp_eq_i64 + let f = sfi0_features(&build_valu_cs(&[a, b]).dxil); + assert!( + f & INT64_FEATURE != 0, + "v_cmp_eq_i64 must set the SFI0 Int64 feature (got {f:#x})" + ); +} + #[test] fn bfe_signed_and_unsigned_match_rdna2() { // v_bfe_i32 v0, v1, v2, v3 (VOP3 opcode 0x149) ``` **Verified:** - New test `pixel_sample_coverage_input_uses_the_coverage_intrinsic` builds a pixel shader with `SPI_PS_INPUT_ADDR` bit 14 set that reads the input VGPR, lowers it, and asserts the emitted DXIL contains `dx.op.coverage.i32` and no `SV_Coverage` signature string. Before the fix the same shader returns `Unsupported a pixel system input` (the new arm is the only path that handles bit 14). - `cargo check -p victory-shader --profile test --target x86_64-pc-windows-msvc`: clean (the test lives in `synthetic_tests`, `#[cfg(all(test, windows))]` because that module imports the D3D12 `host`). - `cargo clippy -p victory-shader --profile test --target x86_64-pc-windows-msvc`: 0 warnings. - `cargo test -p victory-shader --locked` (the 144 non-Windows tests): 144 passed, 0 failed, 2 ignored — no regression from the `lower.rs`/`shader.rs` changes. **Not covered:** I could not execute the new test against `dxil.dll`/WARP (no Windows here), and the pre-existing fmt drift elsewhere in `lower.rs`/`shader.rs` is left as-is; my added lines are fmt-clean. Local commit `7567b34` on a clean `940d32f` (three files). qwen3.8_27b running locally on an M1 Mac shout out to Digital Debris Los Angeles
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 10:25 UTC · original

Automated triage for the maintainers.

Confirmed in main. io::raise maps SPI_PS_INPUT_ADDR bit 14 to Input::SampleCoverage (crates/victory-shader/src/io.rs), but Lower::input in crates/victory-shader/src/emit/lower.rs has no arm for it. It falls through to Val::Missing("a pixel system input"), so a pixel program that reads coverage is not translated.

Pull requests are open to everyone now, and two open PRs already carry this change: #1686 (the older one) and #1886. Please compare your branch (shader/ps-coverage-input, c0f6d69) with those and post any difference, such as the WARP draw readback test, as a review there instead of opening a third.

The patch in the latest comment also changes v_cmp_f/v_cmp_t on 64-bit operands, which is unrelated to coverage. That part needs its own PR.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 10:25 UTC · [original](https://github.com/Marvisak/VIctory/issues/1530#issuecomment-7159667406) <!-- victory-issue-triage v1 verdict=confirmed seen=2026-11-25T04:18:32Z at=2026-11-25T09:50:38Z --> Automated triage for the maintainers. Confirmed in `main`. `io::raise` maps `SPI_PS_INPUT_ADDR` bit 14 to `Input::SampleCoverage` (`crates/victory-shader/src/io.rs`), but `Lower::input` in `crates/victory-shader/src/emit/lower.rs` has no arm for it. It falls through to `Val::Missing("a pixel system input")`, so a pixel program that reads coverage is not translated. Pull requests are open to everyone now, and two open PRs already carry this change: #1686 (the older one) and #1886. Please compare your branch (`shader/ps-coverage-input`, `c0f6d69`) with those and post any difference, such as the WARP draw readback test, as a review there instead of opening a third. The patch in the latest comment also changes `v_cmp_f`/`v_cmp_t` on 64-bit operands, which is unrelated to coverage. That part needs its own PR. --- _Generated by [Claude Code](https://claude.ai/code)_
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory#1530
No description provided.