Shaders: single-round v_fma_mixlo_f16 and v_fma_mixhi_f16 #1588

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

@⁠Ctrl-Alt-Haze on GitHub · 2026-11-24 19:29 UTC · original
Ctrl-Alt-Haze:fix/shader-f16-mad-fma-rounding → main · +832 −14 · 2 files · 1 commits · open

Summary

Lowers v_fma_mixlo_f16 and v_fma_mixhi_f16 (in default round-to-nearest-even mode, mode16 != Some(3)) with exact single-rounded IEEE-754 binary16 FMA (fma_f32_to_f16), avoiding double rounding from fmad + legacyF32ToF16 while preserving mode16 == Some(3) RTZ lowering (narrow16), untouched-half preservation, and clamp_f16.

Changes

  • crates/victory-shader/src/emit/lower.rs:
    • Added pure 32-bit DXIL helpers unpack_f32_parts (flushing f32 denormal inputs to signed zero per RDNA2 console float mode while keeping widened f16 denormals exact), mul24_exact, rne_step, fma_f32_to_f16, and clamp_f16.
    • Updated v_fma_mixlo_f16 / v_fma_mixhi_f16 to call fma_f32_to_f16 in default RNE mode (keeping fmad + narrow16 for mode16 == Some(3)).
  • crates/victory-shader/src/emit/valu_tests.rs:
    • Added exact 128-bit reference model fma_f32_to_f16_ref and live GPU + WARP test v_fma_mix_f16_single_rounding_matches_ieee754_on_gpu_and_warp covering double-rounding regressions, subnormals, overflow, signed zeros, NaN, opsel / opsel_hi / neg / abs, high-half preservation, and clamp.

Verification (rebased onto 940d32f at c78fe1b)

  • Hardware / Toolchain: Windows 11 x64, NVIDIA GeForce RTX 5070 Ti + WARP (VICTORY_WARP=1), Rust 1.98.1.
  • cargo xtask policy: passed (182 files ok)
  • cargo clippy --workspace --all-targets --locked -- -D warnings (default & --all-features): passed
  • Targeted tests (v_fma_mix, mixed_precision_matches_the_hardware, sixteen_bit_floats_match_the_hardware, f16_results_round*): all 5 passed; 0 failed (semantics_tests::mixed_precision_matches_the_hardware passes with 0 mismatches)
  • Non-GPU workspace crates (--locked -- --test-threads=1): all passed (victory 12, victory-core 13, victory-formats 38 / 5 ignored, victory-game 15, victory-hle 145, victory-loader 38, victory-pe 36, victory-pipeline 7, xtask 6)
  • cargo test -p victory-shader --features host --locked -- --test-threads=1 (RTX 5070 Ti): 245 passed; 3 failed; 3 ignored (pre-existing 940d32f failures: stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride, stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros, synthetic_tests::gathers_at_a_level_match_the_hardware)
  • VICTORY_WARP=1 cargo test -p victory-shader --features host --locked -- --test-threads=1: 246 passed; 2 failed; 3 ignored (pre-existing gathers_at_a_level_match_the_hardware + permutes_read_the_lane_named_and_zero_from_lanes_left_out)
  • cargo test -p victory-gpu --locked -- --test-threads=1: 141 passed; 2 failed; 2 ignored (pre-existing 940d32f failures: descriptor::host::tests::dynamic_slots_are_held_until_released, memory::tests::lists_share_a_table_and_copies_keep_their_views)
  • Corpus victory translate --validate on shaders.rpf (26,503 containers / 26,084 programs): identical validation counts vs 940d32f (23,918 total validated; 0 regressions), 574.01 s (940d32f) vs 434.10 s (c78fe1b).

AI use: Written, scoped, and benchmarked locally with AI assistance; audited and tested on RTX 5070 Ti + WARP.

