Shaders: model 64-bit carry sums and f16 reductions in whole-wave sections #1568

Open
github-bot wants to merge 1 commit from github-bot/gh-1568 into main AGit
Owner

@⁠MartinIndra02 on GitHub · 2026-11-24 19:15 UTC · original
MartinIndra02:feat/shader-whole-wave-i64-f16 → main · +533 −8 · 3 files · 1 commits · open

Summary

Models two remaining whole-wave reduction patterns in crates/victory-shader/src/emit/wave.rs and lowers them in crates/victory-shader/src/emit/lower.rs:

  1. 64-bit unsigned wave sums (v_add_co_u32 + v_add_co_ci_u32)

    • Tracks per-lane carry-out masks from v_add_co_u32 keyed by the carry register SSA value(s) (v.carry) when both operands are disjoint Op::AddU reductions (identity 0) over the same (lo, mask) (or zero-carry identity 0 + x).
    • When v_add_co_ci_u32 consumes that exact carry SSA value and combines the matching disjoint lane sets over (hi, mask), records Sym::Red64Hi { lo, hi, mask, lanes }, which resolves to Shape::Active64Hi(lo, hi, mask) when all lanes are combined.
    • Lowers Shape::Active64Hi to dx.op.waveActiveOp.i64 (opcode 119, unsigned sum) with flags::WAVE_OPS | flags::INT64 and returns the high 32 bits (trunc(sum >> 32)). The low 32 bits already resolve to Shape::Active(Op::AddU, lo, mask, 0).
  2. 16-bit floating-point wave reductions (v_add_f16, v_min_f16, v_max_f16)

    • Adds Op::AddF16, Op::MinF16, Op::MaxF16 with IEEE binary16 identities (±0.0, +Inf, -Inf) and rejects non-zero v.opsel (high-half ops).
    • Lowers via dx.op.legacyF16ToF32 (opcode 131) → dx.op.waveActiveOp.f32 / dx.op.wavePrefixOp.f32 → dx.op.legacyF32ToF16 (opcode 130).

Verification

  • Synthetic unit & GPU hardware tests (RTX 3080, SM 6.6):
    • cargo test -p victory-shader --lib: 123/123 passed (including new tests whole_wave_u64_sum_carries_across_lanes, whole_wave_f16_sum_matches_rdna2, f16_op_identities_match_ieee_binary16, and Active64Hi coverage in prefixes_are_recognised).
    • cargo clippy --workspace -- -D warnings: clean (0 warnings).
    • cargo clippy --workspace --features diagnostics -- -D warnings: clean (0 warnings).
    • cargo clippy -p victory-shader --all-targets -- -D warnings: clean (0 warnings).
    • cargo xtask policy: 154 files ok.
  • Offline shader corpus A/B (aggregate counts only, no game data):
    • On main (ffe310e): eliminates all 64-bit carry-sum and f16 whole-wave refusals (emit: a whole-wave section step the simulation does not follow: 51 → 46, +5 compute shaders emitted).
    • Combined with #1198 + #308: takes the remaining 19 whole-wave refusals (17 ray-tracing compute shaders using 64-bit wave sums and 2 compute shaders using f16 wave sums) to 0 (19 → 0).

AI-assisted contribution (Antigravity); all code, tests, and hardware verification run and reviewed locally. Strictly adheres to docs/asset-policy.md.

