D3D12.X: the per-draw mirror sync writes only mirror pages whose bytes differ #2523

Open
KOLESNiii wants to merge 5 commits from upstream-pr/2533 into main
KOLESNiii commented 2026-11-25 21:48:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-25T21:48:27Z.


Stacked on #2437 (itself on #2416); only the top three commits (from D3D12.X: the per-draw mirror sync writes only mirror pages whose bytes differ up) belong here. It is an alternative to #2478, not on top of it.

sync_title_buffers copies the drawn range of every mirrored buffer at every draw and scans every index again. The title measured in #2389 rewrites these buffers every frame with the same bytes, so the write-watch reports them written (#2478 saved little that way) while their content stays the same. This change compares content instead: a copy writes only the mirror pages whose bytes differ, and an indexed draw reuses the vertex range it scanned while no mirror was written.

Part of #2393. Part of #2389.

What is in it

  • After the rebase: main's copy_committed_region now zeroes a page it cannot read. The mirror sync here uses copy_committed_pages (title_textures.rs), the same copy without zeroing, so a page the title freed keeps the mirror's bytes instead of turning into zeros.
  • crates/xcl/src/hle/d3d12x/list_x.rs:
    • Copies: update_mirror reads the title's bytes into a per-thread scratch buffer (64 KiB chunks, ReadProcessMemory) and writes only the 4 KiB pages that differ from the mirror. A chunk with a page the title freed or protected falls back to copy_committed_region (#2392). Unchanged pages are no longer written into the mirror, so the sparse look no longer sees them dirty (#2394).
    • Index scan: an indexed draw whose indices are in a mirror keeps its vertex range per thread, keyed by (index buffer, bytes, format, first, count, base vertex). It scans again after a write into the mirror its indices are in. An index buffer without a mirror is scanned at every draw, as before.
    • Lock: each mirror has a lock, held while the sync writes into it and counts the write; for the index buffer, from the copy through the range lookup or scan. Without it, another list that has written new indices but not yet bumped the count is seen as "nothing differs" and the old range is reused. Vertex copies take it too, since a vertex view and the index view can share a mirror.
    • Tests: a_mirror_is_written_only_where_the_title_bytes_differ (with a write-watch on the mirror, and a page made unreadable), a_vertex_range_is_scanned_again_only_after_a_mirror_write, the_mirror_sync_follows_changed_indices, a_vertex_range_is_not_reused_while_another_list_writes_the_indices (a test-only hook pauses list B between its index write and the bump).
  • crates/xcl/src/host.rs: the XCL_ACTIVITY mirror line shows the KB written next to the KB compared.
  • D3D12.X: a mirror chunk with an unreadable page is compared, not rewritten: a 64 KiB chunk that ReadProcessMemory cannot read whole is read around the page into the scratch buffer (filled first with the mirror's bytes) and compared like any other. Before, it was copied into the mirror whole and counted as written at every draw.
  • D3D12.X: a cached index range is checked against its own mirror's writes: each mirror keeps its own count of writes (in its lock), replacing the one MIRROR_WRITES for all mirrors, so a draw that writes new vertices no longer makes every indexed draw scan its unchanged indices again. Test: a_vertex_range_is_kept_while_only_other_mirrors_are_written.
  • Since the rebase onto ae5ae5a8, the mirror copies use #2437's copy_committed_region_keeping, which leaves an unreadable page's mirror bytes as they were (main now zeroes them in copy_committed_region).

Tested

  • Hardware: NVIDIA RTX 2070 SUPER (driver 32.0.16.2140), AMD Ryzen 5 3600XT, Windows 11 build 26300, Rust 1.100.0. Tests in debug, runs in release.

  • Current head 509709e7 (rebased onto main 765b2c5b to resolve conflicts): the suite has not been rerun on it; the counts below are from the earlier heads they name.

  • Rebased onto main 336fddda on 2026-11-28. cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4 on af7c2c00: 2131 passed, 9 failed, 48 ignored; 25 SKIPPED (21 no wave64, 3 refused #1426 forms, 1 no heap windows). The 9 failures are #3093's, the same 9 tests that fail on main 336fddda (2122 passed, 9 failed, 48 ignored, same skips). The results below are from before the rebase.

  • Suite on 80a99a0 (rebased onto #2416's review fix): cargo test --workspace -- --test-threads=4: 1432 passed, 0 failed, 46 ignored; 25 SKIPPED (21 no wave64, 3 f16/f32 programs refused for wave32 (#1426), 1 no heap windows, as on main).

  • New tests: the first three fail with the change undone (every page written; the cached range never rescanned); the fourth fails with the index mirror's lock removed (list A reuses its old range); the extended a_mirror_is_written_only_where_the_title_bytes_differ fails with the old fallback (16384 bytes written where 12288 changed); a_vertex_range_is_kept_while_only_other_mirrors_are_written fails with one count for all mirrors (3 scans instead of 1).

  • Measurement (before the last three changes, not rerun since): retail game, menus, 120 s with its learned coherent window removed so the two mirrors are made (at ~31–32 s). One run each, means per 2 s of the XCL_ACTIVITY lines once the mirrors exist (43–44 windows).

    #2437 (bb9bea2) this PR (0c62a58)
    draws synced / copies 775 / 1,193 771 / 1,186
    KB compared / KB written into mirrors – / 10,700 10,665 / 5
    indices scanned 1.97 M 2,021
    time in the sync: median, mean, max 4.80, 5.27, 17.4 ms 3.40, 3.84, 12.9 ms
    frames shown (120 s) / device removals / crashes 2834 / 0 / 0 2789 / 0 / 0

    Only the window in which the mirrors were made wrote anything (219 KB); every later window wrote 0 KB and scanned 0 indices. What remains is the read and the compare. Both runs held 60 presents per 2 s, so frames do not show the saving.

Regression run

Current head 509709e7, rebased onto main 765b2c5b on 2026-11-28 to resolve conflicts with main. RTX 2070 SUPER, the retail game, 60 s, XCL_PRESS_AT=25:A, XCL_PREPARE=0 (no startup shader preparation), release builds; each run started from a copy of the same DXIL cache (one queue job: main, then PR heads one after the other).

main:

xcl-smoke v1
commit: 7db2f391cefd748d47c7de63d50dd43ebb852185
gpu: NVIDIA GeForce RTX 2070 SUPER
title: retail game
seconds: 60
exit: 0x0
frames shown: 1530 (PresentX 1530)
presents per 2 s (last 3): 60 61 60
device removals: 0
crashes: 0
peak commit: 17023 MB

This PR's head:

xcl-smoke v1
commit: 509709e747cd70d43cb77a1890ec0571c086520a
gpu: NVIDIA GeForce RTX 2070 SUPER
title: retail game
seconds: 60
exit: 0x0
frames shown: 1527 (PresentX 1527)
presents per 2 s (last 3): 60 60 61
device removals: 0
crashes: 0
peak commit: 15311 MB

Not tested

  • The regression runs skip startup shader preparation (XCL_PREPARE=0): shaders are built when the title first uses them, on main and on this PR alike.
  • The sync's cost after the mirror lock and the last two commits: the measurement above is from 0c62a58, before them.
  • Smoke frames: an earlier run of cf9498e showed 896 frames (a slow start, 30 presents in one 2 s window); a rerun showed 1438, and the run of 80a99a0 above 1512. That run makes no mirrors, so it does not reach this code.
  • Other titles: one whose mirrored buffers do change, where each changed page is now read, compared and written. Its index ranges are scanned as before whenever any mirror was written.
  • The world and draws with instances (none in these menus).
  • Repeat runs: one run of each commit.
  • Other hardware: AMD and Intel GPUs, wave64.

AI use

  • Claude Code with Claude Opus 5.5: wrote the code, the tests, the commit message and this description, and ran the tests and the runs.
  • Claude Code (Claude Opus 5.5) rebased it onto main 336fddda, ran the suite and the regression runs and updated this description.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5499743538 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-11-25T21:48:27Z. --- Stacked on #2437 (itself on #2416); only the top three commits (from `D3D12.X: the per-draw mirror sync writes only mirror pages whose bytes differ` up) belong here. It is an alternative to #2478, not on top of it. `sync_title_buffers` copies the drawn range of every mirrored buffer at every draw and scans every index again. The title measured in #2389 rewrites these buffers every frame with the same bytes, so the write-watch reports them written (#2478 saved little that way) while their content stays the same. This change compares content instead: a copy writes only the mirror pages whose bytes differ, and an indexed draw reuses the vertex range it scanned while no mirror was written. Part of #2393. Part of #2389. **What is in it** - After the rebase: `main`'s `copy_committed_region` now zeroes a page it cannot read. The mirror sync here uses `copy_committed_pages` (`title_textures.rs`), the same copy without zeroing, so a page the title freed keeps the mirror's bytes instead of turning into zeros. - `crates/xcl/src/hle/d3d12x/list_x.rs`: - **Copies:** `update_mirror` reads the title's bytes into a per-thread scratch buffer (64 KiB chunks, `ReadProcessMemory`) and writes only the 4 KiB pages that differ from the mirror. A chunk with a page the title freed or protected falls back to `copy_committed_region` (#2392). Unchanged pages are no longer written into the mirror, so the sparse look no longer sees them dirty (#2394). - **Index scan:** an indexed draw whose indices are in a mirror keeps its vertex range per thread, keyed by (index buffer, bytes, format, first, count, base vertex). It scans again after a write into the mirror its indices are in. An index buffer without a mirror is scanned at every draw, as before. - **Lock:** each mirror has a lock, held while the sync writes into it and counts the write; for the index buffer, from the copy through the range lookup or scan. Without it, another list that has written new indices but not yet bumped the count is seen as "nothing differs" and the old range is reused. Vertex copies take it too, since a vertex view and the index view can share a mirror. - **Tests:** `a_mirror_is_written_only_where_the_title_bytes_differ` (with a write-watch on the mirror, and a page made unreadable), `a_vertex_range_is_scanned_again_only_after_a_mirror_write`, `the_mirror_sync_follows_changed_indices`, `a_vertex_range_is_not_reused_while_another_list_writes_the_indices` (a test-only hook pauses list B between its index write and the bump). - `crates/xcl/src/host.rs`: the `XCL_ACTIVITY` mirror line shows the KB written next to the KB compared. - `D3D12.X: a mirror chunk with an unreadable page is compared, not rewritten`: a 64 KiB chunk that `ReadProcessMemory` cannot read whole is read around the page into the scratch buffer (filled first with the mirror's bytes) and compared like any other. Before, it was copied into the mirror whole and counted as written at every draw. - `D3D12.X: a cached index range is checked against its own mirror's writes`: each mirror keeps its own count of writes (in its lock), replacing the one `MIRROR_WRITES` for all mirrors, so a draw that writes new vertices no longer makes every indexed draw scan its unchanged indices again. Test: `a_vertex_range_is_kept_while_only_other_mirrors_are_written`. - Since the rebase onto `ae5ae5a8`, the mirror copies use #2437's `copy_committed_region_keeping`, which leaves an unreadable page's mirror bytes as they were (`main` now zeroes them in `copy_committed_region`). **Tested** - **Hardware:** NVIDIA RTX 2070 SUPER (driver 32.0.16.2140), AMD Ryzen 5 3600XT, Windows 11 build 26300, Rust 1.100.0. Tests in debug, runs in release. - Current head `509709e7` (rebased onto `main` `765b2c5b` to resolve conflicts): the suite has not been rerun on it; the counts below are from the earlier heads they name. - Rebased onto `main` `336fddda` on 2026-11-28. `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4` on `af7c2c00`: 2131 passed, 9 failed, 48 ignored; 25 SKIPPED (21 `no wave64`, 3 refused #1426 forms, 1 `no heap windows`). The 9 failures are #3093's, the same 9 tests that fail on `main` `336fddda` (2122 passed, 9 failed, 48 ignored, same skips). The results below are from before the rebase. - **Suite** on `80a99a0` (rebased onto #2416's review fix): `cargo test --workspace -- --test-threads=4`: 1432 passed, 0 failed, 46 ignored; 25 SKIPPED (21 `no wave64`, 3 f16/f32 programs refused for wave32 (#1426), 1 `no heap windows`, as on `main`). - **New tests:** the first three fail with the change undone (every page written; the cached range never rescanned); the fourth fails with the index mirror's lock removed (list A reuses its old range); the extended `a_mirror_is_written_only_where_the_title_bytes_differ` fails with the old fallback (16384 bytes written where 12288 changed); `a_vertex_range_is_kept_while_only_other_mirrors_are_written` fails with one count for all mirrors (3 scans instead of 1). - **Measurement** (before the last three changes, not rerun since): retail game, menus, 120 s with its learned coherent window removed so the two mirrors are made (at ~31–32 s). One run each, means per 2 s of the `XCL_ACTIVITY` lines once the mirrors exist (43–44 windows). | | #2437 (`bb9bea2`) | this PR (`0c62a58`) | |---|---|---| | draws synced / copies | 775 / 1,193 | 771 / 1,186 | | KB compared / KB written into mirrors | – / 10,700 | 10,665 / 5 | | indices scanned | 1.97 M | 2,021 | | time in the sync: median, mean, max | 4.80, 5.27, 17.4 ms | 3.40, 3.84, 12.9 ms | | frames shown (120 s) / device removals / crashes | 2834 / 0 / 0 | 2789 / 0 / 0 | Only the window in which the mirrors were made wrote anything (219 KB); every later window wrote 0 KB and scanned 0 indices. What remains is the read and the compare. Both runs held 60 presents per 2 s, so frames do not show the saving. **Regression run** Current head `509709e7`, rebased onto `main` `765b2c5b` on 2026-11-28 to resolve conflicts with `main`. RTX 2070 SUPER, the retail game, 60 s, `XCL_PRESS_AT=25:A`, `XCL_PREPARE=0` (no startup shader preparation), release builds; each run started from a copy of the same DXIL cache (one queue job: `main`, then PR heads one after the other). `main`: ``` xcl-smoke v1 commit: 7db2f391cefd748d47c7de63d50dd43ebb852185 gpu: NVIDIA GeForce RTX 2070 SUPER title: retail game seconds: 60 exit: 0x0 frames shown: 1530 (PresentX 1530) presents per 2 s (last 3): 60 61 60 device removals: 0 crashes: 0 peak commit: 17023 MB ``` This PR's head: ``` xcl-smoke v1 commit: 509709e747cd70d43cb77a1890ec0571c086520a gpu: NVIDIA GeForce RTX 2070 SUPER title: retail game seconds: 60 exit: 0x0 frames shown: 1527 (PresentX 1527) presents per 2 s (last 3): 60 60 61 device removals: 0 crashes: 0 peak commit: 15311 MB ``` **Not tested** - The regression runs skip startup shader preparation (`XCL_PREPARE=0`): shaders are built when the title first uses them, on `main` and on this PR alike. - **The sync's cost after the mirror lock and the last two commits:** the measurement above is from `0c62a58`, before them. - **Smoke frames:** an earlier run of `cf9498e` showed 896 frames (a slow start, 30 presents in one 2 s window); a rerun showed 1438, and the run of `80a99a0` above 1512. That run makes no mirrors, so it does not reach this code. - **Other titles:** one whose mirrored buffers do change, where each changed page is now read, compared and written. Its index ranges are scanned as before whenever any mirror was written. - **The world** and draws with instances (none in these menus). - **Repeat runs:** one run of each commit. - **Other hardware:** AMD and Intel GPUs, wave64. **AI use** - Claude Code with Claude Opus 5.5: wrote the code, the tests, the commit message and this description, and ran the tests and the runs. - Claude Code (Claude Opus 5.5) rebased it onto `main` `336fddda`, ran the suite and the regression runs and updated this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
DavidM1911 commented 2026-11-25 23:09:03 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T22:08:30Z.


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:7175988015 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7175988015). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T22:08:30Z. --- 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!
emirduran707 commented 2026-11-25 23:09:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by emirduran707 on 2026-11-25T22:10:19Z.


Independent AMD RDNA4 (native wave64) test report on exact head 0c62a58dc895919aee3c6f502420f74c20abc2a5 (clean detached checkout, no local changes).

Tested

  • AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64, driver 32.0.31044.16), Ryzen 5 5600, 32 GB RAM, Windows 11 Pro 26300, Rust 1.100.0 (stable-x86_64-pc-windows-msvc), DXC 1.9.2602.17; tests debug, smoke release.
  • cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4: 1277 passed, 2 failed, 46 ignored; 8 SKIPPED (6 in lower_dxil::tests::{f16,f32}_programs_on_the_gpu refused by per-lane form; heap_window_out_of_memory_falls_back_to_the_switch_form; pso_measurement_compiles_an_exact_synthetic_record). All native wave64 GPU tests ran and passed.
    • Both PR tests passed: hle::d3d12x::list_x::tests::a_mirror_is_written_only_where_the_title_bytes_differ and a_vertex_range_is_scanned_again_only_after_a_mirror_write.
    • The 2 failures (gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 seed 722 and fuzz_validate_and_gpu_3 seed 1599) are pre-existing on unmodified main on this GPU.

Regression run (60 s retail-title smoke, XCL_NETWORK=0, release)

xcl-smoke v1
commit: 0c62a58dc895919aee3c6f502420f74c20abc2a5
gpu: AMD Radeon RX 9060 XT
title: 21222967
seconds: 60
exit: 0x0
frames shown: 1621 (PresentX 1621)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 13940 MB

(Matched main 68a284a baseline on the same machine today: 1573 frames, 14420 MB peak, 0 device removals, 0 crashes.)

Not tested

  • D3D12 debug layer; Intel GPUs.

AI use

  • Antigravity with Gemini 4 Neon ran the build, test suite, and smoke run and drafted this report.
<!-- greyfinch-sync:ivall/xcl:comment:7176026395 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7176026395). Originally posted by [emirduran707](https://github.com/emirduran707) on 2026-11-25T22:10:19Z. --- Independent AMD RDNA4 (native wave64) test report on exact head `0c62a58dc895919aee3c6f502420f74c20abc2a5` (clean detached checkout, no local changes). **Tested** - AMD Radeon RX 9060 XT 16 GB (RDNA4, native wave64, driver 32.0.31044.16), Ryzen 5 5600, 32 GB RAM, Windows 11 Pro 26300, Rust 1.100.0 (`stable-x86_64-pc-windows-msvc`), DXC 1.9.2602.17; tests debug, smoke release. - `cargo build --workspace && cargo test --workspace --no-fail-fast -- --test-threads=4`: **1277 passed, 2 failed, 46 ignored; 8 SKIPPED** (6 in `lower_dxil::tests::{f16,f32}_programs_on_the_gpu` refused by per-lane form; `heap_window_out_of_memory_falls_back_to_the_switch_form`; `pso_measurement_compiles_an_exact_synthetic_record`). All native wave64 GPU tests ran and passed. - Both PR tests passed: `hle::d3d12x::list_x::tests::a_mirror_is_written_only_where_the_title_bytes_differ` and `a_vertex_range_is_scanned_again_only_after_a_mirror_write`. - The 2 failures (`gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` seed 722 and `fuzz_validate_and_gpu_3` seed 1599) are pre-existing on unmodified `main` on this GPU. **Regression run** (60 s retail-title smoke, `XCL_NETWORK=0`, release) ``` xcl-smoke v1 commit: 0c62a58dc895919aee3c6f502420f74c20abc2a5 gpu: AMD Radeon RX 9060 XT title: 21222967 seconds: 60 exit: 0x0 frames shown: 1621 (PresentX 1621) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 13940 MB ``` (Matched `main` `68a284a` baseline on the same machine today: 1573 frames, 14420 MB peak, 0 device removals, 0 crashes.) **Not tested** - D3D12 debug layer; Intel GPUs. **AI use** - Antigravity with Gemini 4 Neon ran the build, test suite, and smoke run and drafted this report.
SlopTart commented 2026-11-25 23:09:24 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T23:07:57Z.


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): 164 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_mirror_is_written_only_where_the_title_bytes_differ, a_vertex_range_is_scanned_again_only_after_a_mirror_write, the_mirror_sync_follows_changed_indices: 3 passed (plus the_mirror_sync_copies_around_a_page_the_title_made_unreadable re-confirmed).

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:7177183345 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7177183345). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-25T23:07:57Z. --- **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): 164 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_mirror_is_written_only_where_the_title_bytes_differ`, `a_vertex_range_is_scanned_again_only_after_a_mirror_write`, `the_mirror_sync_follows_changed_indices`: 3 passed (plus `the_mirror_sync_copies_around_a_page_the_title_made_unreadable` re-confirmed). **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.
DavidM1911 commented 2026-11-26 02:08:21 +00:00 (Migrated from github.com)

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


Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7179943592 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7179943592). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T01:36:31Z. --- Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
luckyteagirl commented 2026-11-26 07:06:49 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T07:06:49Z.

Review: COMMENTED


Could the index-mirror update and cached range lookup share synchronization? Two command lists can use the same mirror. MIRRORS only protects the address lookup, and the copy changes the mirror before incrementing MIRROR_WRITES. Suppose thread A has cached the range for index 0 and the title changes that index to 9 before either thread records its next draw. Thread B copies index 9 into the mirror and pauses before publishing the generation. A then sees matching source and mirror bytes, writes nothing, and hits its previous range under the old generation. The draw reads index 9, but A only refreshes the vertex data for index 0. Main rescans the mirror at this point.

A per-mirror lock covering copy and index-range lookup would close the gap. A focused test can pause B after the copy and before generation publication, then check that A cannot reuse its old range. Exact-head source review of 5f61e932b631987e3ec65dc6f61b0acf7e8fc6c6. No concurrent GPU run. AI-assisted review with Codex.

<!-- greyfinch-sync:ivall/xcl:review:6069836796 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#pullrequestreview-6069836796). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T07:06:49Z. **Review:** COMMENTED --- Could the index-mirror update and cached range lookup share synchronization? Two command lists can use the same mirror. `MIRRORS` only protects the address lookup, and the copy changes the mirror before incrementing `MIRROR_WRITES`. Suppose thread A has cached the range for index 0 and the title changes that index to 9 before either thread records its next draw. Thread B copies index 9 into the mirror and pauses before publishing the generation. A then sees matching source and mirror bytes, writes nothing, and hits its previous range under the old generation. The draw reads index 9, but A only refreshes the vertex data for index 0. Main rescans the mirror at this point. A per-mirror lock covering copy and index-range lookup would close the gap. A focused test can pause B after the copy and before generation publication, then check that A cannot reuse its old range. Exact-head source review of `5f61e932b631987e3ec65dc6f61b0acf7e8fc6c6`. No concurrent GPU run. AI-assisted review with Codex.
KOLESNiii commented 2026-11-26 10:06:26 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-26T10:03:47Z.


@luckyteagirl Confirmed, thanks. Each mirror now has a lock, held while the sync writes into it and bumps MIRROR_WRITES. For the index buffer it is held from the copy through the generation read and the cached-range lookup or scan. Vertex copies take it too, since a vertex view and the index view can share a mirror.

Added a_vertex_range_is_not_reused_while_another_list_writes_the_indices. A test-only hook pauses list B after its index write and before the bump, and the test checks that list A, which has a range cached from before the change, still copies the vertex the changed index reaches. On an RTX 2070 SUPER it fails with the index mirror's lock removed and passes with it.

Squashed into the top commit, now 26ccb47. Full suite: 1430 passed, 0 failed, 46 ignored, 25 SKIPPED as before. Smoke on the new head is in the description.

(Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ivall/xcl:comment:7188857557 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7188857557). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-11-26T10:03:47Z. --- @luckyteagirl Confirmed, thanks. Each mirror now has a lock, held while the sync writes into it and bumps `MIRROR_WRITES`. For the index buffer it is held from the copy through the generation read and the cached-range lookup or scan. Vertex copies take it too, since a vertex view and the index view can share a mirror. Added `a_vertex_range_is_not_reused_while_another_list_writes_the_indices`. A test-only hook pauses list B after its index write and before the bump, and the test checks that list A, which has a range cached from before the change, still copies the vertex the changed index reaches. On an RTX 2070 SUPER it fails with the index mirror's lock removed and passes with it. Squashed into the top commit, now `26ccb47`. Full suite: 1430 passed, 0 failed, 46 ignored, 25 SKIPPED as before. Smoke on the new head is in the description. (Claude Code, Claude Opus 5.5)
KOLESNiii commented 2026-11-26 11:05:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-26T10:33:55Z.


Two more commits from a review pass of my own:

  • 01316f81 D3D12.X: a mirror chunk with an unreadable page is compared, not rewritten. When ReadProcessMemory failed for a chunk (#2392), the fallback copied it into the mirror whole and counted all of it as written at every draw. That is the rewrite #2393 removes, and it also threw away the cached index ranges. The chunk is now read into the scratch buffer, filled first with the mirror's bytes, and compared page by page.
  • cf9498e8 D3D12.X: a cached index range is checked against its own mirror's writes. MIRROR_WRITES was one count for all mirrors, so a draw that wrote new vertices made the next indexed draw scan its unchanged indices again. Each mirror now keeps its own count, in the lock added for the race above.

Each has a test that fails without it: 16384 bytes written where 12288 changed, and 3 index scans instead of 1. Suite on cf9498e: 1431 passed, 0 failed, 46 ignored, 25 SKIPPED as before. Smoke on the new head is in the description.

(Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ivall/xcl:comment:7189533666 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7189533666). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-11-26T10:33:55Z. --- Two more commits from a review pass of my own: - `01316f81` D3D12.X: a mirror chunk with an unreadable page is compared, not rewritten. When `ReadProcessMemory` failed for a chunk (#2392), the fallback copied it into the mirror whole and counted all of it as written at every draw. That is the rewrite #2393 removes, and it also threw away the cached index ranges. The chunk is now read into the scratch buffer, filled first with the mirror's bytes, and compared page by page. - `cf9498e8` D3D12.X: a cached index range is checked against its own mirror's writes. `MIRROR_WRITES` was one count for all mirrors, so a draw that wrote new vertices made the next indexed draw scan its unchanged indices again. Each mirror now keeps its own count, in the lock added for the race above. Each has a test that fails without it: 16384 bytes written where 12288 changed, and 3 index scans instead of 1. Suite on `cf9498e`: 1431 passed, 0 failed, 46 ignored, 25 SKIPPED as before. Smoke on the new head is in the description. (Claude Code, Claude Opus 5.5)
moombathepilot commented 2026-11-29 18:43:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by moombathepilot on 2026-11-29T18:43:45Z.


merge-check

base: 0fe06eb0f0

head: 509709e747

merge: clean. Tested local trial merge 670ad00a5b57cb59e59d1eaed3df0b9df58d1eff, including prerequisites #2416 and #2437.

build: cargo build --workspace -> ok. cargo build --release -p xcl also passed for the trial merge.

tests: cargo test --workspace --no-fail-fast -- --test-threads=4 --nocapture -> 2,744 passed, 2 failed, 49 ignored. There were 12 explicit SKIPPED notices: 6 unsupported per-lane f16/f32 cases, 2 no heap windows, 3 missing D3D12 debug layer, and 1 driver cache could not be disabled.

  • All nine stack tests passed, including changed-page detection, unreadable-page preservation, per-mirror index invalidation, and concurrent updates to a shared index mirror.
  • Both failures matched earlier targeted runs on this exact unmodified base and machine: fuzz_validate_and_gpu_1 (seed 722) and two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs (two-pass state release assertion).

review: Read the trial-merge diff. The index-mirror lock spans the copy, write-count update, and range lookup or scan. The regression test for the earlier shared-index race passed. The scratch-buffer fallback preserves bytes from unreadable pages and compares the readable pages before writing. No blocking findings. git diff --cached --check passed.

performance: Paired release runs used scripts/smoke.ps1 -Game <folder> -Seconds 60 -StartupTimeoutSeconds 300, title 817b32af, XCL_PREPARE=0, and networking off.

No-input run Frames shown Peak commit Crashes / device removals
main 1651 15006 MB 0 / 0
trial merge 1646 15626 MB 0 / 0

With XCL_PRESS_AT=25:A, both builds aborted with the same 0xc0000005 null read at amdxc64.dll+0x7380f8. Both logs confirm the press at 25 seconds. No mirror activity was logged in either pair, so the retail runs do not measure mirror-sync cost or establish gameplay parity. The added comparisons and locks may cost CPU time when mirrored pages change. Unchanged pages avoid writes, and unchanged index mirrors reuse their cached range.

verdict: safe to merge

hardware / tool and model: Radeon RX 7800 XT (32.0.32029.2010), Ryzen 7 5700X3D, Windows 11 Home build 26300, Rust 1.100.0 x86_64-pc-windows-msvc. Codex (GPT-6, exact variant unavailable) verified the refs, reviewed the diff, ran the build, tests and smokes, compared the baseline logs, and drafted this report.

Reviewed by the posting user before submission.

<!-- greyfinch-sync:ivall/xcl:comment:7260711682 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7260711682). Originally posted by [moombathepilot](https://github.com/moombathepilot) on 2026-11-29T18:43:45Z. --- merge-check base: 0fe06eb0f05459007ebfffc67bb9983acb3a832d head: 509709e747cd70d43cb77a1890ec0571c086520a merge: clean. Tested local trial merge `670ad00a5b57cb59e59d1eaed3df0b9df58d1eff`, including prerequisites #2416 and #2437. build: `cargo build --workspace` -> ok. `cargo build --release -p xcl` also passed for the trial merge. tests: `cargo test --workspace --no-fail-fast -- --test-threads=4 --nocapture` -> **2,744 passed, 2 failed, 49 ignored**. There were 12 explicit `SKIPPED` notices: 6 unsupported per-lane f16/f32 cases, 2 no heap windows, 3 missing D3D12 debug layer, and 1 driver cache could not be disabled. - All nine stack tests passed, including changed-page detection, unreadable-page preservation, per-mirror index invalidation, and concurrent updates to a shared index mirror. - Both failures matched earlier targeted runs on this exact unmodified base and machine: `fuzz_validate_and_gpu_1` (seed 722) and `two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs` (two-pass state release assertion). review: Read the trial-merge diff. The index-mirror lock spans the copy, write-count update, and range lookup or scan. The regression test for the earlier shared-index race passed. The scratch-buffer fallback preserves bytes from unreadable pages and compares the readable pages before writing. No blocking findings. `git diff --cached --check` passed. performance: Paired release runs used `scripts/smoke.ps1 -Game <folder> -Seconds 60 -StartupTimeoutSeconds 300`, title `817b32af`, `XCL_PREPARE=0`, and networking off. | No-input run | Frames shown | Peak commit | Crashes / device removals | | --- | ---: | ---: | ---: | | main | 1651 | 15006 MB | 0 / 0 | | trial merge | 1646 | 15626 MB | 0 / 0 | With `XCL_PRESS_AT=25:A`, both builds aborted with the same `0xc0000005` null read at `amdxc64.dll+0x7380f8`. Both logs confirm the press at 25 seconds. No mirror activity was logged in either pair, so the retail runs do not measure mirror-sync cost or establish gameplay parity. The added comparisons and locks may cost CPU time when mirrored pages change. Unchanged pages avoid writes, and unchanged index mirrors reuse their cached range. verdict: safe to merge hardware / tool and model: Radeon RX 7800 XT (32.0.32029.2010), Ryzen 7 5700X3D, Windows 11 Home build 26300, Rust 1.100.0 x86_64-pc-windows-msvc. Codex (GPT-6, exact variant unavailable) verified the refs, reviewed the diff, ran the build, tests and smokes, compared the baseline logs, and drafted this report. Reviewed by the posting user before submission.
tiagonleal commented 2026-11-30 09:36:54 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-30T09:36:54Z.


merge-check
base: 9dfbe3ea66
head: 509709e747
merge: clean (the head carries #2416 c6562a0c and #2437 1de6652e, both still open, so this merge brings them in too)
build: cargo build --workspace -> ok (also cargo build --release -p xcl)
tests: cargo test --workspace --no-fail-fast -j 8 -- --test-threads=4 -> 2894 passed, 1 failed, 51 ignored; SKIPPED: 24 lines, the same as on the base; failing: gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16, which fails the same way on the base alone (2885 passed, 1 failed, 51 ignored; #3513 fixes it). The 9 new tests in list_x.rs all ran and passed, none skipped. With the page compare in update_mirror replaced by if true (every page written), cargo test -p xcl --lib hle::d3d12x::list_x::tests::a_ -- --test-threads=1 fails a_mirror_is_written_only_where_the_title_bytes_differ, so that test does catch the loss of the compare.
review: whole diff read (+621/-36, list_x.rs, title_textures.rs, host.rs). The skip is decided by a byte compare, not by dirty tracking or hashes. update_mirror (list_x.rs:5944) reads the title's bytes with ReadProcessMemory in 64 KiB chunks into a per-thread scratch buffer and writes a 4 KiB page of the mirror only when its bytes differ (list_x.rs:5966). A page whose bytes changed is therefore always written, as long as it is readable. A page the title freed or protected keeps the mirror's bytes (copy_committed_pages, title_textures.rs:3278), where main skips the whole copy when readable() fails. Page boundaries follow the title's address, and a mirror starts at the same 64 KiB alignment as its range, so pages line up; partial first and last pages are compared over their part only. The cached vertex range (cached_vertex_range, list_x.rs:5980) is per thread, keyed by index va, bytes, format, first, count and base vertex, and reused only while the index mirror's write count is unchanged. That count lives in a per-mirror mutex (list_x.rs:5921), held from the index copy through the range lookup (list_x.rs:6125-6154), and released before the vertex copies take their own locks (list_x.rs:6164), so one thread never holds two mirror locks. I found no case where a changed index is missed. A title thread writing during the read can still race the copy, as with the memcpy on main. There is no switch: the read and compare run at every synced draw whenever a mirror exists, and the counters only run with XCL_ACTIVITY. New unsafe is the ReadProcessMemory read and the slice over the mirror, both bounded by len. Note for later: the cache relies on mirrors never being freed (list_x.rs:5845); #825, which frees idle mirrors, would let a new mirror at the same address start its count at 0 and match a cached range, so whichever of the two lands second needs to clear INDEX_RANGES on free. #637 and #825 also touch these functions.
performance: scripts/smoke.ps1, 60 s of a retail title, release, after one warm-up run of the base: 1675 frames and 16791 MB peak commit against 1641 frames and 17185 MB on the base (warm-up: 1598, 16824 MB). No device removal, no crash. Neither log has a "mirrored at" line, so these runs make no mirror and never reach the changed code; they show no regression elsewhere and say nothing about the sync's cost. I did not run a second pair: the difference is inside today's run-to-run spread, and two runs would not prove anything about speed either way.
verdict: safe to merge
hardware / tool and model: RTX 5070 Ti 16 GB (617.42, wave32), Ryzen 7 9800X3D, 32 GB, Windows 11 26300, rustc 1.100.0 / Claude Code (Claude Opus 5.5 ran the build, suite, test and smoke, reviewed the diff against the merged source and wrote this)

  • Tiago
<!-- greyfinch-sync:ivall/xcl:comment:7274449595 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7274449595). Originally posted by [tiagonleal](https://github.com/tiagonleal) on 2026-11-30T09:36:54Z. --- merge-check base: 9dfbe3ea6653a9c76ef3ea0d66187a4b5407483b head: 509709e747cd70d43cb77a1890ec0571c086520a merge: clean (the head carries #2416 c6562a0c and #2437 1de6652e, both still open, so this merge brings them in too) build: cargo build --workspace -> ok (also `cargo build --release -p xcl`) tests: cargo test --workspace --no-fail-fast -j 8 -- --test-threads=4 -> 2894 passed, 1 failed, 51 ignored; SKIPPED: 24 lines, the same as on the base; failing: `gpu::dxil::msaa_tests::gpu_direct_image_get_resinfo_d16`, which fails the same way on the base alone (2885 passed, 1 failed, 51 ignored; #3513 fixes it). The 9 new tests in `list_x.rs` all ran and passed, none skipped. With the page compare in `update_mirror` replaced by `if true` (every page written), `cargo test -p xcl --lib hle::d3d12x::list_x::tests::a_ -- --test-threads=1` fails `a_mirror_is_written_only_where_the_title_bytes_differ`, so that test does catch the loss of the compare. review: whole diff read (+621/-36, `list_x.rs`, `title_textures.rs`, `host.rs`). The skip is decided by a byte compare, not by dirty tracking or hashes. `update_mirror` (`list_x.rs:5944`) reads the title's bytes with `ReadProcessMemory` in 64 KiB chunks into a per-thread scratch buffer and writes a 4 KiB page of the mirror only when its bytes differ (`list_x.rs:5966`). A page whose bytes changed is therefore always written, as long as it is readable. A page the title freed or protected keeps the mirror's bytes (`copy_committed_pages`, `title_textures.rs:3278`), where `main` skips the whole copy when `readable()` fails. Page boundaries follow the title's address, and a mirror starts at the same 64 KiB alignment as its range, so pages line up; partial first and last pages are compared over their part only. The cached vertex range (`cached_vertex_range`, `list_x.rs:5980`) is per thread, keyed by index va, bytes, format, first, count and base vertex, and reused only while the index mirror's write count is unchanged. That count lives in a per-mirror mutex (`list_x.rs:5921`), held from the index copy through the range lookup (`list_x.rs:6125-6154`), and released before the vertex copies take their own locks (`list_x.rs:6164`), so one thread never holds two mirror locks. I found no case where a changed index is missed. A title thread writing during the read can still race the copy, as with the memcpy on `main`. There is no switch: the read and compare run at every synced draw whenever a mirror exists, and the counters only run with `XCL_ACTIVITY`. New unsafe is the `ReadProcessMemory` read and the slice over the mirror, both bounded by `len`. Note for later: the cache relies on mirrors never being freed (`list_x.rs:5845`); #825, which frees idle mirrors, would let a new mirror at the same address start its count at 0 and match a cached range, so whichever of the two lands second needs to clear `INDEX_RANGES` on free. #637 and #825 also touch these functions. performance: `scripts/smoke.ps1`, 60 s of a retail title, release, after one warm-up run of the base: 1675 frames and 16791 MB peak commit against 1641 frames and 17185 MB on the base (warm-up: 1598, 16824 MB). No device removal, no crash. Neither log has a "mirrored at" line, so these runs make no mirror and never reach the changed code; they show no regression elsewhere and say nothing about the sync's cost. I did not run a second pair: the difference is inside today's run-to-run spread, and two runs would not prove anything about speed either way. verdict: safe to merge hardware / tool and model: RTX 5070 Ti 16 GB (617.42, wave32), Ryzen 7 9800X3D, 32 GB, Windows 11 26300, rustc 1.100.0 / Claude Code (Claude Opus 5.5 ran the build, suite, test and smoke, reviewed the diff against the merged source and wrote this) - Tiago
Foniass commented 2026-12-01 08:18:18 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 509709e

Stacked on #2437, which is stacked on #2416; the shared lines with those PRs are their commits, not a duplicate. The top three commits (compare-before-write update_mirror, per-thread cached_vertex_range keyed on the index mirror's write count, the per-mirror lock) are not on main and no other open PR does them; #2478, the write-watch alternative, is closed.
No problems found in the top commits: the index mirror's count is held locked from the copy through the range lookup, and vertex copies take the same lock, so a cached range cannot outlive an uncounted write.
The branch conflicts with main and needs a rebase.
Recommendation: keep open.

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:7305141558 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7305141558). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:18:18Z. --- **Triage (#1607)** – head 509709e Stacked on #2437, which is stacked on #2416; the shared lines with those PRs are their commits, not a duplicate. The top three commits (compare-before-write `update_mirror`, per-thread `cached_vertex_range` keyed on the index mirror's write count, the per-mirror lock) are not on main and no other open PR does them; #2478, the write-watch alternative, is closed. No problems found in the top commits: the index mirror's count is held locked from the copy through the range lookup, and vertex copies take the same lock, so a cached range cannot outlive an uncounted write. The branch conflicts with main and needs a rebase. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
KOLESNiii commented 2026-12-02 14:36:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-12-02T14:36:06Z.


Thanks @tiagonleal for the check, and @Foniass for the triage. Noted the point about #825: whichever of the two lands second has to clear INDEX_RANGES when a mirror is freed. Rebased onto #2437's new head (onto main df0cfef6), with no conflicts in the top three commits. New head 5073f6b2; suite and smoke are queued again.

— Claude Code (Claude Opus 5.5), on behalf of the PR author

<!-- greyfinch-sync:ivall/xcl:comment:7348822353 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7348822353). Originally posted by [KOLESNiii](https://github.com/KOLESNiii) on 2026-12-02T14:36:06Z. --- Thanks @tiagonleal for the check, and @Foniass for the triage. Noted the point about #825: whichever of the two lands second has to clear `INDEX_RANGES` when a mirror is freed. Rebased onto #2437's new head (onto `main` df0cfef6), with no conflicts in the top three commits. New head `5073f6b2`; suite and smoke are queued again. — Claude Code (Claude Opus 5.5), on behalf of the PR author
Foniass commented 2026-12-02 14:39:13 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T14:39:13Z.


Follow-up review (head 5073f6b2, since 509709e, diff read, not a merge-check; checks red):

  • Earlier points: unchanged; this push is a rebase onto the current main, with the copy renamed to title_textures::copy_committed_pages as main now calls it and the commit message reworded.

New: none.

AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.

<!-- greyfinch-sync:ivall/xcl:comment:7348911182 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2533#issuecomment-7348911182). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-02T14:39:13Z. --- Follow-up review (head 5073f6b2, since 509709e, diff read, not a merge-check; checks red): - **Earlier points:** unchanged; this push is a rebase onto the current `main`, with the copy renamed to `title_textures::copy_committed_pages` as `main` now calls it and the commit message reworded. New: none. AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2533:upstream-pr/2533'
git switch 'upstream-pr/2533'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2533'
git switch 'upstream-pr/2533'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2533'
git switch 'upstream-pr/2533'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2533'
git switch 'main'
git merge --squash 'upstream-pr/2533'
git switch 'main'
git merge --ff-only 'upstream-pr/2533'
git switch 'main'
git merge 'upstream-pr/2533'
git push origin 'main'
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!2523
No description provided.