d3d12-shader: preserve non-EXEC writelanes and full/exempt LDS in paired Wave64 form (D3D12-SHADER-PAIRED-MULTI-BARRIER-EXACTNESS) #3262

Open
zmasi wants to merge 3 commits from upstream-pr/3262 into main
zmasi commented 2026-12-02 23:12:52 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-12-02T23:12:52Z.


Claimed in the coordination issue as: D3D12-SHADER-PAIRED-MULTI-BARRIER-EXACTNESS
(https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7353810595)

What and why

@enlight3d found that naming six heavy compute programs in LEONIDA_PAIRED_FOR changes the picture, although the
paired form is described as exact (#2570, #issuecomment-7352754262). The paired form runs console lanes n and
n + 32 in host thread n. I ran it beside the split form on an RTX 3090, each form from its own entry point, against
a 64-lane model of the console's wave. The programs were hand-written ones and 300 seeded random ones: ballots as
numbers and through the 64-bit scalar operations, counts, ranks, first-lane and lane reads and writes, the compiler's
DPP reductions and prefix sums, permlanes, a DPP row mask, and EXEC counted with its SCC. They ran under lane branches,
scalar branches and loops that lanes leave apart, in groups of one to sixteen console waves, with multi-barrier LDS
rounds. Three things the paired form did not keep. Each test fails before its fix and passes now:

  • v_writelane_b32 to a lane outside EXEC was lost. The instruction writes the lane it names whatever EXEC is
    (docs/design.md, "Lane select"). The form guarded it like a lane's own write. It is now lowered for both lanes of
    the thread without the guard (paired_cross).
  • The programs named LDS-unbounded (LEONIDA_LDS_BOUNDS_EXEMPT, by default the face programs) were held to their
    header's LDS in the paired form.
    That form checks every access against the group's own array: past the header a
    read gave 0 and a write was dropped. That is what left the faces undrawn before the exemption. Such a program now
    has the group's 32 KiB in this form. A header that gives more than 32 KiB is still refused, named or not.
  • A group of several waves using all 32 KiB of LDS was refused for a counter dword the paired form no longer keeps.

With these fixes, all 300 random programs match the model in the paired form. Half of them use everything the
generator has. The other half are held to what the split form keeps; 141 of those 150 also match in the split form,
which refuses the other 9.

Recorded in d3d12/docs/findings.md and left as it is, since all of it is outside paired.rs:

  • The paired form: a lane mask made of a 64-bit number whose two dwords were written apart (two s_mov_b32, as a
    64-bit constant is loaded) is wrong in lanes 32–63 (structure.rs's mask shortcut). The split form refuses the
    same program.
  • Both forms:
    • s_wqm_b64 gives every lane.
    • A DPP16 source lane outside EXEC with fi 0, and a ds_swizzle_b32 source lane outside EXEC, are read as they
      are.
    • f32 sums are joined in the host's order.
  • The split form:
    • lane writes guarded by EXEC;
    • lane selects past 63 taken as they are;
    • per-lane scalars after a lane branch or loop;
    • the prefix-sum section inside such a loop.

The paired form is exact for every one of the split form's programs.

Not measured in the game. The six programs of the report are not named by hash there, so which of these each one hit
is open. Naming them in LEONIDA_PAIRED_FOR again on this change, at the same shot, is the check.

Tested

  • New GPU tests in d3d12/crates/leonida-shader/src/emit/paired/:
    • lane_tests.rs:
      • writelane outside EXEC, including selects of 64 or more;
      • ballot dwords and both mbcnt ranks under EXEC;
      • sibling reads and writes with first lane;
      • prefix sums;
      • EXEC counted with its SCC;
      • permlanes with sources outside EXEC;
      • a DPP row mask.
    • barrier_tests.rs:
      • multi-barrier LDS rounds with an EXEC-narrowed branch;
      • two waves exchanging snapshots;
      • the last dword of a full 32 KiB with two waves;
      • the named program's LDS past its header;
      • refusals that run no dispatch.
    • fuzz_tests.rs: 36 seeded programs in the suite (300 in a sweep), shrunk when one goes wrong.
    • differential_tests.rs: the shared harness. The paired form is judged first, so a split-form fault never leaves
      it unjudged.
  • Red on main, green here: the writelane, full-32-KiB and named-LDS tests, and the fuzz test. Checked by hand (the
    change's production files reverted) and with python -I scripts/red_green.py: verdict "red then green", those 4
    tests red then green. The other new tests pass on main too: they check behaviour this change keeps.
  • cargo test --locked -p leonida-shader (x86_64-pc-windows-msvc): 440 passed, 0 failed, 6 ignored.
  • cargo clippy --locked -p leonida-shader --all-targets --no-deps: no warning in the touched files.
  • cargo xtask policy: no violation in the touched files (the three it reports are on main).
  • python -I scripts/check_no_game_data.py, python -I tests/test_text_write_line_endings.py,
    python -I tests/test_docs_design_rows.py, python -m unittest discover -s tests -p "test_docs_*.py": pass.

GPUs tested: NVIDIA GeForce RTX 3090 24 GB, driver 610.88, Windows 11 Pro 10.0.26200 (Microsoft WARP has no 32-lane
waves, so it skips these tests).

AI-assisted: yes.

  • Author: GPT-6.2 Astra, which also wrote the lane tests through a subagent.
  • Read-only audits: GPT-6.2 Sol and Claude Fable 5.2. Fable also wrote the barrier tests through a subagent.
  • Separate read-only reviewers: Claude Opus 5.5 (two passes on the first commit; all findings addressed), Claude Fable 5.2 (live advisor), and Gemini 4 Neon XHigh (independent pass on the second commit; no blockers).

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (No new rule:
    the writelane fix applies the existing "Lane select" row.)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5616400504 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3262). Originally posted by [zmasi](https://github.com/zmasi) on 2026-12-02T23:12:52Z. --- Claimed in the coordination issue as: `D3D12-SHADER-PAIRED-MULTI-BARRIER-EXACTNESS` (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7353810595) ### What and why @enlight3d found that naming six heavy compute programs in `LEONIDA_PAIRED_FOR` changes the picture, although the paired form is described as exact (#2570, #issuecomment-7352754262). The paired form runs console lanes `n` and `n + 32` in host thread `n`. I ran it beside the split form on an RTX 3090, each form from its own entry point, against a 64-lane model of the console's wave. The programs were hand-written ones and 300 seeded random ones: ballots as numbers and through the 64-bit scalar operations, counts, ranks, first-lane and lane reads and writes, the compiler's DPP reductions and prefix sums, permlanes, a DPP row mask, and EXEC counted with its SCC. They ran under lane branches, scalar branches and loops that lanes leave apart, in groups of one to sixteen console waves, with multi-barrier LDS rounds. Three things the paired form did not keep. Each test fails before its fix and passes now: - **`v_writelane_b32` to a lane outside EXEC was lost.** The instruction writes the lane it names whatever EXEC is (`docs/design.md`, "Lane select"). The form guarded it like a lane's own write. It is now lowered for both lanes of the thread without the guard (`paired_cross`). - **The programs named LDS-unbounded (`LEONIDA_LDS_BOUNDS_EXEMPT`, by default the face programs) were held to their header's LDS in the paired form.** That form checks every access against the group's own array: past the header a read gave 0 and a write was dropped. That is what left the faces undrawn before the exemption. Such a program now has the group's 32 KiB in this form. A header that gives more than 32 KiB is still refused, named or not. - **A group of several waves using all 32 KiB of LDS was refused** for a counter dword the paired form no longer keeps. With these fixes, all 300 random programs match the model in the paired form. Half of them use everything the generator has. The other half are held to what the split form keeps; 141 of those 150 also match in the split form, which refuses the other 9. Recorded in `d3d12/docs/findings.md` and left as it is, since all of it is outside `paired.rs`: - **The paired form:** a lane mask made of a 64-bit number whose two dwords were written apart (two `s_mov_b32`, as a 64-bit constant is loaded) is wrong in lanes 32–63 (`structure.rs`'s `mask` shortcut). The split form refuses the same program. - **Both forms:** - `s_wqm_b64` gives every lane. - A DPP16 source lane outside EXEC with `fi` 0, and a `ds_swizzle_b32` source lane outside EXEC, are read as they are. - f32 sums are joined in the host's order. - **The split form:** - lane writes guarded by EXEC; - lane selects past 63 taken as they are; - per-lane scalars after a lane branch or loop; - the prefix-sum section inside such a loop. The paired form is exact for every one of the split form's programs. Not measured in the game. The six programs of the report are not named by hash there, so which of these each one hit is open. Naming them in `LEONIDA_PAIRED_FOR` again on this change, at the same shot, is the check. ### Tested - New GPU tests in `d3d12/crates/leonida-shader/src/emit/paired/`: - `lane_tests.rs`: - writelane outside EXEC, including selects of 64 or more; - ballot dwords and both mbcnt ranks under EXEC; - sibling reads and writes with first lane; - prefix sums; - EXEC counted with its SCC; - permlanes with sources outside EXEC; - a DPP row mask. - `barrier_tests.rs`: - multi-barrier LDS rounds with an EXEC-narrowed branch; - two waves exchanging snapshots; - the last dword of a full 32 KiB with two waves; - the named program's LDS past its header; - refusals that run no dispatch. - `fuzz_tests.rs`: 36 seeded programs in the suite (300 in a sweep), shrunk when one goes wrong. - `differential_tests.rs`: the shared harness. The paired form is judged first, so a split-form fault never leaves it unjudged. - Red on `main`, green here: the writelane, full-32-KiB and named-LDS tests, and the fuzz test. Checked by hand (the change's production files reverted) and with `python -I scripts/red_green.py`: verdict "red then green", those 4 tests red then green. The other new tests pass on `main` too: they check behaviour this change keeps. - `cargo test --locked -p leonida-shader` (`x86_64-pc-windows-msvc`): 440 passed, 0 failed, 6 ignored. - `cargo clippy --locked -p leonida-shader --all-targets --no-deps`: no warning in the touched files. - `cargo xtask policy`: no violation in the touched files (the three it reports are on `main`). - `python -I scripts/check_no_game_data.py`, `python -I tests/test_text_write_line_endings.py`, `python -I tests/test_docs_design_rows.py`, `python -m unittest discover -s tests -p "test_docs_*.py"`: pass. GPUs tested: NVIDIA GeForce RTX 3090 24 GB, driver 610.88, Windows 11 Pro 10.0.26200 (Microsoft WARP has no 32-lane waves, so it skips these tests). AI-assisted: yes. - Author: GPT-6.2 Astra, which also wrote the lane tests through a subagent. - Read-only audits: GPT-6.2 Sol and Claude Fable 5.2. Fable also wrote the barrier tests through a subagent. - Separate read-only reviewers: Claude Opus 5.5 (two passes on the first commit; all findings addressed), Claude Fable 5.2 (live advisor), and Gemini 4 Neon XHigh (independent pass on the second commit; no blockers). ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (No new rule: the writelane fix applies the existing "Lane select" row.)
merzleckeier commented 2026-12-02 23:18:26 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-02T23:18:26Z.

Review: COMMENTED


Independent translation check on 3643c2879 with Rust 1.98.1 on Linux. I reused the PR’s synthetic two-wave fixture and called the paired emitter directly with a 32-lane host selection.

  • The two-wave shader with the full 32 KiB of LDS now translates in the paired form.
  • A shader with a 512-byte header and lds_unbounded=true emits byte-identical DXIL to the same shader with an explicit 32 KiB header. The ordinary 512-byte translation emits different DXIL, so the comparison exercises the allocation change.

Both probes fail with only emit/mod.rs restored from main (ef35d683e). The Linux shader unit suite plus the two probes passed 256, with two ignored. The checks were limited to translation and emitted bytes. The paired dispatch results, including the EXEC-disabled v_writelane_b32 case, remain GPU coverage. git diff --check passed and the PR also merges cleanly with #3215. AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6160785598 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3262#pullrequestreview-6160785598). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-12-02T23:18:26Z. **Review:** COMMENTED --- Independent translation check on `3643c2879` with Rust 1.98.1 on Linux. I reused the PR’s synthetic two-wave fixture and called the paired emitter directly with a 32-lane host selection. - The two-wave shader with the full 32 KiB of LDS now translates in the paired form. - A shader with a 512-byte header and `lds_unbounded=true` emits byte-identical DXIL to the same shader with an explicit 32 KiB header. The ordinary 512-byte translation emits different DXIL, so the comparison exercises the allocation change. Both probes fail with only `emit/mod.rs` restored from `main` (`ef35d683e`). The Linux shader unit suite plus the two probes passed 256, with two ignored. The checks were limited to translation and emitted bytes. The paired dispatch results, including the EXEC-disabled `v_writelane_b32` case, remain GPU coverage. `git diff --check` passed and the PR also merges cleanly with #3215. AI-assisted.
MoonEyes commented 2026-12-03 00:02:18 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T00:02:18Z.


RUN (in game, batch of nine pull requests), each head merged with git merge --no-ff onto main 81efe4566, in one build: #3136 74bd1bcd4, #3156 53c3100ce, #3206 d024194b3, #3248 efd21d867, #3256 e7aad1d4c, #3262 3643c2879, #2851 b83b0b375, #3125 89bf1d328, #2642 164506d01. RTX 4060 8 GB, driver 610.88, Windows 11. Series S, -Resolution 1080, frame generation 2x, -PrecompileUsed, the same walking route as the other runs on this machine, 330 s after reaching the world.

What Result
Device lost / device removed 0
Exceptions, panics, hang watchdog, GPU stall, title suspended 0
Process alive at the end yes, stopped by the time limit
Rendered fps, last 240 s (48 samples) median 15.6, mean 15.6
Rendered fps, last 120 s median 14.3
Time under 5 fps in the world 3 %

For reference, the same machine and route rendered 13.3 to 17.2 fps on other batches in the last day. These fps are a check that nothing fell over, not a measurement of a gain.

Verdict: PASS for the in-game gate (300 s or more in the world, no device loss) for this batch, on the heads listed above. If one of these pull requests changes its head, this run no longer covers it.

Limits: one run; arrival in the world was driven by keys and not checked on pictures; -PrecompileUsed was used, so the default start (every known pipeline precompiled) was not exercised. The precompile before the world took 619 s, against 157 s for the previous batch; the shader-side changes in this batch (#3156, #3262) probably left the pipeline cache cold (not checked). Switches that are off by default (for example #2851's LEONIDA_TITLE_MEMORY_SCALE, #3136's timeline attribution) were not turned on: this run covers their default path only. #2642 targets Wine and was run on Windows only.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7362722610 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3262#issuecomment-7362722610). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-03T00:02:18Z. --- RUN (in game, batch of nine pull requests), each head merged with `git merge --no-ff` onto main `81efe4566`, in one build: #3136 `74bd1bcd4`, #3156 `53c3100ce`, #3206 `d024194b3`, #3248 `efd21d867`, #3256 `e7aad1d4c`, #3262 `3643c2879`, #2851 `b83b0b375`, #3125 `89bf1d328`, #2642 `164506d01`. RTX 4060 8 GB, driver 610.88, Windows 11. Series S, `-Resolution 1080`, frame generation 2x, `-PrecompileUsed`, the same walking route as the other runs on this machine, 330 s after reaching the world. | What | Result | |---|---| | Device lost / device removed | 0 | | Exceptions, panics, hang watchdog, GPU stall, title suspended | 0 | | Process alive at the end | yes, stopped by the time limit | | Rendered fps, last 240 s (48 samples) | median 15.6, mean 15.6 | | Rendered fps, last 120 s | median 14.3 | | Time under 5 fps in the world | 3 % | For reference, the same machine and route rendered 13.3 to 17.2 fps on other batches in the last day. These fps are a check that nothing fell over, not a measurement of a gain. Verdict: PASS for the in-game gate (300 s or more in the world, no device loss) for this batch, on the heads listed above. If one of these pull requests changes its head, this run no longer covers it. Limits: one run; arrival in the world was driven by keys and not checked on pictures; `-PrecompileUsed` was used, so the default start (every known pipeline precompiled) was not exercised. The precompile before the world took 619 s, against 157 s for the previous batch; the shader-side changes in this batch (#3156, #3262) probably left the pipeline cache cold (not checked). Switches that are off by default (for example #2851's `LEONIDA_TITLE_MEMORY_SCALE`, #3136's timeline attribution) were not turned on: this run covers their default path only. #2642 targets Wine and was run on Windows only. AI-assisted (Claude Code).
fiestorra commented 2026-12-03 00:05:26 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T00:05:26Z.


VERIFY-3262 — Windows nativo: las pruebas de carriles pasan; el control no lo establecí, y digo dónde me quedé

Own commit f447deddb — emit/paired/lane_tests.rs (+144), emit/paired/differential_tests.rs (19)

Ran at the head

cargo test -p leonida-shader --lib paired     39 passed; 0 failed
  paired::lane_tests::exec_counts_its_lanes_and_steers_a_scalar_branch ... ok
  paired::lane_tests::permlanes_keep_or_fetch_a_source_outside_exec_as_fi_says ... ok
  paired::lane_tests::a_dpp_row_mask_writes_its_rows_in_both_halves ... ok

The tests are a small ISA program each — s_mov_b64, s_bcnt1_i32_b64, s_ff1_i32_b64, s_cselect_b32, s_cbranch_scc0, v_add_nc_u32 — run through the wave emulator for cases [0,0], [0x8000_0000, 0], [0, 0x8000_0001], [1,1]… i.e. "no lane, lane 31, lanes 32 and 63, lanes 0 and 32, a mix, all". That is testing the semantics of exec on a 64-lane wave by writing programs whose answers are known, which is the right way to test s_bcnt1 / s_ff1 / s_cselect steering.

And the control: I do not have one. I found the tests and the emulator's neighbourhood (emit/wave.rs, halves.rs), but not a single line I could flip that the three new tests would catch inside the time this pass allowed. I would rather say that than dress up "the tests passed" as "the change is verified" — the difference between those two sentences is the whole point of the last few hours.

What I can say: the new tests are in the diff, they pass on this machine, and the differential_tests.rs change (19 lines) suggests they are paired against the differential oracle — which, for lane semantics, is the strongest arrangement available without a card.

What I could not test

  • The mutation: see above.
  • The card: a v_readfirstlane/DPP behaviour on real hardware, which is what the paired form is compiled for.

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7362782541 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3262#issuecomment-7362782541). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-03T00:05:26Z. --- ## VERIFY-3262 — Windows nativo: las pruebas de carriles pasan; **el control no lo establecí, y digo dónde me quedé** | | | |---|---| | Own commit | `f447deddb` — `emit/paired/lane_tests.rs` (+144), `emit/paired/differential_tests.rs` (19) | **Ran at the head** ``` cargo test -p leonida-shader --lib paired 39 passed; 0 failed paired::lane_tests::exec_counts_its_lanes_and_steers_a_scalar_branch ... ok paired::lane_tests::permlanes_keep_or_fetch_a_source_outside_exec_as_fi_says ... ok paired::lane_tests::a_dpp_row_mask_writes_its_rows_in_both_halves ... ok ``` **The tests are a small ISA program each** — `s_mov_b64`, `s_bcnt1_i32_b64`, `s_ff1_i32_b64`, `s_cselect_b32`, `s_cbranch_scc0`, `v_add_nc_u32` — **run through the wave emulator for cases `[0,0]`, `[0x8000_0000, 0]`, `[0, 0x8000_0001]`, `[1,1]`… i.e. "no lane, lane 31, lanes 32 and 63, lanes 0 and 32, a mix, all"**. **That is testing the semantics of `exec` on a 64-lane wave by writing programs whose answers are known**, which is the right way to test `s_bcnt1` / `s_ff1` / `s_cselect` steering. **And the control: I do not have one.** I found the tests and the emulator's neighbourhood (`emit/wave.rs`, `halves.rs`), **but not a single line I could flip that the three new tests would catch inside the time this pass allowed**. **I would rather say that than dress up "the tests passed" as "the change is verified"** — **the difference between those two sentences is the whole point of the last few hours.** **What I can say**: the new tests **are in the diff**, they **pass on this machine**, and the `differential_tests.rs` change (19 lines) suggests they are **paired against the differential oracle** — **which, for lane semantics, is the strongest arrangement available without a card.** ## What I could not test - **The mutation**: see above. - **The card**: a `v_readfirstlane`/DPP behaviour on real hardware, which is what the paired form is compiled for. Written with an AI assistant.
x2Tweek commented 2026-12-03 01:16:37 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by x2Tweek on 2026-12-03T01:16:37Z.


RUN (in game, RTX 5090 32 GB, hardware RT, 351 s in the world): PASS, 0 device losses, 0 ERROR lines.

  • Head / main: head 3643c2879 merged with git merge --no-ff onto main 1a163523d (merge 0ad295e06,
    clean). No other changes.
  • GPU / driver / OS: NVIDIA GeForce RTX 5090 32 GB, driver 621.40, i9-14900KS, 64 GB DDR5, Windows 11 (26300).
  • Build: diag, features diagnostics,dlss,mimalloc. Shaders were translated again from the cache at start
    with -PrecompileAll.
  • Settings: Series X profile, 3840x2160 output, DLSS quality (render scale 0.6667), -HardwareRT -SmoothMotion -PrecompileAll -Log, LEONIDA_D3D12_DRED=1. Same save, scripted input (Enter through the menus, then walking).
  • Device lost / crashes: 0. No ERROR line in the whole log.
  • Rendered fps: 14.0 median, 4 frames over 250 ms in the world (longest 674 ms). That is within the spread of
    two main-alone runs on the same machine and save earlier tonight (12.8 and 16.6 fps median).
  • Picture: not checked by eye; the run was unattended.

AI-assisted: the build, the automated run, the log reading and the write-up were done with Claude Opus 5.5
(Claude Code); the numbers are the runtime's own log lines.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7364157920 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/3262#issuecomment-7364157920). Originally posted by [x2Tweek](https://github.com/x2Tweek) on 2026-12-03T01:16:37Z. --- **RUN (in game, RTX 5090 32 GB, hardware RT, 351 s in the world): PASS, 0 device losses, 0 `ERROR` lines.** - **Head / main:** head `3643c2879` merged with `git merge --no-ff` onto `main` `1a163523d` (merge `0ad295e06`, clean). No other changes. - **GPU / driver / OS:** NVIDIA GeForce RTX 5090 32 GB, driver 621.40, i9-14900KS, 64 GB DDR5, Windows 11 (26300). - **Build:** diag, features `diagnostics,dlss,mimalloc`. Shaders were translated again from the cache at start with `-PrecompileAll`. - **Settings:** Series X profile, 3840x2160 output, DLSS quality (render scale 0.6667), `-HardwareRT -SmoothMotion -PrecompileAll -Log`, `LEONIDA_D3D12_DRED=1`. Same save, scripted input (Enter through the menus, then walking). - **Device lost / crashes:** 0. No `ERROR` line in the whole log. - **Rendered fps:** 14.0 median, 4 frames over 250 ms in the world (longest 674 ms). That is within the spread of two `main`-alone runs on the same machine and save earlier tonight (12.8 and 16.6 fps median). - **Picture:** not checked by eye; the run was unattended. AI-assisted: the build, the automated run, the log reading and the write-up were done with Claude Opus 5.5 (Claude Code); the numbers are the runtime's own log lines.
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/3262:upstream-pr/3262'
git switch 'upstream-pr/3262'

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