Repository navigation
tests: use the PC device for Device4/8 allocation comparisons (D3D-754) - #7969
LukeOsland1 wants to merge 13 commits into
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 1. That last line is 2. On Not from this PR (same result on Synthetic tests only, no game files. AI-assisted (Claude). |
|
Tested
#7490 has moved to AI-assisted (Claude Code). |
…andQueue1 case (a null fence entry no longer runs in-process and leaks a PC device reference)
|
Tested fb374d5 on RTX 4070 SUPER, NVIDIA 621.01, Windows 11 Pro: pass
|
|
Re-tested the new head
AI-assisted (Claude). |
Depends on: #7490
D3D-754 follow-up. Claim · Before-fix RTX report on the dependent draw-test PR.
The allocation comparison uses PC SDK methods that return allocation-info structures. Query the proxy's inner PC device for ID3D12Device4 and ID3D12Device8 before invoking those methods. Base-device calls still exercise the proxy. The existing aggregate, alignment, offset and sentinel checks are unchanged.
The previous Windows report failed at the allocation assertion. At 1cd51b3 on top of c69debd, the allocation comparison ran and passed on both the RTX 4070 Ti SUPER (610.88) and AMD Radeon integrated graphics (32.0.21042.62), with the native host pinned to the respective adapter. The complete device test remains red on both at the subsequent invalid-argument comparison: seven CreateCommandList1 cases reach the wrong result. That is a separate caller in the test.
Windows, MSVC 19.51, RelWithDebInfo, synthetic resources. The staged diff and game-data scan passed. AI-assisted with Codex.