XMA: gather frame payloads one byte at a time #1016
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1016
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1016/head"
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?
@heromike405-arch on GitHub · 2026-11-24 15:05 UTC · original
heromike405-arch:perf/xma-frame-bytes→main· +45 −3 · 1 files · 1 commits · merged 2026-11-25 00:20 UTCRead complete XMA2 payload bytes directly within a packet. The existing bit reader still handles headers, interleaved streams and the last partial byte.
On Windows x86-64 with Rust 1.98.1, the victory-formats test binary passed 24 tests with four ignored. A synthetic differential check against
ffe310ereturned identical frame bytes, bit lengths, start positions and next-frame positions for 36,720 cases, including truncated buffers.Median read_frame time across nine optimized runs on this machine:
The benchmark cycles through all eight bit alignments. It measures frame extraction only. Full-workspace CI and in-game playback remain unverified.
@Zipettte on GitHub · 2026-11-24 15:40 UTC · original
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
03a6f22:cargo test -p victory-formatspasses, 24 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).