Recompiler: scratch SADDR 0x7F addresses the offset alone (ST form) #2504

Open
oni-swr wants to merge 1 commit from upstream-pr/2514 into main
oni-swr commented 2026-11-25 21:15:09 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-25T21:15:09Z.


On RDNA2, scratch_* picks its address form from SADDR alone:

  • an SGPR is SS (SGPR + offset),
  • NULL (0x7D) is SV (VADDR + offset),
  • 0x7F (EXEC_HI) is ST (the offset alone).

Both lowerings took 0x7F for the SV form and added ADDR's VGPR. So an ST access landed on whatever per-lane address that VGPR held. Now 0x7F gives a zero base, and ADDR is read only for 0x7D.

The issue also proposed checking an SVE bit and adding SGPR + VGPR. RDNA2 has neither: the RDNA2 ENC_FLAT_SCRATCH spec in rdna2_spec.rs has no SVE field, and both SVE and the SVS form arrived with GFX11 / GFX940. The source for the GFX10 encoding is LLVM:

  • FLAT_Real_gfx10 sets Inst{54-48} to EXEC_HI for a scratch op without vaddr and to SGPR_NULL otherwise, and sets Inst{55} to 0.
  • The gfx1030 MC test encodes scratch_load_dword v1, off, off with byte 6 = 0x7f.

So only the ST half of the issue applies, and that is what this fixes.

Fixes #2400
Part of #1269

What is in it

  • crates/xcl/src/gpu/dxil/lower_mem.rs (scratch): the base is 0 for SADDR 0x7F, VADDR for 0x7D and the SGPR otherwise (direct DXIL).
  • crates/xcl/src/gpu/recomp/emit.rs (scratch): the same in the HLSL emitter, which had the same bug.
  • Tests:
    • dxil/core_tests.rs::scratch_reads_addr_only_in_the_sv_form: ST and SS containers do not change with ADDR, SV ones do.
    • recomp/tests.rs::scratch_address_forms_follow_saddr: the HLSL address of each form.
    • recomp/tests.rs::gpu_scratch_address_forms: GPU test of the three forms.
    • The existing gpu_more_atomics_sub_dword_scratch_valu now encodes the SV form (0x7D) its comment describes ("2 · lane + 16").