**@⁠MartinIndra02** on GitHub · 2026-11-24 19:15 UTC · [original](https://github.com/Marvisak/VIctory/pull/1568) `MartinIndra02:feat/shader-whole-wave-i64-f16` → `main` · +533 −8 · 3 files · 1 commits · open ## Summary Models two remaining whole-wave reduction patterns in `crates/victory-shader/src/emit/wave.rs` and lowers them in `crates/victory-shader/src/emit/lower.rs`: 1. **64-bit unsigned wave sums (`v_add_co_u32` + `v_add_co_ci_u32`)** - Tracks per-lane carry-out masks from `v_add_co_u32` keyed by the carry register SSA value(s) (`v.carry`) when both operands are disjoint `Op::AddU` reductions (identity `0`) over the same `(lo, mask)` (or zero-carry identity `0 + x`). - When `v_add_co_ci_u32` consumes that exact carry SSA value and combines the matching disjoint lane sets over `(hi, mask)`, records `Sym::Red64Hi { lo, hi, mask, lanes }`, which resolves to `Shape::Active64Hi(lo, hi, mask)` when all lanes are combined. - Lowers `Shape::Active64Hi` to `dx.op.waveActiveOp.i64` (opcode 119, unsigned sum) with `flags::WAVE_OPS | flags::INT64` and returns the high 32 bits (`trunc(sum >> 32)`). The low 32 bits already resolve to `Shape::Active(Op::AddU, lo, mask, 0)`. 2. **16-bit floating-point wave reductions (`v_add_f16`, `v_min_f16`, `v_max_f16`)** - Adds `Op::AddF16`, `Op::MinF16`, `Op::MaxF16` with IEEE binary16 identities (`±0.0`, `+Inf`, `-Inf`) and rejects non-zero `v.opsel` (high-half ops). - Lowers via `dx.op.legacyF16ToF32` (opcode 131) → `dx.op.waveActiveOp.f32` / `dx.op.wavePrefixOp.f32` → `dx.op.legacyF32ToF16` (opcode 130). ## Verification - **Synthetic unit & GPU hardware tests (RTX 3080, SM 6.6):** - `cargo test -p victory-shader --lib`: **123/123 passed** (including new tests `whole_wave_u64_sum_carries_across_lanes`, `whole_wave_f16_sum_matches_rdna2`, `f16_op_identities_match_ieee_binary16`, and `Active64Hi` coverage in `prefixes_are_recognised`). - `cargo clippy --workspace -- -D warnings`: clean (0 warnings). - `cargo clippy --workspace --features diagnostics -- -D warnings`: clean (0 warnings). - `cargo clippy -p victory-shader --all-targets -- -D warnings`: clean (0 warnings). - `cargo xtask policy`: 154 files ok. - **Offline shader corpus A/B (aggregate counts only, no game data):** - On `main` (`ffe310e`): eliminates all 64-bit carry-sum and `f16` whole-wave refusals (`emit: a whole-wave section step the simulation does not follow`: `51 → 46`, `+5` compute shaders emitted). - Combined with `#1198` + `#308`: takes the remaining `19` whole-wave refusals (`17` ray-tracing compute shaders using 64-bit wave sums and `2` compute shaders using `f16` wave sums) to **`0`** (`19 → 0`). *AI-assisted contribution (Antigravity); all code, tests, and hardware verification run and reviewed locally. Strictly adheres to `docs/asset-policy.md`.*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:36:42 +00:00
Author
Owner

@⁠geiyiliyabumo on GitHub · 2026-11-24 19:36 UTC · original

Verified commit dde4577 on Windows 11 / AMD Radeon RX 9060 XT (RDNA4, gfx1200, SM 6.6) + WARP:

  • cargo test -p victory-shader --lib: 123 passed, 0 failed, 1 ignored (including the new whole-wave 64-bit carry sum and f16 reduction GPU tests).

AI-assisted; synthetic tests only, no game files.

**@⁠geiyiliyabumo** on GitHub · 2026-11-24 19:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/1568#issuecomment-7142342752) Verified commit `dde4577` on **Windows 11 / AMD Radeon RX 9060 XT (RDNA4, `gfx1200`, SM 6.6)** + **WARP**: - `cargo test -p victory-shader --lib`: **123 passed, 0 failed, 1 ignored** (including the new whole-wave 64-bit carry sum and f16 reduction GPU tests). *AI-assisted; synthetic tests only, no game files.*
Author
Owner

@⁠pablogonz12 on GitHub · 2026-11-24 23:32 UTC · original

Linux/AMD test report on the current main. Your branch no longer merges cleanly: git merge feat/shader-whole-wave-i64-f16 onto 70564ae0 conflicts in crates/victory-shader/src/emit/wave.rs (5 hunks: identity, counts, the Sym enum, the v_add_f16/v_add_co_u32 arms, and single()). I resolved them by keeping both sides and measured what came out.

Setup: CachyOS, Ryzen 9 9900X, AMD RX 9070 XT (RADV GFX1201, Mesa 26.3.1), Rust 1.98.1, cargo xwin (x86_64-pc-windows-msvc). Corpus: the 768 world/mesh programs I keep offline, translate → dxil-spirv master → spirv-val → real pipeline on RADV.

tree ok translate refused spirv-val refused
main 70564ae0 737 15 16
main + this branch (hand-merged) 712 40 16

Per stage on main: compute 440 ok / 14 translate, mesh 82, pixel 138 ok / 1 translate / 11 val, vertex 77. With this branch the only change is compute: 415 ok / 39 translate. All 25 extra refusals are a whole-wave section step the simulation does not follow, a class main translates today; the other refusal classes (a select on an untracked mask 8, lane-mask ones, descriptors) are identical to main.

I can't compare that with your ffe310e numbers without measuring there, and since I merged by hand it may well be my resolution: the ("v_add_co_u32", Some(a)) arm is tried before main's generic reduce arm, so lanes it cannot track become unknown instead of staying the plain reduction main lowers. A rebase and a re-run would settle it — I can repeat this measurement on the rebased branch, and on the 768 set any gain or loss is visible per stage.

Not tested: a game run, and native Windows (RTX 3080) where your own tests ran.

AI-assisted (Claude).

**@⁠pablogonz12** on GitHub · 2026-11-24 23:32 UTC · [original](https://github.com/Marvisak/VIctory/pull/1568#issuecomment-7147519499) Linux/AMD test report on the current main. Your branch no longer merges cleanly: `git merge feat/shader-whole-wave-i64-f16` onto `70564ae0` conflicts in `crates/victory-shader/src/emit/wave.rs` (5 hunks: `identity`, `counts`, the `Sym` enum, the `v_add_f16`/`v_add_co_u32` arms, and `single()`). I resolved them by keeping both sides and measured what came out. **Setup:** CachyOS, Ryzen 9 9900X, AMD RX 9070 XT (RADV GFX1201, Mesa 26.3.1), Rust 1.98.1, `cargo xwin` (x86_64-pc-windows-msvc). Corpus: the 768 world/mesh programs I keep offline, translate → dxil-spirv master → `spirv-val` → real pipeline on RADV. | tree | ok | translate refused | spirv-val refused | |---|---|---|---| | main `70564ae0` | 737 | 15 | 16 | | main + this branch (hand-merged) | 712 | 40 | 16 | Per stage on `main`: compute 440 ok / 14 translate, mesh 82, pixel 138 ok / 1 translate / 11 val, vertex 77. With this branch the only change is compute: 415 ok / 39 translate. All 25 extra refusals are `a whole-wave section step the simulation does not follow`, a class main translates today; the other refusal classes (`a select on an untracked mask` 8, lane-mask ones, descriptors) are identical to main. I can't compare that with your `ffe310e` numbers without measuring there, and since I merged by hand it may well be my resolution: the `("v_add_co_u32", Some(a))` arm is tried before main's generic reduce arm, so lanes it cannot track become unknown instead of staying the plain reduction main lowers. A rebase and a re-run would settle it — I can repeat this measurement on the rebased branch, and on the 768 set any gain or loss is visible per stage. Not tested: a game run, and native Windows (RTX 3080) where your own tests ran. AI-assisted (Claude).
Author
Owner

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

Automated triage for the maintainers.

Needs rebase. This pull request conflicts with main (conflicting: crates/victory-shader/src/emit/valu_tests.rs, crates/victory-shader/src/emit/wave.rs). It will be reviewed once it is rebased onto the current main.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/1568#issuecomment-7149634121) <!-- victory-triage v1 head=dde4577abe4e12a5f6d8e818e8196e2048577bad verdict=needs-rebase at=2026-11-25T01:30:58Z --> Automated triage for the maintainers. **Needs rebase.** This pull request conflicts with `main` (conflicting: `crates/victory-shader/src/emit/valu_tests.rs`, `crates/victory-shader/src/emit/wave.rs`). It will be reviewed once it is rebased onto the current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠loftymocha on GitHub · 2026-11-25 03:34 UTC · original

I tested the f16 whole-wave sum at this PR's head, dde4577abe4e12a5f6d8e818e8196e2048577bad, with a synthetic shader on an RTX 5070 (Windows 11, driver 32.0.16.1742). Inside a lane branch, the card's result equals one f32 sum converted to f16 once. The compiled pattern rounds after every v_add_f16, so the last bit can differ.

Active lanes (s0) RTX 5070 Reference, rounded after each v_add_f16 (computed in software) One f32 sum of the terms → f16 to nearest / toward zero
28 0x5135 0x5134 0x5135 / 0x5135
12 (confirmation) 0x4b31 0x4b30 0x4b31 / 0x4b31

Question: does this PR intend to keep the intermediate f16 rounding for this pattern, so that the result matches the compiled v_add_f16 tree bit for bit? Or is one rounded sum acceptable here? whole_wave_f16_sum_matches_rdna2 sums four equal values (4 × 1.5 and 4 × −1.0), which are exact, so it can't tell the two apart.

The test

A wave32 compute program with 32 threads. Thread t holds the f16 0x3c00 + 37·t (1.0 at t = 0 up to 0x407b at t = 31). Inside if (t < s0), the threads compute the wave sum with the compiler's idiom and store it:

s_or_saveexec_b32 s4, -1
v_cndmask_b32     v1, 0, v7, s4          ; +0 for lanes outside the branch
v_add_f16 v1, v1, v1 dpp8:[1,0,3,2,5,4,7,6]
v_add_f16 v1, v1, v1 dpp8:[2,2,0,0,6,6,4,4]
v_add_f16 v1, v1, v1 dpp8:[4,4,4,4,0,0,0,0]
v_add_f16 v1, v1, v1 row_mirror bound_ctrl:1
v_permlanex16_b32 v2, v1, 0, 0
v_add_f16 v1, v2, v1
v_readlane_b32    s7, v1, 0
s_mov_b32         exec_lo, s4

The reference follows that tree: lanes 2k and 2k+1, then pairs of pairs, and so on. Each addition rounds to nearest, ties to even. It is computed in software, not measured on a console.

  • 28 active lanes: the two 16-lane partial sums are 0x4d15 (20.328125) and 0x4d54 (21.3125). Their sum, 41.640625, lies exactly halfway between 0x5134 and 0x5135, and ties to even gives 0x5134. The exact sum of the 28 terms is 41.658203, which rounds to 0x5135 in either direction. The card returned 0x5135.
  • 12 active lanes (confirmation): the reference is 0x4b30 (14.375). The exact sum is 14.384766, which gives 0x4b31 in either direction. The card returned 0x4b31.

For these inputs, the f32 sum is exact whatever the order of addition. In both cases the card matches one rounded sum and not the per-addition tree.

A separate observation: the final conversion (32 active lanes)

This case says nothing about intermediate rounding: the reference and one sum rounded to nearest agree. The reference's last addition, 0x4d15 + 0x4f76 = 50.171875, is halfway between 0x5245 and 0x5246, and ties to even gives 0x5246. The exact sum, 50.185547, also rounds to 0x5246. The card returned 0x5245, which matches the one sum converted toward zero.

Active lanes RTX 5070 Reference (software) One f32 sum → nearest / toward zero
32 0x5245 0x5246 0x5246 / 0x5245

A wider run of the same program (31, 17, 16, 10 and 1 active lanes) had one more input where the two directions differ: at 16 lanes the card gave 0x4d15 (toward zero), against 0x4d16 to nearest. That's two inputs on one driver. I didn't isolate which instruction rounds this way.

Reproduce

Apply the patch below on dde4577. It only adds tests to crates/victory-shader/src/emit/valu_tests.rs. Then run:

cargo test -p victory-shader --lib f16_wave_sum_in_lane_branch_rounds_after_each_addition -- --nocapture --test-threads=1

The test prints one line per s0 (32, 28, 12) with the card value, the reference and the two one-sum conversions, then fails on the differences. pr1568_compare_f16_sum_inside_a_lane_branch only reports results: it runs more branch sizes and the 64-lane case below.

Patch (tests only, applies on dde4577)
diff --git a/crates/victory-shader/src/emit/valu_tests.rs b/crates/victory-shader/src/emit/valu_tests.rs
index a81d4c3..c085d20 100644
--- a/crates/victory-shader/src/emit/valu_tests.rs
+++ b/crates/victory-shader/src/emit/valu_tests.rs
@@ -1197,3 +1197,238 @@ fn whole_wave_f16_sum_matches_rdna2() {
         );
     });
 }
