Xmem: honour 32-bit allocation alignment #2529
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!2529
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2529"
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?
@XratePirate on GitHub · 2026-11-25 15:21 UTC · original
XratePirate:main→main· +37 −4 · 1 files · 4 commits · openHonour the requested layout.align() for ALLOC_32BIT allocations in XMemAllocDefault and add a unit test.
Closes #2183
@Marvisak on GitHub · 2026-11-25 15:58 UTC · original · edited 2026-11-25 22:28 UTC
Automated triage for the maintainers.
Proposed close: duplicate of #2184. Re-checked at the new head
7a37340. Thank you for the update. The change toXMemAllocDefaultincrates/victory-hle/src/modules/xmem.rsis still the same fix as #2184, which is open, merges cleanly, carries the merge-candidate label and also closes #2183: the 32-bit branch passes the attributes' alignment above 64 KiB toMEM_ADDRESS_REQUIREMENTS::Alignmentthrough a private helper split out ofXMemVirtualAlloc.#2184 has the stronger test. It keeps four live blocks per alignment, so a block cannot pass by landing on a coarser boundary by chance, and it checks that they are writable.
alloc_default_32bit_honours_alignmenthere checks one block per alignment.If this PR covers a case #2184 misses, say which one and the verdict can be revisited.
This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the
triage: proposed closelabel.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.