Tested

  • Windows 11 Pro build 26200, AMD Ryzen 7 5700X3D, rustc 1.100.0, debug.
  • CPU only: XCL_ADAPTER=NONE_CPU_ONLY, so no D3D12 device was created. DXC 1.8.2502.11 and the dxil.dll validator from the Windows SDK were used.
  • cargo test --workspace -j 4 -- --test-threads=4 on 57853e01: 1426 passed, 0 failed, 46 ignored. 218 GPU tests SKIPPED: no GPU and adapter-selection skips because of XCL_ADAPTER, including the new gpu_scratch_address_forms.
  • The two CPU tests fail without the fix: "ST: the offset alone" and "ST (SADDR 0x7f) must not read ADDR". They pass with it.
  • On a GPU, exact head 57853e01 (clean detached checkout), AMD Radeon RX 7800 XT (driver 32.0.31035.1003), Windows 11 Pro build 26200, rustc 1.100.0, debug, no XCL_ADAPTER set (hardware adapter, no WARP), CARGO_TARGET_DIR on its own drive:
    • cargo test -p xcl --lib -j 4 -- --test-threads=4: 1300 passed, 1 failed, 26 ignored. The new gpu_scratch_address_forms, scratch_address_forms_follow_saddr, scratch_reads_addr_only_in_the_sv_form and the changed gpu_more_atomics_sub_dword_scratch_valu all ran and passed on the GPU.
    • the one failure is gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 ("seed 722: res[30] = 0x1, CPU 0x7fffffff"). It fails the same way, same seed, on main at e120925e, so it is not caused by this PR.
    • cargo build --workspace -j 4 then cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4: 1425 passed, 1 failed (the same fuzz test), 46 ignored across all test binaries. 7 SKIPPED messages: six f16_programs_on_the_gpu / f32_programs_on_the_gpu cases that the lowering refuses (unsupported V_MUL_F16 / V_PK_MUL_F16 / V_CVT_F16_F32, #1426) and heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows).
  • cargo clippy -p xcl --lib --tests: no findings on the changed lines. The lib already fails clippy on main, on lower_valu.rs:560 and lower_wide.rs:568 (approximate TAU).
  • cargo fmt --check: the tree is not rustfmt-clean, so it reports 8536 existing diffs. The added code is formatted the way rustfmt wants.

Regression run

  • scripts/smoke.ps1 -Game <title folder> -Seconds 60, release builds, same title, RX 7800 XT, run one after the other on the same machine. main is b49be183 (newer than this PR's merge base 6d12f58a), this PR's head is 57853e01 (clean tree). The PR's run had 1515 frames, 97 % of main's 1563, with no device removal and no crash; its peak commit was 15610 MB against 15808 MB.

main:

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: AMD Radeon RX 7800 XT
title: 2c508222
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: 15808 MB

This PR's head:

xcl-smoke v1
commit: 57853e017054d715cd46cd3c07cb70e58eddddc8
gpu: AMD Radeon RX 7800 XT
title: 2c508222
seconds: 60
exit: 0x0
frames shown: 1515 (PresentX 1515)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15610 MB

Not tested

  • No NVIDIA, Intel or wave32-only GPU was tried by the author. Other people's comments on this PR report focused GPU runs of gpu_scratch_address_forms on other adapters.
  • The CPU-only run in the first Tested bullet skipped every GPU test; the GPU run above supersedes it.
  • Whether the title's 60 s run reaches an ST-form scratch access: the smoke is a regression check only, and the run was not checked for that. How common the ST form is in retail shaders is unknown.

AI use

  • Claude Code (Claude Opus 5.5) wrote the fix, the tests and this description. It also checked the GFX10 encoding against LLVM's FLATInstructions.td and MC tests, and ran the commands above.
  • The two smoke runs under Regression run were made later with Claude Code (Claude Sonnet 5.5), which also added them to this description.
  • The GPU lib and workspace test runs, and the rerun of the failing fuzz test on main, were made with Claude Code (Claude Sonnet 5.5), which also added them to this description.

🤖 Generated with Claude Code

<!-- greyfinch-sync:ivall/xcl:issue:5499297959 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2514). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-25T21:15:09Z. --- On RDNA2, `scratch_*` picks its address form from SADDR alone: - an SGPR is SS (SGPR + offset), - NULL (`0x7D`) is SV (VADDR + offset), - `0x7F` (EXEC_HI) is ST (the offset alone). Both lowerings took `0x7F` for the SV form and added ADDR's VGPR. So an ST access landed on whatever per-lane address that VGPR held. Now `0x7F` gives a zero base, and ADDR is read only for `0x7D`. The issue also proposed checking an SVE bit and adding SGPR + VGPR. RDNA2 has neither: the RDNA2 `ENC_FLAT_SCRATCH` spec in `rdna2_spec.rs` has no SVE field, and both SVE and the SVS form arrived with GFX11 / GFX940. The source for the GFX10 encoding is LLVM: - `FLAT_Real_gfx10` sets `Inst{54-48}` to EXEC_HI for a scratch op without vaddr and to SGPR_NULL otherwise, and sets `Inst{55}` to 0. - The gfx1030 MC test encodes `scratch_load_dword v1, off, off` with byte 6 = `0x7f`. So only the ST half of the issue applies, and that is what this fixes. Fixes #2400 Part of #1269 **What is in it** - `crates/xcl/src/gpu/dxil/lower_mem.rs` (`scratch`): the base is 0 for SADDR `0x7F`, VADDR for `0x7D` and the SGPR otherwise (direct DXIL). - `crates/xcl/src/gpu/recomp/emit.rs` (`scratch`): the same in the HLSL emitter, which had the same bug. - Tests: - `dxil/core_tests.rs::scratch_reads_addr_only_in_the_sv_form`: ST and SS containers do not change with ADDR, SV ones do. - `recomp/tests.rs::scratch_address_forms_follow_saddr`: the HLSL address of each form. - `recomp/tests.rs::gpu_scratch_address_forms`: GPU test of the three forms. - The existing `gpu_more_atomics_sub_dword_scratch_valu` now encodes the SV form (`0x7D`) its comment describes ("2 · lane + 16"). **Tested** - Windows 11 Pro build 26200, AMD Ryzen 7 5700X3D, rustc 1.100.0, debug. - CPU only: `XCL_ADAPTER=NONE_CPU_ONLY`, so no D3D12 device was created. DXC 1.8.2502.11 and the dxil.dll validator from the Windows SDK were used. - `cargo test --workspace -j 4 -- --test-threads=4` on 57853e01: 1426 passed, 0 failed, 46 ignored. 218 GPU tests SKIPPED: `no GPU` and adapter-selection skips because of `XCL_ADAPTER`, including the new `gpu_scratch_address_forms`. - The two CPU tests fail without the fix: "ST: the offset alone" and "ST (SADDR 0x7f) must not read ADDR". They pass with it. - On a GPU, exact head `57853e01` (clean detached checkout), AMD Radeon RX 7800 XT (driver 32.0.31035.1003), Windows 11 Pro build 26200, rustc 1.100.0, debug, no `XCL_ADAPTER` set (hardware adapter, no WARP), `CARGO_TARGET_DIR` on its own drive: - `cargo test -p xcl --lib -j 4 -- --test-threads=4`: 1300 passed, 1 failed, 26 ignored. The new `gpu_scratch_address_forms`, `scratch_address_forms_follow_saddr`, `scratch_reads_addr_only_in_the_sv_form` and the changed `gpu_more_atomics_sub_dword_scratch_valu` all ran and passed on the GPU. - the one failure is `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` ("seed 722: res[30] = 0x1, CPU 0x7fffffff"). It fails the same way, same seed, on `main` at `e120925e`, so it is not caused by this PR. - `cargo build --workspace -j 4` then `cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4`: 1425 passed, 1 failed (the same fuzz test), 46 ignored across all test binaries. 7 SKIPPED messages: six `f16_programs_on_the_gpu` / `f32_programs_on_the_gpu` cases that the lowering refuses (unsupported V_MUL_F16 / V_PK_MUL_F16 / V_CVT_F16_F32, #1426) and `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows). - `cargo clippy -p xcl --lib --tests`: no findings on the changed lines. The lib already fails clippy on main, on `lower_valu.rs:560` and `lower_wide.rs:568` (approximate TAU). - `cargo fmt --check`: the tree is not rustfmt-clean, so it reports 8536 existing diffs. The added code is formatted the way rustfmt wants. **Regression run** - `scripts/smoke.ps1 -Game <title folder> -Seconds 60`, release builds, same title, RX 7800 XT, run one after the other on the same machine. `main` is `b49be183` (newer than this PR's merge base `6d12f58a`), this PR's head is `57853e01` (clean tree). The PR's run had 1515 frames, 97 % of `main`'s 1563, with no device removal and no crash; its peak commit was 15610 MB against 15808 MB. `main`: ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: AMD Radeon RX 7800 XT title: 2c508222 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: 15808 MB ``` This PR's head: ``` xcl-smoke v1 commit: 57853e017054d715cd46cd3c07cb70e58eddddc8 gpu: AMD Radeon RX 7800 XT title: 2c508222 seconds: 60 exit: 0x0 frames shown: 1515 (PresentX 1515) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15610 MB ``` **Not tested** - No NVIDIA, Intel or wave32-only GPU was tried by the author. Other people's comments on this PR report focused GPU runs of `gpu_scratch_address_forms` on other adapters. - The CPU-only run in the first `Tested` bullet skipped every GPU test; the GPU run above supersedes it. - Whether the title's 60 s run reaches an ST-form scratch access: the smoke is a regression check only, and the run was not checked for that. How common the ST form is in retail shaders is unknown. **AI use** - Claude Code (Claude Opus 5.5) wrote the fix, the tests and this description. It also checked the GFX10 encoding against LLVM's `FLATInstructions.td` and MC tests, and ran the commands above. - The two smoke runs under **Regression run** were made later with Claude Code (Claude Sonnet 5.5), which also added them to this description. - The GPU lib and workspace test runs, and the rerun of the failing fuzz test on `main`, were made with Claude Code (Claude Sonnet 5.5), which also added them to this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
DavidM1911 commented 2026-11-25 22:06:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T21:32:02Z.


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:7175203899 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2514#issuecomment-7175203899). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-25T21:32:02Z. --- 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!
ahmetbagci8 commented 2026-11-25 23:09:07 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by ahmetbagci8 on 2026-11-25T22:22:17Z.


