test(gpu): use the SDK root parameter in the serializer fixture #36
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!36
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/36/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?
@jeremygold02 on GitHub · 2026-11-23 23:30 UTC · original
jeremygold02:codex/root-parameter-fixture→main· +14 −14 · 1 files · 1 commits · merged 2026-11-24 00:40 UTCThe Windows GPU test for host-serialized root signatures constructs a root parameter containing one 32-bit constant at register b0. The hand-written five-word struct places the native union four bytes too early on x64. D3D12SerializeRootSignature reads zero for the constant count and returns E_INVALIDARG.
Use the project's existing Windows SDK bindings to construct that parameter. The original assertions on the serialized blob and root signature still run. The change is confined to the test fixture.
Verified on Windows 11 x64, Core Ultra 7 265K and GeForce RTX 5070 (driver 621.01), with the diagnostics feature. The GPU suite on
8c26061passed 36 of 37 tests. The root test source was identical at1dd7afd. With this fix based on1dd7afd, the focused test passed and the full suite passed 37 of 37, with zero ignored.cargo test --locked --profile diag -p victory-gpu --features diagnostics --lib -- --test-threads=1This addresses the independent baseline test failure mentioned in #20. Developed with AI assistance.
@pagingred on GitHub · 2026-11-23 23:39 UTC · original
Verified on Windows 11 x64, Intel(R) Core(TM) i9-14900K and GeForce RTX 3090 (driver 621.24)