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

Merged
atk3001 merged 1 commit from upstream-pr/1409 into main 2026-11-29 08:16:56 +00:00
atk3001 commented 2026-11-28 19:15:24 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by atk3001 on 2026-11-28T19:15:24Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5543693691 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1409). Originally posted by [atk3001](https://github.com/atk3001) on 2026-11-28T19:15:24Z. --- ## 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)
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
trustno1-coder/VIctory-NVIDIA!1409
No description provided.