Fix memory mapping and shader lowering #109

Open
Asicalug wants to merge 1 commit from upstream-pr/109 into main
Asicalug commented 2026-11-25 14:20:15 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by Asicalug on 2026-11-25T14:20:15Z.


Summary

Fixes memory mapping edge cases and shader lowering issues in VIctory.

Changes

  • Fixed physical memory mapping, aliasing, and unmapping edge cases.
  • Fixed stale GPU write-journal entries after title memory remapping.
  • Split shader lowering into smaller files to comply with repository file-size policy.

Testing

  • cargo fmt --check
  • cargo test --workspace -- --test-threads=1
  • cargo xtask policy
  • cargo build --release -p victory

All checks passed locally on Windows.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:6606611921 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/109). Originally posted by [Asicalug](https://github.com/Asicalug) on 2026-11-25T14:20:15Z. --- ## Summary Fixes memory mapping edge cases and shader lowering issues in VIctory. ## Changes - Fixed physical memory mapping, aliasing, and unmapping edge cases. - Fixed stale GPU write-journal entries after title memory remapping. - Split shader lowering into smaller files to comply with repository file-size policy. ## Testing - `cargo fmt --check` - `cargo test --workspace -- --test-threads=1` - `cargo xtask policy` - `cargo build --release -p victory` All checks passed locally on Windows.
ySKELLETONX commented 2026-11-25 16:35:52 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by ySKELLETONX on 2026-11-25T16:35:52Z.


Tested on an RX 7600 XT 16 GB (RDNA3, Navi 33), driver 32.0.32015.2008, Windows 11 Pro build 26300, Rust 1.98.1, at 6febfef: cargo test -p victory-shader --lib --locked: 266 passed, 0 failed, 6 ignored, hardware dispatch tests included (main at 01aadd1: 266 passed). Workspace tests only; not run in the title.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:comment:7168234730 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/109#issuecomment-7168234730). Originally posted by [ySKELLETONX](https://github.com/ySKELLETONX) on 2026-11-25T16:35:52Z. --- Tested on an RX 7600 XT 16 GB (RDNA3, Navi 33), driver 32.0.32015.2008, Windows 11 Pro build 26300, Rust 1.98.1, at `6febfef`: `cargo test -p victory-shader --lib --locked`: **266 passed, 0 failed, 6 ignored**, hardware dispatch tests included (`main` at `01aadd1`: 266 passed). Workspace tests only; not run in the title.
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/109:upstream-pr/109'
git switch 'upstream-pr/109'

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/109'
git switch 'upstream-pr/109'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/109'
git switch 'upstream-pr/109'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/109'
git switch 'main'
git merge --squash 'upstream-pr/109'
git switch 'main'
git merge --ff-only 'upstream-pr/109'
git switch 'main'
git merge 'upstream-pr/109'
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
Belobug/VIctory-Belobug-AMD!109
No description provided.