test(gpu): use the SDK root parameter in the serializer fixture #36
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/36"
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?
Imported from Marvisak/VIctory. Originally posted by jeremygold02 on 2026-11-23T23:30:46Z.
The 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.
Imported from Marvisak/VIctory. Originally posted by pagingred on 2026-11-23T23:39:23Z.
Verified on Windows 11 x64, Intel(R) Core(TM) i9-14900K and GeForce RTX 3090 (driver 621.24)