Repository navigation
D3D12.X: derive canonical two-pass driver blob identities - #1941
Conversation
Use the passthrough mesh shader output topology on both translated MS and GS streams. Exercise cached replay against a synthetic triangle PSO. Assisted-by: OpenAI Codex (GPT-6)
Hash the final driver inputs by value, with distinct compute and mesh domains and versioned ABI state. Exercise state sensitivity and padding independence without enabling persistence. Assisted-by: OpenAI Codex (GPT-6)
|
Code review on
What is still needed before merge:
|
|
Full-suite run, since this PR has no test report yet. Tested exact head Tested
Not tested
AI use
|
PR #1941 verification on STOR-WINLABD3D12.X: derive canonical two-pass driver blob identities
Tested
Failures
Reported skipsNot testedRetail-title smoke comparison on main and PR head, a main-branch workspace baseline for attributing the observed failures, game samples gated by AI useT3 Code / Codex ( |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Add canonical cache identities for the NGG compute pass and the passthrough mesh graphics pass. The keys cover shaders, static samplers, ABI version, memory-window mode, driver identity and relevant fixed-function fields. Part of #1269. Coordinate the field serializers with #1836 and #902.
Stacked on #1937. Only
b5767c305e68b34b0981b3e304f73bce85e9f089belongs here.What is in it
crates/xcl/src/hle/d3d12x/real/two_pass_identity.rsdefines the identities and tests state changes, padding, subobject order and rejection of unsupported state. Runtime callers arrive in the next PR.Tested
cargo build --locked --release -p xcl --jobs 1succeeded on cleanb5767c305e68b34b0981b3e304f73bce85e9f089and baseline689f2db477c3c062cf162649781640ef8a977c18..\scripts\test.ps1(Cargo build jobs 1, test threads 4) on stack head024b2e2dc51924965df478fdb4f63fbcae9dc0b2reported 983 passed, 0 failed, 45 ignored across 21 targets. Explicit runtime SKIPPED markers (23) were 18 no native wave64, 3 refused wave32 per-lane operations, 1 Windows Developer Mode unavailable, 1 no heap windows. Optional sample-backed cases also returned early with their sample variables unset. GPU regressions for TRIANGLE replay and both-pass persistence ran without runtime skips.scripts/smoke.ps1 -Game <retail-folder> -Seconds 60 -Title 'Retail workload A' -Xcl <matching-release-binary>on the same anonymized retail workload. NVIDIA selected withXCL_ADAPTER=nvidia.Regression run
main
PR
Not tested
AI use