victory-gpu: record texture copy-back ranges as card-steps writers #383

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

@⁠SalmanBarkat on GitHub · 2026-11-26 21:51 UTC · original
SalmanBarkat:fix/card-steps-texture-back-writers → main · +43 −0 · 1 files · 1 commits · open

Fixes #320.

  • Include \ light.texture_back_ranges\ as \Writer { shadow: None, from, to, copy: false }\ in \card_steps::writers\ alongside declared buffer writes and read-backs, so \holder()\ refuses card-step reads/writes that overlap pending texture copy-backs rather than reading a stale buffer host copy.
  • Add regression test \ exture_copy_back_writers_refuse_overlapping_reads\ verifying overlapping ranges are refused while disjoint/touching ranges remain unaffected.
**@⁠SalmanBarkat** on GitHub · 2026-11-26 21:51 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/383) `SalmanBarkat:fix/card-steps-texture-back-writers` → `main` · +43 −0 · 1 files · 1 commits · open Fixes #320. - Include \ light.texture_back_ranges\ as \Writer { shadow: None, from, to, copy: false }\ in \card_steps::writers\ alongside declared buffer writes and read-backs, so \holder()\ refuses card-step reads/writes that overlap pending texture copy-backs rather than reading a stale buffer host copy. - Add regression test \ exture_copy_back_writers_refuse_overlapping_reads\ verifying overlapping ranges are refused while disjoint/touching ranges remain unaffected.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:56:19 +00:00
Author
Owner

@⁠UwUCammie on GitHub · 2026-11-27 00:03 UTC · original

I backported this to the AMD branch in #34. The focused Windows test passed under Wine. I also ran a 187-second saved route twice on the RX 7900 XT using the same 720p binary with the check off and on. Both runs encountered pending texture copy-backs and reached the living room through the glass door. I saw no one-frame brightness reversals above the threshold in the reflective-floor crops. The camera headings differed, so this validates the exercised path on that replay, not a general flicker fix. Setup and counts

**@⁠UwUCammie** on GitHub · 2026-11-27 00:03 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/383#issuecomment-7206139522) I backported this to the AMD branch in [#34](https://github.com/jtrudeau1530/VIctory-7900XTX/pull/34). The focused Windows test passed under Wine. I also ran a 187-second saved route twice on the RX 7900 XT using the same 720p binary with the check off and on. Both runs encountered pending texture copy-backs and reached the living room through the glass door. I saw no one-frame brightness reversals above the threshold in the reflective-floor crops. The camera headings differed, so this validates the exercised path on that replay, not a general flicker fix. [Setup and counts](https://github.com/UwUCammie/victory-amd/commit/ecd9a838)
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

Merge

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