gpu: make fill/flight synchronization safe by default #63

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

@⁠LouisRiverstone on GitHub · 2026-11-25 21:29 UTC · original
LouisRiverstone:fix/fill-wait-default → main · +23 −4 · 1 files · 1 commits · open

Related to #18 and #5.

Summary

  • waits for in-flight shader writes before fills read title-memory upload ranges by default
  • keeps explicit opt-out with VICTORY_FILL_WAIT=0
  • fixes the previous inverted handling of VICTORY_FILL_WAIT=1
  • adds a focused regression test for the environment setting

Validation

  • Windows-native test: cargo test -p victory-gpu fill_wait_is_safe_by_default_and_can_be_disabled
  • Result: 1 passed

This addresses the AMD TDR/invalid-command regression observed when upload fills raced with in-flight GPU flights.

**@⁠LouisRiverstone** on GitHub · 2026-11-25 21:29 UTC · [original](https://github.com/uiliannn/VItoriaBr/pull/63) `LouisRiverstone:fix/fill-wait-default` → `main` · +23 −4 · 1 files · 1 commits · open Related to #18 and #5. ## Summary - waits for in-flight shader writes before fills read title-memory upload ranges by default - keeps explicit opt-out with VICTORY_FILL_WAIT=0 - fixes the previous inverted handling of VICTORY_FILL_WAIT=1 - adds a focused regression test for the environment setting ## Validation - Windows-native test: cargo test -p victory-gpu fill_wait_is_safe_by_default_and_can_be_disabled - Result: 1 passed This addresses the AMD TDR/invalid-command regression observed when upload fills raced with in-flight GPU flights.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:42:52 +00:00
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/63/head:github-bot/gh-63'
git switch 'github-bot/gh-63'

Merge

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