GPU tests: release the owned descriptor heap fixture #2496

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

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


Release the owned, shader-visible descriptor heap used by heaps_hold_count_descriptors_from_their_start as soon as its checks are complete. Verify that its reference count reaches zero so the heap unregisters and frees its backing allocation. Use a separate null output for the invalid-kind check and verify that it stays null. This fixture is separate from the placed-heap test in #2262.

Test only. Local Rust tests were unavailable. No title data. AI-assisted.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6607236754 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2498). Originally posted by [VlREX](https://github.com/VlREX) on 2026-11-25T14:51:53Z. --- Release the owned, shader-visible descriptor heap used by `heaps_hold_count_descriptors_from_their_start` as soon as its checks are complete. Verify that its reference count reaches zero so the heap unregisters and frees its backing allocation. Use a separate null output for the invalid-kind check and verify that it stays null. This fixture is separate from the placed-heap test in #2262. Test only. Local Rust tests were unavailable. No title data. AI-assisted.
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/2498:upstream-pr/2498'
git switch 'upstream-pr/2498'

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