+
+// A whole-wave sum of 16-bit floats inside a lane branch (`if (t < s0)`), as the console
+// compiles it for 32-lane and 64-lane waves, run on the hardware device.
+
+/// v7 = 0x3c00 + 37 t (thread t; 1.0 and up, odd mantissas so that additions round).
+const TERM_V7: [u32; 6] = [
+    0x340C_0085, // v_lshlrev_b32 v6, 5, v0
+    0x340E_0082, // v_lshlrev_b32 v7, 2, v0
+    0x4A0E_0F06, // v_add_nc_u32 v7, v6, v7
+    0x4A0E_0F00, // v_add_nc_u32 v7, v0, v7
+    0x4A0E_0EFF,
+    0x0000_3C00, // v_add_nc_u32 v7, 0x3c00, v7
+];
+
+/// `if (t < s0) { s7 = WaveActiveSum(f16 v7); store s7 }`, as the console compiles it for
+/// 64-lane waves (`wave64`) or 32-lane waves.
+fn f16_sum_in_lane_branch(wave64: bool) -> Vec<u32> {
+    let mut w = TERM_V7.to_vec();
+    w.push(0x7D88_0000); // v_cmp_gt_u32 vcc, s0, v0
+    let sum: Vec<u32> = if wave64 {
+        w.push(0xBE8C_246A); // s_and_saveexec_b64 s[12:13], vcc
+        vec![
+            0xBE84_25C1, // s_or_saveexec_b64 s[4:5], -1
+            0xD501_0001, 0x0012_0E80, // v_cndmask_b32 v1, 0, v7, s[4:5]
+            0x6402_02E9, 0xDE54_C101, // v_add_f16 v1, v1, v1 dpp8:[1,0,3,2,5,4,7,6]
+            0x6402_02E9, 0x9360_1201, // v_add_f16 v1, v1, v1 dpp8:[2,2,0,0,6,6,4,4]
+            0x6402_02E9, 0x0009_2401, // v_add_f16 v1, v1, v1 dpp8:[4,4,4,4,0,0,0,0]
+            0x6402_02FA, 0xFF09_4001, // v_add_f16 v1, v1, v1 row_mirror bound_ctrl:1
+            0xD778_0002, 0x0201_0101, // v_permlanex16_b32 v2, v1, 0, 0
+            0x6402_0302, // v_add_f16 v1, v2, v1
+            0xD760_0007, 0x0001_4101, // v_readlane_b32 s7, v1, 32
+            0x6402_0207, // v_add_f16 v1, s7, v1
+            0xD760_0007, 0x0001_0101, // v_readlane_b32 s7, v1, 0
+            0xBEFE_0404, // s_mov_b64 exec, s[4:5]
+        ]
+    } else {
+        w.push(0xBE8C_3C6A); // s_and_saveexec_b32 s12, vcc_lo
+        vec![
+            0xBE84_3DC1, // s_or_saveexec_b32 s4, -1
+            0xD501_0001, 0x0012_0E80, // v_cndmask_b32 v1, 0, v7, s4
+            0x6402_02E9, 0xDE54_C101, // v_add_f16 dpp8:[1,0,3,2,5,4,7,6]
+            0x6402_02E9, 0x9360_1201, // v_add_f16 dpp8:[2,2,0,0,6,6,4,4]
+            0x6402_02E9, 0x0009_2401, // v_add_f16 dpp8:[4,4,4,4,0,0,0,0]
+            0x6402_02FA, 0xFF09_4001, // v_add_f16 row_mirror bound_ctrl:1
+            0xD778_0002, 0x0201_0101, // v_permlanex16_b32 v2, v1, 0, 0
+            0x6402_0302, // v_add_f16 v1, v2, v1
+            0xD760_0007, 0x0001_0101, // v_readlane_b32 s7, v1, 0
+            0xBEFE_0304, // s_mov_b32 exec_lo, s4
+        ]
+    };
+    w.push(0xBF88_0000 | (sum.len() as u32 + 3)); // s_cbranch_execz to the restore of EXEC
+    w.extend(sum);
+    w.extend_from_slice(&[
+        0x7E00_0207, // v_mov_b32 v0, s7
+        0x38 << 26 | 0x1C << 18,
+        0x80 << 24 | 2 << 16, // buffer_store_dword v0, off, s[8:11], 0
+        if wave64 { 0xBEFE_040C } else { 0xBEFE_030C }, // EXEC (or exec_lo) = s12(:13)
+    ]);
+    w
+}
+
+fn cmp_native(body: &[u32], wave64: bool, threads: u32) -> NativeProgram {
+    let mut words = vec![s_mov_b32(5, 0x80)];
+    words.extend_from_slice(&s_load_dwordx4(8, 4));
+    words.extend_from_slice(body);
+    words.push(S_ENDPGM);
+    NativeProgram {
+        stage: HwStage::Cs,
+        wave64,
+        vgprs: 16,
+        layout: vec![
+            RootParam { root: RootType::Constants, table_offset_dwords: 0, sgprs: 4, base_register: 0, user_data: 0, slot: 0 },
+            RootParam { root: RootType::Table, table_offset_dwords: 0, sgprs: 1, base_register: 0, user_data: 4, slot: 1 },
+        ],
+        used: vec![UsedResource {
+            kind: ResourceType::Uav,
+            root: RootType::Table,
+            table_offset_dwords: 0,
+            lower_bound: 0,
+            stride: 0,
+            dwords: 4,
+            user_data: 4,
+            slot: 1,
+        }],
+        io: StageIo::Cs(ComputeIo { rsrc2: 5 << 1, threads: [threads, 1, 1] }),
+        code: words.iter().flat_map(|w| w.to_le_bytes()).collect(),
+    }
+}
+
+fn cmp_lower(native: &NativeProgram) -> Result<HostShader, String> {
+    let p = ir::build(&native.code, native.wave64, native.vgprs).map_err(|e| format!("ir::build: {e:?}"))?;
+    let st = structure::structure(&p).map_err(|e| format!("structure: {e:?}"))?;
+    let res = resource::track(&p, &native.layout, native.stage, Some(&st)).map_err(|e| format!("track: {e:?}"))?;
+    let io = io::raise(&p, native).map_err(|e| format!("io: {e:?}"))?;
+    let lowered = lower::lower(&lower::Parts {
+        native,
+        p: &p,
+        st: &st,
+        io: &io,
+        res: &res,
+        inputs: Vec::new(),
+        outputs: Vec::new(),
+        prims: Vec::new(),
+        mesh_stride: 0,
+    })
+    .map_err(|e| format!("{e}"))?;
+    let shader = HostShader {
+        stage: HwStage::Cs,
+        dxil: lowered.dxil,
+        user_data: lowered.user_data,
+        samplers: lowered.samplers,
+        static_samplers: Vec::new(),
+        root_cbvs: lowered.root_cbvs,
+        root_srvs: lowered.root_srvs,
+    };
+    if let Ok(mut v) = validator::Validator::load(validator::Validator::default_path().as_deref()) {
+        let mut copy = shader.dxil.clone();
+        v.validate(&mut copy).map_err(|e| format!("DXIL validation: {e:?}"))?;
+    }
+    Ok(shader)
+}
+
+/// Dword 0 of the UAV after one group on the hardware device, with s0 = `s0`.
+fn cmp_on_card(shader: &HostShader, s0: u32) -> Result<u32, String> {
+    let host = Host::new(false).map_err(|e| format!("no SM 6.6 hardware device: {e}"))?;
+    let (root, pso) = host.compute_pipeline(shader).map_err(|e| format!("compute_pipeline: {e}"))?;
+    let mut ud = vec![0u32; shader.user_data_dwords().max(1) as usize];
+    for u in &shader.user_data {
+        ud[u.index as usize] = match (u.root, u.slot, u.dword) {
+            (RootType::Constants, 0, 0) => s0,
+            _ => 0,
+        };
+    }
+    let out = host
+        .dispatch(&root, &pso, &Dispatch { roots: vec![(0, Root::Constants(ud))], views: &[View::RawUav(2)], samplers: &[], groups: [1, 1, 1] })
+        .map_err(|e| format!("dispatch: {e}"))?;
+    Ok(out[0][0])
+}
+
+fn half_wide(h: u16) -> f32 {
+    if h == 0 { 0.0 } else { f32::from_bits((u32::from(h >> 10) + 112) << 23 | u32::from(h & 0x3FF) << 13) }
+}
+
+/// A positive normal f32 to 16 bits: to nearest, ties to even, or toward zero.
+fn half_narrow(f: f32, nearest: bool) -> u16 {
+    if f == 0.0 {
+        return 0;
+    }
+    let b = f.to_bits();
+    let h = ((b >> 23) - 112) << 10 | (b >> 13 & 0x3FF);
+    let rest = b & 0x1FFF;
+    (h + u32::from(nearest && (rest > 0x1000 || rest == 0x1000 && h & 1 == 1))) as u16
+}
+
+/// The console's tree over `lanes` lanes (+0 at and above `below`), rounded at every step.
+fn console_tree(lanes: u32, below: u32, term: impl Fn(u32) -> u16) -> u16 {
+    let add = |a: u16, b: u16| match (a, b) {
+        (0, x) | (x, 0) => x,
+        _ => half_narrow(half_wide(a) + half_wide(b), true),
+    };
+    let mut tree: Vec<u16> = (0..lanes).map(|t| if t < below { term(t) } else { 0 }).collect();
+    while tree.len() > 1 {
+        tree = tree.chunks(2).map(|c| add(c[0], c[1])).collect();
+    }
+    tree[0]
+}
+
+/// Reproducer for #1568: a whole-wave f16 sum inside a lane branch (`if (t < s0)`), wave32,
+/// 32 threads. Thread t's term is the f16 0x3c00 + 37 t; the threads at and above s0 give +0
+/// (the idiom's `v_cndmask`). The reference is the idiom's tree (lanes 2k and 2k+1, then
+/// pairs, ...), each `v_add_f16` rounded to nearest, ties to even; it is computed here, not
+/// measured on a console. Also printed: the f32 sum of the terms converted to f16 once, to
+/// nearest and toward zero.
+#[test]
+fn f16_wave_sum_in_lane_branch_rounds_after_each_addition() {
+    let _one = ONE_AT_A_TIME.lock().unwrap_or_else(|e| e.into_inner());
+    let term = |t: u32| (0x3C00 + 37 * t) as u16;
+    let native = cmp_native(&f16_sum_in_lane_branch(false), false, 32);
+    let shader = cmp_lower(&native).expect("lower");
+    let mut results = Vec::new();
+    for s0 in [32u32, 28, 12] {
+        let want = console_tree(32, s0, term);
+        let f32_sum: f32 = (0..s0).map(|t| half_wide(term(t))).sum();
+        let got = match cmp_on_card(&shader, s0) {
+            Ok(got) => got & 0xFFFF,
+            Err(e) => {
+                eprintln!("not run: {e}");
+                return;
+            }
+        };
+        eprintln!(
+            "s0 = {s0}: card {got:#06x}, reference (rounded after each addition) {want:#06x}, one f32 sum {f32_sum} -> nearest {:#06x}, toward zero {:#06x}",
+            half_narrow(f32_sum, true),
+            half_narrow(f32_sum, false)
+        );
+        results.push((s0, got, u32::from(want)));
+    }
+    let wrong: Vec<_> = results.iter().filter(|(_, got, want)| got != want).collect();
+    assert!(wrong.is_empty(), "(s0, card, reference): {wrong:#x?}");
+}
+
+#[test]
+fn pr1568_compare_f16_sum_inside_a_lane_branch() {
+    let _one = ONE_AT_A_TIME.lock().unwrap_or_else(|e| e.into_inner());
+    let term = |t: u32| (0x3C00 + 37 * t) as u16;
+    for (name, wave64, lanes, cases) in [
+        ("console wave64, 64 threads", true, 64u32, &[64u32, 40, 33, 32, 31, 10, 1][..]),
+        ("console wave32, 32 threads", false, 32, &[32, 31, 17, 16, 10, 1][..]),
+    ] {
+        let native = cmp_native(&f16_sum_in_lane_branch(wave64), wave64, lanes);
+        let shader = match cmp_lower(&native) {
+            Ok(s) => s,
+            Err(e) => {
+                eprintln!("PR1568 {name}: not translated: {e}");
+                continue;
+            }
+        };
+        eprintln!("PR1568 {name}: translated ({} bytes of DXIL)", shader.dxil.len());
+        for &below in cases {
+            let tree = console_tree(lanes, below, term);
+            let f32_sum: f32 = (0..below).map(|t| half_wide(term(t))).sum();
+            let (near, zero) = (half_narrow(f32_sum, true), half_narrow(f32_sum, false));
+            match cmp_on_card(&shader, below) {
+                Ok(got) => eprintln!(
+                    "PR1568 {name}, {below} in the branch: card {got:#06x}; console tree {tree:#06x} ({}); one f32 sum rounded: nearest {near:#06x}, toward zero {zero:#06x}",
+                    if got == u32::from(tree) { "match" } else { "DIFFERENT" }
+                ),
+                Err(e) => {
+                    eprintln!("PR1568 {name}: not run: {e}");
+                    break;
+                }
+            }
+        }
+    }
+}

