D3D12.X: ExecuteIndirect skips a stand-in whose build ends during the call #2588

Closed
iggyvilla wants to merge 1 commit from upstream-pr/2598 into main
iggyvilla commented 2026-11-26 01:16:57 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by iggyvilla on 2026-11-26T01:16:57Z.


execute_indirect resolves the bound pipeline with resolve_wait, then asks is_pending whether it was a stand-in of a pipeline still being built. If the build ends between the two calls, is_pending is false while pso is still the stand-in (or, for a shared stand-in, the shared driver pipeline). With a signature that is not a Dispatch one, the call then goes to the PC ExecuteIndirect with the stand-in and the list's root signature. That is the pair the skip exists to avoid (debug layer 953; a retail title's world hung the GPU, 0x887a0006, see the comment above the check). The window opens whenever a bind does not wait for the build to the end: with XCL_PSO_WAIT_MS or XCL_PSO_IMAGE_SKIP=1, and for every bind of a cold pipeline with #2615, which makes no bind wait by default. Either of the two can land first.

pso_async::bound_unbuilt(raw_pso, pso) takes one lookup and answers for what the bind got: pso is the stand-in and the build has not failed. A build that ended since does not change the answer. A failed build's stand-in is still not "unbuilt", so it goes on to the console-compute check below, as before (#2342).

#2118 puts a dispatching ExecuteIndirect of a console compute pipeline that is still being built off to the submit. That check comes before resolve_wait and leaves this window as it was. A pipeline whose build ends between resolve_wait and the check still takes the path above. So does a call recorded at the submit, through the same function. So does a call that could not be put off: a signature that does not dispatch, or a list that cannot be split.

#1652 also fixes this, with resolve_wait_critical returning (pso, pending) from one lookup, as part of a much larger change (bind waits, pending-draw guards, target init). This PR is the small fix on its own. If #1652 lands first, this one is not needed.

What is in it

  • crates/xcl/src/hle/d3d12x/pso_async.rs: bound_unbuilt.
  • crates/xcl/src/hle/d3d12x/bind.rs: execute_indirect uses it in place of is_pending(raw_pso).
  • Test (pso_async.rs): a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind. A bind gets the stand-in, then the build ends. is_pending is false (what the old check read) while bound_unbuilt stays true. A bind after the build is not unbuilt, nor is a failed build's stand-in, nor a pipeline that is no stand-in.

