D3D12.X: identify exact graphics recipes in manifests #3196

Merged
bmjask merged 2 commits from upstream-pr/3196 into main 2026-11-28 19:22:38 +00:00
bmjask commented 2026-11-28 18:07:33 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by bmjask on 2026-11-28T18:07:33Z.


Stacked on #3195; only the top commit belongs here.

Adds a stable identity for the exact graphics or mesh recipe used by a present-order manifest entry. Older six-column manifests remain readable, while new entries carry enough identity for later exact replay instead of treating every graphics entry as interchangeable.

What is in it

  • e45b5d8a hashes the serialized graphics or mesh recipe payload in crates/xcl/src/hle/d3d12x/gfx_records.rs and records it through pso_async.rs.
  • Extends the manifest writer/parser in pso_manifest.rs and shaders/milestone.rs, retaining compatibility with old manifest rows.
  • Updates the compute manifest e2e fixture for the explicit no-recipe marker.

Tested

  • Windows 11 Pro 10.0.26200; Intel Core i9-12900K; NVIDIA GeForce RTX 4090, driver 610.88; rustc 1.100.0; debug tests and release smoke build.
  • cargo test --workspace -- --test-threads=4: 2155 passed, 0 failed, 48 ignored; 26 tests explicitly reported SKIPPED on this adapter/configuration.
  • cargo build --release -p xcl: passed.

Regression run

Main:

xcl-smoke v1
commit: 10d272970f25b02b72ebe3c883d02d74d4d4763b
gpu: NVIDIA GeForce RTX 4090
title: local-regression
seconds: 10
exit: 0x0
frames shown: 104 (PresentX 105)
presents per 2 s (last 3): 4 60 37
device removals: 0
crashes: 0
peak commit: 8278 MB

This PR:

xcl-smoke v1
commit: e45b5d8a1da12d05485d935a4af4cad1eec2c1bc
gpu: NVIDIA GeForce RTX 4090
title: local-regression
seconds: 10
exit: 0x0
frames shown: 109 (PresentX 110)
presents per 2 s (last 3): 8 60 37
device removals: 0
crashes: 0
peak commit: 8285 MB

Not tested

  • AMD GPUs.
  • The regression title does not exercise the new graphics/mesh manifest identity; unit coverage verifies old/new row parsing and identity recording.

AI use

  • Codex with GPT-5 implemented, reviewed, and tested the change.
<!-- greyfinch-sync:ivall/xcl:issue:5543140066 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3196). Originally posted by [bmjask](https://github.com/bmjask) on 2026-11-28T18:07:33Z. --- Stacked on #3195; only the top commit belongs here. Adds a stable identity for the exact graphics or mesh recipe used by a present-order manifest entry. Older six-column manifests remain readable, while new entries carry enough identity for later exact replay instead of treating every graphics entry as interchangeable. **What is in it** - `e45b5d8a` hashes the serialized graphics or mesh recipe payload in `crates/xcl/src/hle/d3d12x/gfx_records.rs` and records it through `pso_async.rs`. - Extends the manifest writer/parser in `pso_manifest.rs` and `shaders/milestone.rs`, retaining compatibility with old manifest rows. - Updates the compute manifest e2e fixture for the explicit no-recipe marker. **Tested** - Windows 11 Pro 10.0.26200; Intel Core i9-12900K; NVIDIA GeForce RTX 4090, driver 610.88; rustc 1.100.0; debug tests and release smoke build. - `cargo test --workspace -- --test-threads=4`: 2155 passed, 0 failed, 48 ignored; 26 tests explicitly reported `SKIPPED` on this adapter/configuration. - `cargo build --release -p xcl`: passed. **Regression run** Main: ``` xcl-smoke v1 commit: 10d272970f25b02b72ebe3c883d02d74d4d4763b gpu: NVIDIA GeForce RTX 4090 title: local-regression seconds: 10 exit: 0x0 frames shown: 104 (PresentX 105) presents per 2 s (last 3): 4 60 37 device removals: 0 crashes: 0 peak commit: 8278 MB ``` This PR: ``` xcl-smoke v1 commit: e45b5d8a1da12d05485d935a4af4cad1eec2c1bc gpu: NVIDIA GeForce RTX 4090 title: local-regression seconds: 10 exit: 0x0 frames shown: 109 (PresentX 110) presents per 2 s (last 3): 8 60 37 device removals: 0 crashes: 0 peak commit: 8285 MB ``` **Not tested** - AMD GPUs. - The regression title does not exercise the new graphics/mesh manifest identity; unit coverage verifies old/new row parsing and identity recording. **AI use** - Codex with GPT-5 implemented, reviewed, and tested the change.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3196
No description provided.