Tested

  • Commit: 57853e017054d715cd46cd3c07cb70e58eddddc8
  • Hardware / OS: Intel Core i7-11800H, NVIDIA GeForce RTX 3070 Laptop GPU (driver 32.0.16.1714), Windows 11 Pro (Build 26300), DXC v1.9.2609
  • cargo test -j 2 -p xcl --lib scratch -- --test-threads=4: 8 passed; 0 failed; 0 ignored (2.03s)

Not tested

  • Full workspace suite and scripts/smoke.ps1 (no unpacked title locally).

AI use

  • Antigravity harness (Gemini 4 Neon) ran the targeted unit tests on this commit and drafted this report; the author reviewed it before posting.
<!-- greyfinch-sync:ivall/xcl:comment:7176278074 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2514#issuecomment-7176278074). Originally posted by [ahmetbagci8](https://github.com/ahmetbagci8) on 2026-11-25T22:22:17Z. --- ### Tested - **Commit:** `57853e017054d715cd46cd3c07cb70e58eddddc8` - **Hardware / OS:** Intel Core i7-11800H, NVIDIA GeForce RTX 3070 Laptop GPU (driver `32.0.16.1714`), Windows 11 Pro (Build 26300), DXC `v1.9.2609` - `cargo test -j 2 -p xcl --lib scratch -- --test-threads=4`: `8 passed; 0 failed; 0 ignored (2.03s)` ### Not tested - Full workspace suite and `scripts/smoke.ps1` (no unpacked title locally). ### AI use - Antigravity harness (Gemini 4 Neon) ran the targeted unit tests on this commit and drafted this report; the author reviewed it before posting.
SlopTart commented 2026-11-25 23:09:10 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by SlopTart on 2026-11-25T22:33:04Z.


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.
No new test functions in the diff; the SADDR 0x7F ST-form change is exercised end to end by the existing suite, clean here.

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:7176502876 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2514#issuecomment-7176502876). Originally posted by [SlopTart](https://github.com/SlopTart) on 2026-11-25T22:33:04Z. --- **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. No new test functions in the diff; the SADDR 0x7F ST-form change is exercised end to end by the existing suite, clean here. **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.
luckyteagirl commented 2026-11-26 00:05:38 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-25T23:17:11Z.


