GPU tests: release root signatures through their COM vtable #2493

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

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


Two root-signature tests called the generic refcount decrement directly. That helper does not destroy boxed objects at zero. Use the COM Release slot for both the QueryInterface reference and the original object, preserving the existing refcount assertions and exercising the actual interface lifetime.

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

<!-- greyfinch-sync:Marvisak/VIctory:issue:6607179892 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2495). Originally posted by [VlREX](https://github.com/VlREX) on 2026-11-25T14:48:55Z. --- Two root-signature tests called the generic refcount decrement directly. That helper does not destroy boxed objects at zero. Use the COM Release slot for both the QueryInterface reference and the original object, preserving the existing refcount assertions and exercising the actual interface lifetime. Test-only change, no title data. Local Rust tests were unavailable. 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/2495:upstream-pr/2495'
git switch 'upstream-pr/2495'

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