Queue and device tables: SuspendX, ResumeX and WaitX; ID3D12Device9 and 10 #1409

Manually merged
github merged 1 commit from github-bot/gh-1409 into main 2026-11-29 08:22:05 +00:00 AGit
Owner

@⁠atk3001 on GitHub · 2026-11-28 19:15 UTC · original
atk3001:pr/queue-device-tables → main · +55 −9 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC

What

Checked against the method order in the GDK's d3d12_xs.h.

  • Newer queues: the table grows from 36 to 38 slots.
    • It ends with EnableLiveDebuggingX (0x120, left missing) and WaitX (0x128).
    • WaitX(fence, value, top_of_pipe) waits as Wait does. Its sync parameters only narrow what has to wait, so waiting for everything is stricter and still correct.
    • SuspendX (0xb8) and ResumeX (0xc0) return S_OK. The title suspends its queues when its window is closed, just before it exits. Our submissions run when they are made, so there is nothing to stop.
    • Until now these three were missing-method stubs.
  • Device: ID3D12Device9 and ID3D12Device10 are added to the levels the device answers to. ID3D12Device11 derives from them, so a QueryInterface for either now finds the same device. The Device11 index is a named constant.

Tests

  • The queue table test also checks slots 23, 24 and 37.
  • victory-gpu lib: 454 passed. Clippy: only the existing is_multiple_of warning.

🤖 Generated with Claude Code

**@⁠atk3001** on GitHub · 2026-11-28 19:15 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1409) `atk3001:pr/queue-device-tables` → `main` · +55 −9 · 2 files · 1 commits · merged 2026-11-29 08:16 UTC ## What Checked against the method order in the GDK's `d3d12_xs.h`. - **Newer queues:** the table grows from 36 to 38 slots. - It ends with `EnableLiveDebuggingX` (0x120, left missing) and `WaitX` (0x128). - `WaitX(fence, value, top_of_pipe)` waits as `Wait` does. Its sync parameters only narrow what has to wait, so waiting for everything is stricter and still correct. - `SuspendX` (0xb8) and `ResumeX` (0xc0) return `S_OK`. The title suspends its queues when its window is closed, just before it exits. Our submissions run when they are made, so there is nothing to stop. - Until now these three were missing-method stubs. - **Device:** `ID3D12Device9` and `ID3D12Device10` are added to the levels the device answers to. `ID3D12Device11` derives from them, so a `QueryInterface` for either now finds the same device. The Device11 index is a named constant. ## Tests - The queue table test also checks slots 23, 24 and 37. - `victory-gpu` lib: 454 passed. Clippy: only the existing `is_multiple_of` warning. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Newer queues have 38 slots as d3d12_xs.h orders them: SuspendX (0xb8)
and ResumeX (0xc0) answer S_OK, WaitX (0x128) waits as Wait does. The
device answers to ID3D12Device9 and 10, which Device11 derives from.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 19:19:22 +00:00
github manually merged commit 4111a0ed86 into main 2026-11-29 08:22:05 +00:00
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!1409
No description provided.