Native RX 6800M validation on exact PR head 57853e017054d715cd46cd3c07cb70e58eddddc8 (Windows 11 build 26200, Radeon RX 6800M driver 30.0.13002.13003, Rust 1.99.0 MSVC, DXC/DXIL 1.8.2502.11):

  • XCL_ADAPTER=6800M XCL_REQUIRE_GPU=1 XCL_DIRECT_DXIL=1 cargo test --locked -p xcl --lib -j 1 gpu_scratch_address_forms -- --test-threads=1 --show-output: 1 passed, 0 failed, 0 ignored, 0 SKIPPED (1,326 filtered out). The test ran on the RX 6800M; runner::run_code selects the direct kernel path for XCL_DIRECT_DXIL=1.
  • Repeated the same exact-head fixture with XCL_DIRECT_DXIL=0 to exercise HLSL + DXC lowering: 1 passed, 0 failed, 0 ignored, 0 SKIPPED (1,326 filtered out).
  • Both completed runs used the memory guard, which did not stop them. Two earlier compilation attempts stopped at the guard before any test executed and are excluded from these counts.

Not tested: the full GPU workspace suite, release binary, paired retail smoke runs, other adapters/drivers, and whether the title encounters ST-form scratch instructions. This is focused hardware coverage of the new fixture, not a merge-ready regression run. No game data was uploaded.

