docs: record the XDSP impulse-response layout from the GDK 2026.10 public docs (#606) #607

Open
AnastasisKon wants to merge 1 commit from upstream-pr/607 into main
AnastasisKon commented 2026-11-28 12:04:47 +00:00 (Migrated from github.com)

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:04:47Z.


What this changes

Refs #606. Records in docs/native-host.md ("Reverb and convolution DSP") and dsp.rs's module comment what the public GDK 2026.10 docs (the XDK's MarkdownDocsOnly package, XDSP audio reference + overviews) specify for the impulse-response layout that both places called unknown — in our own words: frequency-domain interleaved complex float pairs (N bins = N*2 floats), processed in 512/1024-frame blocks, mono or stereo (stereo IR doubles the buffer), optional trailing reduction block signed 0xFFFFACE1 with up to 15 little-endian (u16 cutoff, u16 block index) entries, strictly increasing block indices; base buffer 64K-aligned physical XMemAlloc ≥ 64 KB. Marked as not yet verified against a real run. No behavior change. The same finding is posted as a comment on #17.

Nothing from the XDK is committed or quoted — only the documented behavior, paraphrased, with the public doc pages named.

How it was tested

  • cargo test -p victory-hle (host arm64, -- --test-threads=1): 152 passed, 0 failed (comment/doc-only change)
  • cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings: clean
  • cargo xtask policy: clean (no SDK files involved)
  • Ran the game: not possible yet — the game download is still incomplete; a watcher runs a headless traced run when it lands, which is what would verify the layout via VICTORY_TRACE_DSP/VICTORY_DUMP_DSP

Checklist

  • No game files, game code, disassembly listings or SDK files are included (paraphrase of public docs only)
  • Marked as unverified against a real run; the guesses list in docs/native-host.md updated accordingly
  • No new diagnostics; VICTORY_TRACE_DSP/VICTORY_DUMP_DSP/VICTORY_GUESS_DSP unchanged and still documented
<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:5539935239 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/607). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T12:04:47Z. --- ## What this changes Refs #606. Records in `docs/native-host.md` ("Reverb and convolution DSP") and `dsp.rs`'s module comment what the **public GDK 2026.10 docs** (the XDK's MarkdownDocsOnly package, XDSP audio reference + overviews) specify for the impulse-response layout that both places called unknown — in our own words: frequency-domain interleaved complex float pairs (N bins = N*2 floats), processed in 512/1024-frame blocks, mono or stereo (stereo IR doubles the buffer), optional trailing reduction block signed `0xFFFFACE1` with up to 15 little-endian (u16 cutoff, u16 block index) entries, strictly increasing block indices; base buffer 64K-aligned physical `XMemAlloc` ≥ 64 KB. Marked as not yet verified against a real run. No behavior change. The same finding is posted as a comment on #17. Nothing from the XDK is committed or quoted — only the documented behavior, paraphrased, with the public doc pages named. ## How it was tested - [x] `cargo test -p victory-hle` (host arm64, `-- --test-threads=1`): 152 passed, 0 failed (comment/doc-only change) - [x] `cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings`: clean - [x] `cargo xtask policy`: clean (no SDK files involved) - [ ] Ran the game: not possible yet — the game download is still incomplete; a watcher runs a headless traced run when it lands, which is what would verify the layout via `VICTORY_TRACE_DSP`/`VICTORY_DUMP_DSP` ## Checklist - [x] No game files, game code, disassembly listings or SDK files are included (paraphrase of public docs only) - [x] Marked as unverified against a real run; the guesses list in `docs/native-host.md` updated accordingly - [x] No new diagnostics; `VICTORY_TRACE_DSP`/`VICTORY_DUMP_DSP`/`VICTORY_GUESS_DSP` unchanged and still documented
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/607:upstream-pr/607'
git switch 'upstream-pr/607'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/607'
git switch 'upstream-pr/607'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/607'
git switch 'upstream-pr/607'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/607'
git switch 'main'
git merge --squash 'upstream-pr/607'
git switch 'main'
git merge --ff-only 'upstream-pr/607'
git switch 'main'
git merge 'upstream-pr/607'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
LakshanSivakumar/Native-Victory-macOS!607
No description provided.