Repository navigation
Conversation
Device slots 43-82 and 104 are console methods (handled, accepted or refused, every call counted and reported with its caller); ID3D12Device1..8 are forwarded from 83-103 and 105-112. The queue proxy decides between the two known console layouts from the first fence call. Facts from xvalkyrie 53af7df77c10, checked against docs/d3d12_vulkan.md section 7. WIP: tests that use the proxy as a PC device still need moving.
…sts share device_method
…#6953 merges without a conflict
This reverts commit 23e7efb.
|
Tested 08ae04f on an NVIDIA RTX 4070 Ti SUPER (driver 621.14), Windows 11 Pro 26200, MSVC from VS 2026, Vulkan SDK 1.4.363, RelWithDebInfo (test targets only):
AI-assisted (Claude Code). |
|
Follow-up to the RTX 4070 Ti SUPER allocation mismatch reported above. #7969 changes the Device4/8 allocation calls to use the inner PC device. I independently checked 1cd51b3 on Windows 11 with the Vulkan and native D3D12 adapters pinned to the same GPU. The existing allocation comparison returned zero mismatches and Vulkan validation reported zero errors on both the Radeon 880M (32.0.13046.16) and RTX 5070 Laptop (621.01). This was a focused run. A temporary local test entry called the unchanged compare_allocation_info function immediately after creating the normal device proxy, then exited. A missing native host would have failed the check. #7969 documents a separate CreateCommandList1 failure later in the full device suite. The slot-60 draw test stays at 08ae04f. AI-assisted. |
…andQueue1 case (a null fence entry no longer runs in-process and leaks a PC device reference)
Depends on: #7490
Review the one-file test commit. It applies cleanly to main at dde82f2. Building and running it requires the slot-60 implementation and console-call test helper supplied by #7490. If that PR is split by slot, this test can follow the slot-60 change. Dependency discussion
Claim (unlisted test item): slot 60 public-descriptor GPU readback.
The existing slot test checks forwarding to a mock device. The original test commit was based on #7490 at c69debd so the offscreen draw also covers the Vulkan implementation. Draw 2 binds the graphics PSO returned by CreateGraphicsPipelineStateX with a console flag and a red/green write mask. Its green output preserves the blue clear channel, so the bottom-right 32×32 pixels must be cyan. The other draws retain their original pipeline behavior.
Verification
At e9320fe the test includes the revised PC interface and queue changes from d3d12_xs: the device and queue proxies follow the console method order, not the PC one, so a console method no longer lands on a wrong PC method (XValkyrie B4/B5) #7490 at e05b550. The only change against that dependency is the draw test. A clean native Windows build passed 14/14 CTests on each of Radeon 880M and RTX 5070 Laptop with Vulkan validation enabled. The draw matched all 4,096 pixels on both GPUs. The suite included the full Vulkan device test, queue proxy, swapchain, device proxy, all six mock proxy modes and all three console slot modes.
Compatibility with d3d12: guard null pInputElementDescs and validate graphics/compute PSO descriptors #6689 at 9e64f22 (graphics pipeline flag validation). The two heads merged cleanly. With validation on, the unmodified slot-60 draw matched all 4,096 pixels on both GPUs. A temporary control passed the identical descriptor, including flag 0x10000, directly to the public CreateGraphicsPipelineState method. It returned E_INVALIDARG and no pipeline on both adapters. The console path accepted the descriptor and drew the expected pixels. This was a synthetic integration check.
Native Windows, MSVC, RelWithDebInfo. Ran device_proxy, xs_console_slots, xs_console_slots_later, xs_console_slots_present_32, and d3d12_draw. All five passed on each adapter with Vulkan validation enabled. The 64×64 readback matched all 4,096 expected pixels on each.
AMD Radeon 880M (32.0.13046.16) and NVIDIA GeForce RTX 5070 Laptop (621.01).
Negative control on the Radeon: binding the ordinary full-write pipeline for draw 2 failed at (32, 32) with green where cyan was expected. Restored the slot-60 binding, rebuilt, and reran both adapters.
Used the existing synthetic shader fixtures. The game-data check and git diff --check passed. Coverage is limited to slot 60's public descriptor. Retail boot and native-record slot 57 are outside this test.
AI-assisted. Draft while the slot implementation in #7490 is under review.