Tested

  • AMD Radeon RX 6650 XT 8 GB (RDNA2), driver 32.0.21045.29003, Ryzen 7 5700X, 32 GB, Windows 11, rustc stable-x86_64-pc-windows-msvc. Tests in debug, smoke in release, run in an interactive session, clean trees.
  • cargo test --workspace --no-fail-fast -- --test-threads=4 on 1e280117: 1429 passed, 1 failed, 47 ignored. The failure is gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 (seed 783, res[64] = 0xc, CPU 0x7fffffff), which also fails on main. e2e: 4 passed.
  • SKIPPED: 6× lower_dxil f16/f32 per-lane programs (refused, #1426 semantics), heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), shaders::tests::pso_measurement_compiles_an_exact_synthetic_record (the driver cache cannot be disabled without Developer Mode).
  • cargo test -p xcl --lib pso_async on 1e280117: 15 passed, 0 failed.

Regression run (scripts/smoke.ps1, same title, 60 s, adjacent runs in the order main, another PR's head, this PR, main)

main 08db802 (run 1):

xcl-smoke v1
commit: 08db8020d323bf478964fcc586152cce54959cfc
gpu: AMD Radeon RX 6650 XT
title: 1778c2d9
seconds: 60
exit: 0x0
frames shown: 1563 (PresentX 1563)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 20035 MB

this PR, 1e280117:

xcl-smoke v1
commit: 1e28011782dd52bdbe245885cc1cb2a4baee9810
gpu: AMD Radeon RX 6650 XT
title: 1778c2d9
seconds: 60
exit: 0x0
frames shown: 1583 (PresentX 1583)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 20132 MB

main 08db802 (run 2):

xcl-smoke v1
commit: 08db8020d323bf478964fcc586152cce54959cfc
gpu: AMD Radeon RX 6650 XT
title: 1778c2d9
seconds: 60
exit: 0x0
frames shown: 1581 (PresentX 1581)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 20168 MB

Not tested

  • The race itself on a title, or inside one execute_indirect call: it is rare. Reproducing it needs a hook between the bind's lookup and the check. After this change there is a single lookup, so the decision is bound_unbuilt's, and the unit test covers it.
  • graphics_bound reads is_pending(pso) after its resolve_wait the same way, but only to count a dropped draw and for a frame-trace log line. Not changed here.
  • Tested on AMD RDNA2 only (Radeon RX 6650 XT). NVIDIA, RDNA4 and wave32-only GPUs were not measured.

AI use

  • Duplicate check: o5, Muse Spark 1.3 (XCL-164).
  • Code, test and this description: Claude Code, Claude Opus 5.5 (a3).
  • Workspace suite and smoke runs: Claude Code, Claude Sonnet 5.5 (a1).
  • Launched the runs in the interactive session and read the diff: Claude Code, Claude Opus 5.5 (the coordinator).
  • Diff reviews: o6, Muse Spark 1.3 (XCL-168, XCL-173).
<!-- greyfinch-sync:ivall/xcl:issue:5502145787 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598). Originally posted by [iggyvilla](https://github.com/iggyvilla) on 2026-11-26T01:16:57Z. --- `execute_indirect` resolves the bound pipeline with `resolve_wait`, then asks `is_pending` whether it was a stand-in of a pipeline still being built. If the build ends between the two calls, `is_pending` is false while `pso` is still the stand-in (or, for a shared stand-in, the shared driver pipeline). With a signature that is not a Dispatch one, the call then goes to the PC `ExecuteIndirect` with the stand-in and the list's root signature. That is the pair the skip exists to avoid (debug layer 953; a retail title's world hung the GPU, 0x887a0006, see the comment above the check). The window opens whenever a bind does not wait for the build to the end: with `XCL_PSO_WAIT_MS` or `XCL_PSO_IMAGE_SKIP=1`, and for every bind of a cold pipeline with #2615, which makes no bind wait by default. Either of the two can land first. `pso_async::bound_unbuilt(raw_pso, pso)` takes one lookup and answers for what the bind got: `pso` is the stand-in and the build has not failed. A build that ended since does not change the answer. A failed build's stand-in is still not "unbuilt", so it goes on to the console-compute check below, as before (#2342). #2118 puts a dispatching `ExecuteIndirect` of a console compute pipeline that is still being built off to the submit. That check comes before `resolve_wait` and leaves this window as it was. A pipeline whose build ends between `resolve_wait` and the check still takes the path above. So does a call recorded at the submit, through the same function. So does a call that could not be put off: a signature that does not dispatch, or a list that cannot be split. #1652 also fixes this, with `resolve_wait_critical` returning `(pso, pending)` from one lookup, as part of a much larger change (bind waits, pending-draw guards, target init). This PR is the small fix on its own. If #1652 lands first, this one is not needed. **What is in it** - `crates/xcl/src/hle/d3d12x/pso_async.rs`: `bound_unbuilt`. - `crates/xcl/src/hle/d3d12x/bind.rs`: `execute_indirect` uses it in place of `is_pending(raw_pso)`. - Test (`pso_async.rs`): `a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind`. A bind gets the stand-in, then the build ends. `is_pending` is false (what the old check read) while `bound_unbuilt` stays true. A bind after the build is not unbuilt, nor is a failed build's stand-in, nor a pipeline that is no stand-in. **Tested** - AMD Radeon RX 6650 XT 8 GB (RDNA2), driver 32.0.21045.29003, Ryzen 7 5700X, 32 GB, Windows 11, rustc stable-x86_64-pc-windows-msvc. Tests in debug, smoke in release, run in an interactive session, clean trees. - `cargo test --workspace --no-fail-fast -- --test-threads=4` on `1e280117`: **1429 passed, 1 failed, 47 ignored**. The failure is `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` (seed 783, `res[64] = 0xc, CPU 0x7fffffff`), which also fails on `main`. e2e: 4 passed. - SKIPPED: 6× `lower_dxil` f16/f32 per-lane programs (refused, #1426 semantics), `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `shaders::tests::pso_measurement_compiles_an_exact_synthetic_record` (the driver cache cannot be disabled without Developer Mode). - `cargo test -p xcl --lib pso_async` on `1e280117`: 15 passed, 0 failed. **Regression run** (`scripts/smoke.ps1`, same title, 60 s, adjacent runs in the order main, another PR's head, this PR, main) main `08db802` (run 1): ``` xcl-smoke v1 commit: 08db8020d323bf478964fcc586152cce54959cfc gpu: AMD Radeon RX 6650 XT title: 1778c2d9 seconds: 60 exit: 0x0 frames shown: 1563 (PresentX 1563) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 20035 MB ``` this PR, `1e280117`: ``` xcl-smoke v1 commit: 1e28011782dd52bdbe245885cc1cb2a4baee9810 gpu: AMD Radeon RX 6650 XT title: 1778c2d9 seconds: 60 exit: 0x0 frames shown: 1583 (PresentX 1583) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 20132 MB ``` main `08db802` (run 2): ``` xcl-smoke v1 commit: 08db8020d323bf478964fcc586152cce54959cfc gpu: AMD Radeon RX 6650 XT title: 1778c2d9 seconds: 60 exit: 0x0 frames shown: 1581 (PresentX 1581) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 20168 MB ``` **Not tested** - The race itself on a title, or inside one `execute_indirect` call: it is rare. Reproducing it needs a hook between the bind's lookup and the check. After this change there is a single lookup, so the decision is `bound_unbuilt`'s, and the unit test covers it. - `graphics_bound` reads `is_pending(pso)` after its `resolve_wait` the same way, but only to count a dropped draw and for a frame-trace log line. Not changed here. - Tested on AMD RDNA2 only (Radeon RX 6650 XT). NVIDIA, RDNA4 and wave32-only GPUs were not measured. **AI use** - Duplicate check: o5, Muse Spark 1.3 (XCL-164). - Code, test and this description: Claude Code, Claude Opus 5.5 (a3). - Workspace suite and smoke runs: Claude Code, Claude Sonnet 5.5 (a1). - Launched the runs in the interactive session and read the diff: Claude Code, Claude Opus 5.5 (the coordinator). - Diff reviews: o6, Muse Spark 1.3 (XCL-168, XCL-173).
DavidM1911 commented 2026-11-26 02:08:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T01:20:17Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7179673125 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598#issuecomment-7179673125). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T01:20:17Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 26 ignored. Thanks! — Devin
SlopTart commented 2026-11-26 06:06:40 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-26T05:13:33Z.


Tested: current PR head merged onto current origin/main (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target x86_64-pc-windows-gnu run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29).

gpu_ suite (cold cache): 165 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR.
Targeted run of a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind: passed.

Not tested: retail titles (no title data on this lane, counts only).

AI use: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7183293359 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598#issuecomment-7183293359). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-26T05:13:33Z. --- **Tested**: current PR head merged onto current `origin/main` (clean), Linux (Arch, kernel 7.2.15), Mesa 26.2.5 RADV, Radeon RX 7900 XT (NAVI31), cargo target `x86_64-pc-windows-gnu` run under wine-11.0 (Proton), rustc 1.94.0, vkd3d-proton 3.1 with the XCL patch, official MS DXC (binaries 2026-09-29). `gpu_` suite (cold cache): 165 passed / 3 failed, no crashes. The three are the known baseline on this lane (seed-1003 fuzz, mad/mac contraction, promoted-UAV-clear driver gap, PR #2490); none caused by this PR. Targeted run of `a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind`: passed. **Not tested**: retail titles (no title data on this lane, counts only). **AI use**: Hermes agent (local Qwen-class) ran both machines and drafted this; I checked it before posting.
gut0to commented 2026-11-26 15:50:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gut0to on 2026-11-26T15:50:13Z.

Review: COMMENTED


AI-assisted review (OpenAI GPT-6). I inspected the changed call path and its regression test; I did not run tests.

<!-- greyfinch-sync:ivall/xcl:review:6077044338 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598#pullrequestreview-6077044338). Originally posted by [gut0to](https://github.com/gut0to) on 2026-11-26T15:50:13Z. **Review:** COMMENTED --- AI-assisted review (OpenAI GPT-6). I inspected the changed call path and its regression test; I did not run tests.
gut0to commented 2026-11-26 16:06:25 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by gut0to on 2026-11-26T15:50:13Z.

Code review location: crates/xcl/src/hle/d3d12x/bind.rs; line 286

@@ -283,7 +283,7 @@ pub(super) unsafe extern "system" fn execute_indirect(this: *mut c_void, sig: us
         // call with that pair is invalid (debug layer 953, "the currently set Root Signature
         // doesn't match the currently set Pipeline State Object"; a retail title's world then
         // hung the GPU, 0x887a0006). Skipped, like a draw or dispatch of such a pipeline.
-        if super::pso_async::is_pending(raw_pso) {
+        if super::pso_async::bound_unbuilt(raw_pso, pso) {

Could this regression exercise execute_indirect across the build-completion window? The new unit test proves bound_unbuilt stays true for a captured stand-in, but it does not verify that this call site uses that predicate or prevents the PC ExecuteIndirect call; reverting this condition to is_pending(raw_pso) would leave the helper test green. A deterministic test could capture the stand-in, complete the build before this check, then assert the fake PC call was not made. AI-assisted review (OpenAI GPT-6): I inspected this call path and the added unit test; I did not run tests.

<!-- greyfinch-sync:ivall/xcl:review-comment:4710682891 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598#discussion_r4710682891). Originally posted by [gut0to](https://github.com/gut0to) on 2026-11-26T15:50:13Z. **Code review location:** `crates/xcl/src/hle/d3d12x/bind.rs`; line 286 ~~~~diff @@ -283,7 +283,7 @@ pub(super) unsafe extern "system" fn execute_indirect(this: *mut c_void, sig: us // call with that pair is invalid (debug layer 953, "the currently set Root Signature // doesn't match the currently set Pipeline State Object"; a retail title's world then // hung the GPU, 0x887a0006). Skipped, like a draw or dispatch of such a pipeline. - if super::pso_async::is_pending(raw_pso) { + if super::pso_async::bound_unbuilt(raw_pso, pso) { ~~~~ --- Could this regression exercise `execute_indirect` across the build-completion window? The new unit test proves `bound_unbuilt` stays true for a captured stand-in, but it does not verify that this call site uses that predicate or prevents the PC `ExecuteIndirect` call; reverting this condition to `is_pending(raw_pso)` would leave the helper test green. A deterministic test could capture the stand-in, complete the build before this check, then assert the fake PC call was not made. AI-assisted review (OpenAI GPT-6): I inspected this call path and the added unit test; I did not run tests.
Decodere commented 2026-11-27 12:54:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-11-27T12:54:03Z.


Independent desktop NVIDIA verification of PR #2598 at head 1e28011782dd52bdbe245885cc1cb2a4baee9810 (1 commit; exact parent & merge-base: 08db8020d323bf478964fcc586152cce54959cfc, pre-#2555 ancestor of main).

Environment

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12, Wave32-only Ada), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6C / 12T), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200 (Developer Mode off)
  • Toolchain: rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC, DXC 1.9.2609.5, --release

Targeted tests & build (1e280117)

Command Result
cargo test --release -p xcl --lib a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind -- --nocapture (3 consecutive runs) 1 passed; 0 failed; 0 ignored; 1331 filtered out × 3 (0.01s, 0.01s, 0.01s, 0 skipped)
cargo test --release -p xcl --lib hle::d3d12x::pso_async:: -- --nocapture (3 consecutive runs) 15 passed; 0 failed; 0 ignored; 1317 filtered out × 3 (1.01s, 1.06s, 1.06s, 0 skipped)
cargo build --release -p xcl Clean build (1m 33s, exit 0, 0 new warnings in bind.rs / pso_async.rs)

Paired quiet 60 s retail smoke (title: 29640639)

Exact parent & merge-base (08db8020d323bf478964fcc586152cce54959cfc, cached baseline on the same machine):

xcl-smoke v1
commit: 08db8020d323bf478964fcc586152cce54959cfc
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1588 (PresentX 1588)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14000 MB

PR #2598 (1e28011782dd52bdbe245885cc1cb2a4baee9810):

xcl-smoke v1
commit: 1e28011782dd52bdbe245885cc1cb2a4baee9810
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1609 (PresentX 1610)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13987 MB

Limits of coverage

  • a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind and all 15/15 hle::d3d12x::pso_async:: tests (0 skipped) passed 3/3, directly verifying the bound_unbuilt check for a stand-in whose async PSO build finishes mid-bind.
  • The 60 s retail smoke confirms live D3D12.X runtime stability (0 device removals, 0 crashes, steady 60 Hz); single-run frame/commit delta vs. the cached parent reflects normal startup variance.

AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).

<!-- greyfinch-sync:ivall/xcl:comment:7218811427 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598#issuecomment-7218811427). Originally posted by [Decodere](https://github.com/Decodere) on 2026-11-27T12:54:03Z. --- Independent desktop NVIDIA verification of **PR #2598** at head `1e28011782dd52bdbe245885cc1cb2a4baee9810` (`1` commit; exact parent & merge-base: `08db8020d323bf478964fcc586152cce54959cfc`, pre-`#2555` ancestor of `main`). ### Environment - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12, Wave32-only Ada), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6C / 12T), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` (Developer Mode off) - **Toolchain:** `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC, DXC `1.9.2609.5`, `--release` ### Targeted tests & build (`1e280117`) | Command | Result | | --- | --- | | `cargo test --release -p xcl --lib a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind -- --nocapture` (3 consecutive runs) | `1 passed; 0 failed; 0 ignored; 1331 filtered out` × 3 (`0.01s`, `0.01s`, `0.01s`, `0` skipped) | | `cargo test --release -p xcl --lib hle::d3d12x::pso_async:: -- --nocapture` (3 consecutive runs) | `15 passed; 0 failed; 0 ignored; 1317 filtered out` × 3 (`1.01s`, `1.06s`, `1.06s`, `0` skipped) | | `cargo build --release -p xcl` | Clean build (`1m 33s`, exit `0`, `0` new warnings in `bind.rs` / `pso_async.rs`) | ### Paired quiet 60 s retail smoke (`title: 29640639`) Exact parent & merge-base (`08db8020d323bf478964fcc586152cce54959cfc`, cached baseline on the same machine): ``` xcl-smoke v1 commit: 08db8020d323bf478964fcc586152cce54959cfc gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1588 (PresentX 1588) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14000 MB ``` PR #2598 (`1e28011782dd52bdbe245885cc1cb2a4baee9810`): ``` xcl-smoke v1 commit: 1e28011782dd52bdbe245885cc1cb2a4baee9810 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1609 (PresentX 1610) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13987 MB ``` ### Limits of coverage - `a_stand_in_bound_before_its_build_ended_stays_unbuilt_for_that_bind` and all `15/15` `hle::d3d12x::pso_async::` tests (`0` skipped) passed `3/3`, directly verifying the `bound_unbuilt` check for a stand-in whose async PSO build finishes mid-bind. - The 60 s retail smoke confirms live D3D12.X runtime stability (`0` device removals, `0` crashes, steady 60 Hz); single-run frame/commit delta vs. the cached parent reflects normal startup variance. *AI disclosure: test execution and report drafting assisted by Google Antigravity (Gemini 4 Neon).*
Foniass commented 2026-12-01 08:27:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:27:08Z.


Triage (#1607) – head 1e28011

Main already has this change in adapted form. Commit 14bc6f6, "D3D12.X: classify the pipeline selected by ExecuteIndirect", says it is adapted from this PR. It adds Pending::bound_unbuilt and resolve_wait_bound in pso_async.rs and the same done/failed-build distinction. execute_indirect in bind.rs now skips on the bound_unbuilt of the bound choice instead of is_pending(raw_pso).
Recommendation: close (superseded by main commit 14bc6f6).

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7305335319 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598#issuecomment-7305335319). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:27:08Z. --- **Triage (#1607)** – head 1e28011 Main already has this change in adapted form. Commit 14bc6f6, "D3D12.X: classify the pipeline selected by ExecuteIndirect", says it is adapted from this PR. It adds `Pending::bound_unbuilt` and `resolve_wait_bound` in pso_async.rs and the same done/failed-build distinction. `execute_indirect` in bind.rs now skips on the `bound_unbuilt` of the bound choice instead of `is_pending(raw_pso)`. Recommendation: close (superseded by main commit 14bc6f6). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
throny commented 2026-12-01 12:55:12 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by throny on 2026-12-01T12:55:12Z.


Closing as superseded: this change is already on main (14bc6f64). main bind.rs/pso_async.rs classify the pipeline selected by ExecuteIndirect via bound_unbuilt from one captured Pending (14bc6f64 adapted from #2598); same fix

Two independent checks found this: Foniass's close list on #1607 and ours against current main. If something here is still missing on main, say so and reopen it, or ask and I will.

AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

<!-- greyfinch-sync:ivall/xcl:comment:7311839337 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2598#issuecomment-7311839337). Originally posted by [throny](https://github.com/throny) on 2026-12-01T12:55:12Z. --- Closing as superseded: this change is already on `main` (14bc6f64). main bind.rs/pso_async.rs classify the pipeline selected by ExecuteIndirect via bound_unbuilt from one captured Pending (14bc6f64 adapted from #2598); same fix Two independent checks found this: Foniass's close list on #1607 and ours against current `main`. If something here is still missing on `main`, say so and reopen it, or ask and I will. AI use: Claude Code (Claude Opus 5.5); the per-PR comparison was done by Claude Sonnet 5.5 sub-agents.

Pull request closed

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!2588
No description provided.