D3D12-SHADER-LOWER-LOAD-USES: index what uses each descriptor load instead of scanning every descriptor #2745

Merged
bobcatchris merged 1 commit from upstream-pr/2745 into main 2026-11-30 20:12:14 +00:00
bobcatchris commented 2026-11-30 14:22:55 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-30T14:22:55Z.


Claim: D3D12-SHADER-LOWER-LOAD-USES (comment).

AI-assisted: Claude Sonnet 5.5 (Cursor agent). No game files are in this pull request: the numbers are counts and times from running the translator on the author's own copy of the archive, and the tool that hashed the output was a local patch that is not part of it.

Depends on: none (independent of #2726; the two touch different files).

What

Lower::descriptor_data handles a scalar load of a descriptor that the code also reads as numbers (sizes from descriptor bits). To tell the view's kind it asks what uses the load as a descriptor. It answered by walking every resource descriptor of the program and calling Source::leaves() on each (a Vec built and dropped per descriptor), and again, for each other load of the same address (twin), once more per candidate. descriptor_data and unused_descriptor_kind also walked every descriptor, building leaf vectors, to see whether the load is a sampler's.

Now:

  • Lower::load_uses(load) answers from a map built on its first call (OnceCell, like numbers and readers next to it): per load, the resource descriptors that take it as a leaf of their source, in the order of Resources::descriptors, once per descriptor, with its first leaf that is the load. That is what the scan returned.
  • Lower::is_sampler_load(load) answers from the set of loads a sampler's source is.
  • Source::for_each_leaf visits the leaves in the order leaves lists them, without the vector.

Why

Built-in sampler (LEONIDA_PROFILE, diagnostics) on leonida translate --jobs 1 of the eleven pixel programs that take longest to lower (6,200 to 8,500 IR instructions, some 800 descriptors each, no retries): of the translating thread's 3,361 samples, 3,033 (90 %) are in the closure of descriptor_data that scans the descriptors: 1,675 under Source::leaves and the rest in the allocator calls that build and drop its vectors; spill::build, structure::structure and Shader::finish are about 1 % each. Those programs took 0.74 to 0.88 s each in Lower::run (timers around each stage in a scratch build), where the median of the 207 pixel programs of 7,000 to 9,000 instructions is 47 ms. With a cold shader cache a program that slow delays the pipeline creation of the first draw that needs it (LEONIDA_PIPELINE_WAIT_MS bounds the wait).

Result

Same machine (Ryzen 7 7800X3D, 16 threads), whole archive leonida translate <shaders.rpf> (LEONIDA_HOST_RDNA=1, 26,084 programs, 40.6 M IR instructions), --release, old and new builds of the same source plus a local patch that appends blake3(dxil) of each emitted program to a file, alternating:

build run wall CPU (user + kernel)
system heap (the build docs/README-fxceless.md shows), old 1 / 2 / 3 64.1 / 63.7 / 64.3 s 884 / 884 / 886 s
system heap, new 1 / 2 / 3 54.2 / 53.7 / 53.5 s 735 / 734 / 732 s
--features diagnostics,mimalloc (the game's build), old 1 / 2 44.9 / 44.8 s 628 / 629 s
--features diagnostics,mimalloc, new 1 / 2 43.1 / 42.5 s 596 / 596 s

The eleven pixel programs alone (LEONIDA_TRANSLATE_ONLY, mimalloc): 7.5 / 7.3 CPU-seconds, 0.9 / 0.8 s wall -> 1.4 / 1.2 CPU-seconds, 0.3 / 0.3 s wall. Nine of the largest compute programs (12,000 to 85,000 IR instructions) are unchanged (9.9 / 9.6 -> 9.9 / 9.8 CPU-seconds together): they do not spend their time here.

Output unchanged: the DXIL of all 25,689 emitted programs (15,799 distinct; the rest are duplicate containers) hashes the same in all 14 runs I made of the two builds (old: 3 on the system heap and 5 under mimalloc; new: 3 and 3), compared as multisets of (hash, length), because the label of a duplicate container is whichever thread gets there first and differs between runs of the same build. The eleven pixel programs and the nine compute programs hash the same too. (After the last of those runs only comments of lower.rs changed.)

Tests

  • New the_index_of_load_uses_answers_as_the_scan_did: keeps the two scans as they were and compares them with load_uses and is_sampler_load for every instruction site of four of resource::tests' waterfall programs (it asserts that some loads have uses and some are samplers'), and for made-up descriptors of every kind of source: a load that two leaves of one descriptor name (the first leaf is the use), one that two descriptors name (in the descriptors' order), a sampler's load that is also a resource's (not a use), and Fetched / Constant / LanePhi leaves that are no load's dwords. It also states the expected answers outright. Controlled: with the one-per-descriptor check left out it fails (left: [((1, 0), 0), ((1, 1), 2), ((1, 1), 4)], right: [((1, 0), 0), ((1, 1), 2)]).
  • New each_leaf_of_a_source_is_those_leaves_lists_in_order: for_each_leaf against leaves on a source nesting phi, select, lanes and lane phi (with edges no lane takes and a join of no edges), by pointer, and on a plain source.
  • cargo test -p leonida-shader --release: 386 passed, 1 failed, 4 ignored. The one failure, emit::valu_tests::rdna_forms_give_what_the_spelled_out_ones_give (mad_legacy: written alike), fails the same on main without this change (run with this change stashed); it is what #2624 fixes.
  • cargo clippy -p leonida-shader --release --all-targets: 3 warnings in the library and 7 in its tests, none in a line this change touches (lower.rs:1697 and :2516, opt.rs, twin_bias_tests.rs, water_tests.rs).
  • python -I scripts/check_no_game_data.py on both files: clean.
  • No GPU is involved (leonida translate without --validate or --pipelines), so no GPU or driver to name.

Not covered: the effect on a title's frame time (it is the translation, not the frame), and the remaining translator time, which is spread over Bools::ite, spill::build and lowering of the compute programs (about 1 s of CPU each for the largest).

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5567143288 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2745). Originally posted by [bobcatchris](https://github.com/bobcatchris) on 2026-11-30T14:22:55Z. --- Claim: D3D12-SHADER-LOWER-LOAD-USES ([comment](https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7280556279)). AI-assisted: Claude Sonnet 5.5 (Cursor agent). No game files are in this pull request: the numbers are counts and times from running the translator on the author's own copy of the archive, and the tool that hashed the output was a local patch that is not part of it. Depends on: none (independent of #2726; the two touch different files). ## What `Lower::descriptor_data` handles a scalar load of a descriptor that the code also reads as numbers (sizes from descriptor bits). To tell the view's kind it asks what uses the load as a descriptor. It answered by walking every resource descriptor of the program and calling `Source::leaves()` on each (a `Vec` built and dropped per descriptor), and again, for each other load of the same address (`twin`), once more per candidate. `descriptor_data` and `unused_descriptor_kind` also walked every descriptor, building leaf vectors, to see whether the load is a sampler's. Now: - `Lower::load_uses(load)` answers from a map built on its first call (`OnceCell`, like `numbers` and `readers` next to it): per load, the resource descriptors that take it as a leaf of their source, in the order of `Resources::descriptors`, once per descriptor, with its first leaf that is the load. That is what the scan returned. - `Lower::is_sampler_load(load)` answers from the set of loads a sampler's source is. - `Source::for_each_leaf` visits the leaves in the order `leaves` lists them, without the vector. ## Why Built-in sampler (`LEONIDA_PROFILE`, `diagnostics`) on `leonida translate --jobs 1` of the eleven pixel programs that take longest to lower (6,200 to 8,500 IR instructions, some 800 descriptors each, no retries): of the translating thread's 3,361 samples, 3,033 (90 %) are in the closure of `descriptor_data` that scans the descriptors: 1,675 under `Source::leaves` and the rest in the allocator calls that build and drop its vectors; `spill::build`, `structure::structure` and `Shader::finish` are about 1 % each. Those programs took 0.74 to 0.88 s each in `Lower::run` (timers around each stage in a scratch build), where the median of the 207 pixel programs of 7,000 to 9,000 instructions is 47 ms. With a cold shader cache a program that slow delays the pipeline creation of the first draw that needs it (`LEONIDA_PIPELINE_WAIT_MS` bounds the wait). ## Result Same machine (Ryzen 7 7800X3D, 16 threads), whole archive `leonida translate <shaders.rpf>` (`LEONIDA_HOST_RDNA=1`, 26,084 programs, 40.6 M IR instructions), `--release`, old and new builds of the same source plus a local patch that appends `blake3(dxil)` of each emitted program to a file, alternating: | build | run | wall | CPU (user + kernel) | |---|---|---|---| | system heap (the build `docs/README-fxceless.md` shows), old | 1 / 2 / 3 | 64.1 / 63.7 / 64.3 s | 884 / 884 / 886 s | | system heap, new | 1 / 2 / 3 | 54.2 / 53.7 / 53.5 s | 735 / 734 / 732 s | | `--features diagnostics,mimalloc` (the game's build), old | 1 / 2 | 44.9 / 44.8 s | 628 / 629 s | | `--features diagnostics,mimalloc`, new | 1 / 2 | 43.1 / 42.5 s | 596 / 596 s | The eleven pixel programs alone (`LEONIDA_TRANSLATE_ONLY`, mimalloc): 7.5 / 7.3 CPU-seconds, 0.9 / 0.8 s wall -> 1.4 / 1.2 CPU-seconds, 0.3 / 0.3 s wall. Nine of the largest compute programs (12,000 to 85,000 IR instructions) are unchanged (9.9 / 9.6 -> 9.9 / 9.8 CPU-seconds together): they do not spend their time here. **Output unchanged:** the DXIL of all 25,689 emitted programs (15,799 distinct; the rest are duplicate containers) hashes the same in all 14 runs I made of the two builds (old: 3 on the system heap and 5 under mimalloc; new: 3 and 3), compared as multisets of (hash, length), because the label of a duplicate container is whichever thread gets there first and differs between runs of the same build. The eleven pixel programs and the nine compute programs hash the same too. (After the last of those runs only comments of `lower.rs` changed.) ## Tests - New `the_index_of_load_uses_answers_as_the_scan_did`: keeps the two scans as they were and compares them with `load_uses` and `is_sampler_load` for every instruction site of four of `resource::tests`' waterfall programs (it asserts that some loads have uses and some are samplers'), and for made-up descriptors of every kind of source: a load that two leaves of one descriptor name (the first leaf is the use), one that two descriptors name (in the descriptors' order), a sampler's load that is also a resource's (not a use), and `Fetched` / `Constant` / `LanePhi` leaves that are no load's dwords. It also states the expected answers outright. Controlled: with the one-per-descriptor check left out it fails (`left: [((1, 0), 0), ((1, 1), 2), ((1, 1), 4)]`, `right: [((1, 0), 0), ((1, 1), 2)]`). - New `each_leaf_of_a_source_is_those_leaves_lists_in_order`: `for_each_leaf` against `leaves` on a source nesting phi, select, lanes and lane phi (with edges no lane takes and a join of no edges), by pointer, and on a plain source. - `cargo test -p leonida-shader --release`: 386 passed, 1 failed, 4 ignored. The one failure, `emit::valu_tests::rdna_forms_give_what_the_spelled_out_ones_give` (`mad_legacy: written alike`), fails the same on `main` without this change (run with this change stashed); it is what #2624 fixes. - `cargo clippy -p leonida-shader --release --all-targets`: 3 warnings in the library and 7 in its tests, none in a line this change touches (`lower.rs:1697` and `:2516`, `opt.rs`, `twin_bias_tests.rs`, `water_tests.rs`). - `python -I scripts/check_no_game_data.py` on both files: clean. - No GPU is involved (`leonida translate` without `--validate` or `--pipelines`), so no GPU or driver to name. Not covered: the effect on a title's frame time (it is the translation, not the frame), and the remaining translator time, which is spread over `Bools::ite`, `spill::build` and lowering of the compute programs (about 1 s of CPU each for the largest).
OreoFR commented 2026-11-30 14:27:36 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T14:27:36Z.


Verified by OreoFR on macOS 27.2.1, Apple M5, Rust (rustup, Homebrew), main b17b22d33, head 88d0dbf9c.

  • MEASURED, cargo test -p leonida-shader, debug and --release, same counts both ways:
    • main: 228 passed, 0 failed, 2 ignored.
    • main + this PR (merged): 230 passed, 0 failed, 2 ignored. The 2 extra tests are the new the_index_of_load_uses_answers_as_the_scan_did and each_leaf_of_a_source_is_those_leaves_lists_in_order.
  • READ IN CODE: there is no red side by design. Both new tests compare the new index with the old scan (kept in the test), so they pass on main too. The description reports a mutation control (the one-per-descriptor check left out → the test fails): ASSUMED, not reproduced here.
  • READ IN CODE: the description's 386 tests vs 230 here: valu_tests, pack_tests, paired_tests, probe_tests, size_tests, twin_bias_tests and others are #[cfg(all(test, windows))] (src/emit/mod.rs 105-119), so they do not build on macOS. That includes the known rdna_forms_give_what_the_spelled_out_ones_give failure (#2624). Not covered here: those Windows-only tests, the DXIL output-identity check and the timing table (they need the archive and Windows).
  • MEASURED: no conflict with main (#2566 is already merged).
  • Verdict: green on Mac 230/232, 2 ignored, Windows-only test modules not covered.

AI-assisted: Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7281407054 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2745#issuecomment-7281407054). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-30T14:27:36Z. --- Verified by OreoFR on macOS 27.2.1, Apple M5, Rust (rustup, Homebrew), `main` `b17b22d33`, head `88d0dbf9c`. - MEASURED, `cargo test -p leonida-shader`, debug and `--release`, same counts both ways: - `main`: 228 passed, 0 failed, 2 ignored. - `main` + this PR (merged): 230 passed, 0 failed, 2 ignored. The 2 extra tests are the new `the_index_of_load_uses_answers_as_the_scan_did` and `each_leaf_of_a_source_is_those_leaves_lists_in_order`. - READ IN CODE: there is no red side by design. Both new tests compare the new index with the old scan (kept in the test), so they pass on `main` too. The description reports a mutation control (the one-per-descriptor check left out → the test fails): ASSUMED, not reproduced here. - READ IN CODE: the description's 386 tests vs 230 here: `valu_tests`, `pack_tests`, `paired_tests`, `probe_tests`, `size_tests`, `twin_bias_tests` and others are `#[cfg(all(test, windows))]` (`src/emit/mod.rs` 105-119), so they do not build on macOS. That includes the known `rdna_forms_give_what_the_spelled_out_ones_give` failure (#2624). **Not covered here:** those Windows-only tests, the DXIL output-identity check and the timing table (they need the archive and Windows). - MEASURED: no conflict with `main` (#2566 is already merged). - Verdict: green on Mac 230/232, 2 ignored, Windows-only test modules not covered. AI-assisted: Claude Code
Kal0s-design commented 2026-11-30 15:11:25 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-11-30T15:11:25Z.


Native Windows check of 88d0dbf9c on current main 232f9e603 (no conflict, 03a921278). Windows 11, MSVC x64, Rust 1.98.1, cargo test -p leonida-shader --lib on a hardware GPU (not WARP), so the DXIL validation and the GPU dispatch tests run too.

  • Green: main + this PR, the whole crate: 387 passed, 0 failed, 4 ignored. main lists 389 tests (385 run + 4 ignored); the merge lists 391, so the two new tests are the only difference.
  • No red run is possible: the new tests call load_uses and is_sampler_load, which this PR adds, so they don't build against main (E0599). It matches OreoFR's macOS counts (+2).

AI-assisted: yes

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7282583930 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2745#issuecomment-7282583930). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-11-30T15:11:25Z. --- **Native Windows check** of `88d0dbf9c` on current `main` `232f9e603` (no conflict, `03a921278`). Windows 11, MSVC x64, Rust 1.98.1, `cargo test -p leonida-shader --lib` on a hardware GPU (not WARP), so the DXIL validation and the GPU dispatch tests run too. - Green: `main` + this PR, the whole crate: 387 passed, 0 failed, 4 ignored. `main` lists 389 tests (385 run + 4 ignored); the merge lists 391, so the two new tests are the only difference. - No red run is possible: the new tests call `load_uses` and `is_sampler_load`, which this PR adds, so they don't build against `main` (E0599). It matches OreoFR's macOS counts (+2). AI-assisted: yes
ecox982745 commented 2026-11-30 15:11:59 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by ecox982745 on 2026-11-30T15:11:59Z.


Independent native Windows DXIL check for 88d0dbf9c on 232f9e603 (merge tree a4b9e05c1). Rust 1.98.1 MSVC release, Windows 11, LLVM DXIL validator from Windows SDK 26100.

I lowered five stock synthetic descriptor waterfall programs on both trees. They cover fetched descriptors in Wave32 and Wave64 and picked, joined, and mixed descriptors in Wave32. Each lowered twice to identical bytes on its own tree. Across trees, all five raw DXIL containers matched byte for byte (2,224–2,456 bytes each). Both sets passed DXIL validation. Each case retained one non-uniform handle.

Both published regressions passed on the merged tree: the load-use index matched the scan, and the leaf visitor matched the listed traversal order. This was a CPU translation and validation check with synthetic inputs. AI-assisted with OpenAI Codex (GPT-6.2 Sol).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7282599681 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2745#issuecomment-7282599681). Originally posted by [ecox982745](https://github.com/ecox982745) on 2026-11-30T15:11:59Z. --- Independent native Windows DXIL check for `88d0dbf9c` on `232f9e603` (merge tree `a4b9e05c1`). Rust 1.98.1 MSVC release, Windows 11, LLVM DXIL validator from Windows SDK 26100. I lowered five stock synthetic descriptor waterfall programs on both trees. They cover fetched descriptors in Wave32 and Wave64 and picked, joined, and mixed descriptors in Wave32. Each lowered twice to identical bytes on its own tree. Across trees, all five raw DXIL containers matched byte for byte (2,224–2,456 bytes each). Both sets passed DXIL validation. Each case retained one non-uniform handle. Both published regressions passed on the merged tree: the load-use index matched the scan, and the leaf visitor matched the listed traversal order. This was a CPU translation and validation check with synthetic inputs. AI-assisted with OpenAI Codex (GPT-6.2 Sol).
merzleckeier commented 2026-11-30 15:16:21 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-30T15:16:21Z.


Independent Linux DXIL check for descriptor size queries

Rust 1.98.1 on CachyOS. I tested 88d0dbf9c merged onto main 5399c667e (tree 4c3bf6e6). I added three hand-written compute fixtures that exercise the size-query path. They complement the native Windows waterfall check.

  • Direct use. One scalar buffer descriptor load supplies both the indexed buffer read and the numeric record count.
  • Twin use. Two scalar loads read the same address. The first supplies the buffer descriptor. The second supplies the numeric record count, so lowering has to find the first load’s resource use.
  • Size-only texture. The code reads the size bits of an eight-dword texture descriptor without sampling it.

All three produced byte-identical DXIL containers and identical host metadata on both trees. The bitcode symbol tables contain dx.op.getDimensions in each case. A size-only buffer shape returned the same unsupported error on both trees. The five stock waterfall controls also matched byte for byte.

The Linux library suite passed 229 tests on main and 231 with this PR, including the local fixture harness once on each side. Both runs had two ignored tests and zero failures. A second agent independently compared the artifacts and checked the bitcode symbols. CPU-only translation and inspection using synthetic inputs. AI-assisted with OpenAI Codex.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7282720104 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2745#issuecomment-7282720104). Originally posted by [merzleckeier](https://github.com/merzleckeier) on 2026-11-30T15:16:21Z. --- **Independent Linux DXIL check for descriptor size queries** Rust 1.98.1 on CachyOS. I tested `88d0dbf9c` merged onto `main` `5399c667e` (tree `4c3bf6e6`). I added three hand-written compute fixtures that exercise the size-query path. They complement the [native Windows waterfall check](https://github.com/ProjectLeonida/mandy/pull/2745#issuecomment-7282599681). - **Direct use.** One scalar buffer descriptor load supplies both the indexed buffer read and the numeric record count. - **Twin use.** Two scalar loads read the same address. The first supplies the buffer descriptor. The second supplies the numeric record count, so lowering has to find the first load’s resource use. - **Size-only texture.** The code reads the size bits of an eight-dword texture descriptor without sampling it. All three produced byte-identical DXIL containers and identical host metadata on both trees. The bitcode symbol tables contain `dx.op.getDimensions` in each case. A size-only buffer shape returned the same unsupported error on both trees. The five stock waterfall controls also matched byte for byte. The Linux library suite passed 229 tests on `main` and 231 with this PR, including the local fixture harness once on each side. Both runs had two ignored tests and zero failures. A second agent independently compared the artifacts and checked the bitcode symbols. CPU-only translation and inspection using synthetic inputs. AI-assisted with OpenAI Codex.
MoonEyes commented 2026-11-30 20:11:37 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T20:11:37Z.


RUN · VERIFY-2745-RTX4060 · by MoonEyes (another person than the author) on head 88d0dbf9c, with #2745 (88d0dbf9c), #2773 (6bbaeed11), #2726 (986771506) and #2780 (6c4474cfd) merged into main 51dbc5b58. Windows 11 Pro 26300, RTX 4060 8 GB, -SeriesS -FrameGen 2, diag build.

  • cargo test -p leonida-shader --locked: 400 passed; -p leonida-gpu: 580 passed; 0 failed.
  • Game: two runs of 480 s, the person walking in the world from 345 s. First (shaders translated again: 132 s, pipelines warmed: 533 s): steady after 98 s, about 500 s of it. Second, warm: steady after 107 s, about 495 s of it, about 51 m walked. In both no device loss, no unhandled exception, the process alive at the end. PASS for the gate of 300 s. The picture was not looked at.
  • Translation at a first start 132 s here, 177 s on main 8f41d7d01 with two other pull requests: n=1 on each side and not the same tree, so no speed-up is claimed. The four pull requests were in one build.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7290546650 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2745#issuecomment-7290546650). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T20:11:37Z. --- RUN · VERIFY-2745-RTX4060 · by MoonEyes (another person than the author) on head `88d0dbf9c`, with #2745 (`88d0dbf9c`), #2773 (`6bbaeed11`), #2726 (`986771506`) and #2780 (`6c4474cfd`) merged into `main` `51dbc5b58`. Windows 11 Pro 26300, RTX 4060 8 GB, `-SeriesS -FrameGen 2`, diag build. - `cargo test -p leonida-shader --locked`: 400 passed; `-p leonida-gpu`: 580 passed; 0 failed. - Game: two runs of 480 s, the person walking in the world from 345 s. First (shaders translated again: 132 s, pipelines warmed: 533 s): steady after 98 s, about 500 s of it. Second, warm: steady after 107 s, about 495 s of it, about 51 m walked. In both no device loss, no unhandled exception, the process alive at the end. PASS for the gate of 300 s. The picture was not looked at. - Translation at a first start 132 s here, 177 s on `main` `8f41d7d01` with two other pull requests: n=1 on each side and not the same tree, so no speed-up is claimed. The four pull requests were in one build. AI-assisted (Claude Code).
MoonEyes commented 2026-11-30 20:12:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T20:12:10Z.


Merging. Head 88d0dbf9c merges cleanly with main 0f86bd594 and does not force a rebase of #2566. Two runs in the game (RTX 4060, about 500 s steady each, no device loss) with #2745, #2773, #2726 and #2780 together on this head; cargo test green; checked by other people. The shaders are translated again at the first start. Merged by MoonEyes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7290559921 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2745#issuecomment-7290559921). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T20:12:10Z. --- Merging. Head `88d0dbf9c` merges cleanly with `main` `0f86bd594` and does not force a rebase of #2566. Two runs in the game (RTX 4060, about 500 s steady each, no device loss) with #2745, #2773, #2726 and #2780 together on this head; cargo test green; checked by other people. The shaders are translated again at the first start. Merged by MoonEyes. AI-assisted (Claude Code).
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!2745
No description provided.