Tests: exercise the opted-in GPU upload heap path #255

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

@⁠loyodea on GitHub · 2026-11-26 13:14 UTC · original
loyodea:victory-gpu-upload-path → main · +75 −11 · 1 files · 1 commits · open

Related to the GPU-upload portion of #211. Add an opt-in test that passes the GPU upload request through the production host constructor, reports device capability and the actual heap type, and checks copied bytes after two synchronized copies. The existing allocator, feature default, budget, and fallback remain in place.

Tested

  • The targeted Windows test passed with GPU upload both requested and unrequested on an RX 9060 XT with driver 32.0.32029.2010, including with the D3D12 debug layer.
  • This device reported GPUUploadHeapSupported=0. Both runs used an ordinary upload heap and passed the byte comparison. The GPU_UPLOAD heap case requires a device that exposes the capability.
  • The serial victory-gpu suite reported 112 passed, one failed, and five ignored, including this opt-in test. Clean upstream 4f62c2a failed the same write-watch assertion. The production build and changed-file asset-policy check passed.

This PR adds test coverage. The reported retail hang remains unverified. Codex contributed the implementation and verification.

**@⁠loyodea** on GitHub · 2026-11-26 13:14 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/255) `loyodea:victory-gpu-upload-path` → `main` · +75 −11 · 1 files · 1 commits · open Related to the GPU-upload portion of #211. Add an opt-in test that passes the GPU upload request through the production host constructor, reports device capability and the actual heap type, and checks copied bytes after two synchronized copies. The existing allocator, feature default, budget, and fallback remain in place. **Tested** - The targeted Windows test passed with GPU upload both requested and unrequested on an RX 9060 XT with driver 32.0.32029.2010, including with the D3D12 debug layer. - This device reported GPUUploadHeapSupported=0. Both runs used an ordinary upload heap and passed the byte comparison. The GPU_UPLOAD heap case requires a device that exposes the capability. - The serial victory-gpu suite reported 112 passed, one failed, and five ignored, including this opt-in test. Clean upstream 4f62c2a failed the same write-watch assertion. The production build and changed-file asset-policy check passed. This PR adds test coverage. The reported retail hang remains unverified. Codex contributed the implementation and verification.
Pass opt-in explicitly to standalone host instances so a D3D12 probe can report real heap selection and compare copied bytes. Related to #211.

Co-authored-by: Codex <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 13:14:43 +00:00
This pull request can be merged automatically.
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/255/head:github-bot/gh-255'
git switch 'github-bot/gh-255'

Merge

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