GPU: implement IDXGIAdapter2::GetDesc2 #1893
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!1893
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1893/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@DoubleD17 on GitHub · 2026-11-25 00:16 UTC · original
DoubleD17:port/fxceless-345→main· +100 −7 · 1 files · 1 commits · closed without mergingThe DXGI shim advertises IDXGIAdapter2 through QueryInterface, but its GetDesc2 entry is still unimplemented. Wire the descriptor method and reuse the logical adapter identity and memory information returned by GetDesc. Check the vtable slot and descriptor layout against the Windows bindings, and return E_INVALIDARG for a null output.
On Windows x64 with Rust 1.98.1 and MSVC, the new synthetic test detected the unwired method on base
e82a6ad. The two DXGI unit tests passed on 211364a withcargo test --offline --locked --jobs 2 -p victory-gpu --features diagnostics --lib dxgi::tests::. This verifies the adapter API on the CPU.Adapted from fxceless/victory-fork #345.
AI-assisted.
fspx_programs_run_with_the_hardwares_dot_productsfails on RDNA1, where the driver folds a constantDot4AddI8Packedoperand as unsigned #1782@Marvisak on GitHub · 2026-11-25 02:17 UTC · original · edited 2026-11-25 06:27 UTC
Automated triage for the maintainers.
Needs work: evidence for the new return values. The rebase fixed the conflict, and the head merges cleanly. In
crates/victory-gpu/src/dxgi.rs, the PR wires slot 11 (0x58) ofADAPTER_FUNCTIONSto a newadapter_description2. That matches the "adapter 3 + 1 + 1" layout already noted there. It reusesGetDesc's values throughdescribe_adapterand checks the layout against the Windows bindings at compile time. The mechanics look right. However, this is a new runtime return value with no evidence behind it:flags = 0and DMA-buffer preemption granularity are chosen, not taken from the console's behaviour or public documentation.Please add the evidence for both. Also note that slot 10 (
GetDesc1) is still unwired; if a title reachesGetDesc2, it likely reaches that one too.CI: passing (
check).Generated by Claude Code
fspx_programs_run_with_the_hardwares_dot_productsfails on RDNA1, where the driver folds a constantDot4AddI8Packedoperand as unsigned #1782Pull request closed