AI use: OpenAI Codex (GPT-6; exact variant unavailable) ran the guarded focused tests, checked the exact head and runner selection, reviewed the logs, and drafted this report.

<!-- greyfinch-sync:ivall/xcl:comment:7177360473 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2514#issuecomment-7177360473). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-25T23:17:11Z. --- **Native RX 6800M validation on exact PR head `57853e017054d715cd46cd3c07cb70e58eddddc8`** (Windows 11 build 26200, Radeon RX 6800M driver `30.0.13002.13003`, Rust 1.99.0 MSVC, DXC/DXIL 1.8.2502.11): - `XCL_ADAPTER=6800M XCL_REQUIRE_GPU=1 XCL_DIRECT_DXIL=1 cargo test --locked -p xcl --lib -j 1 gpu_scratch_address_forms -- --test-threads=1 --show-output`: **1 passed, 0 failed, 0 ignored, 0 SKIPPED** (1,326 filtered out). The test ran on the RX 6800M; `runner::run_code` selects the direct kernel path for `XCL_DIRECT_DXIL=1`. - Repeated the same exact-head fixture with `XCL_DIRECT_DXIL=0` to exercise HLSL + DXC lowering: **1 passed, 0 failed, 0 ignored, 0 SKIPPED** (1,326 filtered out). - Both completed runs used the memory guard, which did not stop them. Two earlier compilation attempts stopped at the guard before any test executed and are excluded from these counts. **Not tested:** the full GPU workspace suite, release binary, paired retail smoke runs, other adapters/drivers, and whether the title encounters ST-form scratch instructions. This is focused hardware coverage of the new fixture, not a merge-ready regression run. No game data was uploaded. **AI use:** OpenAI Codex (GPT-6; exact variant unavailable) ran the guarded focused tests, checked the exact head and runner selection, reviewed the logs, and drafted this report.
github-actions[bot] commented 2026-12-01 02:34:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-12-01T02:34:42Z.


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:7298765875 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2514#issuecomment-7298765875). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-12-01T02:34:42Z. --- 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 08:14:01 +00:00 (Migrated from github.com)

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


Triage (#1607) – head 57853e0

#1365 made the same SADDR 0x7F fix in the HLSL path only and was closed as a duplicate of this one (#1607 group D136). #1377 and #1606 are closed too. Main still treats 0x7F like 0x7D (VADDR + offset) in both emit.rs and dxil/lower_mem.rs. This PR fixes both translators and updates gpu_more_atomics_sub_dword_scratch_valu to use the SV form.
No problems found in the diff.
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:7305047886 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2514#issuecomment-7305047886). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:14:01Z. --- **Triage (#1607)** – head 57853e0 #1365 made the same SADDR 0x7F fix in the HLSL path only and was closed as a duplicate of this one (#1607 group D136). #1377 and #1606 are closed too. Main still treats 0x7F like 0x7D (VADDR + offset) in both `emit.rs` and `dxil/lower_mem.rs`. This PR fixes both translators and updates `gpu_more_atomics_sub_dword_scratch_valu` to use the SV form. No problems found in the diff. Recommendation: keep open. AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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/2514:upstream-pr/2514'
git switch 'upstream-pr/2514'

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