Audio DSP: the convolution's transforms as transforms of real signals, with AVX2 (1.6-2.25x per block) #4434
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4434
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4433"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@TolkoDev on GitHub · 2026-11-30 20:20 UTC · original
TolkoDev:pr/convolution-fft→main· +1109 −899 · 33 files · 14 commits · closed without mergingWhat it changes
Each block of the DSP's convolution ran two 2048-point complex FFTs on real signals: scalar, with the rotations read in strides. A title's command completes when it is submitted, so this runs on the thread that submits it.
The low bits of the output differ from before.
How it was tested
cargo test: the 10dsptests ofvictory-hlepass (3 of them new or reworked for this: the transform against a plain sum, AVX2 against portable bits, and the existing direct-convolution test, which now goes through the new transform). The rest of the crate's tests were not run. Clippy reports nothing indsp. CI's first Clippy step already fails on main (e1251c31) invictory-shaderandvictory-gpu.Checked for overlap
convolve.rs: none changes it. Searched all pull requests for convolution and FFT. #623 (closed by its author on 2026-11-30, not merged) had also moved the convolution to real-input transforms and AVX2, among several other optimizations. It used therealfftcrate and FMA. This one changes onlyconvolve.rs, adds no dependency and uses no FMA.@tikD1337 on GitHub · 2026-11-30 20:51 UTC · original
Tested headlessly on
origin/main(e1251c31, Windows 11, no game run):origin/main.cargo test -p victory-hle -- modules::dsp::convolve: 4 passed, 0 failed (480 filtered), no new warnings.(AI-assisted build/unit-test check; game runtime not launched.)
@trustno1-coder on GitHub · 2026-12-01 18:41 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed