GPU tests: release buffers and textures in bindless fixtures #2487

Open
VlREX wants to merge 1 commit from upstream-pr/2489 into main
VlREX commented 2026-11-25 14:46:19 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by VlREX on 2026-11-25T14:46:19Z.


Both bindless heap-view tests create three emulated D3D12 resources and keep their initial COM references after the fixture returns. Release the two buffers and texture at each caller after rounds returns, including its no-host early return. Assert that each initial reference reaches zero. This covers the buffers and textures separately from the descriptor heap in #2487.

Test-only change, no title data. Local Rust tests were unavailable. AI-assisted.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6607129592 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2489). Originally posted by [VlREX](https://github.com/VlREX) on 2026-11-25T14:46:19Z. --- Both bindless heap-view tests create three emulated D3D12 resources and keep their initial COM references after the fixture returns. Release the two buffers and texture at each caller after `rounds` returns, including its no-host early return. Assert that each initial reference reaches zero. This covers the buffers and textures separately from the descriptor heap in #2487. Test-only change, no title data. Local Rust tests were unavailable. AI-assisted.
catminou4 commented 2026-11-25 15:04:04 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T14:57:46Z.

Review: COMMENTED


GPU tests: release buffers and textures in bindless fixtures. Test-only hygiene; same fixture-cleanup theme as #2482/#2485/#2487 — could have been one PR, but harmless.

<!-- greyfinch-sync:Marvisak/VIctory:review:6059999345 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2489#pullrequestreview-6059999345). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-25T14:57:46Z. **Review:** COMMENTED --- GPU tests: release buffers and textures in bindless fixtures. Test-only hygiene; same fixture-cleanup theme as #2482/#2485/#2487 — could have been one PR, but harmless.
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/2489:upstream-pr/2489'
git switch 'upstream-pr/2489'

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