**@⁠Ctrl-Alt-Haze** on GitHub · 2026-11-24 19:29 UTC · [original](https://github.com/Marvisak/VIctory/pull/1588) `Ctrl-Alt-Haze:fix/shader-f16-mad-fma-rounding` → `main` · +832 −14 · 2 files · 1 commits · open ## Summary Lowers `v_fma_mixlo_f16` and `v_fma_mixhi_f16` (in default round-to-nearest-even mode, `mode16 != Some(3)`) with exact single-rounded IEEE-754 binary16 FMA (`fma_f32_to_f16`), avoiding double rounding from `fmad` + `legacyF32ToF16` while preserving `mode16 == Some(3)` RTZ lowering (`narrow16`), untouched-half preservation, and `clamp_f16`. ## Changes - `crates/victory-shader/src/emit/lower.rs`: - Added pure 32-bit DXIL helpers `unpack_f32_parts` (flushing f32 denormal inputs to signed zero per RDNA2 console float mode while keeping widened f16 denormals exact), `mul24_exact`, `rne_step`, `fma_f32_to_f16`, and `clamp_f16`. - Updated `v_fma_mixlo_f16` / `v_fma_mixhi_f16` to call `fma_f32_to_f16` in default RNE mode (keeping `fmad` + `narrow16` for `mode16 == Some(3)`). - `crates/victory-shader/src/emit/valu_tests.rs`: - Added exact 128-bit reference model `fma_f32_to_f16_ref` and live GPU + WARP test `v_fma_mix_f16_single_rounding_matches_ieee754_on_gpu_and_warp` covering double-rounding regressions, subnormals, overflow, signed zeros, `NaN`, `opsel` / `opsel_hi` / `neg` / `abs`, high-half preservation, and `clamp`. ## Verification (rebased onto `940d32f` at `c78fe1b`) - **Hardware / Toolchain**: Windows 11 x64, NVIDIA GeForce RTX 5070 Ti + WARP (`VICTORY_WARP=1`), Rust `1.98.1`. - `cargo xtask policy`: passed (`182 files ok`) - `cargo clippy --workspace --all-targets --locked -- -D warnings` (default & `--all-features`): passed - Targeted tests (`v_fma_mix`, `mixed_precision_matches_the_hardware`, `sixteen_bit_floats_match_the_hardware`, `f16_results_round*`): all `5 passed; 0 failed` (`semantics_tests::mixed_precision_matches_the_hardware` passes with 0 mismatches) - Non-GPU workspace crates (`--locked -- --test-threads=1`): all passed (`victory` 12, `victory-core` 13, `victory-formats` 38 / 5 ignored, `victory-game` 15, `victory-hle` 145, `victory-loader` 38, `victory-pe` 36, `victory-pipeline` 7, `xtask` 6) - `cargo test -p victory-shader --features host --locked -- --test-threads=1` (RTX 5070 Ti): `245 passed; 3 failed; 3 ignored` (pre-existing `940d32f` failures: `stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride`, `stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`, `synthetic_tests::gathers_at_a_level_match_the_hardware`) - `VICTORY_WARP=1 cargo test -p victory-shader --features host --locked -- --test-threads=1`: `246 passed; 2 failed; 3 ignored` (pre-existing `gathers_at_a_level_match_the_hardware` + `permutes_read_the_lane_named_and_zero_from_lanes_left_out`) - `cargo test -p victory-gpu --locked -- --test-threads=1`: `141 passed; 2 failed; 2 ignored` (pre-existing `940d32f` failures: `descriptor::host::tests::dynamic_slots_are_held_until_released`, `memory::tests::lists_share_a_table_and_copies_keep_their_views`) - Corpus `victory translate --validate` on `shaders.rpf` (`26,503` containers / `26,084` programs): identical validation counts vs `940d32f` (`23,918` total validated; 0 regressions), `574.01 s` (`940d32f`) vs `434.10 s` (`c78fe1b`). AI use: Written, scoped, and benchmarked locally with AI assistance; audited and tested on RTX 5070 Ti + WARP.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:37:18 +00:00
Author
Owner

@⁠Ctrl-Alt-Haze on GitHub · 2026-11-24 22:14 UTC · original

Rebased onto upstream main (70564ae) at c36a25b:

  • Preserved 70564ae's narrow16 / mode16 == Some(3) RTZ path in v_fma_mixlo_f16 / v_fma_mixhi_f16 while using single-round fma_f32_to_f16 in default round-to-nearest-even mode (and applying clamp_f16 when v.clamp is set).
  • Updated unpack_f32_parts and fma_f32_to_f16_ref to flush f32 denormal inputs (exp_raw == 0) to signed zero per RDNA2 console float mode (matching semantics_tests::ftz while keeping widened f16 denormals exact); verified semantics_tests::mixed_precision_matches_the_hardware now passes with 0 mismatches.
  • Preserved range::build in try_build_valu_cs alongside build_valu_cs_with and added 70564ae's HostShader fields.

Verified locally on Windows 11 x64 / NVIDIA GeForce RTX 5070 Ti + WARP:

  • cargo xtask policy: passed (174 files ok)
  • cargo clippy --workspace --all-targets --locked -- -D warnings (default & --all-features): passed
  • Targeted tests (v_fma_mix, v_mad_f16_and_v_mac_f16, sixteen_bit_floats_match_the_hardware, mixed_precision_matches_the_hardware, f16_results_round*, f16_arithmetic_rounds_once): all passed (0 failed)
  • Workspace non-gpu/non-shader crates (--locked -- --test-threads=1): victory 1 passed, victory-core 11 passed, victory-formats 23 passed / 4 ignored, victory-game 15 passed, victory-hle 99 passed (97 unit + 1 fidelityfx + 1 no_dll_planting), victory-loader 25 passed (22 unit + 2 load_probe + 1 title_dlls), victory-pe 7 passed, victory-pipeline 4 passed, xtask 4 passed
  • cargo test -p victory-gpu --locked -- --test-threads=1: 76 passed; 2 failed; 1 ignored (pre-existing on clean 70564ae: dynamic_slots_are_held_until_released, lists_share_a_table_and_copies_keep_their_views)
  • cargo test -p victory-shader --features host --locked (hardware): 208 passed; 3 failed; 2 ignored (pre-existing on clean 70564ae on RTX 5070 Ti: stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride, stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros, synthetic_tests::gathers_at_a_level_match_the_hardware)
  • VICTORY_WARP=1 cargo test -p victory-shader --features host --locked: 209 passed; 2 failed; 2 ignored (pre-existing gathers_at_a_level_match_the_hardware + permutes_read_the_lane_named_and_zero_from_lanes_left_out which skips under VICTORY_WARP=1 and passed on RTX hardware)
**@⁠Ctrl-Alt-Haze** on GitHub · 2026-11-24 22:14 UTC · [original](https://github.com/Marvisak/VIctory/pull/1588#issuecomment-7145989077) Rebased onto upstream `main` (`70564ae`) at `c36a25b`: - Preserved `70564ae`'s `narrow16` / `mode16 == Some(3)` RTZ path in `v_fma_mixlo_f16` / `v_fma_mixhi_f16` while using single-round `fma_f32_to_f16` in default round-to-nearest-even mode (and applying `clamp_f16` when `v.clamp` is set). - Updated `unpack_f32_parts` and `fma_f32_to_f16_ref` to flush f32 denormal inputs (`exp_raw == 0`) to signed zero per RDNA2 console float mode (matching `semantics_tests::ftz` while keeping widened f16 denormals exact); verified `semantics_tests::mixed_precision_matches_the_hardware` now passes with 0 mismatches. - Preserved `range::build` in `try_build_valu_cs` alongside `build_valu_cs_with` and added `70564ae`'s `HostShader` fields. Verified locally on Windows 11 x64 / NVIDIA GeForce RTX 5070 Ti + WARP: - `cargo xtask policy`: passed (174 files ok) - `cargo clippy --workspace --all-targets --locked -- -D warnings` (default & `--all-features`): passed - Targeted tests (`v_fma_mix`, `v_mad_f16_and_v_mac_f16`, `sixteen_bit_floats_match_the_hardware`, `mixed_precision_matches_the_hardware`, `f16_results_round*`, `f16_arithmetic_rounds_once`): all passed (0 failed) - Workspace non-gpu/non-shader crates (`--locked -- --test-threads=1`): `victory` 1 passed, `victory-core` 11 passed, `victory-formats` 23 passed / 4 ignored, `victory-game` 15 passed, `victory-hle` 99 passed (97 unit + 1 `fidelityfx` + 1 `no_dll_planting`), `victory-loader` 25 passed (22 unit + 2 `load_probe` + 1 `title_dlls`), `victory-pe` 7 passed, `victory-pipeline` 4 passed, `xtask` 4 passed - `cargo test -p victory-gpu --locked -- --test-threads=1`: `76 passed; 2 failed; 1 ignored` (pre-existing on clean `70564ae`: `dynamic_slots_are_held_until_released`, `lists_share_a_table_and_copies_keep_their_views`) - `cargo test -p victory-shader --features host --locked` (hardware): `208 passed; 3 failed; 2 ignored` (pre-existing on clean `70564ae` on RTX 5070 Ti: `stride_tests::a_heap_buffer_read_by_element_takes_the_views_stride`, `stride_tests::a_heap_buffer_read_where_no_buffer_view_is_reads_zeros`, `synthetic_tests::gathers_at_a_level_match_the_hardware`) - `VICTORY_WARP=1 cargo test -p victory-shader --features host --locked`: `209 passed; 2 failed; 2 ignored` (pre-existing `gathers_at_a_level_match_the_hardware` + `permutes_read_the_lane_named_and_zero_from_lanes_left_out` which skips under `VICTORY_WARP=1` and passed on RTX hardware)
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 03:30 UTC · original · edited 2026-11-25 22:25 UTC

Automated triage for the maintainers.

Needs rebase. This PR no longer merges cleanly into main: main has moved since the last triage, and the branch now conflicts in crates/victory-shader/src/emit/lower.rs and crates/victory-shader/src/emit/valu_tests.rs. It will be reviewed again once it is rebased onto current main.

Previous verdict for this head: merge candidate.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 03:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/1588#issuecomment-7151985807) · edited 2026-11-25 22:25 UTC <!-- victory-triage v1 head=c78fe1b99d85b1c3f0ad92ad2f7a4a003d82a1c7 verdict=needs-rebase at=2026-11-25T22:28:30Z --> Automated triage for the maintainers. **Needs rebase.** This PR no longer merges cleanly into `main`: `main` has moved since the last triage, and the branch now conflicts in `crates/victory-shader/src/emit/lower.rs` and `crates/victory-shader/src/emit/valu_tests.rs`. It will be reviewed again once it is rebased onto current `main`. Previous verdict for this head: merge candidate. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠Ctrl-Alt-Haze on GitHub · 2026-11-25 04:12 UTC · original

Thanks for the review (#1588) and @⁠catminou4 for the macOS arm64 approval! Updated the PR and rebased onto upstream/main (940d32f) at c78fe1b:

  1. Dropped mad_f16, valu16_op branch, and ir::Inst::name_override:

    • Reverted crates/victory-shader/src/ir.rs completely (only lower.rs and valu_tests.rs remain modified), removed fn mad_f16 / valu16_op special-casing / build_valu_cs_with / mad_f16_ref / v_mad_f16_and_v_mac_f16_use_unfused_product_rounding, and updated the PR title and body to match.
  2. Evidence for flushing f32 denormal inputs (unpack_f32_parts):

    • On RDNA2 in console float mode (MODE.FP_DENORM, IEEE off, DX10 clamp on), 32-bit float denormal operands flush to signed zero on input and output while 16-bit denormals stay intact — already documented in crates/victory-shader/src/emit/semantics_tests.rs and codified for v_fma_mix* specifically in mix_source (fn ftz, measured on RDNA2 hardware). Running semantics_tests::mixed_precision_matches_the_hardware caught the exact mismatch without FTZ in unpack_f32_parts and now passes cleanly on both RTX 5070 Ti and WARP (with widened f16 denormals preserved as normal f32s). Note also unpack_f32_parts is private to fma_f32_to_f16 (v_fma_mix{lo,hi}_f16), so it does not alter any other opcode.
  3. Practical cost of fma_f32_to_f16:

    • Exact emitted DXIL op count per non-RTZ v_fma_mix{lo,hi}_f16 call: 255 pure 32-bit DXIL ops (unpack_f32_parts 9×3 + mul24_exact 17 + rne_step 8×2 + fma_f32_to_f16 195), vs 2 (FMad + legacyF32ToF16) before, with 0 i64 ops or extra ShaderFlags (RTZ mode16 == Some(3) keeps fmad + narrow16).
    • Measured offline across all 26,503 containers / 26,084 programs in a 1.0.2.1 shaders.rpf via victory translate --validate (940d32f vs c78fe1b, release builds):
      • Validation totals unchanged (23,918 total validated: 13,338 / 14,205 VS/PS with the same 867 pre-existing 940d32f Flags must match usage. failures, 1,886 / 2,621 CS, 8,694 / 8,765 MS — 0 regressions).
      • Wall-clock full-corpus emit + dxil.dll validation time: 574.01 s (940d32f) vs 434.10 s (c78fe1b) — well within run variance, with no practical slowdown across the full shader pack.

Re-verified on c78fe1b (Windows 11 x64 / RTX 5070 Ti + WARP):

  • cargo xtask policy: passed (182 files ok)
  • cargo clippy --workspace --all-targets --locked -- -D warnings (default & --all-features): passed
  • Targeted tests (v_fma_mix, mixed_precision_matches_the_hardware, sixteen_bit_floats_match_the_hardware, f16_results_round*): all 5 passed; 0 failed
  • Non-GPU workspace crates (--locked -- --test-threads=1): all passed (victory 12, victory-core 13, victory-formats 38 / 5 ignored, victory-game 15, victory-hle 145, victory-loader 38, victory-pe 36, victory-pipeline 7, xtask 6)
  • cargo test -p victory-shader --features host --locked -- --test-threads=1 (RTX 5070 Ti): 245 passed; 3 failed; 3 ignored (same 3 pre-existing 940d32f failures)
  • VICTORY_WARP=1 cargo test -p victory-shader --features host --locked -- --test-threads=1: 246 passed; 2 failed; 3 ignored (same 2 pre-existing failures)
  • cargo test -p victory-gpu --locked -- --test-threads=1: 141 passed; 2 failed; 2 ignored (same 2 pre-existing 940d32f failures)
**@⁠Ctrl-Alt-Haze** on GitHub · 2026-11-25 04:12 UTC · [original](https://github.com/Marvisak/VIctory/pull/1588#issuecomment-7152634799) Thanks for the review (`#1588`) and @⁠catminou4 for the macOS arm64 approval! Updated the PR and rebased onto `upstream/main` (`940d32f`) at `c78fe1b`: 1. **Dropped `mad_f16`, `valu16_op` branch, and `ir::Inst::name_override`:** - Reverted `crates/victory-shader/src/ir.rs` completely (only `lower.rs` and `valu_tests.rs` remain modified), removed `fn mad_f16` / `valu16_op` special-casing / `build_valu_cs_with` / `mad_f16_ref` / `v_mad_f16_and_v_mac_f16_use_unfused_product_rounding`, and updated the PR title and body to match. 2. **Evidence for flushing `f32` denormal inputs (`unpack_f32_parts`):** - On RDNA2 in console float mode (`MODE.FP_DENORM`, IEEE off, DX10 clamp on), 32-bit float denormal operands flush to signed zero on input and output while 16-bit denormals stay intact — already documented in [`crates/victory-shader/src/emit/semantics_tests.rs`](https://github.com/Marvisak/VIctory/blob/940d32f69b22265690a0b5a15d6ded572ba33baf/crates/victory-shader/src/emit/semantics_tests.rs#L13-L18) and codified for `v_fma_mix*` specifically in [`mix_source`](https://github.com/Marvisak/VIctory/blob/940d32f69b22265690a0b5a15d6ded572ba33baf/crates/victory-shader/src/emit/semantics_tests.rs#L2214-L2223) (`fn ftz`, measured on RDNA2 hardware). Running `semantics_tests::mixed_precision_matches_the_hardware` caught the exact mismatch without FTZ in `unpack_f32_parts` and now passes cleanly on both RTX 5070 Ti and WARP (with widened f16 denormals preserved as normal f32s). Note also `unpack_f32_parts` is private to `fma_f32_to_f16` (`v_fma_mix{lo,hi}_f16`), so it does not alter any other opcode. 3. **Practical cost of `fma_f32_to_f16`:** - Exact emitted DXIL op count per non-RTZ `v_fma_mix{lo,hi}_f16` call: **255 pure 32-bit DXIL ops** (`unpack_f32_parts` 9×3 + `mul24_exact` 17 + `rne_step` 8×2 + `fma_f32_to_f16` 195), vs 2 (`FMad` + `legacyF32ToF16`) before, with **0** `i64` ops or extra `ShaderFlags` (`RTZ` `mode16 == Some(3)` keeps `fmad` + `narrow16`). - Measured offline across all `26,503` containers / `26,084` programs in a 1.0.2.1 `shaders.rpf` via `victory translate --validate` (`940d32f` vs `c78fe1b`, release builds): - Validation totals unchanged (`23,918` total validated: `13,338 / 14,205` VS/PS with the same `867` pre-existing `940d32f` `Flags must match usage.` failures, `1,886 / 2,621` CS, `8,694 / 8,765` MS — **0 regressions**). - Wall-clock full-corpus emit + `dxil.dll` validation time: `574.01 s` (`940d32f`) vs `434.10 s` (`c78fe1b`) — well within run variance, with no practical slowdown across the full shader pack. **Re-verified on `c78fe1b` (Windows 11 x64 / RTX 5070 Ti + WARP):** - `cargo xtask policy`: passed (`182 files ok`) - `cargo clippy --workspace --all-targets --locked -- -D warnings` (default & `--all-features`): passed - Targeted tests (`v_fma_mix`, `mixed_precision_matches_the_hardware`, `sixteen_bit_floats_match_the_hardware`, `f16_results_round*`): all `5 passed; 0 failed` - Non-GPU workspace crates (`--locked -- --test-threads=1`): all passed (`victory` 12, `victory-core` 13, `victory-formats` 38 / 5 ignored, `victory-game` 15, `victory-hle` 145, `victory-loader` 38, `victory-pe` 36, `victory-pipeline` 7, `xtask` 6) - `cargo test -p victory-shader --features host --locked -- --test-threads=1` (RTX 5070 Ti): `245 passed; 3 failed; 3 ignored` (same 3 pre-existing `940d32f` failures) - `VICTORY_WARP=1 cargo test -p victory-shader --features host --locked -- --test-threads=1`: `246 passed; 2 failed; 3 ignored` (same 2 pre-existing failures) - `cargo test -p victory-gpu --locked -- --test-threads=1`: `141 passed; 2 failed; 2 ignored` (same 2 pre-existing `940d32f` failures)
Author
Owner

@⁠catminou4 on GitHub · 2026-11-25 03:48 UTC · original · approved these changes

Tested locally: macOS arm64, rustc 1.98.1, PR head merged into main 940d32f69b, cargo test -p victory-shader --locked.

144 passed / 0 failed / 2 ignored. Single-round v_fma_mix*_f16 + unfused v_mad_f16/v_mac_f16 — central PR of the f16 mul/add cluster (#1598 approved separately, #1608 approved earlier); landing order matters, later ones must reconcile.

**@⁠catminou4** on GitHub · 2026-11-25 03:48 UTC · [original](https://github.com/Marvisak/VIctory/pull/1588#pullrequestreview-6051577574) · **approved these changes** Tested locally: macOS arm64, rustc 1.98.1, PR head merged into main 940d32f69b, `cargo test -p victory-shader --locked`. 144 passed / 0 failed / 2 ignored. Single-round v_fma_mix*_f16 + unfused v_mad_f16/v_mac_f16 — **central PR of the f16 mul/add cluster** (#1598 approved separately, #1608 approved earlier); landing order matters, later ones must reconcile.
Author
Owner

@⁠andrewpozdnakov7-jpg on GitHub · 2026-11-26 17:30 UTC · original

I resolved the conflicts against current main (63bcca4) at d4ff5dd, retaining your c78fe1b commit. Your original test and the five shared tests all passed. The full VALU group passed 41/41 on WARP 1.0.22 with DXIL validation, including the directed-rounding control. Side-by-side results and the two tested commits

If carrying the conflict resolution forward, please retain its Git author or add Co-authored-by: andrewpozdnakov7-jpg <[email protected]> if folded into another commit. AI-assisted with Codex.

**@⁠andrewpozdnakov7-jpg** on GitHub · 2026-11-26 17:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/1588#issuecomment-7199131555) I resolved the conflicts against current `main` (`63bcca4`) at [`d4ff5dd`](https://github.com/andrewpozdnakov7-jpg/VIctory/commit/d4ff5dd39db470dafa01e9e4b0814daf174c3773), retaining your `c78fe1b` commit. Your original test and the five shared tests all passed. The full VALU group passed 41/41 on WARP 1.0.22 with DXIL validation, including the directed-rounding control. [Side-by-side results and the two tested commits](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1608) If carrying the conflict resolution forward, please retain its Git author or add `Co-authored-by: andrewpozdnakov7-jpg <[email protected]>` if folded into another commit. AI-assisted with Codex.
This pull request has changes conflicting with the target branch.
  • crates/victory-shader/src/emit/lower.rs
  • crates/victory-shader/src/emit/valu_tests.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/1588/head:github-bot/gh-1588'
git switch 'github-bot/gh-1588'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1588'
git switch 'github-bot/gh-1588'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1588'
git switch 'github-bot/gh-1588'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1588'
git switch 'main'
git merge --squash 'github-bot/gh-1588'
git switch 'main'
git merge --ff-only 'github-bot/gh-1588'
git switch 'main'
git merge 'github-bot/gh-1588'
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!1588
No description provided.