D3D12.X: the hot list, resource and queue hooks look their PC slot up once #897

Closed
mastrr9 wants to merge 1 commit from upstream-pr/903 into main
mastrr9 commented 2026-11-24 08:00:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T08:00:10Z.


Caches PC COM vtable slot indices per hot hook call site (slot!(this, "Name")) in crates/xcl/src/hle/d3d12x/real.rs instead of locking the global CLASSES mutex and scanning method names on every draw, bind, map, unmap, render-target set, and ExecuteCommandLists call:

  • Because COM vtables only append methods in derived interface versions, every hot method keeps a single fixed slot across all versions of its interface.
  • Adds unit tests verifying both the table invariant (hot_methods_have_one_slot_in_every_version_of_their_interface) and that repeated draws/binds perform one lookup per call site (draws_and_pipeline_binds_look_their_slot_up_once).

Tested

  • Hardware/OS: NVIDIA RTX 5080 (driver 617.42 / 32.0.16.1742), Windows 11 Pro 25H2 (26200.9974), rustc 1.100.0 (0ef1bc386 2026-11-09) MSVC debug, DXC Windows SDK 10.0.26100.0, d3d12SDKLayers.dll installed
  • Commit tested: 0a1141e93c14dd348a9469ff7bad220d978e7908 (HEAD 3179fa00d420fafdab43b7ec484d1c04c1d8a8b6 has an identical tree; only commit author metadata was updated after GitHub account rename)
  • cargo build --workspace: clean (no new warnings; only pre-existing fetch_update deprecation warning)
  • cargo test --workspace -- --test-threads=4: 717 passed, 0 failed, 41 ignored
  • SKIPPED GPU tests: gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64, gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64

Regression run
Smoke run by @Toons29 in comment below: https://github.com/xcl-dev/xcl/pull/903#issuecomment-7151626764
Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted.

main:

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB

PR:

xcl-smoke v1
commit: 03f85e2875cd3f32b65ecf4011b9af4640128e15
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1624 (PresentX 1624)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14820 MB

Tester's setup and limits: AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

Tester's AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; the tester checked the blocks before posting.

Not tested

  • No retail title was available to the author; whether the community regression run above reaches the code this PR changes is not known.

AI use

  • Authored with Claude Code (Claude Opus 5.5); reviewed, audited, and verified on native Windows/RTX 5080 hardware with Antigravity (Gemini 4 Neon + Claude Sonnet 5.5).
  • Claude Code (Claude Sonnet 5.5) added the community regression run to this description and updated the lines that it made out of date or that the PR check requires.