64-lane form (hardware compatibility)

The same sum compiled for 64-lane waves (wave64, 64 threads, with v_readlane_b32 s7, v1, 32 and one more v_add_f16 for the two halves) translates at dde4577 (2,636 bytes of DXIL). On the RTX 5070, creating its compute pipeline fails with The parameter is incorrect., as the test harness reports it. The HRESULT itself wasn't printed.

Hypothesis, not checked: the shader declares WaveSize(64), which this card doesn't offer. I haven't run it on a card with 64-lane waves, so there's no numerical result for this form.


All inputs are synthetic: hand-encoded GFX10 words and software-computed reference values, with no game data.

AI-assisted: the tests and this write-up were prepared with Claude Code, and run and reviewed locally on the hardware described.

**@⁠loftymocha** on GitHub · 2026-11-25 03:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/1568#issuecomment-7152040126) I tested the `f16` whole-wave sum at this PR's head, `dde4577abe4e12a5f6d8e818e8196e2048577bad`, with a synthetic shader on an RTX 5070 (Windows 11, driver 32.0.16.1742). Inside a lane branch, the card's result equals one f32 sum converted to f16 once. The compiled pattern rounds after every `v_add_f16`, so the last bit can differ. | Active lanes (`s0`) | RTX 5070 | Reference, rounded after each `v_add_f16` (computed in software) | One f32 sum of the terms → f16 to nearest / toward zero | |---|---|---|---| | **28** | **`0x5135`** | `0x5134` | `0x5135` / `0x5135` | | 12 (confirmation) | `0x4b31` | `0x4b30` | `0x4b31` / `0x4b31` | **Question:** does this PR intend to keep the intermediate f16 rounding for this pattern, so that the result matches the compiled `v_add_f16` tree bit for bit? Or is one rounded sum acceptable here? `whole_wave_f16_sum_matches_rdna2` sums four equal values (4 × 1.5 and 4 × −1.0), which are exact, so it can't tell the two apart. ### The test A wave32 compute program with 32 threads. Thread `t` holds the f16 `0x3c00 + 37·t` (1.0 at `t = 0` up to `0x407b` at `t = 31`). Inside `if (t < s0)`, the threads compute the wave sum with the compiler's idiom and store it: ``` s_or_saveexec_b32 s4, -1 v_cndmask_b32 v1, 0, v7, s4 ; +0 for lanes outside the branch v_add_f16 v1, v1, v1 dpp8:[1,0,3,2,5,4,7,6] v_add_f16 v1, v1, v1 dpp8:[2,2,0,0,6,6,4,4] v_add_f16 v1, v1, v1 dpp8:[4,4,4,4,0,0,0,0] v_add_f16 v1, v1, v1 row_mirror bound_ctrl:1 v_permlanex16_b32 v2, v1, 0, 0 v_add_f16 v1, v2, v1 v_readlane_b32 s7, v1, 0 s_mov_b32 exec_lo, s4 ``` The reference follows that tree: lanes `2k` and `2k+1`, then pairs of pairs, and so on. Each addition rounds to nearest, ties to even. It is computed in software, not measured on a console. - **28 active lanes:** the two 16-lane partial sums are `0x4d15` (20.328125) and `0x4d54` (21.3125). Their sum, 41.640625, lies exactly halfway between `0x5134` and `0x5135`, and ties to even gives `0x5134`. The exact sum of the 28 terms is 41.658203, which rounds to `0x5135` in either direction. The card returned `0x5135`. - **12 active lanes (confirmation):** the reference is `0x4b30` (14.375). The exact sum is 14.384766, which gives `0x4b31` in either direction. The card returned `0x4b31`. For these inputs, the f32 sum is exact whatever the order of addition. In both cases the card matches one rounded sum and not the per-addition tree. ### A separate observation: the final conversion (32 active lanes) This case says nothing about intermediate rounding: the reference and one sum rounded to nearest agree. The reference's last addition, `0x4d15 + 0x4f76` = 50.171875, is halfway between `0x5245` and `0x5246`, and ties to even gives `0x5246`. The exact sum, 50.185547, also rounds to `0x5246`. The card returned **`0x5245`**, which matches the one sum converted toward zero. | Active lanes | RTX 5070 | Reference (software) | One f32 sum → nearest / toward zero | |---|---|---|---| | 32 | `0x5245` | `0x5246` | `0x5246` / `0x5245` | A wider run of the same program (31, 17, 16, 10 and 1 active lanes) had one more input where the two directions differ: at 16 lanes the card gave `0x4d15` (toward zero), against `0x4d16` to nearest. That's two inputs on one driver. I didn't isolate which instruction rounds this way. ### Reproduce Apply the patch below on `dde4577`. It only adds tests to `crates/victory-shader/src/emit/valu_tests.rs`. Then run: ``` cargo test -p victory-shader --lib f16_wave_sum_in_lane_branch_rounds_after_each_addition -- --nocapture --test-threads=1 ``` The test prints one line per `s0` (32, 28, 12) with the card value, the reference and the two one-sum conversions, then fails on the differences. `pr1568_compare_f16_sum_inside_a_lane_branch` only reports results: it runs more branch sizes and the 64-lane case below. <details><summary>Patch (tests only, applies on dde4577)</summary> ```diff diff --git a/crates/victory-shader/src/emit/valu_tests.rs b/crates/victory-shader/src/emit/valu_tests.rs index a81d4c3..c085d20 100644 --- a/crates/victory-shader/src/emit/valu_tests.rs +++ b/crates/victory-shader/src/emit/valu_tests.rs @@ -1197,3 +1197,238 @@ fn whole_wave_f16_sum_matches_rdna2() { ); }); } + +// A whole-wave sum of 16-bit floats inside a lane branch (`if (t < s0)`), as the console +// compiles it for 32-lane and 64-lane waves, run on the hardware device. + +/// v7 = 0x3c00 + 37 t (thread t; 1.0 and up, odd mantissas so that additions round). +const TERM_V7: [u32; 6] = [ + 0x340C_0085, // v_lshlrev_b32 v6, 5, v0 + 0x340E_0082, // v_lshlrev_b32 v7, 2, v0 + 0x4A0E_0F06, // v_add_nc_u32 v7, v6, v7 + 0x4A0E_0F00, // v_add_nc_u32 v7, v0, v7 + 0x4A0E_0EFF, + 0x0000_3C00, // v_add_nc_u32 v7, 0x3c00, v7 +]; + +/// `if (t < s0) { s7 = WaveActiveSum(f16 v7); store s7 }`, as the console compiles it for +/// 64-lane waves (`wave64`) or 32-lane waves. +fn f16_sum_in_lane_branch(wave64: bool) -> Vec<u32> { + let mut w = TERM_V7.to_vec(); + w.push(0x7D88_0000); // v_cmp_gt_u32 vcc, s0, v0 + let sum: Vec<u32> = if wave64 { + w.push(0xBE8C_246A); // s_and_saveexec_b64 s[12:13], vcc + vec![ + 0xBE84_25C1, // s_or_saveexec_b64 s[4:5], -1 + 0xD501_0001, 0x0012_0E80, // v_cndmask_b32 v1, 0, v7, s[4:5] + 0x6402_02E9, 0xDE54_C101, // v_add_f16 v1, v1, v1 dpp8:[1,0,3,2,5,4,7,6] + 0x6402_02E9, 0x9360_1201, // v_add_f16 v1, v1, v1 dpp8:[2,2,0,0,6,6,4,4] + 0x6402_02E9, 0x0009_2401, // v_add_f16 v1, v1, v1 dpp8:[4,4,4,4,0,0,0,0] + 0x6402_02FA, 0xFF09_4001, // v_add_f16 v1, v1, v1 row_mirror bound_ctrl:1 + 0xD778_0002, 0x0201_0101, // v_permlanex16_b32 v2, v1, 0, 0 + 0x6402_0302, // v_add_f16 v1, v2, v1 + 0xD760_0007, 0x0001_4101, // v_readlane_b32 s7, v1, 32 + 0x6402_0207, // v_add_f16 v1, s7, v1 + 0xD760_0007, 0x0001_0101, // v_readlane_b32 s7, v1, 0 + 0xBEFE_0404, // s_mov_b64 exec, s[4:5] + ] + } else { + w.push(0xBE8C_3C6A); // s_and_saveexec_b32 s12, vcc_lo + vec![ + 0xBE84_3DC1, // s_or_saveexec_b32 s4, -1 + 0xD501_0001, 0x0012_0E80, // v_cndmask_b32 v1, 0, v7, s4 + 0x6402_02E9, 0xDE54_C101, // v_add_f16 dpp8:[1,0,3,2,5,4,7,6] + 0x6402_02E9, 0x9360_1201, // v_add_f16 dpp8:[2,2,0,0,6,6,4,4] + 0x6402_02E9, 0x0009_2401, // v_add_f16 dpp8:[4,4,4,4,0,0,0,0] + 0x6402_02FA, 0xFF09_4001, // v_add_f16 row_mirror bound_ctrl:1 + 0xD778_0002, 0x0201_0101, // v_permlanex16_b32 v2, v1, 0, 0 + 0x6402_0302, // v_add_f16 v1, v2, v1 + 0xD760_0007, 0x0001_0101, // v_readlane_b32 s7, v1, 0 + 0xBEFE_0304, // s_mov_b32 exec_lo, s4 + ] + }; + w.push(0xBF88_0000 | (sum.len() as u32 + 3)); // s_cbranch_execz to the restore of EXEC + w.extend(sum); + w.extend_from_slice(&[ + 0x7E00_0207, // v_mov_b32 v0, s7 + 0x38 << 26 | 0x1C << 18, + 0x80 << 24 | 2 << 16, // buffer_store_dword v0, off, s[8:11], 0 + if wave64 { 0xBEFE_040C } else { 0xBEFE_030C }, // EXEC (or exec_lo) = s12(:13) + ]); + w +} + +fn cmp_native(body: &[u32], wave64: bool, threads: u32) -> NativeProgram { + let mut words = vec![s_mov_b32(5, 0x80)]; + words.extend_from_slice(&s_load_dwordx4(8, 4)); + words.extend_from_slice(body); + words.push(S_ENDPGM); + NativeProgram { + stage: HwStage::Cs, + wave64, + vgprs: 16, + layout: vec![ + RootParam { root: RootType::Constants, table_offset_dwords: 0, sgprs: 4, base_register: 0, user_data: 0, slot: 0 }, + RootParam { root: RootType::Table, table_offset_dwords: 0, sgprs: 1, base_register: 0, user_data: 4, slot: 1 }, + ], + used: vec![UsedResource { + kind: ResourceType::Uav, + root: RootType::Table, + table_offset_dwords: 0, + lower_bound: 0, + stride: 0, + dwords: 4, + user_data: 4, + slot: 1, + }], + io: StageIo::Cs(ComputeIo { rsrc2: 5 << 1, threads: [threads, 1, 1] }), + code: words.iter().flat_map(|w| w.to_le_bytes()).collect(), + } +} + +fn cmp_lower(native: &NativeProgram) -> Result<HostShader, String> { + let p = ir::build(&native.code, native.wave64, native.vgprs).map_err(|e| format!("ir::build: {e:?}"))?; + let st = structure::structure(&p).map_err(|e| format!("structure: {e:?}"))?; + let res = resource::track(&p, &native.layout, native.stage, Some(&st)).map_err(|e| format!("track: {e:?}"))?; + let io = io::raise(&p, native).map_err(|e| format!("io: {e:?}"))?; + let lowered = lower::lower(&lower::Parts { + native, + p: &p, + st: &st, + io: &io, + res: &res, + inputs: Vec::new(), + outputs: Vec::new(), + prims: Vec::new(), + mesh_stride: 0, + }) + .map_err(|e| format!("{e}"))?; + let shader = HostShader { + stage: HwStage::Cs, + dxil: lowered.dxil, + user_data: lowered.user_data, + samplers: lowered.samplers, + static_samplers: Vec::new(), + root_cbvs: lowered.root_cbvs, + root_srvs: lowered.root_srvs, + }; + if let Ok(mut v) = validator::Validator::load(validator::Validator::default_path().as_deref()) { + let mut copy = shader.dxil.clone(); + v.validate(&mut copy).map_err(|e| format!("DXIL validation: {e:?}"))?; + } + Ok(shader) +} + +/// Dword 0 of the UAV after one group on the hardware device, with s0 = `s0`. +fn cmp_on_card(shader: &HostShader, s0: u32) -> Result<u32, String> { + let host = Host::new(false).map_err(|e| format!("no SM 6.6 hardware device: {e}"))?; + let (root, pso) = host.compute_pipeline(shader).map_err(|e| format!("compute_pipeline: {e}"))?; + let mut ud = vec![0u32; shader.user_data_dwords().max(1) as usize]; + for u in &shader.user_data { + ud[u.index as usize] = match (u.root, u.slot, u.dword) { + (RootType::Constants, 0, 0) => s0, + _ => 0, + }; + } + let out = host + .dispatch(&root, &pso, &Dispatch { roots: vec![(0, Root::Constants(ud))], views: &[View::RawUav(2)], samplers: &[], groups: [1, 1, 1] }) + .map_err(|e| format!("dispatch: {e}"))?; + Ok(out[0][0]) +} + +fn half_wide(h: u16) -> f32 { + if h == 0 { 0.0 } else { f32::from_bits((u32::from(h >> 10) + 112) << 23 | u32::from(h & 0x3FF) << 13) } +} + +/// A positive normal f32 to 16 bits: to nearest, ties to even, or toward zero. +fn half_narrow(f: f32, nearest: bool) -> u16 { + if f == 0.0 { + return 0; + } + let b = f.to_bits(); + let h = ((b >> 23) - 112) << 10 | (b >> 13 & 0x3FF); + let rest = b & 0x1FFF; + (h + u32::from(nearest && (rest > 0x1000 || rest == 0x1000 && h & 1 == 1))) as u16 +} + +/// The console's tree over `lanes` lanes (+0 at and above `below`), rounded at every step. +fn console_tree(lanes: u32, below: u32, term: impl Fn(u32) -> u16) -> u16 { + let add = |a: u16, b: u16| match (a, b) { + (0, x) | (x, 0) => x, + _ => half_narrow(half_wide(a) + half_wide(b), true), + }; + let mut tree: Vec<u16> = (0..lanes).map(|t| if t < below { term(t) } else { 0 }).collect(); + while tree.len() > 1 { + tree = tree.chunks(2).map(|c| add(c[0], c[1])).collect(); + } + tree[0] +} + +/// Reproducer for #1568: a whole-wave f16 sum inside a lane branch (`if (t < s0)`), wave32, +/// 32 threads. Thread t's term is the f16 0x3c00 + 37 t; the threads at and above s0 give +0 +/// (the idiom's `v_cndmask`). The reference is the idiom's tree (lanes 2k and 2k+1, then +/// pairs, ...), each `v_add_f16` rounded to nearest, ties to even; it is computed here, not +/// measured on a console. Also printed: the f32 sum of the terms converted to f16 once, to +/// nearest and toward zero. +#[test] +fn f16_wave_sum_in_lane_branch_rounds_after_each_addition() { + let _one = ONE_AT_A_TIME.lock().unwrap_or_else(|e| e.into_inner()); + let term = |t: u32| (0x3C00 + 37 * t) as u16; + let native = cmp_native(&f16_sum_in_lane_branch(false), false, 32); + let shader = cmp_lower(&native).expect("lower"); + let mut results = Vec::new(); + for s0 in [32u32, 28, 12] { + let want = console_tree(32, s0, term); + let f32_sum: f32 = (0..s0).map(|t| half_wide(term(t))).sum(); + let got = match cmp_on_card(&shader, s0) { + Ok(got) => got & 0xFFFF, + Err(e) => { + eprintln!("not run: {e}"); + return; + } + }; + eprintln!( + "s0 = {s0}: card {got:#06x}, reference (rounded after each addition) {want:#06x}, one f32 sum {f32_sum} -> nearest {:#06x}, toward zero {:#06x}", + half_narrow(f32_sum, true), + half_narrow(f32_sum, false) + ); + results.push((s0, got, u32::from(want))); + } + let wrong: Vec<_> = results.iter().filter(|(_, got, want)| got != want).collect(); + assert!(wrong.is_empty(), "(s0, card, reference): {wrong:#x?}"); +} + +#[test] +fn pr1568_compare_f16_sum_inside_a_lane_branch() { + let _one = ONE_AT_A_TIME.lock().unwrap_or_else(|e| e.into_inner()); + let term = |t: u32| (0x3C00 + 37 * t) as u16; + for (name, wave64, lanes, cases) in [ + ("console wave64, 64 threads", true, 64u32, &[64u32, 40, 33, 32, 31, 10, 1][..]), + ("console wave32, 32 threads", false, 32, &[32, 31, 17, 16, 10, 1][..]), + ] { + let native = cmp_native(&f16_sum_in_lane_branch(wave64), wave64, lanes); + let shader = match cmp_lower(&native) { + Ok(s) => s, + Err(e) => { + eprintln!("PR1568 {name}: not translated: {e}"); + continue; + } + }; + eprintln!("PR1568 {name}: translated ({} bytes of DXIL)", shader.dxil.len()); + for &below in cases { + let tree = console_tree(lanes, below, term); + let f32_sum: f32 = (0..below).map(|t| half_wide(term(t))).sum(); + let (near, zero) = (half_narrow(f32_sum, true), half_narrow(f32_sum, false)); + match cmp_on_card(&shader, below) { + Ok(got) => eprintln!( + "PR1568 {name}, {below} in the branch: card {got:#06x}; console tree {tree:#06x} ({}); one f32 sum rounded: nearest {near:#06x}, toward zero {zero:#06x}", + if got == u32::from(tree) { "match" } else { "DIFFERENT" } + ), + Err(e) => { + eprintln!("PR1568 {name}: not run: {e}"); + break; + } + } + } + } +} ``` </details> ### 64-lane form (hardware compatibility) The same sum compiled for 64-lane waves (wave64, 64 threads, with `v_readlane_b32 s7, v1, 32` and one more `v_add_f16` for the two halves) translates at `dde4577` (2,636 bytes of DXIL). On the RTX 5070, creating its compute pipeline fails with `The parameter is incorrect.`, as the test harness reports it. The HRESULT itself wasn't printed. *Hypothesis, not checked:* the shader declares `WaveSize(64)`, which this card doesn't offer. I haven't run it on a card with 64-lane waves, so there's no numerical result for this form. --- All inputs are synthetic: hand-encoded GFX10 words and software-computed reference values, with no game data. *AI-assisted: the tests and this write-up were prepared with Claude Code, and run and reviewed locally on the hardware described.*
This pull request has changes conflicting with the target branch.
  • crates/victory-shader/src/emit/valu_tests.rs
  • crates/victory-shader/src/emit/wave.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1568/head:github-bot/gh-1568'
git switch 'github-bot/gh-1568'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1568'
git switch 'github-bot/gh-1568'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1568'
git switch 'github-bot/gh-1568'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1568'
git switch 'main'
git merge --squash 'github-bot/gh-1568'
git switch 'main'
git merge --ff-only 'github-bot/gh-1568'
git switch 'main'
git merge 'github-bot/gh-1568'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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!1568
No description provided.