Fix memory mapping and shader lowering #109

Open
github-bot wants to merge 1 commit from github-bot/gh-109 into main AGit
Owner

@⁠Asicalug on GitHub · 2026-11-25 14:20 UTC · original
Asicalug:fix-memory-and-shader-lowering → main · +16435 −13203 · 70 files · 1 commits · open

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.

**@⁠Asicalug** on GitHub · 2026-11-25 14:20 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/109) `Asicalug:fix-memory-and-shader-lowering` → `main` · +16435 −13203 · 70 files · 1 commits · open ## 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:35:55 +00:00
Author
Owner

@⁠ySKELLETONX on GitHub · 2026-11-25 16:35 UTC · original

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.

**@⁠ySKELLETONX** on GitHub · 2026-11-25 16:35 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/109#issuecomment-7168234730) 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 has changes conflicting with the target branch.
  • crates/victory-gpu/src/ambient.rs
  • crates/victory-gpu/src/draw.rs
  • crates/victory-gpu/src/host.rs
  • crates/victory-gpu/src/shadow.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/109/head:github-bot/gh-109'
git switch 'github-bot/gh-109'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-109'
git switch 'github-bot/gh-109'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-109'
git switch 'github-bot/gh-109'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-109'
git switch 'main'
git merge --squash 'github-bot/gh-109'
git switch 'main'
git merge --ff-only 'github-bot/gh-109'
git switch 'main'
git merge 'github-bot/gh-109'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.