<!-- greyfinch-sync:ivall/xcl:issue:5468331910 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/903). Originally posted by [mastrr9](https://github.com/mastrr9) on 2026-11-24T08:00:10Z. --- Caches PC COM vtable slot indices per hot hook call site (`slot!(this, "Name")`) in `crates/xcl/src/hle/d3d12x/real.rs` instead of locking the global `CLASSES` mutex and scanning method names on every draw, bind, map, unmap, render-target set, and `ExecuteCommandLists` call: - Because COM vtables only append methods in derived interface versions, every hot method keeps a single fixed slot across all versions of its interface. - Adds unit tests verifying both the table invariant (`hot_methods_have_one_slot_in_every_version_of_their_interface`) and that repeated draws/binds perform one lookup per call site (`draws_and_pipeline_binds_look_their_slot_up_once`). **Tested** - Hardware/OS: NVIDIA RTX 5080 (driver `617.42` / `32.0.16.1742`), Windows 11 Pro 25H2 (`26200.9974`), `rustc 1.100.0 (0ef1bc386 2026-11-09)` MSVC debug, DXC Windows SDK `10.0.26100.0`, `d3d12SDKLayers.dll` installed - Commit tested: `0a1141e93c14dd348a9469ff7bad220d978e7908` (HEAD `3179fa00d420fafdab43b7ec484d1c04c1d8a8b6` has an identical tree; only commit author metadata was updated after GitHub account rename) - `cargo build --workspace`: clean (no new warnings; only pre-existing `fetch_update` deprecation warning) - `cargo test --workspace -- --test-threads=4`: **717 passed, 0 failed, 41 ignored** - `SKIPPED` GPU tests: `gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64`, `gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64` **Regression run** Smoke run by @Toons29 in comment below: https://github.com/xcl-dev/xcl/pull/903#issuecomment-7151626764 Contributed by a community tester; the PR author did not run it. Both blocks are pasted as posted. main: ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` PR: ``` xcl-smoke v1 commit: 03f85e2875cd3f32b65ecf4011b9af4640128e15 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1624 (PresentX 1624) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14820 MB ``` Tester's setup and limits: AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. Tester's AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; the tester checked the blocks before posting. **Not tested** - No retail title was available to the author; whether the community regression run above reaches the code this PR changes is not known. **AI use** - Authored with Claude Code (Claude Opus 5.5); reviewed, audited, and verified on native Windows/RTX 5080 hardware with Antigravity (Gemini 4 Neon + Claude Sonnet 5.5). - Claude Code (Claude Sonnet 5.5) added the community regression run to this description and updated the lines that it made out of date or that the PR check requires.
SlopTart commented 2026-11-24 10:04:46 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-24T09:34:31Z.


Heads-up: this branch now conflicts with main.

Rebuild today: pull/903/head (29e85d2) onto current main (09940bb) hits a merge conflict in crates/xcl/src/hle/d3d12x/real.rs (main moved through the sparse/readback work since the branch was cut). CI is x86-windows only, so nothing here will catch it.

Untested until rebase; happy to re-run on RDNA3 after it lands rebased.

Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.

Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross x86_64-pc-windows-gnu, XCL_NETWORK=0, release profile, --test-threads=4. My Linux rows: #42 / #718.

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

<!-- greyfinch-sync:ivall/xcl:comment:7127601738 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/903#issuecomment-7127601738). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-24T09:34:31Z. --- Heads-up: this branch now conflicts with main. Rebuild today: `pull/903/head` (`29e85d2`) onto current main (`09940bb`) hits a **merge conflict in `crates/xcl/src/hle/d3d12x/real.rs`** (main moved through the sparse/readback work since the branch was cut). CI is x86-windows only, so nothing here will catch it. Untested until rebase; happy to re-run on RDNA3 after it lands rebased. **Not tested:** retail titles (none here), Windows, RDNA4. Counts only, no game data. **Machine:** RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross `x86_64-pc-windows-gnu`, `XCL_NETWORK=0`, release profile, `--test-threads=4`. My Linux rows: #42 / #718. AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
mastrr9 commented 2026-11-24 15:05:59 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T14:38:09Z.


@SlopTart Thanks for the heads-up! Rebased cleanly onto current main (930e8b4, PR head 0733369cc2e1389bd745e5f423b6939fce6efa07), keeping slot!(raw, "Reset") in reset_pc_allocator. Ready for your RDNA3 re-run whenever you have a moment (I'll re-run Windows RTX 5080 verification on this rebased head shortly too).

<!-- greyfinch-sync:ivall/xcl:comment:7134698357 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/903#issuecomment-7134698357). Originally posted by [mastrr9](https://github.com/mastrr9) on 2026-11-24T14:38:09Z. --- @SlopTart Thanks for the heads-up! Rebased cleanly onto current `main` (`930e8b4`, PR head `0733369cc2e1389bd745e5f423b6939fce6efa07`), keeping `slot!(raw, "Reset")` in `reset_pc_allocator`. Ready for your RDNA3 re-run whenever you have a moment (I'll re-run Windows RTX 5080 verification on this rebased head shortly too).
mastrr9 commented 2026-11-24 15:06:08 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T14:54:47Z.


Verified rebased head 0733369cc2e1389bd745e5f423b6939fce6efa07 on Windows 11 / NVIDIA RTX 5080 (cargo test --workspace -- --test-threads=4: 753 passed / 0 failed / 41 ignored, 0 new warnings).

<!-- greyfinch-sync:ivall/xcl:comment:7135152106 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/903#issuecomment-7135152106). Originally posted by [mastrr9](https://github.com/mastrr9) on 2026-11-24T14:54:47Z. --- Verified rebased head `0733369cc2e1389bd745e5f423b6939fce6efa07` on Windows 11 / NVIDIA RTX 5080 (`cargo test --workspace -- --test-threads=4`: **753 passed / 0 failed / 41 ignored**, 0 new warnings).
mastrr9 commented 2026-11-24 17:06:21 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by mastrr9 on 2026-11-24T16:16:56Z.


Rebased cleanly onto latest main (b7aa9f3, new head 03f85e2875cd3f32b65ecf4011b9af4640128e15) and re-verified on Windows 11 / NVIDIA RTX 5080:

  • cargo build --workspace: OK (0 new warnings)
  • cargo test --workspace -- --test-threads=4: 772 passed, 0 failed, 41 ignored
<!-- greyfinch-sync:ivall/xcl:comment:7137407687 --> Imported from [ivall/xcl](https://github.com/ivall/xcl/pull/903#issuecomment-7137407687). Originally posted by [mastrr9](https://github.com/mastrr9) on 2026-11-24T16:16:56Z. --- Rebased cleanly onto latest `main` (`b7aa9f3`, new head `03f85e2875cd3f32b65ecf4011b9af4640128e15`) and re-verified on Windows 11 / NVIDIA RTX 5080: - `cargo build --workspace`: OK (0 new warnings) - `cargo test --workspace -- --test-threads=4`: **772 passed, 0 failed, 41 ignored**
Toons29 commented 2026-11-25 04:10:14 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T03:08:19Z.


Regression run of 03f85e28 on the retail title, for this PR's Regression run section. Both blocks are from scripts/smoke.ps1 as printed, not edited: main on 4178e888, this PR on its head commit with no uncommitted changes, same title and time.

xcl-smoke v1
commit: 4178e888c0b5be50a2887eda45cdb832763b68a4
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1618 (PresentX 1618)
presents per 2 s (last 3): 61 60 60
device removals: 0
crashes: 0
peak commit: 14831 MB
xcl-smoke v1
commit: 03f85e2875cd3f32b65ecf4011b9af4640128e15
gpu: AMD Radeon RX 9070
title: game.exe
seconds: 60
exit: 0x0
frames shown: 1624 (PresentX 1624)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14820 MB

Against the limits in CONTRIBUTING.md: 100 % of main's frames, 100 % of its peak commit, no crash, no device removal.

AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, cargo build --release -p xcl, 60 s, XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.

AI use: Claude Code (Claude Opus 5.5) built both trees and ran scripts/smoke.ps1; I checked the blocks before posting.

<!-- greyfinch-sync:ivall/xcl:comment:7151626764 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/903#issuecomment-7151626764). Originally posted by [Toons29](https://github.com/Toons29) on 2026-11-25T03:08:19Z. --- Regression run of `03f85e28` on the retail title, for this PR's **Regression run** section. Both blocks are from `scripts/smoke.ps1` as printed, not edited: `main` on `4178e888`, this PR on its head commit with no uncommitted changes, same title and time. ``` xcl-smoke v1 commit: 4178e888c0b5be50a2887eda45cdb832763b68a4 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1618 (PresentX 1618) presents per 2 s (last 3): 61 60 60 device removals: 0 crashes: 0 peak commit: 14831 MB ``` ``` xcl-smoke v1 commit: 03f85e2875cd3f32b65ecf4011b9af4640128e15 gpu: AMD Radeon RX 9070 title: game.exe seconds: 60 exit: 0x0 frames shown: 1624 (PresentX 1624) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14820 MB ``` Against the limits in CONTRIBUTING.md: 100 % of `main`'s frames, 100 % of its peak commit, no crash, no device removal. AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0, `cargo build --release -p xcl`, 60 s, `XCL_NETWORK=0`. This is a regression check only: it does not show whether the run reaches the code this PR changes. AI use: Claude Code (Claude Opus 5.5) built both trees and ran `scripts/smoke.ps1`; I checked the blocks before posting.
JJAutoCompare commented 2026-11-25 06:06:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-25T06:02:58Z.


Empirical test report (03f85e28)

Tested xcl-dev/xcl PR #903 at 03f85e2875cd3f32b65ecf4011b9af4640128e15. The PR caches the PC vtable slot at selected D3D12.X hook call sites.

Hardware / environment

  • Windows x64 build 26200. AMD CPU (family 23, model 113, stepping 0), with 12 logical processors reported by the environment.
  • Rust 1.100.0 (0ef1bc386 2026-11-09). DXC 1.9.2609.5 (01b62ad47). Cargo used the unoptimized test profile with debug info and incremental compilation disabled.
  • Both fixtures run on the CPU using interface layout tables and a fake COM vtable. The focused run used XCL_ADAPTER=NONE_CPU_ONLY and RUST_TEST_NOCAPTURE=1 outside Invoke-ArcTest.ps1.

Commands and results

  • cargo test --workspace --no-run built the workspace test executables and exited 0.
  • cargo test -p xcl --lib hle::d3d12x::real::slot_cache_tests:: exited 0. The log reports 2 passed, 0 failed, 0 ignored, 0 SKIPPED, and 743 filtered out.

Observed behavior

  • hot_methods_have_one_slot_in_every_version_of_their_interface passed. For each of the 15 named methods across five interface families, the slots found in the layout tables agreed on one nonzero index.
  • draws_and_pipeline_binds_look_their_slot_up_once passed. The fake PC callbacks received all three draws and the three expected pipeline handles in bind order. The fixture asserted at most two slot_of lookups across the six calls.

Not tested

The full GPU workspace suite and game smoke runs were omitted. Live D3D12 device behavior and frame-time impact were outside this run.

AI use

Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against pr903-focused.log and published.

<!-- greyfinch-sync:ivall/xcl:comment:7154388799 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/903#issuecomment-7154388799). Originally posted by [JJAutoCompare](https://github.com/JJAutoCompare) on 2026-11-25T06:02:58Z. --- ### Empirical test report (03f85e28) Tested xcl-dev/xcl PR #903 at `03f85e2875cd3f32b65ecf4011b9af4640128e15`. The PR caches the PC vtable slot at selected D3D12.X hook call sites. **Hardware / environment** - Windows x64 build 26200. AMD CPU (family 23, model 113, stepping 0), with 12 logical processors reported by the environment. - Rust `1.100.0 (0ef1bc386 2026-11-09)`. DXC `1.9.2609.5 (01b62ad47)`. Cargo used the unoptimized test profile with debug info and incremental compilation disabled. - Both fixtures run on the CPU using interface layout tables and a fake COM vtable. The focused run used `XCL_ADAPTER=NONE_CPU_ONLY` and `RUST_TEST_NOCAPTURE=1` outside `Invoke-ArcTest.ps1`. **Commands and results** - `cargo test --workspace --no-run` built the workspace test executables and exited 0. - `cargo test -p xcl --lib hle::d3d12x::real::slot_cache_tests::` exited 0. The log reports 2 passed, 0 failed, 0 ignored, 0 `SKIPPED`, and 743 filtered out. **Observed behavior** - `hot_methods_have_one_slot_in_every_version_of_their_interface` passed. For each of the 15 named methods across five interface families, the slots found in the layout tables agreed on one nonzero index. - `draws_and_pipeline_binds_look_their_slot_up_once` passed. The fake PC callbacks received all three draws and the three expected pipeline handles in bind order. The fixture asserted at most two `slot_of` lookups across the six calls. **Not tested** The full GPU workspace suite and game smoke runs were omitted. Live D3D12 device behavior and frame-time impact were outside this run. **AI use** Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against `pr903-focused.log` and published.
DavidM1911 commented 2026-11-25 10:10:32 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T09:31:09Z.


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

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

<!-- greyfinch-sync:ivall/xcl:comment:7158439263 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/903#issuecomment-7158439263). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T09:31:09Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
github-actions[bot] commented 2026-11-28 20:19:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T20:19:10Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7245198487 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/903#issuecomment-7245198487). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T20:19:10Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 04:27:56 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 03f85e2

Main already has this change. Commit f05846e7 ("D3D12.X: cache invariant slots in hot hooks", merged with #2959) adds the same slot! macro and cached_slot function to real.rs, and 2987c19b's pc_slot! covers the draw hooks (cl_draw_instanced and others). None of the hooks this PR changes still calls slot_of per call on main.
Recommendation: close (superseded by main commit f05846e7).

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:7300761769 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/903#issuecomment-7300761769). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T04:27:56Z. --- **Triage (#1607)** – head 03f85e2 Main already has this change. Commit f05846e7 ("D3D12.X: cache invariant slots in hot hooks", merged with #2959) adds the same `slot!` macro and `cached_slot` function to real.rs, and 2987c19b's `pc_slot!` covers the draw hooks (`cl_draw_instanced` and others). None of the hooks this PR changes still calls `slot_of` per call on main. Recommendation: close (superseded by main commit f05846e7). 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:41:10 +00:00 (Migrated from github.com)

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


Closing as superseded: this change is already on main (f05846e7). main has the slot! macro and cached_slot in real.rs (f05846e7) and all 14 hot hooks the PR converts (Map, Unmap, WriteToSubresource, Close, Reset, draws, Signal, ExecuteCommandLists ...) use slot!/pc_slot! (2987c19b)

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:7311498680 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/903#issuecomment-7311498680). Originally posted by [throny](https://github.com/throny) on 2026-12-01T12:41:10Z. --- Closing as superseded: this change is already on `main` (f05846e7). main has the slot! macro and cached_slot in real.rs (f05846e7) and all 14 hot hooks the PR converts (Map, Unmap, WriteToSubresource, Close, Reset, draws, Signal, ExecuteCommandLists ...) use slot!/pc_slot! (2987c19b) 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!897
No description provided.