Reuse the D3D12 queue in shader tests #694

Open
TokyoMkt wants to merge 1 commit from upstream-pr/694 into main
TokyoMkt commented 2026-11-25 04:37:18 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by TokyoMkt on 2026-11-25T04:37:18Z.


Ports God489's change from Zettrox/ztrx#11. Reuse one D3D12 queue per shader test host; each draw or dispatch still has its own allocator, list and fence. No runtime changes.

RTX 5070, Windows 10 with Agility SDK 1.620.2, two serial runs: 82–91 s before, 19.5–20.5 s after. Each run had 214 passed and 3 ignored. SM 6.6 WARP cases skipped on this machine.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6597315656 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/694). Originally posted by [TokyoMkt](https://github.com/TokyoMkt) on 2026-11-25T04:37:18Z. --- Ports God489's change from Zettrox/ztrx#11. Reuse one D3D12 queue per shader test host; each draw or dispatch still has its own allocator, list and fence. No runtime changes. RTX 5070, Windows 10 with Agility SDK 1.620.2, two serial runs: 82–91 s before, 19.5–20.5 s after. Each run had 214 passed and 3 ignored. SM 6.6 WARP cases skipped on this machine.
HAL9000RELOADED commented 2026-11-25 20:09:26 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by HAL9000RELOADED on 2026-11-25T19:29:37Z.


RX 7900 XTX, Windows 10 + Agility 1.620.2 (#402), main d510ee4. cargo test -p victory-shader --lib, two serial runs each after building: base 20.2 s / 20.1 s, this PR 8.6 s / 8.5 s. Results are the same (215 passed, 0 failed, 3 ignored).

<!-- greyfinch-sync:fxceless/victory-fork:comment:7172373254 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/694#issuecomment-7172373254). Originally posted by [HAL9000RELOADED](https://github.com/HAL9000RELOADED) on 2026-11-25T19:29:37Z. --- RX 7900 XTX, Windows 10 + Agility 1.620.2 (#402), main `d510ee4`. `cargo test -p victory-shader --lib`, two serial runs each after building: base 20.2 s / 20.1 s, this PR 8.6 s / 8.5 s. Results are the same (215 passed, 0 failed, 3 ignored).
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/694:upstream-pr/694'
git switch 'upstream-pr/694'

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