[GH-ISSUE #14] Coordinating who works on what #2

Open
opened 2026-11-26 20:11:11 +01:00 by 4ld0 · 2500 comments
Owner

Originally created by @ddddddddwp on GitHub (Nov 24, 2026).
Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/14

The upstream tracker (ItsNotRexed/Leonida #9677) went private with the repository on 2026-11-23 23:53 UTC, and its
issues and pull requests went with it. This issue carries the work over so two people (or two agents) do not write
the same thing twice.

How to use it

  • Claiming: choose IDs from the Open work table, then comment claiming: <ID> before you write code and put every ID in the pull request title or the Claimed in the coordination issue as: field in its body. A short explanation after an ID, comma-separated IDs for one PR, and a bulleted batch after claiming: are accepted. Every claim must be posted before the PR opens, remain unchanged, and belong to its author. Editing or deleting a claim invalidates it; correct it with a new claim and a replacement PR.
  • Finding: comment finding: <one line>, with the file and line, why it matters, and whether it needs game
    files or particular hardware.
  • Done: comment done: <ID> -> #<PR> when the pull request is open.
  • Before claiming, read the comments below and the open pull requests; if someone already has it,
    pick something else or review theirs.
  • Pull requests target main, the repository's only branch.

Open work

ID What Where Needs Status
SHADER-1264 A 32-bit value computed at run time and written to exec_lo/exec_hi is tested for non-zero instead of per lane, so it turns on every lane of that half. s_lshl_b32 exec_lo, 1, s5 runs all 32 lanes where the fixture wants lane 3. s_mov_b32/s_and_b32 into EXEC already take each lane's bit, so a fix has to keep those right. tools/rdna2spirv.py, Gen.set_exec and Gen.exec_half_write; tests/semantic/test_exec_computed.py is red (2 cases). The GPU words are recorded in runtime/test/shaders/cs_w32_exec_computed.asm and cs_w64_exec_computed.asm (RTX 5070). No game files, no GPU: the CPU interpreter only. open; reported by @wavehs in tugasky/Leonida#3
TEST-ATOMIC-GUARD tests/semantic/test_image_atomics_guard.py fails 47 subtests because its helper still requires the guard to be an OpLoad %bool %active, while a shader that never writes EXEC now folds the condition to %true. The file's real assertion - that a lane EXEC turned off skips the image atomic - is therefore not being checked at all. A fix should keep a case with a dynamic EXEC write so a real guard is still exercised. helper at tests/semantic/test_image_atomics_guard.py:76; Gen.active_b and Gen.exec_static_true in tools/rdna2spirv.py No game files, no GPU. open; same finding
COORD-CLAIM-CHECK Validate claims and keep the PR activity comment current .github/workflows/coordination-claim.yml, .github/workflows/coordination-activity.yml none open; PR #221 draft

Already closed here: the slot-14 console-layout false positive (#3, fixed by #4) and the d083a2cc build breaks
(fixed by #2).

The Coordination activity Action writes a separate bot comment; it does not edit this issue body.

Pull request activity

The initial PR roster snapshot was generated at 2026-11-24 03:38:09 UTC. After PR #221 is merged, the Coordination activity Action will create and update its own bot comment. The roster refreshes after issue #14 claim comments and every 15 minutes. The Action publishes the current coordination-claim commit status on affected PR heads after claim-comment changes, edits to issue #14 (including the Open work table), PR lifecycle events, or validator runs. PR lifecycle events recompute all open heads targeting main, including when a PR opens, changes commits or base, or closes, so statuses on shared SHAs are refreshed. Automatic status reconciliations are queued, and all open PR heads are audited hourly. A manual per-PR refresh is available with gh workflow run coordination-activity.yml -f pr_number=<N>. The commit status is eventually consistent because claim data lives in this issue; do not use it as the sole required merge check. Strict enforcement requires an authorized merge flow to revalidate the claim immediately before merging. The Actions job coordination-claim-validator is diagnostic. This public repository uses pull_request_target for PR lifecycle refreshes. GitHub says affected public repositories without an applicable Actions event policy will enforce a default block on 2026-12-02; verify the effective policy allows this event before then. The repository policy could not be confirmed through the available API. If the event is blocked, validator workflow_run events and the hourly audit remain recovery paths. The Action edits only its own bot comment; the Open work table and rules above remain editable here.

Rules (short version)

  • No game data, ever: no archives, executables, carved files, shaders in any form, textures, audio, or logs that
    quote them.
  • No keys, decryption or protection workarounds. Nothing online.
  • Fix, don't disable: a shader the translator rejects gets a rule, not a skip list, and a new rule goes into the
    contract table in docs/design.md with how it was confirmed.
  • Say in the pull request what you tested and on what hardware, and whether it was AI-assisted.
Originally created by @ddddddddwp on GitHub (Nov 24, 2026). Original GitHub issue: https://github.com/ubiquitarianism/leonida/issues/14 The upstream tracker (`ItsNotRexed/Leonida` #9677) went private with the repository on 2026-11-23 23:53 UTC, and its issues and pull requests went with it. This issue carries the work over so two people (or two agents) do not write the same thing twice. ## How to use it - **Claiming:** choose IDs from the **Open work** table, then comment `claiming: <ID>` before you write code and put every ID in the pull request title or the `Claimed in the coordination issue as:` field in its body. A short explanation after an ID, comma-separated IDs for one PR, and a bulleted batch after `claiming:` are accepted. Every claim must be posted before the PR opens, remain unchanged, and belong to its author. Editing or deleting a claim invalidates it; correct it with a new claim and a replacement PR. - **Finding:** comment `finding: <one line>`, with the file and line, why it matters, and whether it needs game files or particular hardware. - **Done:** comment `done: <ID> -> #<PR>` when the pull request is open. - **Before claiming,** read the comments below and the [open pull requests](../pulls); if someone already has it, pick something else or review theirs. - Pull requests target `main`, the repository's only branch. ## Open work | ID | What | Where | Needs | Status | |---|---|---|---|---| | `SHADER-1264` | A 32-bit value computed at run time and written to `exec_lo`/`exec_hi` is tested for non-zero instead of per lane, so it turns on every lane of that half. `s_lshl_b32 exec_lo, 1, s5` runs all 32 lanes where the fixture wants lane 3. `s_mov_b32`/`s_and_b32` into EXEC already take each lane's bit, so a fix has to keep those right. | `tools/rdna2spirv.py`, `Gen.set_exec` and `Gen.exec_half_write`; `tests/semantic/test_exec_computed.py` is red (2 cases). The GPU words are recorded in `runtime/test/shaders/cs_w32_exec_computed.asm` and `cs_w64_exec_computed.asm` (RTX 5070). | No game files, no GPU: the CPU interpreter only. | open; reported by @wavehs in tugasky/Leonida#3 | | `TEST-ATOMIC-GUARD` | `tests/semantic/test_image_atomics_guard.py` fails 47 subtests because its helper still requires the guard to be an `OpLoad %bool %active`, while a shader that never writes EXEC now folds the condition to `%true`. The file's real assertion - that a lane EXEC turned off skips the image atomic - is therefore not being checked at all. A fix should keep a case with a dynamic EXEC write so a real guard is still exercised. | helper at `tests/semantic/test_image_atomics_guard.py:76`; `Gen.active_b` and `Gen.exec_static_true` in `tools/rdna2spirv.py` | No game files, no GPU. | open; same finding | | `COORD-CLAIM-CHECK` | Validate claims and keep the PR activity comment current | `.github/workflows/coordination-claim.yml`, `.github/workflows/coordination-activity.yml` | none | open; PR #221 draft | Already closed here: the slot-14 console-layout false positive (#3, fixed by #4) and the `d083a2cc` build breaks (fixed by #2). The Coordination activity Action writes a separate bot comment; it does not edit this issue body. ## Pull request activity The [initial PR roster snapshot](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7121775229) was generated at **2026-11-24 03:38:09 UTC**. After PR #221 is merged, the Coordination activity Action will create and update its own bot comment. The roster refreshes after issue #14 claim comments and every 15 minutes. The Action publishes the current `coordination-claim` commit status on affected PR heads after claim-comment changes, edits to issue #14 (including the Open work table), PR lifecycle events, or validator runs. PR lifecycle events recompute all open heads targeting `main`, including when a PR opens, changes commits or base, or closes, so statuses on shared SHAs are refreshed. Automatic status reconciliations are queued, and all open PR heads are audited hourly. A manual per-PR refresh is available with `gh workflow run coordination-activity.yml -f pr_number=<N>`. The commit status is eventually consistent because claim data lives in this issue; do not use it as the sole required merge check. Strict enforcement requires an authorized merge flow to revalidate the claim immediately before merging. The Actions job `coordination-claim-validator` is diagnostic. This public repository uses `pull_request_target` for PR lifecycle refreshes. GitHub says affected public repositories without an applicable Actions event policy will enforce a default block on 2026-12-02; verify the effective policy allows this event before then. The repository policy could not be confirmed through the available API. If the event is blocked, validator `workflow_run` events and the hourly audit remain recovery paths. The Action edits only its own bot comment; the **Open work** table and rules above remain editable here. ## Rules (short version) - No game data, ever: no archives, executables, carved files, shaders in any form, textures, audio, or logs that quote them. - No keys, decryption or protection workarounds. Nothing online. - Fix, don't disable: a shader the translator rejects gets a rule, not a skip list, and a new rule goes into the contract table in `docs/design.md` with how it was confirmed. - Say in the pull request what you tested and on what hardware, and whether it was AI-assisted.
Author
Owner

@ddddddddwp commented on GitHub (Nov 24, 2026):

claiming: SHADER-1264 - I will fix the computed-value WRITE to EXEC (set_exec / exec_half_write) and add the contract-table note. Branch from main; the two fixtures and the semantic test are already in the tree.

<!-- gh-comment-id:7119387038 --> @ddddddddwp commented on GitHub (Nov 24, 2026): claiming: SHADER-1264 - I will fix the computed-value WRITE to EXEC (set_exec / exec_half_write) and add the contract-table note. Branch from main; the two fixtures and the semantic test are already in the tree.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: GPU-780M - I will add a GPU-test record for an AMD Radeon 780M (RDNA3 iGPU) in the gpu-test-results/ format used by RX9070GRE.txt and RX9070XT.txt: build the Vulkan runtime from this repo's main, run scripts/run_gpu_tests.py plus the translator suite, and commit the result file. The hardware is my own laptop iGPU (AMD proprietary driver 26.10.2 / LLPC, Vulkan 1.4.359, Windows 11, subgroup 32..64); no game files are involved and nothing online is touched. AI-assisted.

If the SHADER-1264 branch wants a GPU run, I can test it on the same GPU and post the per-test numbers here.

<!-- gh-comment-id:7119579963 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: GPU-780M - I will add a GPU-test record for an AMD Radeon 780M (RDNA3 iGPU) in the `gpu-test-results/` format used by RX9070GRE.txt and RX9070XT.txt: build the Vulkan runtime from this repo's main, run `scripts/run_gpu_tests.py` plus the translator suite, and commit the result file. The hardware is my own laptop iGPU (AMD proprietary driver 26.10.2 / LLPC, Vulkan 1.4.359, Windows 11, subgroup 32..64); no game files are involved and nothing online is touched. AI-assisted. If the SHADER-1264 branch wants a GPU run, I can test it on the same GPU and post the per-test numbers here.
Author
Owner

@ItsMrDubey commented on GitHub (Nov 24, 2026):

claiming: the items below from the old-repo index (#18), using their old numbers as IDs. All of them are standard-library Python, docs or tests: no game files, no particular GPU, nothing online. One pull request per line, each with its ID in the title. Where an old-pr/* branch (#17) already has the fix, I'll rebase it onto main and keep the original author's commits.

  • OLD-5600 - meshlet_page: a group with zero meshlets makes parse_page spin forever (carrying old-pr/10066, ShotTechOp)
  • OLD-5516, OLD-5517, OLD-5519, OLD-5521 - stale counts in docs/design.md, docs/shader_validation.md and docs/README.md (carrying old-pr/9891, AlejoReyna, for 5517/5519)
  • OLD-7845 - hashdict: a space or a typo in --archives silently drops that archive (tools/hashdict.py:143)
  • OLD-7872 - test_docs_links: strip_fences() pairs any two triple-backticks, so it can hide real headings (tests/test_docs_links.py:20)
  • OLD-3911, OLD-4237, OLD-4286, OLD-4322, OLD-4330 - Python SPIR-V assembler: decimal f16/f32 constant bits, BF16 constants, nonfinite f64, the DebugPrintf spelling, hex-float rounding (tools/spirv_asm.py)
  • OLD-9764 - w64_graphics stops testing the remaining fixtures after one harness timeout (carrying old-pr/9770, Joaco9020)
  • OLD-7148 - make_game.py / first_light.py reuse a stale vk_pipeline_check / vk_harness on Linux

Each one gets checked against main first. If one turns out to be fixed already, I'll say so here and drop it. AI-assisted.

<!-- gh-comment-id:7119646964 --> @ItsMrDubey commented on GitHub (Nov 24, 2026): claiming: the items below from the old-repo index (#18), using their old numbers as IDs. All of them are standard-library Python, docs or tests: no game files, no particular GPU, nothing online. One pull request per line, each with its ID in the title. Where an `old-pr/*` branch (#17) already has the fix, I'll rebase it onto `main` and keep the original author's commits. - `OLD-5600` - `meshlet_page`: a group with zero meshlets makes `parse_page` spin forever (carrying `old-pr/10066`, ShotTechOp) - `OLD-5516`, `OLD-5517`, `OLD-5519`, `OLD-5521` - stale counts in `docs/design.md`, `docs/shader_validation.md` and `docs/README.md` (carrying `old-pr/9891`, AlejoReyna, for 5517/5519) - `OLD-7845` - `hashdict`: a space or a typo in `--archives` silently drops that archive (`tools/hashdict.py:143`) - `OLD-7872` - `test_docs_links`: `strip_fences()` pairs any two triple-backticks, so it can hide real headings (`tests/test_docs_links.py:20`) - `OLD-3911`, `OLD-4237`, `OLD-4286`, `OLD-4322`, `OLD-4330` - Python SPIR-V assembler: decimal f16/f32 constant bits, BF16 constants, nonfinite f64, the DebugPrintf spelling, hex-float rounding (`tools/spirv_asm.py`) - `OLD-9764` - `w64_graphics` stops testing the remaining fixtures after one harness timeout (carrying `old-pr/9770`, Joaco9020) - `OLD-7148` - `make_game.py` / `first_light.py` reuse a stale `vk_pipeline_check` / `vk_harness` on Linux Each one gets checked against `main` first. If one turns out to be fixed already, I'll say so here and drop it. AI-assisted.
Author
Owner

@ddddddddwp commented on GitHub (Nov 24, 2026):

done: SHADER-1264 -> #24

TEST-ATOMIC-GUARD: #20 (by @wavehs) already covers it, so it is taken.

<!-- gh-comment-id:7119652584 --> @ddddddddwp commented on GitHub (Nov 24, 2026): done: SHADER-1264 -> #24 TEST-ATOMIC-GUARD: #20 (by @wavehs) already covers it, so it is taken.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: GPU-780M -> #32

The GPU-test record for an AMD Radeon 780M (RDNA3 iGPU, gfx1103) is in #32: gpu-test-results/780M.txt, the same format as RX9070GRE.txt and RX9070XT.txt.

On main 9ec34cdf: 257/257 shaders translated and spirv-val clean, 228/248 passed, 16 skipped, 4 failed. The four failures are the two SHADER-1264 fixtures (the translator half of that fix is not on main yet, so #15) and the two tfe cases (#31, filed separately). All 240 cases that this main shares with the previous one (dde82f27, upstream before the repository went private) give the identical result on this GPU, so nothing that used to pass here regressed.

No game files, nothing online. AI-assisted (MiniMax Code).

<!-- gh-comment-id:7119711797 --> @Mby159 commented on GitHub (Nov 24, 2026): done: GPU-780M -> #32 The GPU-test record for an AMD Radeon 780M (RDNA3 iGPU, gfx1103) is in #32: `gpu-test-results/780M.txt`, the same format as RX9070GRE.txt and RX9070XT.txt. On `main` 9ec34cdf: 257/257 shaders translated and spirv-val clean, 228/248 passed, 16 skipped, 4 failed. The four failures are the two SHADER-1264 fixtures (the translator half of that fix is not on `main` yet, so #15) and the two `tfe` cases (#31, filed separately). All 240 cases that this `main` shares with the previous one (dde82f27, upstream before the repository went private) give the identical result on this GPU, so nothing that used to pass here regressed. No game files, nothing online. AI-assisted (MiniMax Code).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: DOC-CUBE-STORE - the contract table is stale for cube storage images. "Coherent image accesses (glc)" still ends with "or on a dimension without storage views (cube) is Unsupported", and "Typed image stores" lists only 2D, 2D array and 3D, but a cube storage image has been supported since the cube storage work landed (the translator maps dim:SQ_RSRC_IMG_CUBE to the 2D-array view, and tests/semantic/test_image_cube_store_glc.py covers it). I will bring both rows in line: a cube is bound as a six-layer 2D array (bindings 11/12/13 for float/uint/sint, the third coordinate is the face), tfe and lwe stay refused, and the confirmation is CPU-checked by that test, not GPU-verified (no GPU fixture covers a cube store). Documentation only, no game files. AI-assisted.

<!-- gh-comment-id:7119723624 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: DOC-CUBE-STORE - the contract table is stale for cube storage images. "Coherent image accesses (`glc`)" still ends with "or on a dimension without storage views (cube) is `Unsupported`", and "Typed image stores" lists only 2D, 2D array and 3D, but a cube storage image has been supported since the cube storage work landed (the translator maps `dim:SQ_RSRC_IMG_CUBE` to the 2D-array view, and `tests/semantic/test_image_cube_store_glc.py` covers it). I will bring both rows in line: a cube is bound as a six-layer 2D array (bindings 11/12/13 for float/uint/sint, the third coordinate is the face), `tfe` and `lwe` stay refused, and the confirmation is CPU-checked by that test, not GPU-verified (no GPU fixture covers a cube store). Documentation only, no game files. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: DOC-CUBE-STORE -> #44

The two contract rows in docs/design.md are in line with the cube storage support again: "Coherent image accesses (glc)" no longer calls a cube a dimension without storage views, and "Typed image stores" lists cube with its binding (bindings 11/12/13 for float/uint/sint, the third coordinate is the face, tfe and lwe refused).

The row states how it was confirmed: CPU-checked by tests/semantic/test_image_cube_store_glc.py, not GPU-verified, because no GPU fixture covers a cube store yet. If one of you writes that fixture, the row can say so.

No game files; documentation only. AI-assisted (MiniMax Code).

<!-- gh-comment-id:7119767126 --> @Mby159 commented on GitHub (Nov 24, 2026): done: DOC-CUBE-STORE -> #44 The two contract rows in `docs/design.md` are in line with the cube storage support again: "Coherent image accesses (`glc`)" no longer calls a cube a dimension without storage views, and "Typed image stores" lists cube with its binding (bindings 11/12/13 for float/uint/sint, the third coordinate is the face, `tfe` and `lwe` refused). The row states how it was confirmed: CPU-checked by `tests/semantic/test_image_cube_store_glc.py`, **not GPU-verified**, because no GPU fixture covers a cube store yet. If one of you writes that fixture, the row can say so. No game files; documentation only. AI-assisted (MiniMax Code).
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: DOC-REPO-LINKS - CONTRIBUTING.md, AGENTS.md, docs/i18n/fr/contributing.md and .github/ISSUE_TEMPLATE/config.yml still send contributors to ItsNotRexed/Leonida, which is private: the claims search link, the gh issue list -R command agents are told to run, and the #166 / #313 pages all lead nowhere. I will point them at this repository and name what replaces the old pages here (#18, #17, gpu-test-results/, docs/d3d12_vulkan.md). Docs only: no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7119808125 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: DOC-REPO-LINKS - `CONTRIBUTING.md`, `AGENTS.md`, `docs/i18n/fr/contributing.md` and `.github/ISSUE_TEMPLATE/config.yml` still send contributors to `ItsNotRexed/Leonida`, which is private: the claims search link, the `gh issue list -R` command agents are told to run, and the #166 / #313 pages all lead nowhere. I will point them at this repository and name what replaces the old pages here (#18, #17, `gpu-test-results/`, `docs/d3d12_vulkan.md`). Docs only: no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: DOC-REPO-LINKS -> #56

finding: two code paths still name the private repository | where: make_game.py:1040 (the clone hint prints git clone --recursive https://github.com/ItsNotRexed/Leonida) and tools/progress_dashboard.py:54 (DEFAULT_REPO = "ItsNotRexed/Leonida", used by --github) | why: the hint tells a user to clone a repository they cannot reach, and the dashboard asks GitHub for a repository that returns 404 | tests that pin the old name: tests/test_make_game_preflight.py, tests/test_progress_dashboard.py | needs: no game files, no GPU. Left out of #56 because they change behaviour. AI-assisted.

<!-- gh-comment-id:7119813728 --> @natterman12 commented on GitHub (Nov 24, 2026): done: DOC-REPO-LINKS -> #56 finding: two code paths still name the private repository | where: `make_game.py:1040` (the clone hint prints `git clone --recursive https://github.com/ItsNotRexed/Leonida`) and `tools/progress_dashboard.py:54` (`DEFAULT_REPO = "ItsNotRexed/Leonida"`, used by `--github`) | why: the hint tells a user to clone a repository they cannot reach, and the dashboard asks GitHub for a repository that returns 404 | tests that pin the old name: `tests/test_make_game_preflight.py`, `tests/test_progress_dashboard.py` | needs: no game files, no GPU. Left out of #56 because they change behaviour. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: BUILD-REPO-NAME - my own finding above: make_game.py:1040 (the clone hint in ensure_submodule) and tools/progress_dashboard.py:54 (DEFAULT_REPO) still name ItsNotRexed/Leonida. I will point both at this repository, update the two preflight tests that pin the old address and the default named in docs/progress_dashboard.md. Standard-library Python: no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7119853521 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: BUILD-REPO-NAME - my own finding above: `make_game.py:1040` (the clone hint in `ensure_submodule`) and `tools/progress_dashboard.py:54` (`DEFAULT_REPO`) still name `ItsNotRexed/Leonida`. I will point both at this repository, update the two preflight tests that pin the old address and the default named in `docs/progress_dashboard.md`. Standard-library Python: no game files, no GPU. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: BUILD-REPO-NAME -> #68

finding: tools/progress_dashboard.py:874 still runs gh issue view 313 for the D3D- table | why: #313 was in the original repository and has no counterpart here, so the D3D12 panel of --github stays empty, and it will read an unrelated item once this repository reaches that number | needs: a D3D12 tracking issue here to point it at; no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7119858687 --> @natterman12 commented on GitHub (Nov 24, 2026): done: BUILD-REPO-NAME -> #68 finding: `tools/progress_dashboard.py:874` still runs `gh issue view 313` for the `D3D-` table | why: #313 was in the original repository and has no counterpart here, so the D3D12 panel of `--github` stays empty, and it will read an unrelated item once this repository reaches that number | needs: a D3D12 tracking issue here to point it at; no game files, no GPU. AI-assisted.
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

Superseded historical snapshot (2026-11-24 02:05 UTC). The current open-PR roster is in the issue body under Current open pull request activity. The Action proposal in PR #221 refreshes only that marked block.

<!-- gh-comment-id:7119879086 --> @Andretuta commented on GitHub (Nov 24, 2026): **Superseded historical snapshot (2026-11-24 02:05 UTC).** The current open-PR roster is in the issue body under [Current open pull request activity](https://github.com/ubiquitarianism/leonida/issues/14#current-open-pull-request-activity). The Action proposal in [PR #221](https://github.com/ubiquitarianism/leonida/pull/221) refreshes only that marked block.
Author
Owner

@ItsMrDubey commented on GitHub (Nov 24, 2026):

done: OLD-7845 -> #25
done: OLD-9764 -> #27
done: OLD-5600 -> #28
done: OLD-7872 -> #29
done: OLD-5516, OLD-5517, OLD-5519, OLD-5521 -> #30
done: OLD-7148 -> #43
done: OLD-3911, OLD-4237, OLD-4286, OLD-4322, OLD-4330 -> #78

All thirteen reproduced on main before the fix. Each pull request credits the old-pr/* branch it carries, where it carries one (old-pr/10066, old-pr/9891, old-pr/9770), and keeps the original authorship.

Two notes for reviewers. Old #3911 is only half right: spirv-as reads a decimal f16 as f32 and truncates to f16, it does not round to nearest, and #78 matches spirv-as. Old #5516's 185/109 counts need llvm-mc to re-measure, so #30 drops the stale numbers and says where the count comes from instead of giving a new one.

<!-- gh-comment-id:7119904845 --> @ItsMrDubey commented on GitHub (Nov 24, 2026): done: OLD-7845 -> #25 done: OLD-9764 -> #27 done: OLD-5600 -> #28 done: OLD-7872 -> #29 done: OLD-5516, OLD-5517, OLD-5519, OLD-5521 -> #30 done: OLD-7148 -> #43 done: OLD-3911, OLD-4237, OLD-4286, OLD-4322, OLD-4330 -> #78 All thirteen reproduced on `main` before the fix. Each pull request credits the `old-pr/*` branch it carries, where it carries one (old-pr/10066, old-pr/9891, old-pr/9770), and keeps the original authorship. Two notes for reviewers. Old #3911 is only half right: spirv-as reads a decimal f16 as f32 and truncates to f16, it does not round to nearest, and #78 matches spirv-as. Old #5516's 185/109 counts need `llvm-mc` to re-measure, so #30 drops the stale numbers and says where the count comes from instead of giving a new one.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: TEST-WIN-STALE - two standard-library tests fail on native Windows on main 9ec34cdf and no open pull request touches them: tests/test_make_game_paths.py (the two drive-root cases mock check() as {}, so make_game.py:2801 raises KeyError: 'expected_exe' since BUILD-2367 reads the manifest) and tests/test_leonida_mods.py (test_run_print_builds_gta6rt_command writes only gta6rt.sh; runtime_executable() takes only gta6rt.exe on Windows). Tests only, no tool change. No game files, no GPU. AI-assisted.

For anyone triaging a Windows run: the other six files red here are already covered - test_f64_conversion / test_f64_output_modifiers by #26, test_joaat_agreement by #22, test_bink_names / test_opus_tags / test_world_names by #69.

<!-- gh-comment-id:7119906639 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: TEST-WIN-STALE - two standard-library tests fail on native Windows on `main` 9ec34cdf and no open pull request touches them: `tests/test_make_game_paths.py` (the two drive-root cases mock `check()` as `{}`, so `make_game.py:2801` raises `KeyError: 'expected_exe'` since BUILD-2367 reads the manifest) and `tests/test_leonida_mods.py` (`test_run_print_builds_gta6rt_command` writes only `gta6rt.sh`; `runtime_executable()` takes only `gta6rt.exe` on Windows). Tests only, no tool change. No game files, no GPU. AI-assisted. For anyone triaging a Windows run: the other six files red here are already covered - `test_f64_conversion` / `test_f64_output_modifiers` by #26, `test_joaat_agreement` by #22, `test_bink_names` / `test_opus_tags` / `test_world_names` by #69.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: TEST-WIN-STALE -> #81

<!-- gh-comment-id:7119914555 --> @natterman12 commented on GitHub (Nov 24, 2026): done: TEST-WIN-STALE -> #81
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

claiming: SHADER-1266 (#31) - the translator half of the tfe/lwe status VGPR on image_load and image_load_mip: resident accesses write 0 to vdata[data_vgprs]. I'm re-landing old-pr/10022 (n-romanovich, authorship kept) onto main 9ec34cdff, plus the GPU result in the docs/design.md row. The fixtures cs_imgload_tfe / cs_imgload_d16_tfe are already on main. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7119966257 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): claiming: SHADER-1266 (#31) - the translator half of the `tfe`/`lwe` status VGPR on `image_load` and `image_load_mip`: resident accesses write 0 to `vdata[data_vgprs]`. I'm re-landing `old-pr/10022` (n-romanovich, authorship kept) onto `main` 9ec34cdff, plus the GPU result in the `docs/design.md` row. The fixtures `cs_imgload_tfe` / `cs_imgload_d16_tfe` are already on `main`. No game files, nothing online. AI-assisted.
Author
Owner

@ItsMrDubey commented on GitHub (Nov 24, 2026):

claiming: a second batch. Everything here reproduces without game files or a particular GPU. Same rules as before: I check each one against main first, drop it here if it is already fixed, and open one pull request per line with the ID in the title.

  • TEST-SPIRV-TOOLS-SKIP (new finding) - tests/semantic/test_sopc_validation.py and test_unary_f16_validation.py fail with "spirv-as and spirv-val must be on PATH" on a machine without SPIR-V Tools, where AGENTS.md says the suite needs none and the other files skip (test_bary_fallback.py:224). I'll make those, and any other file with the same pattern, skip the way the rest do.
  • RT-XCRDAPI-CLASS (#47) - runtime/shims/registry.cpp:114 classifies DStorageGetFactory as HRESULT only for dstorage.dll / dstorage_xs.dll, not the retail XCRDAPI.dll, so under LEONIDA_UNIMPLEMENTED=fail it returns 0 instead of E_NOTIMPL. I'll add the retail spelling and assert it in unimplemented_policy_test.cpp. The stop-5 shim itself (old-pr/9964) only if I can build and test it here; otherwise I'll leave it to whoever has the game.
  • OLD-8618 - the viewer loads three.js from CDNs with no integrity check (viewer/index.html import map, studio.html fallbacks)
  • OLD-3752 - CMake reuses stale SPIR-V after a translator helper changes (BUILD-1064)
  • OLD-5262, OLD-5267, OLD-5273 - standalone mesh shader checks accept NaN readbacks; FMA index metadata follows later option changes; ms_wave_info_s3 skips a valid 32-wide draw
  • OLD-4480 - the wave64 planner misses SGPR masks with one constant half
  • OLD-4126 - geometry capture loses the storage class of a derived input pointer

Also: #48 carries old-pr/9770, which #27 already carries (OLD-9764). One of the two can be closed; #27 adds a GPU-free regression test with the mocks the other w64_graphics tests use.

AI-assisted.

<!-- gh-comment-id:7120003725 --> @ItsMrDubey commented on GitHub (Nov 24, 2026): claiming: a second batch. Everything here reproduces without game files or a particular GPU. Same rules as before: I check each one against `main` first, drop it here if it is already fixed, and open one pull request per line with the ID in the title. - `TEST-SPIRV-TOOLS-SKIP` (new finding) - `tests/semantic/test_sopc_validation.py` and `test_unary_f16_validation.py` fail with "spirv-as and spirv-val must be on PATH" on a machine without SPIR-V Tools, where `AGENTS.md` says the suite needs none and the other files skip (`test_bary_fallback.py:224`). I'll make those, and any other file with the same pattern, skip the way the rest do. - `RT-XCRDAPI-CLASS` (#47) - `runtime/shims/registry.cpp:114` classifies `DStorageGetFactory` as HRESULT only for `dstorage.dll` / `dstorage_xs.dll`, not the retail `XCRDAPI.dll`, so under `LEONIDA_UNIMPLEMENTED=fail` it returns 0 instead of `E_NOTIMPL`. I'll add the retail spelling and assert it in `unimplemented_policy_test.cpp`. The stop-5 shim itself (`old-pr/9964`) only if I can build and test it here; otherwise I'll leave it to whoever has the game. - `OLD-8618` - the viewer loads three.js from CDNs with no integrity check (`viewer/index.html` import map, `studio.html` fallbacks) - `OLD-3752` - CMake reuses stale SPIR-V after a translator helper changes (BUILD-1064) - `OLD-5262`, `OLD-5267`, `OLD-5273` - standalone mesh shader checks accept NaN readbacks; FMA index metadata follows later option changes; `ms_wave_info_s3` skips a valid 32-wide draw - `OLD-4480` - the wave64 planner misses SGPR masks with one constant half - `OLD-4126` - geometry capture loses the storage class of a derived input pointer Also: #48 carries `old-pr/9770`, which #27 already carries (OLD-9764). One of the two can be closed; #27 adds a GPU-free regression test with the mocks the other w64_graphics tests use. AI-assisted.
Author
Owner

@lightelectriclife commented on GitHub (Nov 24, 2026):

finding: Series S combined render-target and UAV use of R9G9B9E5_SHAREDEXP on NVIDIA

On Windows 11 with an RTX 5060 Laptop GPU (driver 621.14), I ran Leonida’s synthetic d3d12_r9g9b9e5_uav_test from revision 9ec34cd. The test reported emulated mutable R32_UINT storage, 6/6 UAV clears matching WARP bit-for-bit, and 16/16 matching texels after copying. The optional shader-compiler portion was disabled in this build.

In the combined-use test, the expected result is E_INVALIDARG when native attachment/storage support is missing. In a separate XCL retail run on this machine, the Series S profile requested a 1920×1080 format-67 texture for both uses and hit a breakpoint shortly after the request failed. An RTX 3060 tester independently reported getting past that request with a half-float fallback in XCL PR #242. Our Leonida retail run stops earlier, so this is a candidate compatibility gap inferred from the two tests.

Would a synthetic test that renders into the texture, writes through a UAV, and checks the resulting colors fit an existing work item? I can test a candidate change on the 5060 Laptop GPU. No game files are needed for that test.

AI-assisted testing and write-up.

<!-- gh-comment-id:7120055110 --> @lightelectriclife commented on GitHub (Nov 24, 2026): finding: Series S combined render-target and UAV use of R9G9B9E5_SHAREDEXP on NVIDIA On Windows 11 with an RTX 5060 Laptop GPU (driver 621.14), I ran Leonida’s synthetic `d3d12_r9g9b9e5_uav_test` from revision `9ec34cd`. The test reported emulated mutable R32_UINT storage, 6/6 UAV clears matching WARP bit-for-bit, and 16/16 matching texels after copying. The optional shader-compiler portion was disabled in this build. In [the combined-use test](https://github.com/ubiquitarianism/leonida/blob/9ec34cd/runtime/test/d3d12_r9g9b9e5_uav_test.cpp#L464-L475), the expected result is E_INVALIDARG when native attachment/storage support is missing. In a separate XCL retail run on this machine, the Series S profile requested a 1920×1080 format-67 texture for both uses and hit a breakpoint shortly after the request failed. An RTX 3060 tester independently reported getting past that request with a half-float fallback in [XCL PR #242](https://github.com/ivall/xcl/pull/242). Our Leonida retail run stops earlier, so this is a candidate compatibility gap inferred from the two tests. Would a synthetic test that renders into the texture, writes through a UAV, and checks the resulting colors fit an existing work item? I can test a candidate change on the 5060 Laptop GPU. No game files are needed for that test. AI-assisted testing and write-up.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-GAMEINPUT-ORD1 - runtime/shims/gameinput.cpp: the shim table has no #1 entry on main 9ec34cdff, so the retail executable's by-ordinal GameInput.dll import binds to the host DLL. Under Wine that is the builtin stub and the title stops on its result 0.65 s after start, before stop 5. The fix is commit 5e45c7da9 (Gustavo Kissel), which is in main's history but not in its tree. No game files needed for the test.

claiming: RT-DSTORAGE-RESTORE (#47, stop 5) - the DirectStorage shim (f87d05fdd, ac1843da2, 00551ba00) is also in the history but not in the tree; restoring it needs the typed-error zlib_inflate the merge note of 6dece9231 mentions, which I add to the current inflater.

Measured on Linux (Nobara 44), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin, own 1.0.2.1 copy, network off: with both, --run on main goes from 0 D3D12 calls to D3D12XboxCreateDevice ok, then stops in the host at device slot 26. AI-assisted.

<!-- gh-comment-id:7120094049 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-GAMEINPUT-ORD1 - `runtime/shims/gameinput.cpp`: the shim table has no `#1` entry on `main` `9ec34cdff`, so the retail executable's by-ordinal `GameInput.dll` import binds to the host DLL. Under Wine that is the builtin stub and the title stops on its result 0.65 s after start, before stop 5. The fix is commit `5e45c7da9` (Gustavo Kissel), which is in `main`'s history but not in its tree. No game files needed for the test. claiming: RT-DSTORAGE-RESTORE (#47, stop 5) - the DirectStorage shim (`f87d05fdd`, `ac1843da2`, `00551ba00`) is also in the history but not in the tree; restoring it needs the typed-error `zlib_inflate` the merge note of `6dece9231` mentions, which I add to the current inflater. Measured on Linux (Nobara 44), Wine 11.21 staging, RTX 5070 Ti (driver 615.78.08), clang-cl 22.1.8 + xwin, own 1.0.2.1 copy, network off: with both, `--run` on `main` goes from 0 D3D12 calls to `D3D12XboxCreateDevice ok`, then stops in the host at device slot 26. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: OLD-4922 - tools/manifest.py:72, _hash_file() reads each 8 MiB chunk with f.read(), so the next chunk is allocated while the last is still referenced: two chunks per worker at the peak (measured 16.0 MiB with tracemalloc on a 320 MiB file). I will fill one reused buffer with readinto(), as manifest_verifier.sha256_file() already does, and add tests for the peak and for short reads. Standard-library Python: no game files, no GPU, nothing online. AI-assisted.

Dropped: I had started OLD-5262 before reading far enough into the second-batch claim above to see it listed there. Nothing was pushed for it; it stays with @ItsMrDubey.

<!-- gh-comment-id:7120103737 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: OLD-4922 - `tools/manifest.py:72`, `_hash_file()` reads each 8 MiB chunk with `f.read()`, so the next chunk is allocated while the last is still referenced: two chunks per worker at the peak (measured 16.0 MiB with tracemalloc on a 320 MiB file). I will fill one reused buffer with `readinto()`, as `manifest_verifier.sha256_file()` already does, and add tests for the peak and for short reads. Standard-library Python: no game files, no GPU, nothing online. AI-assisted. Dropped: I had started OLD-5262 before reading far enough into the second-batch claim above to see it listed there. Nothing was pushed for it; it stays with @ItsMrDubey.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-GAMEINPUT-ORD1 -> #127
done: RT-DSTORAGE-RESTORE -> #131

<!-- gh-comment-id:7120108144 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-GAMEINPUT-ORD1 -> #127 done: RT-DSTORAGE-RESTORE -> #131
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: OLD-4922 -> #129

<!-- gh-comment-id:7120109077 --> @natterman12 commented on GitHub (Nov 24, 2026): done: OLD-4922 -> #129
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

done: SHADER-LIBRARY-SLOT67 -> #19

Added build-time translation and runtime loading for slot-67 pipeline-library compute shaders, including state-keyed lookup and regression tests.

Validated on Linux/RTX 3060 (8/8 Vulkan cases), with 70/70 C++ tests passing. Independently reviewed on macOS/M3 Pro. No game files included. AI-assisted.

<!-- gh-comment-id:7120136228 --> @moffington commented on GitHub (Nov 24, 2026): done: SHADER-LIBRARY-SLOT67 -> #19 Added build-time translation and runtime loading for slot-67 pipeline-library compute shaders, including state-keyed lookup and regression tests. Validated on Linux/RTX 3060 (8/8 Vulkan cases), with 70/70 C++ tests passing. Independently reviewed on macOS/M3 Pro. No game files included. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: DASH-D3D-ISSUE - my own finding above: tools/progress_dashboard.py:874 reads the D3D- table with gh issue view 313, the tracking issue of the original repository. I will look the issue up by title ("D3D12 → Vulkan layer ...", as the coordination issue is), add --d3d-issue N, and report a missing or unreadable issue in the sources list instead of leaving the panel silently empty. Builds on #68 (same file). Standard-library Python: no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7120192408 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: DASH-D3D-ISSUE - my own finding above: `tools/progress_dashboard.py:874` reads the `D3D-` table with `gh issue view 313`, the tracking issue of the original repository. I will look the issue up by title ("D3D12 → Vulkan layer ...", as the coordination issue is), add `--d3d-issue N`, and report a missing or unreadable issue in the sources list instead of leaving the panel silently empty. Builds on #68 (same file). Standard-library Python: no game files, no GPU. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: DASH-D3D-ISSUE -> #149

<!-- gh-comment-id:7120194565 --> @natterman12 commented on GitHub (Nov 24, 2026): done: DASH-D3D-ISSUE -> #149
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

claiming: PR-CONFLICT-LABEL - a needs rebase label for open pull requests that conflict with main (stdlib tools/pr_conflict_label.py plus a pull_request_target workflow that never checks out PR code), so the reviewer can skip the ones that can't merge as they stand. A read-only dry run on the repo finds 23 of the 109 open pull requests conflicting. The PR template also gains Fixes: and GPUs tested: prompts and "based on current main" / "one topic" checklist items, plus a short Pull requests section at the end of CONTRIBUTING.md, away from the lines #56 and #100 change. CI only: no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7120223361 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): claiming: PR-CONFLICT-LABEL - a `needs rebase` label for open pull requests that conflict with `main` (stdlib `tools/pr_conflict_label.py` plus a `pull_request_target` workflow that never checks out PR code), so the reviewer can skip the ones that can't merge as they stand. A read-only dry run on the repo finds 23 of the 109 open pull requests conflicting. The PR template also gains `Fixes:` and `GPUs tested:` prompts and "based on current main" / "one topic" checklist items, plus a short Pull requests section at the end of CONTRIBUTING.md, away from the lines #56 and #100 change. CI only: no game files, no GPU. AI-assisted.
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

claiming: COORD-CLAIM-CHECK

<!-- gh-comment-id:7120227654 --> @Andretuta commented on GitHub (Nov 24, 2026): claiming: COORD-CLAIM-CHECK
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

done: SHADER-1266 -> #98
done: PR-CONFLICT-LABEL -> #155

<!-- gh-comment-id:7120228094 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): done: SHADER-1266 -> #98 done: PR-CONFLICT-LABEL -> #155
Author
Owner

@NolanCotter commented on GitHub (Nov 24, 2026):

claiming: VIEWER-STALE-MODEL-DISPOSE - a GLTF load that finishes after a later click in the Studio inspector is dropped without freeing its resources: loadModel's onLoad guard returns at viewer/studio.html:736 while gltf.scene keeps its geometries, materials and textures (the map viewer disposes the same late result at viewer/index.html:350). I will dispose the stale scene and cover it in tests/test_viewer_studio.cjs. Synthetic fixtures only: no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7120289909 --> @NolanCotter commented on GitHub (Nov 24, 2026): claiming: VIEWER-STALE-MODEL-DISPOSE - a GLTF load that finishes after a later click in the Studio inspector is dropped without freeing its resources: `loadModel`'s onLoad guard returns at `viewer/studio.html:736` while `gltf.scene` keeps its geometries, materials and textures (the map viewer disposes the same late result at `viewer/index.html:350`). I will dispose the stale scene and cover it in `tests/test_viewer_studio.cjs`. Synthetic fixtures only: no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@NolanCotter commented on GitHub (Nov 24, 2026):

status: VIEWER-STALE-MODEL-DISPOSE - implemented and covered: loadModel now passes a superseded load's parsed scene to disposeModel (viewer/studio.html:737), with a new synthetic case in tests/test_viewer_studio.cjs asserting the stale scene's geometry, material and texture are disposed while the newer model keeps its resources. Verified with node --test tests/test_viewer_studio.cjs (10/10 pass, Node 24). No game files. Pull request pending: my fork is in the Vyzerythe network, not this repository's, so I need a fork here before I can push a branch.

<!-- gh-comment-id:7120304285 --> @NolanCotter commented on GitHub (Nov 24, 2026): status: VIEWER-STALE-MODEL-DISPOSE - implemented and covered: `loadModel` now passes a superseded load's parsed scene to `disposeModel` (`viewer/studio.html:737`), with a new synthetic case in `tests/test_viewer_studio.cjs` asserting the stale scene's geometry, material and texture are disposed while the newer model keeps its resources. Verified with `node --test tests/test_viewer_studio.cjs` (10/10 pass, Node 24). No game files. Pull request pending: my fork is in the Vyzerythe network, not this repository's, so I need a fork here before I can push a branch.
Author
Owner

@NolanCotter commented on GitHub (Nov 24, 2026):

claiming: VIEWER-DISPOSE-RESOURCES - the Studio inspector's disposeModel (viewer/studio.html:716) frees only one material and its direct textures per node: it throws material.dispose is not a function on a mesh with a material array (abandoning the rest of the traversal), misses InstancedMesh instance buffers, skinned-mesh skeletons and decoded ImageBitmap images, and disposes a texture shared by two meshes twice. The map viewer's disposeObject (viewer/index.html:278) already handles all five cases. I will bring disposeModel to parity and cover them in tests/test_viewer_studio.cjs. Synthetic fixtures only: no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7120340318 --> @NolanCotter commented on GitHub (Nov 24, 2026): claiming: VIEWER-DISPOSE-RESOURCES - the Studio inspector's `disposeModel` (`viewer/studio.html:716`) frees only one material and its direct textures per node: it throws `material.dispose is not a function` on a mesh with a material array (abandoning the rest of the traversal), misses `InstancedMesh` instance buffers, skinned-mesh skeletons and decoded `ImageBitmap` images, and disposes a texture shared by two meshes twice. The map viewer's `disposeObject` (`viewer/index.html:278`) already handles all five cases. I will bring `disposeModel` to parity and cover them in `tests/test_viewer_studio.cjs`. Synthetic fixtures only: no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@NolanCotter commented on GitHub (Nov 24, 2026):

claiming: SHADER-SATPK-U8 - v_sat_pk_u8_i16 (VOP1 0x62 / VOP3 0x1e2) is unhandled: tools/rdna2spirv.py reaches its final raise Unsupported(op), and docs/fssm_crosscheck.md lists it among the xbsc names the translator lacks. I will add a rule that saturates each signed i16 half of SRC0 to u8 and packs the result into the destination's low 16 bits, keeping the high half (the GFX10 16-bit partial write, as v_cvt_f16_f32; Mesa ACO instr_is_16bit), plus a hand-written semantic test that drives the translator with synthetic listings and runs the SPIR-V through spirv_mini_interp.py, and a docs/design.md contract row naming the confirmation (AMD machine-readable ISA spec semantics; Mesa/LLVM reference; no GPU, no game files). The two tests that use this mnemonic as the still-unsupported canary (tests/test_translate.py, tests/test_f16_op_sel.py) will be repointed at another unhandled opcode. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7120345721 --> @NolanCotter commented on GitHub (Nov 24, 2026): claiming: SHADER-SATPK-U8 - `v_sat_pk_u8_i16` (VOP1 0x62 / VOP3 0x1e2) is unhandled: `tools/rdna2spirv.py` reaches its final `raise Unsupported(op)`, and `docs/fssm_crosscheck.md` lists it among the xbsc names the translator lacks. I will add a rule that saturates each signed i16 half of SRC0 to u8 and packs the result into the destination's low 16 bits, keeping the high half (the GFX10 16-bit partial write, as `v_cvt_f16_f32`; Mesa ACO `instr_is_16bit`), plus a hand-written semantic test that drives the translator with synthetic listings and runs the SPIR-V through `spirv_mini_interp.py`, and a `docs/design.md` contract row naming the confirmation (AMD machine-readable ISA spec semantics; Mesa/LLVM reference; no GPU, no game files). The two tests that use this mnemonic as the still-unsupported canary (`tests/test_translate.py`, `tests/test_f16_op_sel.py`) will be repointed at another unhandled opcode. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@NolanCotter commented on GitHub (Nov 24, 2026):

status: VIEWER-DISPOSE-RESOURCES - implemented and covered: disposeModel now dedupes geometry/material/texture per model, handles material arrays (which previously threw and abandoned the traversal), frees InstancedMesh buffers and skinned-mesh skeletons (guarded for three r128), and closes decoded ImageBitmaps. New synthetic case in tests/test_viewer_studio.cjs counts dispose calls on shared resources; it fails on the old code with the exact material.dispose is not a function crash. node --test tests/test_viewer_studio.cjs: 11/11 pass, Node 24. No game files. Same PR blocker as VIEWER-STALE-MODEL-DISPOSE: no push access and no fork in this repository's network.

<!-- gh-comment-id:7120353752 --> @NolanCotter commented on GitHub (Nov 24, 2026): status: VIEWER-DISPOSE-RESOURCES - implemented and covered: `disposeModel` now dedupes geometry/material/texture per model, handles material arrays (which previously threw and abandoned the traversal), frees `InstancedMesh` buffers and skinned-mesh skeletons (guarded for three r128), and closes decoded `ImageBitmap`s. New synthetic case in `tests/test_viewer_studio.cjs` counts dispose calls on shared resources; it fails on the old code with the exact `material.dispose is not a function` crash. `node --test tests/test_viewer_studio.cjs`: 11/11 pass, Node 24. No game files. Same PR blocker as VIEWER-STALE-MODEL-DISPOSE: no push access and no fork in this repository's network.
Author
Owner

@ItsMrDubey commented on GitHub (Nov 24, 2026):

done: RT-XCRDAPI-CLASS -> #124 (the classification half of #47; stop 5 itself still needs someone with the game)
done: OLD-8618 -> #133
done: OLD-4480 -> #160
done: OLD-4126 -> #177
done: OLD-5262, OLD-5273 -> #180 (same function in runtime/test/shaders/check.py, so one pull request)
done: OLD-5267 -> #181
done: OLD-3752 -> #194

TEST-SPIRV-TOOLS-SKIP: #136 (draft, carrying old 9866) covers the same four files. I am not opening a second pull request for it.

<!-- gh-comment-id:7120376678 --> @ItsMrDubey commented on GitHub (Nov 24, 2026): done: RT-XCRDAPI-CLASS -> #124 (the classification half of #47; stop 5 itself still needs someone with the game) done: OLD-8618 -> #133 done: OLD-4480 -> #160 done: OLD-4126 -> #177 done: OLD-5262, OLD-5273 -> #180 (same function in runtime/test/shaders/check.py, so one pull request) done: OLD-5267 -> #181 done: OLD-3752 -> #194 TEST-SPIRV-TOOLS-SKIP: #136 (draft, carrying old 9866) covers the same four files. I am not opening a second pull request for it.
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

claiming: GPU-INTEL-MTL - a GPU-test record for Intel Meteor Lake graphics (Xe-LPG, ANV, Mesa 26.2.7, Fedora Linux, 32-wide subgroups), the first Intel entry after Gen9: build the Vulkan programs from main, run build.py, check.py and run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, and add gpu-test-results/IntelMTL.txt plus its row in docs/gpu_test_results.md. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7120473456 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): claiming: GPU-INTEL-MTL - a GPU-test record for Intel Meteor Lake graphics (Xe-LPG, ANV, Mesa 26.2.7, Fedora Linux, 32-wide subgroups), the first Intel entry after Gen9: build the Vulkan programs from `main`, run `build.py`, `check.py` and `run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1`, and add `gpu-test-results/IntelMTL.txt` plus its row in `docs/gpu_test_results.md`. No game files, nothing online. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-4070TI, GPU-610M - GPU-test records in the gpu-test-results/ format for an NVIDIA RTX 4070 Ti (Ada, proprietary 620.70.06, subgroup 32) and the Ryzen 9 7900X's integrated Radeon 610M (gfx1036, RDNA2, RADV Mesa 26.2.6, subgroup 32..64), both on CachyOS. Built main 84347bbb6, ran scripts/run_gpu_tests.py native and under LEONIDA_W64_EMULATE=1 on each GPU. Own hardware, no game files, nothing online. AI-assisted (Claude Code).

<!-- gh-comment-id:7120521942 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-4070TI, GPU-610M - GPU-test records in the `gpu-test-results/` format for an NVIDIA RTX 4070 Ti (Ada, proprietary 620.70.06, subgroup 32) and the Ryzen 9 7900X's integrated Radeon 610M (gfx1036, RDNA2, RADV Mesa 26.2.6, subgroup 32..64), both on CachyOS. Built main 84347bbb6, ran `scripts/run_gpu_tests.py` native and under `LEONIDA_W64_EMULATE=1` on each GPU. Own hardware, no game files, nothing online. AI-assisted (Claude Code).
Author
Owner

@ddddddddwp commented on GitHub (Nov 24, 2026):

claiming: VIEWER-WHEEL-SPEED (old #6256) - the free camera's wheel handler takes every wheel event, so a trackpad's sideways scroll (deltaX only) divides the speed by 1.15. I will ignore a wheel event whose horizontal component dominates and cover it in tests/test_viewer_streaming.cjs. No game files, no GPU, nothing online.

<!-- gh-comment-id:7120528730 --> @ddddddddwp commented on GitHub (Nov 24, 2026): claiming: VIEWER-WHEEL-SPEED (old #6256) - the free camera's wheel handler takes every wheel event, so a trackpad's sideways scroll (deltaX only) divides the speed by 1.15. I will ignore a wheel event whose horizontal component dominates and cover it in tests/test_viewer_streaming.cjs. No game files, no GPU, nothing online.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-4070TI, GPU-610M -> #234

<!-- gh-comment-id:7120529986 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-4070TI, GPU-610M -> #234
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: RT-COMPAT-ERRBOX - runtime/src/pe_loader.cpp:1724, Loader::resolve_compat calls LoadLibraryExW on a LEONIDA_COMPAT_DIR file without suppressing hard errors, so a file Windows cannot map raises a modal "Bad Image" box (status 0xc000012f) and the call blocks until someone clicks OK. loader_test writes such a file on purpose (compat_bad/testcompat.dll), so an unattended ctest run on Windows stops there: seen on Windows 11 26300, where loader took 28.7 s waiting for the click. I will set SEM_FAILCRITICALERRORS on the thread for that load, restore the mode, and assert both in loader_test. No game files; Windows only. AI-assisted.

<!-- gh-comment-id:7120534904 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: RT-COMPAT-ERRBOX - `runtime/src/pe_loader.cpp:1724`, `Loader::resolve_compat` calls `LoadLibraryExW` on a `LEONIDA_COMPAT_DIR` file without suppressing hard errors, so a file Windows cannot map raises a modal "Bad Image" box (status 0xc000012f) and the call blocks until someone clicks OK. `loader_test` writes such a file on purpose (`compat_bad/testcompat.dll`), so an unattended `ctest` run on Windows stops there: seen on Windows 11 26300, where `loader` took 28.7 s waiting for the click. I will set `SEM_FAILCRITICALERRORS` on the thread for that load, restore the mode, and assert both in `loader_test`. No game files; Windows only. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: RT-COMPAT-ERRBOX -> #239

<!-- gh-comment-id:7120538681 --> @natterman12 commented on GitHub (Nov 24, 2026): done: RT-COMPAT-ERRBOX -> #239
Author
Owner

@ddddddddwp commented on GitHub (Nov 24, 2026):

done: VIEWER-WHEEL-SPEED -> #237

<!-- gh-comment-id:7120539008 --> @ddddddddwp commented on GitHub (Nov 24, 2026): done: VIEWER-WHEEL-SPEED -> #237
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

done: GPU-INTEL-MTL -> #246

<!-- gh-comment-id:7120562859 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): done: GPU-INTEL-MTL -> #246
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-CUBE-STORE - the GPU fixture the "Typed image stores" row asks for since DOC-CUBE-STORE (#44): it says a cube storage image is CPU-checked by tests/semantic/test_image_cube_store_glc.py but not GPU-verified. I will add runtime/test/shaders/cs_imgstore_cube.asm (rgba8 unorm, r32 uint and r32 sint T#s, image_store ... dim:SQ_RSRC_IMG_CUBE to every texel of all six faces), a cube mode in runtime/test/vk_store_test.cpp that binds each image as a six-layer 2D-array view at bindings 11/12/13 as the runtime does and checks every texel of every layer, wire it into run_gpu_tests.py and check.py, and update the row with the GPUs it passes on (RTX 4070 Ti, Radeon 610M gfx1036 on RADV). No game files, nothing online. AI-assisted (Claude Code).

<!-- gh-comment-id:7120639163 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-CUBE-STORE - the GPU fixture the "Typed image stores" row asks for since DOC-CUBE-STORE (#44): it says a cube storage image is CPU-checked by `tests/semantic/test_image_cube_store_glc.py` but not GPU-verified. I will add `runtime/test/shaders/cs_imgstore_cube.asm` (rgba8 unorm, r32 uint and r32 sint T#s, `image_store ... dim:SQ_RSRC_IMG_CUBE` to every texel of all six faces), a `cube` mode in `runtime/test/vk_store_test.cpp` that binds each image as a six-layer 2D-array view at bindings 11/12/13 as the runtime does and checks every texel of every layer, wire it into `run_gpu_tests.py` and `check.py`, and update the row with the GPUs it passes on (RTX 4070 Ti, Radeon 610M gfx1036 on RADV). No game files, nothing online. AI-assisted (Claude Code).
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: GPU-3080TI - a GPU-test record for an NVIDIA GeForce RTX 3080 Ti (Ampere, driver 621.24, Vulkan 1.4.357, Windows 11 26300, subgroup 32..32) in the gpu-test-results/ format, plus its row in docs/gpu_test_results.md: run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, and the runtime ctest run. My own hardware; no game files on the machine; nothing online. AI-assisted.

<!-- gh-comment-id:7120652850 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: GPU-3080TI - a GPU-test record for an NVIDIA GeForce RTX 3080 Ti (Ampere, driver 621.24, Vulkan 1.4.357, Windows 11 26300, subgroup 32..32) in the `gpu-test-results/` format, plus its row in `docs/gpu_test_results.md`: `run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1`, and the runtime `ctest` run. My own hardware; no game files on the machine; nothing online. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: GPU-3080TI -> #280

finding: d3d12_execute_indirect_validation fails 5 of 49 parity cases on an RTX 3080 Ti (NVIDIA 621.24, Windows 11 26300.9974) at da60a361 | in all five the layer refuses the call as the test expects while WARP and the hardware driver both accept it (layer=0 warp=1 hw=1 expected=0): arg_offset=260 >width (max=0 no-op), arg_offset=U64MAX-3 aligned (max=0 no-op), draw stride=20 off=240 max=1, draw stride=20 off=220 max=2, dispatch stride=20 off=244 max=1 | why: either the expectation or the layer is stricter than the D3D12 runtime of this Windows build; needs a ruling on which side follows | needs: no game files; a Windows machine. Details in #280. AI-assisted.

<!-- gh-comment-id:7120655740 --> @natterman12 commented on GitHub (Nov 24, 2026): done: GPU-3080TI -> #280 finding: `d3d12_execute_indirect_validation` fails 5 of 49 parity cases on an RTX 3080 Ti (NVIDIA 621.24, Windows 11 26300.9974) at `da60a361` | in all five the layer refuses the call as the test expects while WARP and the hardware driver both accept it (`layer=0 warp=1 hw=1 expected=0`): `arg_offset=260 >width (max=0 no-op)`, `arg_offset=U64MAX-3 aligned (max=0 no-op)`, `draw stride=20 off=240 max=1`, `draw stride=20 off=220 max=2`, `dispatch stride=20 off=244 max=1` | why: either the expectation or the layer is stricter than the D3D12 runtime of this Windows build; needs a ruling on which side follows | needs: no game files; a Windows machine. Details in #280. AI-assisted.
Author
Owner

@NolanCotter commented on GitHub (Nov 24, 2026):

finding: PR #265 (wave64_halves partial destination read-modify-write) adds v_sat_pk to _FULL32_V16_PREFIXES, treating v_sat_pk_u8_i16 as a full-32-bit write in its liveness fix. The op actually writes only the low 16 bits and preserves the high half on GFX9+ (LLVM models it as VOP1Inst_t16, Mesa ACO instr_is_16bit — same partial-write class as v_cvt_f16_f32). Harmless while the op is unsupported; once SHADER-SATPK-U8 lands, whichever merges second should move v_sat_pk out of that tuple or the wave64-halves path will drop the preserved high half. No game files needed; the reference is the LLVM/ACO tables.

<!-- gh-comment-id:7120667912 --> @NolanCotter commented on GitHub (Nov 24, 2026): finding: PR #265 (`wave64_halves` partial destination read-modify-write) adds `v_sat_pk` to `_FULL32_V16_PREFIXES`, treating `v_sat_pk_u8_i16` as a full-32-bit write in its liveness fix. The op actually writes only the low 16 bits and preserves the high half on GFX9+ (LLVM models it as `VOP1Inst_t16`, Mesa ACO `instr_is_16bit` — same partial-write class as `v_cvt_f16_f32`). Harmless while the op is unsupported; once SHADER-SATPK-U8 lands, whichever merges second should move `v_sat_pk` out of that tuple or the wave64-halves path will drop the preserved high half. No game files needed; the reference is the LLVM/ACO tables.
Author
Owner

@ettehn commented on GitHub (Nov 24, 2026):

claiming: BUILD-SPIRV-DEBUGINFO — carry over the patch from old PR #4744 for named NonSemantic.Shader.DebugInfo.100 instructions, including OpExtInstWithForwardRefsKHR. PR #78 covers the separate NonSemantic.DebugPrintf instruction set. I will rerun the Windows assembler tests with a synthetic fixture and Khronos SPIRV-Tools.

<!-- gh-comment-id:7120674636 --> @ettehn commented on GitHub (Nov 24, 2026): claiming: BUILD-SPIRV-DEBUGINFO — carry over the patch from old PR #4744 for named NonSemantic.Shader.DebugInfo.100 instructions, including OpExtInstWithForwardRefsKHR. PR #78 covers the separate NonSemantic.DebugPrintf instruction set. I will rerun the Windows assembler tests with a synthetic fixture and Khronos SPIRV-Tools.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

finding: run_gpu_tests.py drops the cs_tbuffer_store verdict on main 84347bbb6. I found no existing claim or PR for that runner result. My two-file source patch applies cleanly. On RTX 5060 Ti (617.42), the filtered run goes from exit 2 with no verdict to exit 0 with 192/192 words exact. All 62 runner unit tests pass.

The patch is already available in Reforge #10. Would a maintainer accept it with git am on a branch inside this repository for an independent PR? Reforge's public redistribution review flags uncertainty about inherited artwork, so this would avoid creating a fork containing that history.

AI-assisted.

中文翻译

main 84347bbb6 的 GPU runner 遗漏了 cs_tbuffer_store 判定,未找到已有认领或 PR。我的两文件源码补丁可直接应用。RTX 5060 Ti(617.42)单项运行从退出码 2、无判定变为退出码 0、192 个字全部正确。62 项 runner 单元测试通过。

补丁已在 Reforge #10。请确认是否可由维护者在本仓库分支用 git am 应用,再形成独立 PR。这样可以避免为提交补丁而复制含有授权待核实素材的历史。

AI-assisted(AI 辅助)。

<!-- gh-comment-id:7120704179 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): finding: `run_gpu_tests.py` drops the `cs_tbuffer_store` verdict on main `84347bbb6`. I found no existing claim or PR for that runner result. My two-file source patch applies cleanly. On RTX 5060 Ti (617.42), the filtered run goes from exit 2 with no verdict to exit 0 with 192/192 words exact. All 62 runner unit tests pass. The patch is already available in [Reforge #10](https://github.com/LeonidaReforge/Leonida/issues/10). Would a maintainer accept it with `git am` on a branch inside this repository for an independent PR? Reforge's public redistribution review flags uncertainty about inherited artwork, so this would avoid creating a fork containing that history. AI-assisted. <details> <summary>中文翻译</summary> main `84347bbb6` 的 GPU runner 遗漏了 `cs_tbuffer_store` 判定,未找到已有认领或 PR。我的两文件源码补丁可直接应用。RTX 5060 Ti(617.42)单项运行从退出码 2、无判定变为退出码 0、192 个字全部正确。62 项 runner 单元测试通过。 补丁已在 Reforge #10。请确认是否可由维护者在本仓库分支用 `git am` 应用,再形成独立 PR。这样可以避免为提交补丁而复制含有授权待核实素材的历史。 AI-assisted(AI 辅助)。 </details>
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

claiming: VERIFY-CACHE-COLLISION — Fix tools/manifest_verifier.py overwriting its input manifest when --cache aliases --manifest. Reproduced on main 84347bb on Windows: verification passes but the manifest is replaced by cache JSON. I will add an early collision check using report_paths.same_report_path and synthetic regression tests. No game files or GPU required. AI-assisted with Codex.

<!-- gh-comment-id:7120714712 --> @JiyouProt commented on GitHub (Nov 24, 2026): claiming: VERIFY-CACHE-COLLISION — Fix tools/manifest_verifier.py overwriting its input manifest when --cache aliases --manifest. Reproduced on main 84347bb on Windows: verification passes but the manifest is replaced by cache JSON. I will add an early collision check using report_paths.same_report_path and synthetic regression tests. No game files or GPU required. AI-assisted with Codex.
Author
Owner

@ettehn commented on GitHub (Nov 24, 2026):

done: BUILD-SPIRV-DEBUGINFO -> #310

<!-- gh-comment-id:7120780442 --> @ettehn commented on GitHub (Nov 24, 2026): done: BUILD-SPIRV-DEBUGINFO -> #310
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-BOOT-INTEGRATION - a branch on current main that carries the retail boot to the frame loop, opened as a draft for testing and for carving into small pull requests, not for merging as it is.

finding: main holds most of the retail boot commits as ancestors without their content (the ours side of the mirror merges: DirectStorage, the GameInput ordinal alias, the Xbox-ABI device and list layer, the xmem view-protection fixes 7e8e3c1db/954fcb106, loader TLS index 0). So git merge of a boot branch is a no-op for those files, and merging main into one deletes them silently. | where: runtime/shims/d3d12_xs_device.cpp, xmem.cpp, gameinput.cpp, dstorage.cpp, runtime/src/pe_loader.cpp | why: anyone rebasing an old-pr/* boot branch hits it; a merge against main's tree (a commit with that tree and an old parent) gives honest conflicts | needs: nothing to see it, game files to measure a boot. AI-assisted.

<!-- gh-comment-id:7120820088 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-BOOT-INTEGRATION - a branch on current `main` that carries the retail boot to the frame loop, opened as a **draft** for testing and for carving into small pull requests, not for merging as it is. finding: `main` holds most of the retail boot commits as ancestors **without their content** (the `ours` side of the mirror merges: DirectStorage, the GameInput ordinal alias, the Xbox-ABI device and list layer, the xmem view-protection fixes `7e8e3c1db`/`954fcb106`, loader TLS index 0). So `git merge` of a boot branch is a no-op for those files, and merging `main` into one deletes them silently. | where: `runtime/shims/d3d12_xs_device.cpp`, `xmem.cpp`, `gameinput.cpp`, `dstorage.cpp`, `runtime/src/pe_loader.cpp` | why: anyone rebasing an `old-pr/*` boot branch hits it; a merge against `main`'s tree (a commit with that tree and an old parent) gives honest conflicts | needs: nothing to see it, game files to measure a boot. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-XMEM-VIEW-PROTECT - runtime/shims/xmem.cpp view_protect: 7e8e3c1db and 954fcb106 (hcristosm) are in main's history but not in its tree, so a physical page still maps with the window's cache modifier and the first map into a write-combined window fails. AI-assisted.

<!-- gh-comment-id:7120848905 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-XMEM-VIEW-PROTECT - `runtime/shims/xmem.cpp` `view_protect`: `7e8e3c1db` and `954fcb106` (hcristosm) are in `main`'s history but not in its tree, so a physical page still maps with the window's cache modifier and the first map into a write-combined window fails. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-BOOT-INTEGRATION -> #321 (draft)
done: RT-XMEM-VIEW-PROTECT -> #328

<!-- gh-comment-id:7120852941 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-BOOT-INTEGRATION -> #321 (draft) done: RT-XMEM-VIEW-PROTECT -> #328
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-CUBE-STORE -> #335

<!-- gh-comment-id:7120908632 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-CUBE-STORE -> #335
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

released: SHADER-1266 (#98 closed). The review on #98 measured on native GFX1036 that a resident image_load ... tfe keeps the seeded status VGPR, and LLVM's TFE/LWE result initialization agrees, so main's translator was already exact. The two cs_imgload*_tfe fixtures expect the wrong value; tahffo68hk-hash has a fixture-only fix (linked from #98), and #31 is not a translator bug. #291 (old-pr/10022) is the same change as #98.
claiming: GPU-INTEL-MTL-TFE - correct the tfe note in my merged gpu-test-results/IntelMTL.txt / docs/gpu_test_results.md (#246), which files those two failures as a translator bug. Docs only. AI-assisted.

<!-- gh-comment-id:7120921094 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): released: SHADER-1266 (#98 closed). The review on #98 measured on native GFX1036 that a resident `image_load ... tfe` keeps the seeded status VGPR, and LLVM's TFE/LWE result initialization agrees, so `main`'s translator was already exact. The two `cs_imgload*_tfe` fixtures expect the wrong value; tahffo68hk-hash has a fixture-only fix (linked from #98), and #31 is not a translator bug. #291 (`old-pr/10022`) is the same change as #98. claiming: GPU-INTEL-MTL-TFE - correct the tfe note in my merged `gpu-test-results/IntelMTL.txt` / `docs/gpu_test_results.md` (#246), which files those two failures as a translator bug. Docs only. AI-assisted.
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

done: GPU-INTEL-MTL-TFE -> #336

<!-- gh-comment-id:7120928965 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): done: GPU-INTEL-MTL-TFE -> #336
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

done: VERIFY-CACHE-COLLISION -> #334

Draft PR with the input-preservation fix and five synthetic regression tests. Targeted verifier/path suites pass on Windows (Python 3.14.3 and 3.11.9). Full translator run: 463 files, 6,075 tests; two unchanged files fail because spirv-as / spirv-val are unavailable. Details and skips are recorded in the PR. No game files or GPU used. AI-assisted with Codex.

<!-- gh-comment-id:7120943579 --> @JiyouProt commented on GitHub (Nov 24, 2026): done: VERIFY-CACHE-COLLISION -> #334 Draft PR with the input-preservation fix and five synthetic regression tests. Targeted verifier/path suites pass on Windows (Python 3.14.3 and 3.11.9). Full translator run: 463 files, 6,075 tests; two unchanged files fail because spirv-as / spirv-val are unavailable. Details and skips are recorded in the PR. No game files or GPU used. AI-assisted with Codex.
Author
Owner

@Tioloff commented on GitHub (Nov 24, 2026):

finding: 71 model candidates in levels.rpf are still not recovered at the current pin e293917 | where: docs/models.md:63, :107-111; the candidates are fragment headers whose ProbeRequiredExtents reports MetadataComplete == false on the first zlib block, with RequiredSystemBytes extending into subsequent 16-byte-aligned continuation blocks | why: 235,259 / 235,330 candidates recover; the remaining 71 are the only model-recovery gap in the ten configured archives (382,781 models recovered, 0 decode failures) | needs: the player's own levels.rpf to inspect; no GPU. AI-assisted.

claiming: MODEL-71 - I will investigate how ProbeRequiredExtents / RageModelDecoder handles multi-block zlib system segments and recover these 71 fragment candidates in levels.rpf, with measurements and a fix in third_party/rpf9-explorer (or a documented rule if they are false positives). ID to be put in the PR title.

<!-- gh-comment-id:7120956682 --> @Tioloff commented on GitHub (Nov 24, 2026): finding: 71 model candidates in levels.rpf are still not recovered at the current pin e293917 | where: docs/models.md:63, :107-111; the candidates are fragment headers whose ProbeRequiredExtents reports MetadataComplete == false on the first zlib block, with RequiredSystemBytes extending into subsequent 16-byte-aligned continuation blocks | why: 235,259 / 235,330 candidates recover; the remaining 71 are the only model-recovery gap in the ten configured archives (382,781 models recovered, 0 decode failures) | needs: the player's own levels.rpf to inspect; no GPU. AI-assisted. claiming: MODEL-71 - I will investigate how ProbeRequiredExtents / RageModelDecoder handles multi-block zlib system segments and recover these 71 fragment candidates in levels.rpf, with measurements and a fix in third_party/rpf9-explorer (or a documented rule if they are false positives). ID to be put in the PR title.
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

claiming: OLD-6043 — Investigate whether dropping the top mip of a sampled texture reduces Vulkan image allocation while preserving upload and sampling behavior. I’ll use synthetic textures on Linux with an RTX 3060 and report the before/after allocation sizes.

<!-- gh-comment-id:7120987277 --> @moffington commented on GitHub (Nov 24, 2026): claiming: OLD-6043 — Investigate whether dropping the top mip of a sampled texture reduces Vulkan image allocation while preserving upload and sampling behavior. I’ll use synthetic textures on Linux with an RTX 3060 and report the before/after allocation sizes.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: D3D-EXECIND-RANGE - my own finding above: d3d12_execute_indirect_validation fails 5 cases on hosts whose D3D12 runtime bounds (max_count - 1) * stride + record_size and skips the offset check at max_count 0 (measured: D3D12Core 10.0.26100.9818 on Windows 11 26300, WARP and RTX 3080 Ti). I will move the layer back to that wider rule in runtime/shims/d3d12_com.cpp and runtime/src/vulkan_replay.h (e1ec785b2 took it to the narrower one) and mark the five cases as runtime-dependent in the test. Note: draft #306 (carried over from old-pr/10041) touches the same test with the opposite decision, keeping the layer strict and tolerating relaxed hosts; I will link it so a maintainer can pick. No game files; needs Windows and a GPU. AI-assisted.

<!-- gh-comment-id:7121005770 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: D3D-EXECIND-RANGE - my own finding above: `d3d12_execute_indirect_validation` fails 5 cases on hosts whose D3D12 runtime bounds `(max_count - 1) * stride + record_size` and skips the offset check at `max_count` 0 (measured: D3D12Core 10.0.26100.9818 on Windows 11 26300, WARP and RTX 3080 Ti). I will move the layer back to that wider rule in `runtime/shims/d3d12_com.cpp` and `runtime/src/vulkan_replay.h` (e1ec785b2 took it to the narrower one) and mark the five cases as runtime-dependent in the test. Note: draft #306 (carried over from `old-pr/10041`) touches the same test with the opposite decision, keeping the layer strict and tolerating relaxed hosts; I will link it so a maintainer can pick. No game files; needs Windows and a GPU. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: D3D-EXECIND-RANGE -> #337 (alternative to draft #306: #337 widens the layer to the newer runtime rule, #306 keeps the layer strict and relaxes the test)

<!-- gh-comment-id:7121011748 --> @natterman12 commented on GitHub (Nov 24, 2026): done: D3D-EXECIND-RANGE -> #337 (alternative to draft #306: #337 widens the layer to the newer runtime rule, #306 keeps the layer strict and relaxes the test)
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-IMG-ATOMIC-EXT - the image_atomic_{swap,inc,dec,fmin,fmax,fcmpswap} row in docs/design.md is CPU-checked only (tests/semantic/test_image_atomics_32.py) and says Not GPU-verified on RDNA2. I will add a GPU fixture runtime/test/shaders/cs_imgatomic_ext.asm that runs all six on the 2D r32 uint image (binding 4) and the 3D volume (binding 7) through vk_store_test ... words, with the expected words in check.py's STORE_WORDS: both sides of each inc/dec wrap, signed zeros and a NaN for fmin/fmax/fcmpswap, glc and no-glc returns, and inactive lanes. Then I'll run it on a Radeon 610M (gfx1036, RDNA2, RADV) and an RTX 4070 Ti, and update the row. No game files, nothing online. AI-assisted (Claude Code).

<!-- gh-comment-id:7121047536 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-IMG-ATOMIC-EXT - the `image_atomic_{swap,inc,dec,fmin,fmax,fcmpswap}` row in `docs/design.md` is CPU-checked only (`tests/semantic/test_image_atomics_32.py`) and says **Not GPU-verified on RDNA2**. I will add a GPU fixture `runtime/test/shaders/cs_imgatomic_ext.asm` that runs all six on the 2D r32 uint image (binding 4) and the 3D volume (binding 7) through `vk_store_test ... words`, with the expected words in `check.py`'s `STORE_WORDS`: both sides of each inc/dec wrap, signed zeros and a NaN for fmin/fmax/fcmpswap, glc and no-glc returns, and inactive lanes. Then I'll run it on a Radeon 610M (gfx1036, RDNA2, RADV) and an RTX 4070 Ti, and update the row. No game files, nothing online. AI-assisted (Claude Code).
Author
Owner

@Tioloff commented on GitHub (Nov 24, 2026):

status: MODEL-71 - escopo mudou após investigação. Os 71 candidatos em levels.rpf já estão resolvidos no upstream rpf9-explorer: PR #26 (secondary-LOD palettes, recupera 65) e PR #30 (sole child drawable, recupera os 6 restantes) resultam em 0 unrecovered em levels.rpf e 1 em todos os dez arquivos (o dictionary de textura em textures.rpf). O pin do submodule neste repo ainda está em e293917, que nao inclui esses fixes. Vou atualizar o pin para o main atual do upstream (af54933) e rodar os testes de regression. AI-assisted.

<!-- gh-comment-id:7121048490 --> @Tioloff commented on GitHub (Nov 24, 2026): status: MODEL-71 - escopo mudou após investigação. Os 71 candidatos em levels.rpf já estão resolvidos no upstream rpf9-explorer: PR #26 (secondary-LOD palettes, recupera 65) e PR #30 (sole child drawable, recupera os 6 restantes) resultam em 0 unrecovered em levels.rpf e 1 em todos os dez arquivos (o dictionary de textura em textures.rpf). O pin do submodule neste repo ainda está em e293917, que nao inclui esses fixes. Vou atualizar o pin para o main atual do upstream (af54933) e rodar os testes de regression. AI-assisted.
Author
Owner

@huanchong-99 commented on GitHub (Nov 24, 2026):

claiming: proposal for a change gate: block new cross-area imports and includes, complexity growth in production functions and text doubled by a merge (new item; one docs page, no code)

The proposal is one page, docs/change_gate.md, going up as a draft pull request right after this comment; I had opened it in the original repository shortly before it went private. It measures the tree at dde82f2 (in this repository's history) and backtests the rules on the 300 merges that end with it: they would have stopped 48 of the 300, 68 of the 91 blocking findings were changes that should have been fixed before merge, and the check takes about 80 ms per pull request. Every finding says why it matters and how to fix it.

It applies here too: of the 40 most recently merged pull requests in this repository, 19 had no CI run at merge and 18 had a failing CI job. So the page proposes running the check by the author and in the merge round, not only in CI.

Nothing is implemented. Section 5 of the page lists five questions for the maintainer; an implementation would be a separate claim.

<!-- gh-comment-id:7121094134 --> @huanchong-99 commented on GitHub (Nov 24, 2026): claiming: proposal for a change gate: block new cross-area imports and includes, complexity growth in production functions and text doubled by a merge (new item; one docs page, no code) The proposal is one page, `docs/change_gate.md`, going up as a draft pull request right after this comment; I had opened it in the original repository shortly before it went private. It measures the tree at `dde82f2` (in this repository's history) and backtests the rules on the 300 merges that end with it: they would have stopped 48 of the 300, 68 of the 91 blocking findings were changes that should have been fixed before merge, and the check takes about 80 ms per pull request. Every finding says why it matters and how to fix it. It applies here too: of the 40 most recently merged pull requests in this repository, 19 had no CI run at merge and 18 had a failing CI job. So the page proposes running the check by the author and in the merge round, not only in CI. Nothing is implemented. Section 5 of the page lists five questions for the maintainer; an implementation would be a separate claim.
Author
Owner

@huanchong-99 commented on GitHub (Nov 24, 2026):

done: change gate proposal (new item, claimed above) -> #339

<!-- gh-comment-id:7121096379 --> @huanchong-99 commented on GitHub (Nov 24, 2026): done: change gate proposal (new item, claimed above) -> #339
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

claiming: VERIFY-CACHE-ATOMIC — tools/manifest_verifier.py save_cache uses a fixed .tmp path, truncating and removing an unrelated file at that name (including an input manifest), and concurrent cache writers share the same staging file. Reproduced on current main d478a92 with synthetic bytes. I will use an exclusive, unique sibling temporary file and cover preservation, failed writes/replaces and overlapping saves. Independent of #334, which guards the final cache destination. No game files or GPU required. AI-assisted with Codex.

<!-- gh-comment-id:7121115599 --> @JiyouProt commented on GitHub (Nov 24, 2026): claiming: VERIFY-CACHE-ATOMIC — tools/manifest_verifier.py save_cache uses a fixed <cache>.tmp path, truncating and removing an unrelated file at that name (including an input manifest), and concurrent cache writers share the same staging file. Reproduced on current main d478a92 with synthetic bytes. I will use an exclusive, unique sibling temporary file and cover preservation, failed writes/replaces and overlapping saves. Independent of #334, which guards the final cache destination. No game files or GPU required. AI-assisted with Codex.
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

claiming: VERIFY-CACHE-INPUTS — Passing a listed data file as --cache in tools/manifest_verifier.py excludes it from the scan, reports it MISSING, then overwrites it with cache JSON when another file passes. Reproduced on main d478a92 with two synthetic files. I will reject cache aliases of manifest-listed inputs before hashing, using report_paths.same_report_path, and add input-preservation regression tests (direct path, normalized spelling and links). Separate from #334 (manifest destination) and VERIFY-CACHE-ATOMIC (staging file). No game files or GPU needed. AI-assisted with Codex.

<!-- gh-comment-id:7121173113 --> @JiyouProt commented on GitHub (Nov 24, 2026): claiming: VERIFY-CACHE-INPUTS — Passing a listed data file as --cache in tools/manifest_verifier.py excludes it from the scan, reports it MISSING, then overwrites it with cache JSON when another file passes. Reproduced on main d478a92 with two synthetic files. I will reject cache aliases of manifest-listed inputs before hashing, using report_paths.same_report_path, and add input-preservation regression tests (direct path, normalized spelling and links). Separate from #334 (manifest destination) and VERIFY-CACHE-ATOMIC (staging file). No game files or GPU needed. AI-assisted with Codex.
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

claiming: RT-WS2-OFFLINE - add an offline Winsock2 (ws2_32.dll) shim (
untime/shims/ws2_offline.cpp) mirroring winhttp_offline.cpp, keeping loopback working while refusing non-loopback connect/WSAConnect/ConnectEx/sendto/WSASendTo/WSASendMsg, narrowing wildcard ind to loopback, and blocking external DNS queries (getaddrinfo/GetAddrInfoW/GetAddrInfoEx*/gethostbyname/gethostbyaddr/getnameinfo), covering both named exports and standard Windows ordinals, plus ws2_offline_test.

claiming: RT-XS-DEVICE-STOPS-7-9 - standalone PR for docs/retail_boot_chain.md stops 7–9 in
untime/shims/d3d12_xs_device.cpp: swapped (return_buffer, this, ...) Xbox struct-returning ABI on device slots 25/26/58, console queue desc sanitization on slot 48 (CreateCommandQueueX), and console command-list IID fallback to ID3D12GraphicsCommandList on slot 73 (CreateCommandListX), with mock tests in
untime/test/xs_proxy_mock_test.cpp.

claiming: RT-XS-DEVICE-VM-OPTIONS - fill user-space [lowest, highest] graphics VA bounds in D3D12ConfigureVirtualMemoryX (
untime/shims/d3d12_xs.cpp), accept the 64-byte (16-dword) console D3D12_FEATURE_D3D12_OPTIONS layout in CheckFeatureSupport (
untime/shims/d3d12_vulkan_device.cpp), and route beyond-PC Xbox device slots 81 (GetFrameStatisticsX), 86 (CreatePipelineState stream) and 108 (GetResourceAllocationInfo2) in
untime/shims/d3d12_xs_device.cpp, with unit tests.

<!-- gh-comment-id:7121196296 --> @Andretuta commented on GitHub (Nov 24, 2026): claiming: RT-WS2-OFFLINE - add an offline Winsock2 (ws2_32.dll) shim ( untime/shims/ws2_offline.cpp) mirroring winhttp_offline.cpp, keeping loopback working while refusing non-loopback connect/WSAConnect/ConnectEx/sendto/WSASendTo/WSASendMsg, narrowing wildcard ind to loopback, and blocking external DNS queries (getaddrinfo/GetAddrInfoW/GetAddrInfoEx*/gethostbyname/gethostbyaddr/getnameinfo), covering both named exports and standard Windows ordinals, plus ws2_offline_test. claiming: RT-XS-DEVICE-STOPS-7-9 - standalone PR for docs/retail_boot_chain.md stops 7–9 in untime/shims/d3d12_xs_device.cpp: swapped (return_buffer, this, ...) Xbox struct-returning ABI on device slots 25/26/58, console queue desc sanitization on slot 48 (CreateCommandQueueX), and console command-list IID fallback to ID3D12GraphicsCommandList on slot 73 (CreateCommandListX), with mock tests in untime/test/xs_proxy_mock_test.cpp. claiming: RT-XS-DEVICE-VM-OPTIONS - fill user-space [lowest, highest] graphics VA bounds in D3D12ConfigureVirtualMemoryX ( untime/shims/d3d12_xs.cpp), accept the 64-byte (16-dword) console D3D12_FEATURE_D3D12_OPTIONS layout in CheckFeatureSupport ( untime/shims/d3d12_vulkan_device.cpp), and route beyond-PC Xbox device slots 81 (GetFrameStatisticsX), 86 (CreatePipelineState stream) and 108 (GetResourceAllocationInfo2) in untime/shims/d3d12_xs_device.cpp, with unit tests.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-IMG-ATOMIC-EXT -> #345

<!-- gh-comment-id:7121303613 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-IMG-ATOMIC-EXT -> #345
Author
Owner

@Tioloff commented on GitHub (Nov 24, 2026):

status: MODEL-71 - PR aberto: https://github.com/ubiquitarianism/leonida/pull/347 (bump do submodule rpf9-explorer e293917 -> af54933 + docs). Os 71 candidatos de levels.rpf passam a 0 rejeitados; total 384.003 modelos / 1 rejeitado (o dictionary de textura em textures.rpf). AI-assisted.

<!-- gh-comment-id:7121320472 --> @Tioloff commented on GitHub (Nov 24, 2026): status: MODEL-71 - PR aberto: https://github.com/ubiquitarianism/leonida/pull/347 (bump do submodule rpf9-explorer e293917 -> af54933 + docs). Os 71 candidatos de levels.rpf passam a 0 rejeitados; total 384.003 modelos / 1 rejeitado (o dictionary de textura em textures.rpf). AI-assisted.
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

done: COORD-CLAIM-CHECK -> #221 (draft; includes the claim check and issue activity sync workflows).

<!-- gh-comment-id:7121321320 --> @Andretuta commented on GitHub (Nov 24, 2026): done: COORD-CLAIM-CHECK -> #221 (draft; includes the claim check and issue activity sync workflows).
Author
Owner

@ddddddddwp commented on GitHub (Nov 24, 2026):

claiming: TEST-JOBS-CLAMP - test_custom_jobs_forwarded_to_shaders does not pin the hardware threads, so main()'s --jobs clamp makes stdlib-tests-linux (4 cores) and macos-python (3 cores) fail on every pull request with jobs=6 vs 4/3. I will patch the test the way the assets case already does. Test-only, no game files.

<!-- gh-comment-id:7121323865 --> @ddddddddwp commented on GitHub (Nov 24, 2026): claiming: TEST-JOBS-CLAMP - `test_custom_jobs_forwarded_to_shaders` does not pin the hardware threads, so `main()`'s --jobs clamp makes `stdlib-tests-linux` (4 cores) and `macos-python` (3 cores) fail on every pull request with `jobs=6` vs 4/3. I will patch the test the way the assets case already does. Test-only, no game files.
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

done: VERIFY-CACHE-ATOMIC -> #344
done: VERIFY-CACHE-INPUTS -> #346

Both PRs are ready for review, with synthetic negative controls and passing targeted tests. #334 is also ready for review now.

claiming: GPU-3080TI-61692 — add a separate driver-specific result for NVIDIA RTX 3080 Ti, 616.92, Windows 11 build 26300 on main d478a92, using the checked-in pre-disassembled subset and Python SPIR-V assembler. This complements #280 (621.24, older commit, full suite); it does not replace its record. Built matching native Vulkan harnesses locally: 81/97 pass and 16 wave64 skips normally; 97/97 pass with LEONIDA_W64_EMULATE=1. In particular the corrected cs_w32_exec_computed / cs_w64_exec_computed fixtures pass where supported. I will document the subset and missing spirv-val clearly. Synthetic fixtures only, no game files. AI-assisted with Codex.

<!-- gh-comment-id:7121325476 --> @JiyouProt commented on GitHub (Nov 24, 2026): done: VERIFY-CACHE-ATOMIC -> #344 done: VERIFY-CACHE-INPUTS -> #346 Both PRs are ready for review, with synthetic negative controls and passing targeted tests. #334 is also ready for review now. claiming: GPU-3080TI-61692 — add a separate driver-specific result for NVIDIA RTX 3080 Ti, 616.92, Windows 11 build 26300 on main d478a92, using the checked-in pre-disassembled subset and Python SPIR-V assembler. This complements #280 (621.24, older commit, full suite); it does not replace its record. Built matching native Vulkan harnesses locally: 81/97 pass and 16 wave64 skips normally; 97/97 pass with LEONIDA_W64_EMULATE=1. In particular the corrected cs_w32_exec_computed / cs_w64_exec_computed fixtures pass where supported. I will document the subset and missing spirv-val clearly. Synthetic fixtures only, no game files. AI-assisted with Codex.
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

OLD-6043 update: I tested synthetic 2D textures on Omarchy Linux with an RTX 3060 12 GiB (NVIDIA 615.78.08), using Leonida d478a92d as the reference for the Vulkan setup. Dropping mip 0 of a 4096×4096 RGBA8 texture saved 64 MiB of device-local backing memory, about 75%.

A smaller image shifted explicit-LOD samples one mip coarser unless I rebased the requested LOD. Sparse residency with VK_EXT_image_view_min_lod preserved mip numbering, size queries, and the expected sampling results, but texelFetch still returned zeros from the dropped mip. Sparse residency also saved zero bytes on the 256×256 BC1 case because mip 0 was already in the mip tail.

This was a standalone Vulkan test with no game data. The next step is to see whether the runtime can reliably identify textures that are safe to trim. I haven’t tested on 4 GB hardware yet.

<!-- gh-comment-id:7121326005 --> @moffington commented on GitHub (Nov 24, 2026): OLD-6043 update: I tested synthetic 2D textures on Omarchy Linux with an RTX 3060 12 GiB (NVIDIA 615.78.08), using Leonida d478a92d as the reference for the Vulkan setup. Dropping mip 0 of a 4096×4096 RGBA8 texture saved 64 MiB of device-local backing memory, about 75%. A smaller image shifted explicit-LOD samples one mip coarser unless I rebased the requested LOD. Sparse residency with VK_EXT_image_view_min_lod preserved mip numbering, size queries, and the expected sampling results, but texelFetch still returned zeros from the dropped mip. Sparse residency also saved zero bytes on the 256×256 BC1 case because mip 0 was already in the mip tail. This was a standalone Vulkan test with no game data. The next step is to see whether the runtime can reliably identify textures that are safe to trim. I haven’t tested on 4 GB hardware yet.
Author
Owner

@ItsMrDubey commented on GitHub (Nov 24, 2026):

claiming: a third batch. None of it needs game files or a particular GPU. Same rules as before: I check each item against main first, drop it here if it's already fixed, and open one pull request per root cause with the ID in the title. I won't touch anything an open pull request already fixes.

  • TEST-WIN-SWEEP - run every standard-library test (tests/test_*.py) and the translator suite on native Windows at current main, and fix the failures no open pull request covers yet. Each fix goes in its own pull request, listed here when it's done. Known and already covered elsewhere: #75, #83, #90, #128, #136.
  • CI-WIN-TIMEOUT (old #3828, "Slow ci") - the windows job in runtime.yml has timeout-minutes: 20, but the build alone took about 17 min on PR runs today (sccache was cold), so the job is cancelled three tests into ctest. I'll measure where the time goes and fix that (cache key, parallelism, build only what ctest needs) before raising any limit.
  • OLD-8041, OLD-8404 - check the SHA-256 of the executable and DLLs against the package manifest (game/xbox-1.0.2.1.json) before the runtime loads them. Tested with synthetic files only.
  • OLD-644 - the README line reads as if all 26,503 shaders translate cleanly; the measured counts say otherwise.
  • OLD-7034, OLD-1434 - let the large extracted/working files live on a different drive from the files the port runs from (an HDD for the package, an SSD for the game).
  • OLD-799 - CI path filters that let a change skip the jobs that would test it.

AI-assisted.

<!-- gh-comment-id:7121328982 --> @ItsMrDubey commented on GitHub (Nov 24, 2026): claiming: a third batch. None of it needs game files or a particular GPU. Same rules as before: I check each item against `main` first, drop it here if it's already fixed, and open one pull request per root cause with the ID in the title. I won't touch anything an open pull request already fixes. - `TEST-WIN-SWEEP` - run every standard-library test (`tests/test_*.py`) and the translator suite on native Windows at current `main`, and fix the failures no open pull request covers yet. Each fix goes in its own pull request, listed here when it's done. Known and already covered elsewhere: #75, #83, #90, #128, #136. - `CI-WIN-TIMEOUT` (old #3828, "Slow ci") - the `windows` job in `runtime.yml` has `timeout-minutes: 20`, but the build alone took about 17 min on PR runs today (sccache was cold), so the job is cancelled three tests into ctest. I'll measure where the time goes and fix that (cache key, parallelism, build only what ctest needs) before raising any limit. - `OLD-8041`, `OLD-8404` - check the SHA-256 of the executable and DLLs against the package manifest (`game/xbox-1.0.2.1.json`) before the runtime loads them. Tested with synthetic files only. - `OLD-644` - the README line reads as if all 26,503 shaders translate cleanly; the measured counts say otherwise. - `OLD-7034`, `OLD-1434` - let the large extracted/working files live on a different drive from the files the port runs from (an HDD for the package, an SSD for the game). - `OLD-799` - CI path filters that let a change skip the jobs that would test it. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT26 - the next stop on main after #127/#131 (host AV at device slot 26, measured under Wine and confirmed on Windows in #131): 86b8e04e4 (Senne Cools) gives slot 26 the console's struct-return form; it is in main's history but not in its tree. AI-assisted.

<!-- gh-comment-id:7121411317 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-SLOT26 - the next stop on `main` after #127/#131 (host AV at device slot 26, measured under Wine and confirmed on Windows in #131): `86b8e04e4` (Senne Cools) gives slot 26 the console's struct-return form; it is in `main`'s history but not in its tree. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT26 -> #349

<!-- gh-comment-id:7121413922 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT26 -> #349
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

done: GPU-3080TI-61692 -> #348 (ready for review; partial-suite scope explicit)

claiming: SHADER-INDEX-ATOMIC — tools/rdna2spirv.py write_index uses a fixed path + ".tmp": it truncates/removes an unrelated neighbor, leaves partial staging files when serialization or fsync fails, and overlapping writers share one temporary file. Reproduced on main ece4ba5 with synthetic dictionaries. I found no current claim or PR for write_index. I will use a unique sibling temporary file, retain fsync and replace_retry, clean up on failure, and test that incomplete staging never matches index.part*.json. No shader rule change, game data or GPU required. AI-assisted with Codex.

<!-- gh-comment-id:7121429083 --> @JiyouProt commented on GitHub (Nov 24, 2026): done: GPU-3080TI-61692 -> #348 (ready for review; partial-suite scope explicit) claiming: SHADER-INDEX-ATOMIC — tools/rdna2spirv.py write_index uses a fixed path + ".tmp": it truncates/removes an unrelated neighbor, leaves partial staging files when serialization or fsync fails, and overlapping writers share one temporary file. Reproduced on main ece4ba5 with synthetic dictionaries. I found no current claim or PR for write_index. I will use a unique sibling temporary file, retain fsync and replace_retry, clean up on failure, and test that incomplete staging never matches index.part*.json. No shader rule change, game data or GPU required. AI-assisted with Codex.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT48 - stop 8: device slot 48 is routed to the PC CreateCommandQueue path with the console's 32-byte description as it is, and the layer refuses the queue on the flags word. 0cde63d61 (Alex Collini) reads the PC prefix and keeps only the PC flag; in main's history, not in its tree. Builds on #349. AI-assisted.

<!-- gh-comment-id:7121447543 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-SLOT48 - stop 8: device slot 48 is routed to the PC `CreateCommandQueue` path with the console's 32-byte description as it is, and the layer refuses the queue on the flags word. `0cde63d61` (Alex Collini) reads the PC prefix and keeps only the PC flag; in `main`'s history, not in its tree. Builds on #349. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-ATOMIC-CSUB - GPU fixtures for global_atomic_csub / buffer_atomic_csub (the docs/design.md row is CPU-checked only on main). Draft #59 (Unclaimed) already carries runtime/test/shaders/cs_global_csub.asm from old PR 7237 by xelerb-debug. I'll take that part over as its own PR: their two commits unchanged and under their name, plus a second wave32 fixture for what it doesn't cover (buffer_atomic_csub past the V# range with and without glc, and inactive lanes aimed at a trap word, with their vdst kept). Run on an RTX 4070 Ti (NVIDIA 620.70.06) and a Radeon 610M (gfx1036, RADV Mesa 26.2.6), natively and with LEONIDA_W64_EMULATE=1. #59 would then reduce to its cs_w32_dot_int commit on top of this.

<!-- gh-comment-id:7121459552 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-ATOMIC-CSUB - GPU fixtures for `global_atomic_csub` / `buffer_atomic_csub` (the `docs/design.md` row is CPU-checked only on `main`). Draft #59 (Unclaimed) already carries `runtime/test/shaders/cs_global_csub.asm` from old PR 7237 by `xelerb-debug`. I'll take that part over as its own PR: their two commits unchanged and under their name, plus a second wave32 fixture for what it doesn't cover (`buffer_atomic_csub` past the V# range with and without `glc`, and inactive lanes aimed at a trap word, with their vdst kept). Run on an RTX 4070 Ti (NVIDIA 620.70.06) and a Radeon 610M (gfx1036, RADV Mesa 26.2.6), natively and with `LEONIDA_W64_EMULATE=1`. #59 would then reduce to its `cs_w32_dot_int` commit on top of this.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: VK-BUFCOPY-ORDER - runtime/src/vulkan_replay.h, the plain buffer-to-buffer copy is emitted with no ordering barrier, while image copies get one in copy_layout ("D3D12 orders back-to-back copies ... Vulkan does not"). With LEONIDA_VK_VALIDATION=1, vk_queue reports WRITE_AFTER_WRITE ten times on its backlog case (RTX 3080 Ti, NVIDIA 621.24, Vulkan SDK 1.4.363.0). I will add the same barrier ahead of a buffer copy, with a GPU-free check in replay_copy_offset_test. No game files. AI-assisted.

<!-- gh-comment-id:7121478178 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: VK-BUFCOPY-ORDER - `runtime/src/vulkan_replay.h`, the plain buffer-to-buffer copy is emitted with no ordering barrier, while image copies get one in `copy_layout` ("D3D12 orders back-to-back copies ... Vulkan does not"). With `LEONIDA_VK_VALIDATION=1`, `vk_queue` reports `WRITE_AFTER_WRITE` ten times on its backlog case (RTX 3080 Ti, NVIDIA 621.24, Vulkan SDK 1.4.363.0). I will add the same barrier ahead of a buffer copy, with a GPU-free check in `replay_copy_offset_test`. No game files. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: VK-BUFCOPY-ORDER -> #354

Two more from the same run (LEONIDA_VK_VALIDATION=1 ctest on main d478a92d, RTX 3080 Ti, NVIDIA 621.24, Vulkan SDK 1.4.363.0). Both need a design decision, so I am not taking them:

finding: d3d12_clear fails under validation, 4 x VUID-VkClearDepthStencilValue-depth-00022 | the layer passes depth clear values 1.5, -0.5 and NaN straight to vkCmdClearDepthStencilImage / vkCmdClearAttachments, which Vulkan allows only with VK_EXT_depth_range_unrestricted; the test expects them "stored as given", as WARP does, and gets that from the driver by luck | why it is not a one-liner: enabling the extension also stops Vulkan clamping shader-written depth to [0, 1] on float depth formats, which is a rendering change of its own; without it there is no defined way to store such a value (docs/d3d12_vulkan.md already says so for copies) | needs: no game files; any GPU with the validation layer.

finding: d3d12_mesh fails under validation, 3 x VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 | runtime/src/vulkan_backend.h:2446 creates the mesh statistics pool with CLIPPING_INVOCATIONS | CLIPPING_PRIMITIVES | FRAGMENT_SHADER_INVOCATIONS | COMPUTE_SHADER_INVOCATIONS and its comment says a mesh draw allows the clipping counters, but the VUID text the SDK layer prints lists both clipping bits among the ones that must not be active during vkCmdDrawMeshTasksEXT | why it is not a one-liner: dropping them makes CInvocations / CPrimitives read 0 for mesh draws, where D3D12 reports them and d3d12_mesh_test expects mesh_only.CInvocations > 0; statistics_sum.comp and the D3D-291 notes in docs/d3d12_vulkan.md describe four counters | needs: a GPU with VK_EXT_mesh_shader and the validation layer.

AI-assisted.

<!-- gh-comment-id:7121485368 --> @natterman12 commented on GitHub (Nov 24, 2026): done: VK-BUFCOPY-ORDER -> #354 Two more from the same run (`LEONIDA_VK_VALIDATION=1 ctest` on `main` d478a92d, RTX 3080 Ti, NVIDIA 621.24, Vulkan SDK 1.4.363.0). Both need a design decision, so I am not taking them: finding: `d3d12_clear` fails under validation, 4 x `VUID-VkClearDepthStencilValue-depth-00022` | the layer passes depth clear values 1.5, -0.5 and NaN straight to `vkCmdClearDepthStencilImage` / `vkCmdClearAttachments`, which Vulkan allows only with `VK_EXT_depth_range_unrestricted`; the test expects them "stored as given", as WARP does, and gets that from the driver by luck | why it is not a one-liner: enabling the extension also stops Vulkan clamping shader-written depth to [0, 1] on float depth formats, which is a rendering change of its own; without it there is no defined way to store such a value (`docs/d3d12_vulkan.md` already says so for copies) | needs: no game files; any GPU with the validation layer. finding: `d3d12_mesh` fails under validation, 3 x `VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076` | `runtime/src/vulkan_backend.h:2446` creates the mesh statistics pool with `CLIPPING_INVOCATIONS | CLIPPING_PRIMITIVES | FRAGMENT_SHADER_INVOCATIONS | COMPUTE_SHADER_INVOCATIONS` and its comment says a mesh draw allows the clipping counters, but the VUID text the SDK layer prints lists both clipping bits among the ones that must not be active during `vkCmdDrawMeshTasksEXT` | why it is not a one-liner: dropping them makes `CInvocations` / `CPrimitives` read 0 for mesh draws, where D3D12 reports them and `d3d12_mesh_test` expects `mesh_only.CInvocations > 0`; `statistics_sum.comp` and the D3D-291 notes in `docs/d3d12_vulkan.md` describe four counters | needs: a GPU with `VK_EXT_mesh_shader` and the validation layer. AI-assisted.
Author
Owner

@Sigtryggur-Mani-Gudmundsson commented on GitHub (Nov 24, 2026):

finding: LLVM 19.1.7 prints an eight-byte SDWA instruction as twelve bytes. check_printed_encodings in tools/rdna2spirv.py then rejects the ps_sdwa_f16_const pixel shader at offset 0x190. Both signed and unsigned integer-to-half conversions are affected. The existing synthetic shader reproduces the failure.

The patch recovers the native source operand and instruction width and checks the other fields against the original bytes. On an RTX 4070 Ti, all four channels matched on all 4,096 pixels with LLVM 19.1.7, LLVM 23.1.5 and the Python decoder. The patch applies to de4c373. Retail startup remains untested. Patch, test and reproduction commands.

<!-- gh-comment-id:7121494626 --> @Sigtryggur-Mani-Gudmundsson commented on GitHub (Nov 24, 2026): finding: LLVM 19.1.7 prints an eight-byte SDWA instruction as twelve bytes. `check_printed_encodings` in `tools/rdna2spirv.py` then rejects the `ps_sdwa_f16_const` pixel shader at offset `0x190`. Both signed and unsigned integer-to-half conversions are affected. The existing synthetic shader reproduces the failure. The patch recovers the native source operand and instruction width and checks the other fields against the original bytes. On an RTX 4070 Ti, all four channels matched on all 4,096 pixels with LLVM 19.1.7, LLVM 23.1.5 and the Python decoder. The patch applies to `de4c373`. Retail startup remains untested. [Patch, test and reproduction commands](https://github.com/Sigtryggur-Mani-Gudmundsson/graphics-runtime-patches/tree/b17a81c3d9c0c36cf2da266e6a8a560f1f6e9b8a/tests/sdwa-inline).
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: GPU-LDEXP-F64 — synthetic Vulkan readback for binary64 underflow ties and overlapping destination VGPRs under dynamic EXEC. The local source-only commit is ad323f61b0a2e2f90bb4c79e4ee517925d16cad0, authored by tahffo68hk-hash, based on Continued ece4ba5b.

The compact fixture matched 256/256 dwords between native GFX1036 (round-to-nearest-even, IEEE=0, preserved binary64 denormals) and RTX 5060 Ti Vulkan Wave64 emulation (617.42, Windows, LLVM 23.1.6, SPIRV-Tools 2026.4). Disabling the EXEC update failed at word 2 as expected. The new check skips when native Wave64 is requested on a 32-wide device. The existing D16 typed-buffer fixture also passed through the shared dump helper. This tests existing translation behavior and has no translator changes.

The source-only mbox below is ready for git am on main and preserves the original Git author. AI-assisted.

中文翻译

认领 GPU-LDEXP-F64。新增合成 Vulkan 读回测试,覆盖 binary64 下溢中点和动态 EXEC 下的目标寄存器重叠。本地源码提交 ad323f61b0a2e2f90bb4c79e4ee517925d16cad0,作者为 tahffo68hk-hash,基于 Continued ece4ba5b。

GFX1036 原生与 RTX 5060 Ti 的 Vulkan Wave64 模拟读回 256/256 个 dword 一致。移除 EXEC 更新后,检查在第 2 号字检出错误。在 32-wide 设备上要求原生 Wave64 时正确跳过。复用同一读回助手的既有 D16 typed-buffer 测试也通过。补丁覆盖既有翻译行为,无翻译器修改。

下方仅含源码的 mbox 可在 main 上用 git am 应用,保留原 Git 作者。AI 辅助。

Source-only git am patch
From ad323f61b0a2e2f90bb4c79e4ee517925d16cad0 Mon Sep 17 00:00:00 2001
From: tahffo68hk-hash <[email protected]>
Date: Tue, 24 Nov 2026 11:56:07 +0800
Subject: [PATCH] GPU-LDEXP-F64: verify binary64 scale under dynamic EXEC

AI-assisted.
---
 docs/testing.md                       |  9 +++++++++
 runtime/test/shaders/check.py         | 22 +++++++++++++++++++--
 runtime/test/shaders/cs_ldexp_f64.asm | 28 +++++++++++++++++++++++++++
 scripts/run_gpu_tests.py              |  5 +++++
 4 files changed, 62 insertions(+), 2 deletions(-)
 create mode 100644 runtime/test/shaders/cs_ldexp_f64.asm

diff --git a/docs/testing.md b/docs/testing.md
index f151773..46f7f4a 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -345,6 +345,15 @@ on an Apple M3 Max (MoltenVK 1.4.2 and 1.4.3): 17 workgroup shapes from 1 to 102
 subgroups, with and without full subgroups and register pressure, all 32 lanes in order. A device whose default
 isn't the requested size still prints `not available`, and those tests skip.
 
+The `cs_ldexp_f64` fixture checks 256 output dwords across both Wave64 halves.
+It covers binary64 underflow ties and overlapping source/destination VGPRs with sparse EXEC.
+The expected words use GFX1036 native ISA readbacks with round-to-nearest-even, IEEE=0 and
+binary64 denormals preserved. On 32-wide devices, set `LEONIDA_W64_EMULATE=1` and run:
+
+~~~sh
+python -I scripts/run_gpu_tests.py --filter cs_ldexp_f64 --require-pass
+~~~
+
 ## Wave64 pixel, vertex and geometry shaders (`w64_graphics.py`)
 
 Graphics stages have no emulation: on a 32-wide subgroup a wave64 VS, PS or GS runs as two 32-lane halves, and the
diff --git a/runtime/test/shaders/check.py b/runtime/test/shaders/check.py
index 7b37772..ef8ac2e 100644
--- a/runtime/test/shaders/check.py
+++ b/runtime/test/shaders/check.py
@@ -701,17 +701,20 @@ def failure(code, output, lines):
     return f"exit {code}: {details or 'no test output'}"
 
 
-def dump_test(tools, spirv, name, want, words, env=None):
+def dump_test(tools, spirv, name, want, words, env=None, *, require_wave64=False):
     """Run one group with a heap of `words` words and compare the first len(want) words of the whole dump. The
     console dump stops at word 7."""
     with tempfile.TemporaryDirectory(prefix="leonida-fmt-") as tmp:
         dump = Path(tmp) / "out.bin"
         # VKC_OUT_WORDS sets a minimum. Pin this dispatch to exactly `words` words.
         child = dict(os.environ if env is None else env, VKC_DUMP=str(dump), VKC_OUT_WORDS=str(words))
+        args = ("1", "dump", "--require-wave64") if require_wave64 else ("1", "dump")
         code, out = run(os.path.join(tools, "vk_compute_test" + EXE), os.path.join(spirv, name + ".spv"),
-                        "1", "dump", env=child)
+                        *args, env=child)
         if skip := compute_unsupported(code, out):
             return skip
+        if require_wave64 and code == UNSUPPORTED and "full 64-wide compute subgroups unavailable" in out:
+            return Skip("SKIP (no 64-wide compute subgroup on this device)")
         if code:
             return failure(code, out, 3)
         if not dump.is_file():
@@ -725,6 +728,20 @@ def dump_test(tools, spirv, name, want, words, env=None):
     return ""
 
 
+def ldexp_f64_test(tools, spirv, env=None, *, emulated=W64_EMULATED):
+    """Judge both dwords of every active and inactive pair and the underflow ties."""
+    want = []
+    for lane in range(64):
+        if lane & 21:
+            want.extend((0x3FF00000, (lane - 32) & 0xFFFFFFFF))
+        else:
+            want.extend((1, (1023 + lane - 32) << 20))
+    for lane in range(64):
+        ties = (0, 0, 1, 2) if lane < 32 else (0, 1, 1, 2)
+        want.extend((ties[lane % 4], 0))
+    return dump_test(tools, spirv, "cs_ldexp_f64", want, len(want), env, require_wave64=not emulated)
+
+
 def fmt_1010102_test(tools, spirv, env=None):
     """Check both packed stores and the untouched tail of a single group's 64 words."""
     return dump_test(tools, spirv, "cs_fmt_1010102", FMT_1010102_WORDS + [0xEEEEEEEE] * 48, 64, env)
@@ -1829,6 +1846,7 @@ def main():
         results.append((name, compute_test(tools, spirv, name, "1", "dump", expected_words=want)))
     results.append(("cs_cmpx_class_f32", compute_test(tools, spirv, "cs_cmpx_class_f32", "1", "dump",
                                                       expected_words=CMPX_CLASS_WORDS)))
+    results.append(("cs_ldexp_f64", ldexp_f64_test(tools, spirv)))
     results.append(("cs_fmt_1010102", fmt_1010102_test(tools, spirv)))
     results.append(("cs_fmt_sint32", fmt_sint32_test(tools, spirv)))
     results.append(("cs_fmt_int_narrow", fmt_int_narrow_test(tools, spirv)))
diff --git a/runtime/test/shaders/cs_ldexp_f64.asm b/runtime/test/shaders/cs_ldexp_f64.asm
new file mode 100644
index 0000000..09f281e
--- /dev/null
+++ b/runtime/test/shaders/cs_ldexp_f64.asm
@@ -0,0 +1,28 @@
+; mattr: +wavefrontsize64,-wavefrontsize32
+; Native reference: GFX1036, binary64 nearest-even, denorms preserved, IEEE=0.
+; Run with LEONIDA_W64_EMULATE=1 scripts/run_gpu_tests.py --filter cs_ldexp_f64 --require-pass.
+; The first 128 dwords are 64 overlapping destination pairs (lo, hi). Active lanes
+; (lane & 21 == 0) write (0x3ff0000000000001 * 2^(lane-32)), the rest keep
+; (0x3ff00000, lane-32). The next 128 dwords exercise underflow around the
+; half-ULP tie: low dwords repeat [0,0,1,2] in the lower half and [0,1,1,2]
+; in the upper half. All high dwords in that block are zero.
+v_mbcnt_lo_u32_b32 v1, -1, 0
+v_mbcnt_hi_u32_b32 v1, -1, v1
+v_lshlrev_b32_e32 v6, 3, v1
+v_mov_b32_e32 v2, 1
+v_mov_b32_e32 v3, 0x3ff00000
+v_add_nc_u32_e32 v4, -32, v1
+s_mov_b64 s[8:9], exec
+v_and_b32_e32 v5, 21, v1
+v_cmpx_eq_u32_e32 0, v5
+v_ldexp_f64 v[3:4], v[2:3], v4
+s_mov_b64 exec, s[8:9]
+buffer_store_dwordx2 v[3:4], v6, s[0:3], 0 offen
+
+v_lshrrev_b32_e32 v2, 5, v1
+v_mov_b32_e32 v3, 0x3ff00000
+v_and_b32_e32 v4, 3, v1
+v_add_nc_u32_e32 v4, -1076, v4
+v_ldexp_f64 v[3:4], v[2:3], v4
+buffer_store_dwordx2 v[3:4], v6, s[0:3], 0 offen offset:512
+s_endpgm
diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py
index 483287f..cd1a3fd 100644
--- a/scripts/run_gpu_tests.py
+++ b/scripts/run_gpu_tests.py
@@ -40,6 +40,7 @@ from check import judged_words, words_match   # dump words not judged on some de
 from check import TEXOFF_ARGS, texoff_problem   # ps_texoff's expected words and arguments live in check.py
 from check import TEXOFF_FALLBACK, texoff_env   # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8
 from check import gpu_test_timeout, timed_out   # per-program time limit (LEONIDA_GPU_TEST_TIMEOUT)
+from check import ldexp_f64_test
 from check import failure   # "exit <status>: <last lines>", check.py's detail for a program that exited non-zero
 from check import run_readback
 from check import MESH_COMPUTE, mesh_env   # LEONIDA_MESH_COMPUTE=1: mesh shaders as compute + a generated VS
@@ -1039,6 +1040,10 @@ def run_suite(a, work: str) -> int:
             vals = words[:len(want)] if words else []
             results.append((name,) + compute_result(rc, msg, rc == 0 and vals == want,
                                                     " ".join(hex(x) for x in vals) if vals else msg))
+        elif name == "cs_ldexp_f64":
+            problem = ldexp_f64_test(a.build, spirv_dir, cs_env, emulated=w64_emulated())
+            results.append((name, None if isinstance(problem, Skip) else not problem,
+                            problem or "256/256 dumped words exact"))
         elif name == "cs_fmt_1010102":
             problem = fmt_1010102_test(a.build, spirv_dir, cs_env)
             results.append((name, not problem, problem or "64/64 dumped words exact"))
<!-- gh-comment-id:7121503996 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: GPU-LDEXP-F64 — synthetic Vulkan readback for binary64 underflow ties and overlapping destination VGPRs under dynamic EXEC. The local source-only commit is ad323f61b0a2e2f90bb4c79e4ee517925d16cad0, authored by tahffo68hk-hash, based on Continued ece4ba5b. The compact fixture matched 256/256 dwords between native GFX1036 (round-to-nearest-even, IEEE=0, preserved binary64 denormals) and RTX 5060 Ti Vulkan Wave64 emulation (617.42, Windows, LLVM 23.1.6, SPIRV-Tools 2026.4). Disabling the EXEC update failed at word 2 as expected. The new check skips when native Wave64 is requested on a 32-wide device. The existing D16 typed-buffer fixture also passed through the shared dump helper. This tests existing translation behavior and has no translator changes. The source-only mbox below is ready for git am on main and preserves the original Git author. AI-assisted. <details> <summary>中文翻译</summary> 认领 GPU-LDEXP-F64。新增合成 Vulkan 读回测试,覆盖 binary64 下溢中点和动态 EXEC 下的目标寄存器重叠。本地源码提交 ad323f61b0a2e2f90bb4c79e4ee517925d16cad0,作者为 tahffo68hk-hash,基于 Continued ece4ba5b。 GFX1036 原生与 RTX 5060 Ti 的 Vulkan Wave64 模拟读回 256/256 个 dword 一致。移除 EXEC 更新后,检查在第 2 号字检出错误。在 32-wide 设备上要求原生 Wave64 时正确跳过。复用同一读回助手的既有 D16 typed-buffer 测试也通过。补丁覆盖既有翻译行为,无翻译器修改。 下方仅含源码的 mbox 可在 main 上用 git am 应用,保留原 Git 作者。AI 辅助。 </details> <details> <summary>Source-only git am patch</summary> ````diff From ad323f61b0a2e2f90bb4c79e4ee517925d16cad0 Mon Sep 17 00:00:00 2001 From: tahffo68hk-hash <[email protected]> Date: Tue, 24 Nov 2026 11:56:07 +0800 Subject: [PATCH] GPU-LDEXP-F64: verify binary64 scale under dynamic EXEC AI-assisted. --- docs/testing.md | 9 +++++++++ runtime/test/shaders/check.py | 22 +++++++++++++++++++-- runtime/test/shaders/cs_ldexp_f64.asm | 28 +++++++++++++++++++++++++++ scripts/run_gpu_tests.py | 5 +++++ 4 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 runtime/test/shaders/cs_ldexp_f64.asm diff --git a/docs/testing.md b/docs/testing.md index f151773..46f7f4a 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -345,6 +345,15 @@ on an Apple M3 Max (MoltenVK 1.4.2 and 1.4.3): 17 workgroup shapes from 1 to 102 subgroups, with and without full subgroups and register pressure, all 32 lanes in order. A device whose default isn't the requested size still prints `not available`, and those tests skip. +The `cs_ldexp_f64` fixture checks 256 output dwords across both Wave64 halves. +It covers binary64 underflow ties and overlapping source/destination VGPRs with sparse EXEC. +The expected words use GFX1036 native ISA readbacks with round-to-nearest-even, IEEE=0 and +binary64 denormals preserved. On 32-wide devices, set `LEONIDA_W64_EMULATE=1` and run: + +~~~sh +python -I scripts/run_gpu_tests.py --filter cs_ldexp_f64 --require-pass +~~~ + ## Wave64 pixel, vertex and geometry shaders (`w64_graphics.py`) Graphics stages have no emulation: on a 32-wide subgroup a wave64 VS, PS or GS runs as two 32-lane halves, and the diff --git a/runtime/test/shaders/check.py b/runtime/test/shaders/check.py index 7b37772..ef8ac2e 100644 --- a/runtime/test/shaders/check.py +++ b/runtime/test/shaders/check.py @@ -701,17 +701,20 @@ def failure(code, output, lines): return f"exit {code}: {details or 'no test output'}" -def dump_test(tools, spirv, name, want, words, env=None): +def dump_test(tools, spirv, name, want, words, env=None, *, require_wave64=False): """Run one group with a heap of `words` words and compare the first len(want) words of the whole dump. The console dump stops at word 7.""" with tempfile.TemporaryDirectory(prefix="leonida-fmt-") as tmp: dump = Path(tmp) / "out.bin" # VKC_OUT_WORDS sets a minimum. Pin this dispatch to exactly `words` words. child = dict(os.environ if env is None else env, VKC_DUMP=str(dump), VKC_OUT_WORDS=str(words)) + args = ("1", "dump", "--require-wave64") if require_wave64 else ("1", "dump") code, out = run(os.path.join(tools, "vk_compute_test" + EXE), os.path.join(spirv, name + ".spv"), - "1", "dump", env=child) + *args, env=child) if skip := compute_unsupported(code, out): return skip + if require_wave64 and code == UNSUPPORTED and "full 64-wide compute subgroups unavailable" in out: + return Skip("SKIP (no 64-wide compute subgroup on this device)") if code: return failure(code, out, 3) if not dump.is_file(): @@ -725,6 +728,20 @@ def dump_test(tools, spirv, name, want, words, env=None): return "" +def ldexp_f64_test(tools, spirv, env=None, *, emulated=W64_EMULATED): + """Judge both dwords of every active and inactive pair and the underflow ties.""" + want = [] + for lane in range(64): + if lane & 21: + want.extend((0x3FF00000, (lane - 32) & 0xFFFFFFFF)) + else: + want.extend((1, (1023 + lane - 32) << 20)) + for lane in range(64): + ties = (0, 0, 1, 2) if lane < 32 else (0, 1, 1, 2) + want.extend((ties[lane % 4], 0)) + return dump_test(tools, spirv, "cs_ldexp_f64", want, len(want), env, require_wave64=not emulated) + + def fmt_1010102_test(tools, spirv, env=None): """Check both packed stores and the untouched tail of a single group's 64 words.""" return dump_test(tools, spirv, "cs_fmt_1010102", FMT_1010102_WORDS + [0xEEEEEEEE] * 48, 64, env) @@ -1829,6 +1846,7 @@ def main(): results.append((name, compute_test(tools, spirv, name, "1", "dump", expected_words=want))) results.append(("cs_cmpx_class_f32", compute_test(tools, spirv, "cs_cmpx_class_f32", "1", "dump", expected_words=CMPX_CLASS_WORDS))) + results.append(("cs_ldexp_f64", ldexp_f64_test(tools, spirv))) results.append(("cs_fmt_1010102", fmt_1010102_test(tools, spirv))) results.append(("cs_fmt_sint32", fmt_sint32_test(tools, spirv))) results.append(("cs_fmt_int_narrow", fmt_int_narrow_test(tools, spirv))) diff --git a/runtime/test/shaders/cs_ldexp_f64.asm b/runtime/test/shaders/cs_ldexp_f64.asm new file mode 100644 index 0000000..09f281e --- /dev/null +++ b/runtime/test/shaders/cs_ldexp_f64.asm @@ -0,0 +1,28 @@ +; mattr: +wavefrontsize64,-wavefrontsize32 +; Native reference: GFX1036, binary64 nearest-even, denorms preserved, IEEE=0. +; Run with LEONIDA_W64_EMULATE=1 scripts/run_gpu_tests.py --filter cs_ldexp_f64 --require-pass. +; The first 128 dwords are 64 overlapping destination pairs (lo, hi). Active lanes +; (lane & 21 == 0) write (0x3ff0000000000001 * 2^(lane-32)), the rest keep +; (0x3ff00000, lane-32). The next 128 dwords exercise underflow around the +; half-ULP tie: low dwords repeat [0,0,1,2] in the lower half and [0,1,1,2] +; in the upper half. All high dwords in that block are zero. +v_mbcnt_lo_u32_b32 v1, -1, 0 +v_mbcnt_hi_u32_b32 v1, -1, v1 +v_lshlrev_b32_e32 v6, 3, v1 +v_mov_b32_e32 v2, 1 +v_mov_b32_e32 v3, 0x3ff00000 +v_add_nc_u32_e32 v4, -32, v1 +s_mov_b64 s[8:9], exec +v_and_b32_e32 v5, 21, v1 +v_cmpx_eq_u32_e32 0, v5 +v_ldexp_f64 v[3:4], v[2:3], v4 +s_mov_b64 exec, s[8:9] +buffer_store_dwordx2 v[3:4], v6, s[0:3], 0 offen + +v_lshrrev_b32_e32 v2, 5, v1 +v_mov_b32_e32 v3, 0x3ff00000 +v_and_b32_e32 v4, 3, v1 +v_add_nc_u32_e32 v4, -1076, v4 +v_ldexp_f64 v[3:4], v[2:3], v4 +buffer_store_dwordx2 v[3:4], v6, s[0:3], 0 offen offset:512 +s_endpgm diff --git a/scripts/run_gpu_tests.py b/scripts/run_gpu_tests.py index 483287f..cd1a3fd 100644 --- a/scripts/run_gpu_tests.py +++ b/scripts/run_gpu_tests.py @@ -40,6 +40,7 @@ from check import judged_words, words_match # dump words not judged on some de from check import TEXOFF_ARGS, texoff_problem # ps_texoff's expected words and arguments live in check.py from check import TEXOFF_FALLBACK, texoff_env # LEONIDA_TEXOFF_FALLBACK=1: texel offsets without maintenance8 from check import gpu_test_timeout, timed_out # per-program time limit (LEONIDA_GPU_TEST_TIMEOUT) +from check import ldexp_f64_test from check import failure # "exit <status>: <last lines>", check.py's detail for a program that exited non-zero from check import run_readback from check import MESH_COMPUTE, mesh_env # LEONIDA_MESH_COMPUTE=1: mesh shaders as compute + a generated VS @@ -1039,6 +1040,10 @@ def run_suite(a, work: str) -> int: vals = words[:len(want)] if words else [] results.append((name,) + compute_result(rc, msg, rc == 0 and vals == want, " ".join(hex(x) for x in vals) if vals else msg)) + elif name == "cs_ldexp_f64": + problem = ldexp_f64_test(a.build, spirv_dir, cs_env, emulated=w64_emulated()) + results.append((name, None if isinstance(problem, Skip) else not problem, + problem or "256/256 dumped words exact")) elif name == "cs_fmt_1010102": problem = fmt_1010102_test(a.build, spirv_dir, cs_env) results.append((name, not problem, problem or "64/64 dumped words exact")) ```` </details>
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT48 -> #350

claiming: RT-SLOT70 - device slot 70 is forwarded to the PC slot 70 (CreatePlacedResource1), which writes through the title's destination handle: host AV at 1,197 calls with #349, #350, #142 and #328 applied. 3073250df (tedin7) gives it the console shape and a null view; in main's history, not in its tree. AI-assisted.

<!-- gh-comment-id:7121509894 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT48 -> #350 claiming: RT-SLOT70 - device slot 70 is forwarded to the PC slot 70 (`CreatePlacedResource1`), which writes through the title's destination handle: host AV at 1,197 calls with #349, #350, #142 and #328 applied. `3073250df` (tedin7) gives it the console shape and a null view; in `main`'s history, not in its tree. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT70 -> #356

<!-- gh-comment-id:7121512994 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT70 -> #356
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

done: RT-WS2-OFFLINE -> #357
done: RT-XS-DEVICE-STOPS-7-9 -> #359
done: RT-XS-DEVICE-VM-OPTIONS -> #360

<!-- gh-comment-id:7121519192 --> @Andretuta commented on GitHub (Nov 24, 2026): done: RT-WS2-OFFLINE -> #357 done: RT-XS-DEVICE-STOPS-7-9 -> #359 done: RT-XS-DEVICE-VM-OPTIONS -> #360
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT25 - the stop after #356: host AV at device slot 25 (GetResourceAllocationInfo), the same struct-return form as slot 26. 5dbc30bed (sneylol), in main's history and not in its tree; plus a mock test of mine for both call forms. AI-assisted.

<!-- gh-comment-id:7121548971 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-SLOT25 - the stop after #356: host AV at device slot 25 (`GetResourceAllocationInfo`), the same struct-return form as slot 26. `5dbc30bed` (sneylol), in `main`'s history and not in its tree; plus a mock test of mine for both call forms. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT25 -> #362

<!-- gh-comment-id:7121553361 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT25 -> #362
Author
Owner

@KoLolX3 commented on GitHub (Nov 24, 2026):

claiming: taking over my carried-over drafts #85, #91, #134 and #135 (old PRs 9813, 9820, 9864, 9865 in the original repo). Each is rebased on main ece4ba5b3 (#134 rebuilt there: its docs/design.md rows had moved) and re-tested on an RX 7900 XT (RADV NAVI31, Mesa 26.3.1): each GPU fixture passes native and with LEONIDA_W64_EMULATE=1, and the full suite shows only cs_imgload_tfe / cs_imgload_d16_tfe, which fail the same way on clean main here. Opening them from KoLolX3/leonida-continued as replacements of the drafts. AI-assisted (Claude Code).

<!-- gh-comment-id:7121558585 --> @KoLolX3 commented on GitHub (Nov 24, 2026): claiming: taking over my carried-over drafts #85, #91, #134 and #135 (old PRs 9813, 9820, 9864, 9865 in the original repo). Each is rebased on `main` `ece4ba5b3` (#134 rebuilt there: its `docs/design.md` rows had moved) and re-tested on an RX 7900 XT (RADV NAVI31, Mesa 26.3.1): each GPU fixture passes native and with `LEONIDA_W64_EMULATE=1`, and the full suite shows only `cs_imgload_tfe` / `cs_imgload_d16_tfe`, which fail the same way on clean `main` here. Opening them from `KoLolX3/leonida-continued` as replacements of the drafts. AI-assisted (Claude Code).
Author
Owner

@cxchhh commented on GitHub (Nov 24, 2026):

finding: the runtime-windows CI artifacts are built without the GameInput shim, so under Wine no CI build of main, restore-directstorage or gameinput-ordinal-1 gets past GameInputCreate, and stop 5 can't be reached with them. | where: .github/workflows/runtime.yml:242 and :407 configure without SDL3 (no -DLEONIDA_SDL3_FETCH=ON); runtime/CMakeLists.txt:449-473 then leaves shims/gameinput.cpp out of gta6rt, so the retail ordinal-#1 import binds to the host GameInput.dll (Wine's builtin stub) whether or not the ordinal alias is in the tree | why: on Windows 11 the system GameInput answers, which hides this; any Wine/Proton tester using CI artifacts stops here | needs: game files + Wine to measure; the fix itself (fetch SDL3 in the Windows job, or alias #1 in a no-SDL3 fallback) needs neither.

Measured with the retail 1.0.2.1 executable, gta6rt --run, LEONIDA_UNIMPLEMENTED=stop, Wine 11.22 staging (WoW64), Linux 6.14, no display, three CI artifacts:

build dry-run unimplemented --run
main 760012c72 1 (XCRDAPI.dll!DStorageGetFactory) InitializeApiImplEx2(... mode=0x2) (offline), then GameInputCreate fails and the title's own int3, about 0.6 s after start, 0 D3D12 calls, exit 3
restore-directstorage 2d7be48de 0 the same stop
gameinput-ordinal-1 e0f76d28b 1 the same stop; gta6rt.exe contains no GameInput shim code (shim=93, same as main)

So @Mumogg's RT-GAMEINPUT-ORD1 and RT-DSTORAGE-RESTORE can't be checked on Wine from CI artifacts until the Windows job builds the shim. I can run any artifact that has it against the retail executable on Wine and post the stop.

AI-assisted: yes. agent: yes

<!-- gh-comment-id:7121576685 --> @cxchhh commented on GitHub (Nov 24, 2026): finding: the `runtime-windows` CI artifacts are built without the GameInput shim, so under Wine no CI build of `main`, `restore-directstorage` or `gameinput-ordinal-1` gets past `GameInputCreate`, and stop 5 can't be reached with them. | where: `.github/workflows/runtime.yml:242` and `:407` configure without SDL3 (no `-DLEONIDA_SDL3_FETCH=ON`); `runtime/CMakeLists.txt:449-473` then leaves `shims/gameinput.cpp` out of `gta6rt`, so the retail ordinal-#1 import binds to the host `GameInput.dll` (Wine's builtin stub) whether or not the ordinal alias is in the tree | why: on Windows 11 the system GameInput answers, which hides this; any Wine/Proton tester using CI artifacts stops here | needs: game files + Wine to measure; the fix itself (fetch SDL3 in the Windows job, or alias `#1` in a no-SDL3 fallback) needs neither. Measured with the retail 1.0.2.1 executable, `gta6rt --run`, `LEONIDA_UNIMPLEMENTED=stop`, Wine 11.22 staging (WoW64), Linux 6.14, no display, three CI artifacts: | build | dry-run unimplemented | `--run` | |---|---|---| | `main` `760012c72` | 1 (`XCRDAPI.dll!DStorageGetFactory`) | `InitializeApiImplEx2(... mode=0x2)` (offline), then `GameInputCreate` fails and the title's own `int3`, about 0.6 s after start, 0 D3D12 calls, exit 3 | | `restore-directstorage` `2d7be48de` | 0 | the same stop | | `gameinput-ordinal-1` `e0f76d28b` | 1 | the same stop; `gta6rt.exe` contains no GameInput shim code (`shim=93`, same as `main`) | So @Mumogg's `RT-GAMEINPUT-ORD1` and `RT-DSTORAGE-RESTORE` can't be checked on Wine from CI artifacts until the Windows job builds the shim. I can run any artifact that has it against the retail executable on Wine and post the stop. AI-assisted: yes. agent: yes
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT127 - the stop after #362: device slot 127 (the console's CreateCommittedResource3) is past the PC device table and refused with E_NOTIMPL. 8d622049a (tedin7), in main's history and not in its tree. AI-assisted.

<!-- gh-comment-id:7121609830 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-SLOT127 - the stop after #362: device slot 127 (the console's CreateCommittedResource3) is past the PC device table and refused with E_NOTIMPL. `8d622049a` (tedin7), in `main`'s history and not in its tree. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT127 -> #369

<!-- gh-comment-id:7121612564 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT127 -> #369
Author
Owner

@KoLolX3 commented on GitHub (Nov 24, 2026):

finding: the title sizes its memory pools from what XSystemGetAppMemoryUsageLimit / XMemGetWorkingSetStatistics report, and both report total host RAM

  • Where: runtime/shims/xgameruntime.cpp:702-706 (XSystemGetAppMemoryUsageLimit returns ullTotalPhys) and runtime/shims/xmem.cpp XMemGetWorkingSetStatistics (+0 is ullTotalPhys).
  • Why it matters: on a 16 GB host, or under a memory cap, the title is told it has more than it can use. Measured with a local LEONIDA_TITLE_MEMORY_MB override of both (6144), same build and settings, under an 8 GB cgroup cap: the title lived 78 s before the OOM kill instead of 50 s, opening the same 60 package files. One machine, one pair of runs, on forge main@1812e0bd1 + #7111 under Wine 11.22 (i7-13650HX, RTX 4060 Laptop, 15 GB). That it sizes pools from this value is inferred from that difference.
  • Needs: the user's own copy, any host.

finding: under Wine on Linux with the NVIDIA driver, glibc malloc arenas hold ~2.5 GB of the process at 30 s

  • Where: not in this repository; the Unix side of the process (/proc/<pid>/smaps, anonymous regions above 2^40, many 64 MiB heaps from the driver's shader-compiler threads).
  • Measured: Unix-side anonymous memory 4.6 GB at 28 s by default, 2.1 GB with MALLOC_ARENA_MAX=2 (same run otherwise). It did not lengthen the run by itself: loading then fills the cap. Worth a line in docs/testing.md for 16 GB Linux hosts.
  • Needs: Linux + Wine + NVIDIA proprietary driver; own copy.

Counts only, no game data. AI-assisted (Claude Code).

<!-- gh-comment-id:7121688050 --> @KoLolX3 commented on GitHub (Nov 24, 2026): finding: the title sizes its memory pools from what `XSystemGetAppMemoryUsageLimit` / `XMemGetWorkingSetStatistics` report, and both report total host RAM - Where: `runtime/shims/xgameruntime.cpp:702-706` (`XSystemGetAppMemoryUsageLimit` returns `ullTotalPhys`) and `runtime/shims/xmem.cpp` `XMemGetWorkingSetStatistics` (+0 is `ullTotalPhys`). - Why it matters: on a 16 GB host, or under a memory cap, the title is told it has more than it can use. Measured with a local `LEONIDA_TITLE_MEMORY_MB` override of both (6144), same build and settings, under an 8 GB cgroup cap: the title lived 78 s before the OOM kill instead of 50 s, opening the same 60 package files. One machine, one pair of runs, on forge `main@1812e0bd1` + #7111 under Wine 11.22 (i7-13650HX, RTX 4060 Laptop, 15 GB). That it sizes pools from this value is inferred from that difference. - Needs: the user's own copy, any host. finding: under Wine on Linux with the NVIDIA driver, glibc malloc arenas hold ~2.5 GB of the process at 30 s - Where: not in this repository; the Unix side of the process (`/proc/<pid>/smaps`, anonymous regions above 2^40, many 64 MiB heaps from the driver's shader-compiler threads). - Measured: Unix-side anonymous memory 4.6 GB at 28 s by default, 2.1 GB with `MALLOC_ARENA_MAX=2` (same run otherwise). It did not lengthen the run by itself: loading then fills the cap. Worth a line in `docs/testing.md` for 16 GB Linux hosts. - Needs: Linux + Wine + NVIDIA proprietary driver; own copy. Counts only, no game data. AI-assisted (Claude Code).
Author
Owner

@ItsMrDubey commented on GitHub (Nov 24, 2026):

done: TEST-WIN-SWEEP -> #363, #367, #368. I ran all 503 tests/test_*.py files and the translator suite on native Windows at ece4ba5. Every other red file is either covered by an open pull request (#75, #90, #121, #128, #136, #312), or fails only on Python 3.11, which the repository does not support (all pass on 3.12.9).
done: CI-WIN-TIMEOUT (old #3828) -> #361. Of the 205 Runtime runs, every windows job that reached ctest was stopped while loader hung. #361 gives that test its own timeout, sets a ctest default, and raises the job limit to cover a cold-cache build.
done: OLD-7034, OLD-1434 -> #353. make_game already supports separate drives, so this is documentation and a test.
done: OLD-8041, OLD-8404 -> #358
done: OLD-799 -> #374
released: OLD-644 - already fixed. README.md:57 cites the measured 26,503 / 26,503, and docs/shader_validation.md:16-18 records the older 25,032 and the fix that removed the gap.

<!-- gh-comment-id:7121690337 --> @ItsMrDubey commented on GitHub (Nov 24, 2026): done: TEST-WIN-SWEEP -> #363, #367, #368. I ran all 503 `tests/test_*.py` files and the translator suite on native Windows at `ece4ba5`. Every other red file is either covered by an open pull request (#75, #90, #121, #128, #136, #312), or fails only on Python 3.11, which the repository does not support (all pass on 3.12.9). done: CI-WIN-TIMEOUT (old #3828) -> #361. Of the 205 Runtime runs, every `windows` job that reached ctest was stopped while `loader` hung. #361 gives that test its own timeout, sets a ctest default, and raises the job limit to cover a cold-cache build. done: OLD-7034, OLD-1434 -> #353. `make_game` already supports separate drives, so this is documentation and a test. done: OLD-8041, OLD-8404 -> #358 done: OLD-799 -> #374 released: OLD-644 - already fixed. `README.md:57` cites the measured 26,503 / 26,503, and `docs/shader_validation.md:16-18` records the older 25,032 and the fix that removed the gap.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: SHADER-MUL24-CLAMP — implement integer saturation for signed and unsigned 24-bit VALU multiply and multiply-add with clamp. On ece4ba5b, native GFX1036 saturated all four tested forms while the translated RTX readback wrapped. Synthetic fixtures and a source-only patch. AI-assisted.

中文翻译

认领 SHADER-MUL24-CLAMP:修复四种有符号和无符号 24 位乘法及乘加的饱和行为。ece4ba5b 上,GFX1036 对四种测得的形式执行饱和,RTX 翻译执行则回绕。使用合成测试并提供纯源码补丁。AI 辅助。

<!-- gh-comment-id:7121699583 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: SHADER-MUL24-CLAMP — implement integer saturation for signed and unsigned 24-bit VALU multiply and multiply-add with clamp. On ece4ba5b, native GFX1036 saturated all four tested forms while the translated RTX readback wrapped. Synthetic fixtures and a source-only patch. AI-assisted. <details> <summary>中文翻译</summary> 认领 SHADER-MUL24-CLAMP:修复四种有符号和无符号 24 位乘法及乘加的饱和行为。ece4ba5b 上,GFX1036 对四种测得的形式执行饱和,RTX 翻译执行则回绕。使用合成测试并提供纯源码补丁。AI 辅助。 </details>
Author
Owner

@ItsMrDubey commented on GitHub (Nov 24, 2026):

finding: 8 of the re-opened old-PR drafts are already in main or superseded, and 2 pairs are competing alternatives | how: I ran git merge-tree --write-tree origin/main origin/old-pr/<N> for each draft's branch at ece4ba5 and diffed the result against main, then checked which merged or closed pull requests carry the same branch | needs: a maintainer to close or choose. No game files, no GPU.

Close: already in main or superseded

Draft Old branch Why
#325 old-pr/10059 merging it changes nothing; it's already in main
#270 old-pr/10000 merging it changes nothing; it landed as #26
#331 old-pr/10066 landed as #28; only 3 duplicate test lines would be left
#48 old-pr/9770 landed as #27, whose test replaced this one
#159 old-pr/9891 landed as #30; what's left would put back the stale salu_diff counts (112/99) that #30 corrected to 117/104
#291 old-pr/10022 the tfe status-VGPR change; the review on #98 measured main as already exact on GFX1036, and #98 was closed
#322 old-pr/10056 the --jobs core-count tests, covered by #83 (merged)
#168 old-pr/9902 joaat Latin-1 hashing, covered by #22 (merged); #253 was closed

Pick one of each pair

  • #306 vs #337 - d3d12_execute_indirect_validation: #306 keeps the layer strict and relaxes the test, #337 widens the layer to the newer runtime rule.
  • #231 vs #343 - two implementations of the console DirectStorage shim, which is stop 5 in #47 and the one import that stops main booting. #124 only adds the XCRDAPI.dll return class and doesn't conflict with either.

Not duplicates, despite the cross-reference

  • #293 (old-pr/10025, spirv_asm output aliasing) still adds its check; #78 only mentions it.
  • #84 (old-pr/9810) still adds one docs/testing.md line beyond #246.

Of the 255 re-opened drafts, 152 still merge into main cleanly and 97 conflict and need a rebase.

AI-assisted.

<!-- gh-comment-id:7121702474 --> @ItsMrDubey commented on GitHub (Nov 24, 2026): finding: 8 of the re-opened old-PR drafts are already in `main` or superseded, and 2 pairs are competing alternatives | how: I ran `git merge-tree --write-tree origin/main origin/old-pr/<N>` for each draft's branch at `ece4ba5` and diffed the result against `main`, then checked which merged or closed pull requests carry the same branch | needs: a maintainer to close or choose. No game files, no GPU. **Close: already in `main` or superseded** | Draft | Old branch | Why | |---|---|---| | #325 | `old-pr/10059` | merging it changes nothing; it's already in `main` | | #270 | `old-pr/10000` | merging it changes nothing; it landed as #26 | | #331 | `old-pr/10066` | landed as #28; only 3 duplicate test lines would be left | | #48 | `old-pr/9770` | landed as #27, whose test replaced this one | | #159 | `old-pr/9891` | landed as #30; what's left would put back the stale salu_diff counts (112/99) that #30 corrected to 117/104 | | #291 | `old-pr/10022` | the `tfe` status-VGPR change; the review on #98 measured `main` as already exact on GFX1036, and #98 was closed | | #322 | `old-pr/10056` | the `--jobs` core-count tests, covered by #83 (merged) | | #168 | `old-pr/9902` | joaat Latin-1 hashing, covered by #22 (merged); #253 was closed | **Pick one of each pair** - #306 vs #337 - `d3d12_execute_indirect_validation`: #306 keeps the layer strict and relaxes the test, #337 widens the layer to the newer runtime rule. - #231 vs #343 - two implementations of the console DirectStorage shim, which is stop 5 in #47 and the one import that stops `main` booting. #124 only adds the `XCRDAPI.dll` return class and doesn't conflict with either. **Not duplicates, despite the cross-reference** - #293 (`old-pr/10025`, `spirv_asm` output aliasing) still adds its check; #78 only mentions it. - #84 (`old-pr/9810`) still adds one `docs/testing.md` line beyond #246. Of the 255 re-opened drafts, 152 still merge into `main` cleanly and 97 conflict and need a rebase. AI-assisted.
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

OLD-6043 follow-up

I tested sparse top-mip dropping through Leonida’s Vulkan replay path on an RTX 3060. It saved about 74% of the test texture’s backing allocation and preserved explicit-LOD sampling. Direct reads of the dropped mip returned zeros, so choosing which textures to drop matters.

Does anyone have a runtime capture showing how the live texture memory breaks down between committed and placed resources in a representative scene? Even a rough split would help decide whether a committed-only prototype is worth pushing further.

<!-- gh-comment-id:7121706043 --> @moffington commented on GitHub (Nov 24, 2026): OLD-6043 follow-up I tested sparse top-mip dropping through Leonida’s Vulkan replay path on an RTX 3060. It saved about 74% of the test texture’s backing allocation and preserved explicit-LOD sampling. Direct reads of the dropped mip returned zeros, so choosing which textures to drop matters. Does anyone have a runtime capture showing how the live texture memory breaks down between committed and placed resources in a representative scene? Even a rough split would help decide whether a committed-only prototype is worth pushing further.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-XMEM-LEASE - the stop after #369: the title's check that less than 2 MiB of its render-target budget is left, which needs its __XMemAllocationHooks__ honoured (old PR 7021, Khuraie), slot 25's console sizes (tedin7) and the lease of committed resources through the hooks (Jackson). Five commits, all in main's history and not in its tree. AI-assisted.

<!-- gh-comment-id:7121728234 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-XMEM-LEASE - the stop after #369: the title's check that less than 2 MiB of its render-target budget is left, which needs its `__XMemAllocationHooks__` honoured (old PR 7021, Khuraie), slot 25's console sizes (tedin7) and the lease of committed resources through the hooks (Jackson). Five commits, all in `main`'s history and not in its tree. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-XMEM-LEASE -> #375

<!-- gh-comment-id:7121731179 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-XMEM-LEASE -> #375
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

finding: main executable of 1.0.2.1 available — ran it through the repo's first-look tools (17 classes, 158/161 thunks referenced; one class not served: XAppCaptureImpl)

The game_scarlett_master.exe from the 2026-11-23 drop is in hand
(SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993,
matches the drop's hash file), with a complete 108-file 1.0.2.1 package
on disk alongside it — make_game.py --check --full-check is running
on it; will report the full-check result here when done.

Ran the executable through the repo's own first-look tools (commit
ece4ba5b3):

  1. tools/gdk_runtime_calls.py → thunks=161, referenced=158, classes=17.
    One class is referenced by the executable but not served by the runtime:
    XAppCaptureImpl — interface IXAppCaptureImpl4
    (22e672d7-b4e3-406c-bd50-8f0d25236f9e), slot 5
    XAppCaptureTakeScreenshot, 1 thunk, referenced. Everything else it
    calls is served.

  2. tools/exe_checklist.py --gdk-calls <that report> → 25 notes
    (ASSUMPTION/UNVERIFIED/VERIFY), called-first. The "called" runtime
    notes that look worth confirming first: XGameSave 1 GiB quota /
    256-byte blob names / S_OK-on-missing-container
    (runtime/shims/xgameruntime_gamesave.cpp:20), XHighContrast Off=0
    and speech arg order (runtime/shims/xgameruntime_offline.cpp:596,608),
    store SKU_ID_SIZE=5 / TRIAL_UNIQUE_ID_MAX_SIZE=64
    (runtime/shims/xgameruntime_store.cpp:20,87).

  3. PE facts (structure only, no game data): clean un-packed x86-64
    (.text 95.25 MiB, entropy 6.75); Xbox-specific sections .voltbl
    and .xbld; single export __XMemAllocationHooks__; TLS present;
    GUARD_CF on; no resource section; no kernelx import (api-sets +
    xgameruntime style). One internal build path string present, for
    provenance: X:/americas/src/sub_story/game/vs_project/Gaming.Xbox.Scarlett.x64/Build/master/game_scarlett_master.pdb.

Hardware: RTX 5060 Ti (GB206, Blackwell, 16 GB), 8-core, 32 GB,
CachyOS/Arch 7.3.1, NVIDIA 620.73.04, Vulkan 1.4.357, subgroups 32..32.
GPU suite already run on it — 257/257 translated, 257/257 pass
spirv-val, 197/248 passed, 49 skipped (all documented: 31 no-64-wide-
compute-subgroup, 2 no-64-wide-subgroup, 16 cross-suite), 0 failed —
result file incoming as a PR (first Blackwell entry in gpu-test-results/).

Happy to work through the checklist notes one by one and post
confirmations as I go, and to take the XAppCapture shim if nobody else
claims it (1 referenced thunk / 1 slot looks tractable).

<!-- gh-comment-id:7121759577 --> @tengotengo commented on GitHub (Nov 24, 2026): finding: main executable of 1.0.2.1 available — ran it through the repo's first-look tools (17 classes, 158/161 thunks referenced; one class not served: XAppCaptureImpl) The `game_scarlett_master.exe` from the 2026-11-23 drop is in hand (SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993, matches the drop's hash file), with a complete 108-file 1.0.2.1 package on disk alongside it — `make_game.py --check --full-check` is running on it; will report the full-check result here when done. Ran the executable through the repo's own first-look tools (commit ece4ba5b3): 1. `tools/gdk_runtime_calls.py` → thunks=161, referenced=158, classes=17. One class is referenced by the executable but not served by the runtime: **XAppCaptureImpl** — interface IXAppCaptureImpl4 (22e672d7-b4e3-406c-bd50-8f0d25236f9e), slot 5 `XAppCaptureTakeScreenshot`, 1 thunk, referenced. Everything else it calls is served. 2. `tools/exe_checklist.py --gdk-calls <that report>` → 25 notes (ASSUMPTION/UNVERIFIED/VERIFY), called-first. The "called" runtime notes that look worth confirming first: XGameSave 1 GiB quota / 256-byte blob names / S_OK-on-missing-container (`runtime/shims/xgameruntime_gamesave.cpp:20`), XHighContrast Off=0 and speech arg order (`runtime/shims/xgameruntime_offline.cpp:596,608`), store SKU_ID_SIZE=5 / TRIAL_UNIQUE_ID_MAX_SIZE=64 (`runtime/shims/xgameruntime_store.cpp:20,87`). 3. PE facts (structure only, no game data): clean un-packed x86-64 (`.text` 95.25 MiB, entropy 6.75); Xbox-specific sections `.voltbl` and `.xbld`; single export `__XMemAllocationHooks__`; TLS present; GUARD_CF on; no resource section; no kernelx import (api-sets + xgameruntime style). One internal build path string present, for provenance: `X:/americas/src/sub_story/game/vs_project/Gaming.Xbox.Scarlett.x64/Build/master/game_scarlett_master.pdb`. Hardware: RTX 5060 Ti (GB206, Blackwell, 16 GB), 8-core, 32 GB, CachyOS/Arch 7.3.1, NVIDIA 620.73.04, Vulkan 1.4.357, subgroups 32..32. GPU suite already run on it — 257/257 translated, 257/257 pass spirv-val, 197/248 passed, 49 skipped (all documented: 31 no-64-wide- compute-subgroup, 2 no-64-wide-subgroup, 16 cross-suite), **0 failed** — result file incoming as a PR (first Blackwell entry in gpu-test-results/). Happy to work through the checklist notes one by one and post confirmations as I go, and to take the XAppCapture shim if nobody else claims it (1 referenced thunk / 1 slot looks tractable).
Author
Owner

@hermes-aristaeus-bot commented on GitHub (Nov 24, 2026):

claiming: TEST-FS-HOST-DRIVE — native file_system_test assumes root/host_copy.txt and root/host.txt are host paths, but when TEMP is on G: outside the configured package/overlay roots, console_drive intentionally treats those paths as the virtual G: drive. On baseline 78af5fd4, the unchanged executable fails 3/489 checks with TEMP=the physical G: drive and passes with a temporary non-console drive alias pointing at the SAME directory. I will fix the synthetic test fixtures to use unambiguous host paths and retain cross-boundary copy/move assertions, then verify on current main with a negative control. Test-only scope: runtime/test/file_system_test.cpp; no shim behavior change. I checked current claims and all-state PRs; #271/#287/#317 touch adjacent cases, not these mixed-path fixtures. No game files or GPU needed. AI-assisted; Windows non-admin verification. No PR has been pushed/opened.

<!-- gh-comment-id:7121770284 --> @hermes-aristaeus-bot commented on GitHub (Nov 24, 2026): claiming: TEST-FS-HOST-DRIVE — native file_system_test assumes root/host_copy.txt and root/host.txt are host paths, but when TEMP is on G: outside the configured package/overlay roots, console_drive intentionally treats those paths as the virtual G: drive. On baseline 78af5fd4, the unchanged executable fails 3/489 checks with TEMP=the physical G: drive and passes with a temporary non-console drive alias pointing at the SAME directory. I will fix the synthetic test fixtures to use unambiguous host paths and retain cross-boundary copy/move assertions, then verify on current main with a negative control. Test-only scope: runtime/test/file_system_test.cpp; no shim behavior change. I checked current claims and all-state PRs; #271/#287/#317 touch adjacent cases, not these mixed-path fixtures. No game files or GPU needed. AI-assisted; Windows non-admin verification. No PR has been pushed/opened.
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

Initial pull request activity snapshot — 2026-11-24 03:38:09 UTC

Current open pull request activity

Updated: 2026-11-24 03:38:09 UTC — 273 open PRs across 13 submitters.
PR author is the submitter; it does not establish ownership. A linked claim is valid only when its issue #14 comment predates the PR and the claimant matches the author. Rows marked Needs claim require a valid claim. The action reports status only; it never closes or assigns a PR.

This is a dated snapshot. The Coordination activity Action will publish a live roster in its own bot comment after PR #221 is merged.

Andretuta — 252 open PRs

PR Claim / owner Work (PR title) State
#333 Unclaimed dxgi: an _SRGB shader-resource view samples an 8-bit UNORM back buffer (stacked on #9783) Draft
#332 Unclaimed make_game: ignore partial vulkaninfo output after a failed probe Draft
#331 Unclaimed meshlet_page: fix u16 running-sum wraparound, non-finite crashes, and 0-meshlet groups Draft
#330 Unclaimed runtime: main builds again (console descriptor heap handler, acphal context sizes) Draft
#329 Unclaimed xdxr_bvh: handle D3D12 inactive primitives and NaN bounds Draft
#327 Unclaimed fix: rdna2spirv decodes scalar, image and buffer tuples that run into vcc, so the pipeline-library shaders translate Draft
#326 Unclaimed runtime: the index buffer view size bounds the index fetch in the Vulkan replay (reads past the view are 0) Draft
#325 Unclaimed docs/i18n: the nine quickstarts say the stages run together, not in a chain Draft
#324 Unclaimed rdna2spirv: write out a carry-out subtract of a register from itself (AMD Windows driver crash) Draft
#323 Unclaimed docs: describe runtime Vulkan pipeline cache loading Draft
#322 Unclaimed tests: the make_game --jobs tests no longer depend on the host's core count Draft
#320 Unclaimed test_guest_scene_reference: compare the resolved loader path Draft
#319 Unclaimed runtime: link the fixtures with no base relocations with /INCREMENTAL:NO (BUILD-1550) Draft
#318 Unclaimed crosslane_fuzz: reject dumps from failed GPU processes Draft
#317 Unclaimed file_system: GetVolumeInformation and GetVolumePathName answer for the GAME: and T: roots Draft
#316 Unclaimed mods: hash a mod.json name as hashdict.joaat does (lower-cased Latin-1, not UTF-8 bytes) Draft
#315 Unclaimed instance_lists: count grass and prop instances in bulk (9x / 3.6x, same output) Draft
#314 Unclaimed d3d12: SYNC_COPY waits for the CLEAR stage too, so WriteBufferImmediate is ordered (D3D-838) Draft
#313 Unclaimed run_guest_scene: take the Wine from $WINE when --wine is not given Draft
#312 Unclaimed tests: expect the unreadable path as OSError prints it (bink_names, opus_tags, world_names) Draft
#311 Unclaimed vk_subgroup_info: per_vertex_inputs needs VK_KHR_fragment_shader_barycentric listed (RADV on gfx90c) Draft
#309 Unclaimed rdna2spirv: intra-block %vgpr/%sgpr value forwarding (resubmission of #4518) Draft
#308 Unclaimed anim_glb: bind weighted bones outside the skeleton as extra rest-pose joints Draft
#307 Unclaimed d3d12_clear_test: report Vulkan driver NaN depth-clear canonicalization to 1.0 on AMD Draft
#306 Unclaimed d3d12_execute_indirect_validation_test: handle Windows 11 26300 relaxed max=0 and padded-stride bounds Draft
#305 Unclaimed bink_index: validate frame offsets within each stored stream Draft
#304 Unclaimed docs: correct the retail XMem shim status (DOCS-XMEM-SHIMS) Draft
#303 Unclaimed make_game: extract and translate the retail executable's 10 embedded shaders (exe stage) Draft
#302 Unclaimed tests: GPU fixture cs_w32_vcmp64_null for 64-bit integer v_cmp/v_cmpx null sources Draft
#301 Unclaimed wave32_pixel_scan: use shared same_report_path and catch --out write OSError Draft
#300 Unclaimed merge_check: preserve Unicode line separators in squash subjects Draft
#299 Unclaimed test: SPIR-V translation tests for image_sample_d and image_sample_d_cl Draft
#298 Unclaimed test(hw_oracle): unit tests for tools/hw_oracle/tsharp.py Draft
#297 Unclaimed test(hw_oracle): unit tests for tools/hw_oracle/drm.py Draft
#296 Unclaimed make_game: gta6rt.sh resolves a relative WINE before changing to the game folder Draft
#295 Unclaimed test: unit tests for tools/probe_gfx1036_vcmp16.py Draft
#294 Unclaimed test: unit tests for tools/rdna2_isa_tables.py Draft
#293 Unclaimed spirv_asm: refuse an output that aliases the source (SPIRV-ASM-INPUT-ALIAS) Draft
#292 Unclaimed d3d12: ResolveSubresource averages a typeless resource in the format it names (sRGB in linear light) Draft
#291 Unclaimed rdna2spirv: zero the tfe/lwe status VGPR on image_load and image_load_mip Draft
#290 Unclaimed d3d12: honour RASTERIZER_DESC2 LineRasterizationMode with VK_EXT_line_rasterization Draft
#289 Unclaimed shader_disasm: hand llvm-mc its input in lines of 64 bytes, not one long line (up to ~380x faster, identical output) Draft
#288 Unclaimed Tests: a refused depth resolve is checked by its Close alone Draft
#287 Unclaimed file_system: GetTempPath and GetTempFileName resolve GAME:, G: and T: to the overlay scratch folder Draft
#286 Unclaimed docs: add NVIDIA GeForce GTX 1650 SUPER GPU test results Draft
#285 Unclaimed make_game: keep checking pipelines when the previous crash report is locked Draft
#284 Unclaimed test: compare Wine launcher physical paths Draft
#283 Unclaimed d3d12_xs: export D3D12CreateVersionedRootSignatureDeserializer, clearing the Xbox RTS0 flags Draft
#282 Unclaimed fix(rdna2spirv): order image_sample, image_gather4, image_bvh and ignore ds_nop in --wave64-emulate Draft
#281 Unclaimed fix: shader_disasm prints the v_dot4_i32_i8 op_sel 2 / op_sel_hi 5 words llvm-mc rejects, so the FSR4 FSPX programs translate Draft
#279 Unclaimed d3d12: min/max samplers honour filterMinmaxImageComponentMapping (D3D… Draft
#277 Unclaimed runtime/shims: implement xapu.dll and chad.dll audio processor shims Draft
#276 Unclaimed docs/i18n: it, ja, pl-PL quickstarts no longer promise a faster first boot from the pipeline cache Draft
#274 Unclaimed bvh_groups: use shared same_report_path and catch --json write OSError Draft
#273 Unclaimed docs/boot.md: what a Wine prefix has to supply, and the quiet failure without it Draft
#271 Unclaimed file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host Draft
#270 Unclaimed test: follow full-EXEC f64 output word stores Draft
#269 Unclaimed runtime: stop the configure when Vulkan headers are too old for the Windows runtime Draft
#267 Unclaimed fix: lower wide and strided geometry shader LDS accesses Draft
#266 Unclaimed docs/gpu_test_results: record Intel Iris Xe (8086:46a6) and RTX 3070 Ti Laptop (Windows 11) results Draft
#264 Unclaimed wip: local boot fixes up to 1636 D3D12 calls Draft
#261 Unclaimed d3d12: support Xbox depth/stencil UAVs on committed and placed textures (D3D-991) Draft
#260 Unclaimed d3d12_xs: the first call of a forwarded device slot names its caller (RT-526) Draft
#259 Unclaimed Conformance reader rejects invalid critical PNG chunk structure Draft
#257 Unclaimed chore: Added 14 missing function output type annotations in build.py Draft
#256 Unclaimed Conformance expect returns input-error status for unreadable images Draft
#254 Unclaimed Validate RPF9 archive headers before scanning meshlet pages Draft
#252 Unclaimed Update Discord link in README.md Draft
#250 Unclaimed docs(models): remove duplicate material effect section (lines 653-737) Draft
#249 Unclaimed test: exercise AWC manifest staged cleanup on all hosts Draft
#247 Unclaimed rdna2spirv: support directed MODE.FP_ROUND[3:2] (+inf/-inf) and dynamic s_setreg_b32 Draft
#245 Unclaimed d3d12_boot_movie_test: drop unused label parameter on present lambda (C4100) Draft
#244 Unclaimed Document radio track label keys and count matches Draft
#243 Unclaimed runtime: fix the three compile breaks that stop main from building Draft
#242 Unclaimed merge_check: separate Git revisions from checkout paths Draft
#241 Unclaimed ps_interp_modes: refuse a single named file without a readable PSV0 chunk Draft
#240 Unclaimed d3d12: color MIN and MAX resolves for typed 2D resources Draft
#238 Unclaimed d3d12_vulkan_device_test: query ID3D12Device10 on inner device to avoid slot 78 SetFrameIntervalX shadow Draft
#236 Unclaimed d3d12_com_test: test invalid ClearDepthStencilView flags instead of depth 2.0f Draft
#235 Unclaimed d3d12_xs_rootsig: remove duplicate checksum check rejecting all-zero-checksum Xbox blobs Draft
#233 Unclaimed gameinput: preserve controller transitions between polls Draft
#232 Unclaimed Tests: d3d12_depth_resolve no longer expects a refused list to replay Draft
#231 Unclaimed runtime/shims: implement console DirectStorage shims (XCRDAPI / dstorage_xs) Draft
#230 Unclaimed psocache_usersig: refuse --limit combined with --entry Draft
#229 Unclaimed conformance build.ps1: find Visual Studio's CMake and name no Visual Studio version Draft
#228 Unclaimed runtime: LEONIDA_SKIP_ASSERTS and caller logging for forwarded device slots (RT-526) Draft
#226 Unclaimed tests: GPU fixture cs_w32_cvt_flr_rpi for v_cvt_flr_i32_f32 and v_cvt_rpi_i32_f32 Draft
#225 Unclaimed rdna2spirv: image_sample* outside 2D selects the UINT/SINT sampled view (SHADER-1404) Draft
#224 Unclaimed rdna2spirv: 64-bit scalar data ops lower to 2x32-bit, no Int64 (SHADER-930) Draft
#223 Unclaimed docs/i18n: the quickstarts say shaders, assets and runtime run together (PROC-544) Draft
#222 Unclaimed README: run gta6rt.sh with UMU-Proton's wine in a prefix of its own Draft
#221 COORD-CLAIM-CHECK — Andretuta ci: validate pull request coordination claims Draft
#220 Unclaimed d3d12: validate CreateShaderResourceView descriptors (reopens #5275) Draft
#219 Unclaimed d3d12_xs: route device slots 86, 101, and 108 to PC Device2/Device5/Device8 (reopens #7201) Draft
#218 Unclaimed d3d12: persist the runtime Vulkan pipeline cache across launches Draft
#217 Unclaimed run_wine_session: initialize and stop the prefix with $WINE Draft
#216 Unclaimed Select the slot 14 descriptor layout when creating the device proxy Draft
#215 Unclaimed test(runtime): distinguish wrong V# addresses from a broken draw Draft
#214 Unclaimed ASSET-430: Integrate merged rpf9-explorer fragment recovery fix Draft
#213 Unclaimed D3D-78: Support Texture1D, Texture1DArray and Texture3D UAVs Draft
#212 Unclaimed rdna2spirv: s_bfe_u64 / s_bfe_i64 on the dword pair, with no Int64 (SHADER-930) Draft
#211 Unclaimed test_bvh_shaders_stage: give the fake FSPX translation its fspx_code_sha256 Draft
#210 Unclaimed vk_compute_test: VKC_HEAP_FILE refuses an offset of 2^32 and a file past the 4 GiB heap (RT-439) Draft
#209 Unclaimed tests/test_first_look_rebuild.py: stub the three report tools first_look.ps1 now runs (TEST-1421) Draft
#208 Unclaimed runtime: build on MSVC again after the 2026-11-23 merge round, and one root_sig checksum check Draft
#207 Unclaimed d3d12: draw the console rectangle lists and quad lists (topologies 17 and 19) as triangles Draft
#206 Unclaimed docs/boot.md: the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271) Draft
#205 Unclaimed bench_wave64: report a skipped shader build before benchmarking Draft
#204 Unclaimed make_game: stage the runtime install before replacing the old files (RT-249) Draft
#203 Unclaimed docs/i18n/ru: the quickstart says shaders, assets and runtime run together Draft
#202 Unclaimed docs/design.md: drop superseded copies in the Workgroup barriers, Typed image loads and Geometry shaders rows Draft
#201 Unclaimed docs/design.md: drop older copies that a newer sentence in the same row extends word for word Draft
#200 Unclaimed docs/design.md: one copy of each rule in the 16-bit interpolation without PerVertexKHR row Draft
#199 Unclaimed docs: correct translated quickstart build order (PROC-544) Draft
#198 Unclaimed docs/design.md: one copy of each rule in the EXEC, v_cvt_pknorm and Wave64 mask ballot rows Draft
#197 Unclaimed wint_diff: GFX12 has no always-true/false VALU compare; skip those programs by name Draft
#196 Unclaimed awc_shorts: refuse a catalog destination that aliases an input bank Draft
#195 Unclaimed runtime: LEONIDA_THREAD_SNAPSHOT names what every thread waits on at given times (A50) Draft
#193 Unclaimed docs/design.md: one copy of each rule in the Known approximations and 64-bit scalar bitwise rows Draft
#192 Unclaimed make_game assets: exports and pool follow-ups use --jobs instead of running one by one Draft
#191 Unclaimed docs/design.md: one copy of each rule in the Global atomics row (stitched again after #3084) Draft
#190 Unclaimed Create triage-block-9625-9660.md Draft
#189 Unclaimed rdna2spirv: mesh shader compressed exports unpack their fp16 pairs instead of failing translation Draft
#188 Unclaimed check_d3d12_trace: finish communicate() after killing a timed-out fixture Draft
#187 Unclaimed wave64_halves: a vote on EXEC ends with a new EXEC, plus GPU test ps_w64_c_vote_rewrite (SHADER-820) Draft
#186 Unclaimed cs_lds_xchg64_ext: judge ds_or_rtn_b64's returned pair and ds_max_rtn_f32's two results apart Draft
#185 Unclaimed xgameruntime: XAsyncBeginAlloc and XTaskQueueIsEmpty are forwarded to the real task queue Draft
#184 Unclaimed rdna2spirv: an out-of-range s_buffer_load reads through the buffer's base (llvmpipe segfault) Draft
#183 Unclaimed host_cpu: move gta6rt's AVX preflight decision into a testable preflight() Draft
#182 Unclaimed xgameruntime: test the XErrorReport export and count it among the looked-up names Draft
#179 Unclaimed GPU test cs_w32_movrels64: s_movrels_b64 Draft
#178 Unclaimed GPU test cs_w32_atomic_contend: buffer_atomic_inc/dec under contention Draft
#176 Unclaimed GPU test cs_w32_lds_add_f32: ds_add_f32 and ds_add_rtn_f32 Draft
#175 Unclaimed rdna2spirv: v_writelane_b32 reads its destination (SHADER-768) Draft
#174 Unclaimed rdna2spirv: global_atomic_add/sub_x2 and buffer_atomic_add/sub_x2 Draft
#173 Unclaimed GPU test cs_w32_late_ext: ds_mskor, v_add/sub_nc_i16 clamp, s_buffer_load constant offset Draft
#172 Unclaimed rdna2spirv: buffer_load_format_d16_hi_x and buffer_store_format_d16_hi_x Draft
#171 Unclaimed GPU test cs_w32_pk_rel_ext: packed 16-bit ints, v_swaprel, s_movrels, ds_or/xor_b64 Draft
#170 Unclaimed Navmesh: rule out stream lengths as the 4 KiB boundary selector (ASSET-445) Draft
#169 Unclaimed GPU test cs_w32_saveexec_ext: the saveexec / wrexec kinds of #1657 Draft
#168 Unclaimed leonida_mods: hash lower-cased Latin-1 bytes in joaat() Draft
#167 Unclaimed docs: update pt-PT quickstart pc checker and whitelist foreign CLI flags Draft
#166 Unclaimed xgameruntime: XPackage enumeration, installation monitors and package-installed registration offline Draft
#165 Unclaimed docs: fence command block in semantic README and unbacktick unmerged note path Draft
#164 Unclaimed docs: escape pipe in design.md table and deduplicate README.md rows Draft
#163 Unclaimed docs: document LEONIDA_RNG_SEED in runtime/README.md Draft
#162 Unclaimed rdna2spirv: a mesh shader exp pos1 writes Layer and ViewportIndex per primitive Draft
#161 Unclaimed docs: verify movie archive padding and trailer totals Draft
#159 Unclaimed docs: salu_diff generates 99 opcodes by default; v_pack_b32_f16 abs is implemented (fixes #5519, fixes #5517) Draft
#158 Unclaimed runtime: handle Xbox device slot 81 (GetFrameEventsX) (resubmission of #8869) Draft
#157 Unclaimed docs(i18n): shaders, assets and runtime run together since #1797 in 9 quickstarts (PROC-544) Draft
#156 Unclaimed fix(xgameruntime): release g_error_mutex before invoking XErrorCallback in XErrorReport Draft
#154 Unclaimed rdna2spirv: implicit samples read the T# FORMAT view in every dimension (SHADER-1404) Draft
#153 Unclaimed gta6rt: --upscaler-picker RVA[,KIND] replaces the game's choice of upscaler (FSR on Series X) Draft
#152 Unclaimed runtime: answer the console-type registry key (ConsoleMode) from LEONIDA_DEVICE_TYPE Draft
#151 Unclaimed FFX shim: the title's five FidelityFX calls answered by the layer's PC upscaler (part 2) Draft
#150 Unclaimed d3d12 layer: an Upscale command replayed through AMD's PC upscaler (FFX shim, part 1) Draft
#148 Unclaimed subgroup_size: reject half-zero and invalid subgroup size ranges in decide_subgroup_size Draft
#147 Unclaimed xgameruntime_gamesave: prevent uint64_t quota underflow in commit() on case-colliding blobs Draft
#146 Unclaimed resource_detile: strip-mined cache-line micro-tile copies, 1.2x-14.6x faster, bit-identical (PERF-RESOURCE-DETILE) Draft
#145 Unclaimed runtime: AMD's PC FidelityFX upscaler on the layer's Vulkan device (RT-344) Draft
#144 Unclaimed tests: GPU fixture cs_w32_min3_med3_16 for 16-bit min3/max3/med3 Draft
#143 Unclaimed fix: translate image_load_mip glc on 2D through the coherent storage view Draft
#142 Unclaimed d3d12_xs: answer the console command-list IID the retail executable asks for Draft
#141 Unclaimed runtime: build again on MSVC after #9576 (slot 14 console descriptor heap) Draft
#140 Unclaimed tools/native: unified zero-dependency Rust workspace for 8 hot accelerators (13x-228x, Python fallback) Draft
#139 Unclaimed CI: suppress pass notices when the runner reports no failure names Draft
#138 Unclaimed d3d12: a failed present is named, and a run of the same failure is logged at its 1st, 10th, 100th, ... Draft
#137 Unclaimed rdna2spirv: keep NaN-pattern constants out of float-typed selects in image_bvh (#6623) Draft
#136 Unclaimed tests/semantic: green without the game or SPIRV-Tools (image atomics guard after #4473, optional spirv-val) Draft
#135 Unclaimed Tests: GPU coverage for v_cmp_class_f16/f64, v_fmamk/fmaak_f16, v_cvt_pknorm_*_f16 and v_mac_legacy_f32 Draft
#134 Unclaimed Tests: GPU coverage for v_add/sub_nc_i16, 16-bit min3/max3/med3 and v_pk_add_u16/v_pk_mad_i16 Draft
#132 Unclaimed rdna2spirv: image_sample reads integer textures through the typed view in every dimension and stage (SHADER-1404) Draft
#130 Unclaimed tests: reject identical fenced blocks that are back to back in docs/ Draft
#128 Unclaimed tools: print the plain path, not a repr'd one, in OSError messages Draft
#126 Unclaimed xgameruntime: XUserFindForDevice answers E_GAMEUSER_USER_NOT_FOUND until XUserAddAsync (RT-382) Draft
#125 Unclaimed Do not hide failed compute dumps behind subgroup skips Draft
#123 Unclaimed cmake: pass LEONIDA_SPIRV_TOOLS to the subgroup shader build Draft
#122 Unclaimed runtime: fix MSVC build failures in acphal and console descriptor heap shims Draft
#121 Unclaimed tools/mc_command: check PATHEXT on Windows when shutil.which misses path without extension Draft
#120 Unclaimed Translator: computed I/J pairs under --bary-fallback (per-vertex values from the geometry shader) Draft
#119 Unclaimed tests: create gta6rt.exe on Windows in test_leonida_mods run --print test Draft
#118 Unclaimed d3d12: CheckFeatureSupport refuses shader models past 6.9 and sets CAST_WITHIN_BIT_LAYOUT as the host does Draft
#117 Unclaimed tests/semantic: narrow EXEC in test_image_atomics_guard so dynamic %active guard is exercised Draft
#116 Unclaimed test_ttpf_assets: read the original DDS before the rebuild removes it (FileNotFoundError once bcpack_calibration is built) Draft
#115 Unclaimed runtime: unified loader/OS perf pack (console paths, per-DLL import cache, SHA-NI, lock-free registry) Draft
#114 Unclaimed conformance/compare.py: import traceback, so an unexpected crash exits 2 and not the mismatch code 1 Draft
#113 Unclaimed runtime/vulkan: unified per-frame perf pack (bindless 0-alloc, view/descriptor/format tables) Draft
#112 Unclaimed rdna2spirv: refuse 3D Dref c_lz samples (SHADER-1402) Draft
#111 Unclaimed Tests: method_variants castable-list cases on a host without relaxed format casting Draft
#110 Unclaimed rdna2spirv: a plain image_sample reads a UINT/SINT image in every dimension and stage (SHADER-1404) Draft
#109 Unclaimed tested with real executable Draft
#108 Unclaimed rdna2spirv: an implicit image_sample reads the UINT/SINT view in every dimension and stage (SHADER-1404) Draft
#106 Unclaimed wave64_emulate_opt: ds_append and ds_consume always barrier under --wave64-emulate Draft
#105 Unclaimed tests/rdna2spirv: drop the test of a method the branchless decode removed Draft
#104 Unclaimed tests/docs: read an indented code block as code, not prose Draft
#103 Unclaimed docs: fix the four doc-test failures on main (repeated lines, CLI flags, a missing path) Draft
#102 Unclaimed vk_pipeline_check: skip a module's missing features before vkCreateShaderModule Draft
#101 Unclaimed rdna2spirv: use subgroup ballot in quad_any for non-PS stages to avoid partial-quad UB Draft
#100 Unclaimed docs, tools: point repository links at ProjectLeonida/Leonida Draft
#99 Unclaimed docs(i18n): update stage-order sentence in 9 quickstarts (PROC-544) Draft
#97 Unclaimed rdna2spirv: redirect absent subgroup lanes before OpGroupNonUniformShuffle in ds_permute Draft
#95 Unclaimed rdna2spirv: guard image_bvh PhysicalStorageBuffer loads on active EXEC lanes Draft
#94 Unclaimed rdna2spirv: use OpAtomicStore for MSG_GS_ALLOC_REQ %ms_counts (SHADER-766) Draft
#93 Unclaimed tests: provide AbortController and timers in viewer camera speed test sandbox Draft
#92 Unclaimed docs(i18n): quickstarts match README stage order (PROC-544) Draft
#91 Unclaimed shader_ir: the docstring gives "invalid" as a count, which is what parse_file returns Draft
#89 Unclaimed runtime/shims: shim GetDateFormatEx and GetTimeFormatEx Draft
#88 Unclaimed runtime/shims: shim GetLogicalProcessorInformation and GlobalMemoryStatusEx Draft
#87 Unclaimed runtime/shims: fix acphal context sizes and guard Vulkan heap helper on non-Vulkan builds Draft
#85 Unclaimed Tests: GPU coverage for v_swaprel_b32 and s_movrels_b32/b64 Draft
#84 Unclaimed docs/testing: known-problems row for the four newer compute fixtures on an Arc 140T (ANV 25.2.8) Draft
#82 Unclaimed runtime: main builds with MSVC again (console descriptor heap of #9577, acphal context sizes of #9515) Draft
#80 Unclaimed buffer_bounds_probe: a non-numeric --waves exits 2 instead of a traceback Draft
#79 Unclaimed Keep query recording state consistent after allocation failure Draft
#77 Unclaimed Cancel suspended Vulkan presents before enqueueing Draft
#76 Unclaimed bvh_slot_check: unpack 6-tuple from model_geometries() Draft
#74 Unclaimed docs: D3D-56 descriptor lookup numbers on RTX 3070 (Ampere, ReBAR off) Draft
#73 Unclaimed docs/i18n: quickstarts say shaders, assets and runtime run together (PROC-544) Draft
#72 Unclaimed docs(i18n): describe parallel build stages in ar, it and zh-CN (PROC-544) Draft
#71 Unclaimed fix(vulkan): use memory_type_order with OOM fallback in PredicateReducer::batch Draft
#70 Unclaimed find_hash_lookup: clamp raw section sizes and validate window and top parameters Draft
#67 Unclaimed docs/gpu_test_results.md: record NVIDIA GeForce RTX 5060 Ti (Windows 11, 610.88) results Draft
#65 Unclaimed rdna2spirv: translate FLAT loads and stores as global accesses Draft
#64 Unclaimed Retail boot v35 Draft
#63 Unclaimed ps_sweep: preserve proven color mismatches in exact reports (BUILD-3988) Draft
#62 Unclaimed TEST-2033: print the sizes when the compacted-size check fails Draft
#61 Unclaimed make_game: --gpu-info FILE decides the shaders stage for the PC that will run the port Draft
#60 Unclaimed dxgi: let shaders sample swap-chain back buffers Draft
#59 Unclaimed GPU fixture for the packed integer dot products (cs_w32_dot_int) Draft
#58 Unclaimed replay_cpu_bench: stop overstating a draw 2.1x and a frame 1.9x (measure the layer, not the harness) Draft
#57 Unclaimed tools: --shard balances by file size, so the parallel stage waits for nobody (output byte-identical) Draft
#55 Unclaimed tools: one cached work_root() per shader instead of nine realpath() calls (-14% fixed cost, byte-identical) Draft
#54 Unclaimed scripts: measure the translator (us per instruction) and compare two tools/ trees Draft
#53 Unclaimed pe_shader_containers: parse and validate multi-image container layouts Draft
#52 Unclaimed docs(i18n): shaders, assets and runtime run together since #1797 in the de, es and ja quickstarts (PROC-544) Draft
#51 Unclaimed d3d12: refuse a pipeline whose shader needs VK_KHR_maintenance8 on a device without it Draft
#50 Unclaimed Exclude oversized sheets from sandbox ground bounds (BUILD-3983) Draft
#49 Unclaimed d3d12_vulkan_device: answer features 56 and 57 before the CheckFeatureSupport switch (MSVC C4063) Draft
#48 Unclaimed w64_graphics: a vk_harness timeout fails that fixture; the rest still run (#9764) Draft
#46 Unclaimed gameinput: StopCallback and UnregisterCallback take the current-callback token Draft
#45 Unclaimed pe_inspect: parse and validate PE export forwarders table Draft
#42 Unclaimed d3d12: LEONIDA_STUB_PIPELINES, a pipeline without a translated shader is a no-op stub (boot past stop 18) Draft
#41 Unclaimed startup trace: a call through a null pointer names its caller (null_call_from) Draft
#40 Unclaimed rdna2spirv: the PS FRONT_FACE VGPR is 0xffffffff / 0 — all 345 game shaders that read it test it against integer 0 (SHADER-892) Draft
#39 Unclaimed gameinput: GetNext/PreviousReading match the reading's kind (RT-370) Draft
#38 Unclaimed d3d12: a static sampler is also keyed by the S# the console's compiler writes (it isn't bit-equal to the layer's) Draft
#37 Unclaimed runtime: fall back to staging copies when a HOST_TRANSFER image has no memory type (TEST-995) Draft
#36 Unclaimed GPU fixture for v_mqsad_u32_u8 through the translated path (TEST-644) Draft
#35 Unclaimed TEST-924: every texture format the game uses, from a real game texture, through the D3D12 layer (all 20 formats) Draft
#34 Unclaimed CI: run the runtime tests under ASan and UBSan on Linux Draft
#33 Unclaimed TEST-524: first light with a texture — the real model through a game PS that samples a T# Draft

ettehn — 1 open PRs

PR Claim / owner Work (PR title) State
#310 BUILD-SPIRV-DEBUGINFO — ettehn BUILD-SPIRV-DEBUGINFO: Support named SPIR-V shader debug instructions Ready

huanchong-99 — 1 open PRs

PR Claim / owner Work (PR title) State
#339 Unclaimed docs: proposal for a change gate (module boundaries, function complexity, doubled text) Draft

ItsMrDubey — 1 open PRs

PR Claim / owner Work (PR title) State
#124 RT-XCRDAPI-CLASS — ItsMrDubey RT-XCRDAPI-CLASS: classify XCRDAPI.dll!DStorageGetFactory as HRESULT (Refs #47) Ready

JiyouProt — 1 open PRs

PR Claim / owner Work (PR title) State
#334 VERIFY-CACHE-COLLISION — JiyouProt manifest_verifier: refuse cache aliases of the input manifest (VERIFY-CACHE-COLLISION) Ready

kotekompotek — 8 open PRs

PR Claim / owner Work (PR title) State
#342 Unclaimed test: unit tests for tools/hw_oracle/runner.py Ready
#341 Unclaimed test: unit tests for tools/conformance/compare.py Ready
#340 Unclaimed test: unit tests for tools/gen_gdk_runtime_classes.py Ready
#278 Unclaimed rdna2spirv: decode gfx1013 VOP3 0x16b opcode Ready
#275 Unclaimed rdna2spirv: fix V_SAD_U32 clamping and u32 overflow handling Ready
#272 Unclaimed raytracing: fix BVH index building and validation Ready
#258 Unclaimed tools: fix skinned GLB export and vertex skinning weights Ready
#251 Unclaimed rdna2spirv: fix ds_wrxchg_rtn_b64 / atomic_swap_x2 64-bit address and data handling Ready

lucyr03 — 1 open PRs

PR Claim / owner Work (PR title) State
#343 Unclaimed shims: add DirectStorage shim and Xbox ABI header Ready

milk4sale — 1 open PRs

PR Claim / owner Work (PR title) State
#335 GPU-CUBE-STORE — milk4sale GPU fixture cs_imgstore_cube: image_store on dim:SQ_RSRC_IMG_CUBE (GPU-CUBE-STORE) Ready

Mouad-Scriptz-0 — 1 open PRs

PR Claim / owner Work (PR title) State
#336 GPU-INTEL-MTL-TFE — Mouad-Scriptz-0 docs/gpu_test_results: the Intel record's tfe failures are the fixtures' expectation (GPU-INTEL-MTL-TFE) Ready

Mumogg — 2 open PRs

PR Claim / owner Work (PR title) State
#328 RT-XMEM-VIEW-PROTECT — Mumogg xmem: map physical pages without a cache modifier in the view protection, again (RT-XMEM-VIEW-PROTECT) Ready
#321 RT-BOOT-INTEGRATION — Mumogg [draft, integration] retail boot to the frame loop on current main (RT-BOOT-INTEGRATION) Draft

natterman12 — 2 open PRs

PR Claim / owner Work (PR title) State
#337 D3D-EXECIND-RANGE — natterman12 d3d12: ExecuteIndirect accepts the argument ranges newer D3D12 runtimes accept (D3D-EXECIND-RANGE) Ready
#280 GPU-3080TI — natterman12 GPU results: NVIDIA GeForce RTX 3080 Ti (Ampere) on main da60a361 (GPU-3080TI) Ready

NolanCotter — 1 open PRs

PR Claim / owner Work (PR title) State
#338 SHADER-SATPK-U8 — NolanCotter rdna2spirv: translate v_sat_pk_u8_i16 (SHADER-SATPK-U8) Ready

StaticM223 — 1 open PRs

PR Claim / owner Work (PR title) State
#12 Unclaimed Refactor tool management and subprocess execution Ready
<!-- gh-comment-id:7121775229 --> @Andretuta commented on GitHub (Nov 24, 2026): ### Initial pull request activity snapshot — 2026-11-24 03:38:09 UTC ## Current open pull request activity Updated: **2026-11-24 03:38:09 UTC** — **273 open PRs** across **13 submitters**. PR author is the submitter; it does not establish ownership. A linked claim is valid only when its issue #14 comment predates the PR and the claimant matches the author. Rows marked **Needs claim** require a valid claim. The action reports status only; it never closes or assigns a PR. This is a dated snapshot. The Coordination activity Action will publish a live roster in its own bot comment after PR #221 is merged. ### `Andretuta` — 252 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#333](https://github.com/ubiquitarianism/leonida/pull/333) | Unclaimed | dxgi: an _SRGB shader-resource view samples an 8-bit UNORM back buffer (stacked on #9783) | Draft | | [#332](https://github.com/ubiquitarianism/leonida/pull/332) | Unclaimed | make_game: ignore partial vulkaninfo output after a failed probe | Draft | | [#331](https://github.com/ubiquitarianism/leonida/pull/331) | Unclaimed | meshlet_page: fix u16 running-sum wraparound, non-finite crashes, and 0-meshlet groups | Draft | | [#330](https://github.com/ubiquitarianism/leonida/pull/330) | Unclaimed | runtime: main builds again (console descriptor heap handler, acphal context sizes) | Draft | | [#329](https://github.com/ubiquitarianism/leonida/pull/329) | Unclaimed | xdxr_bvh: handle D3D12 inactive primitives and NaN bounds | Draft | | [#327](https://github.com/ubiquitarianism/leonida/pull/327) | Unclaimed | fix: rdna2spirv decodes scalar, image and buffer tuples that run into vcc, so the pipeline-library shaders translate | Draft | | [#326](https://github.com/ubiquitarianism/leonida/pull/326) | Unclaimed | runtime: the index buffer view size bounds the index fetch in the Vulkan replay (reads past the view are 0) | Draft | | [#325](https://github.com/ubiquitarianism/leonida/pull/325) | Unclaimed | docs/i18n: the nine quickstarts say the stages run together, not in a chain | Draft | | [#324](https://github.com/ubiquitarianism/leonida/pull/324) | Unclaimed | rdna2spirv: write out a carry-out subtract of a register from itself (AMD Windows driver crash) | Draft | | [#323](https://github.com/ubiquitarianism/leonida/pull/323) | Unclaimed | docs: describe runtime Vulkan pipeline cache loading | Draft | | [#322](https://github.com/ubiquitarianism/leonida/pull/322) | Unclaimed | tests: the make_game --jobs tests no longer depend on the host's core count | Draft | | [#320](https://github.com/ubiquitarianism/leonida/pull/320) | Unclaimed | test_guest_scene_reference: compare the resolved loader path | Draft | | [#319](https://github.com/ubiquitarianism/leonida/pull/319) | Unclaimed | runtime: link the fixtures with no base relocations with /INCREMENTAL:NO (BUILD-1550) | Draft | | [#318](https://github.com/ubiquitarianism/leonida/pull/318) | Unclaimed | crosslane_fuzz: reject dumps from failed GPU processes | Draft | | [#317](https://github.com/ubiquitarianism/leonida/pull/317) | Unclaimed | file_system: GetVolumeInformation and GetVolumePathName answer for the GAME: and T: roots | Draft | | [#316](https://github.com/ubiquitarianism/leonida/pull/316) | Unclaimed | mods: hash a mod.json name as hashdict.joaat does (lower-cased Latin-1, not UTF-8 bytes) | Draft | | [#315](https://github.com/ubiquitarianism/leonida/pull/315) | Unclaimed | instance_lists: count grass and prop instances in bulk (9x / 3.6x, same output) | Draft | | [#314](https://github.com/ubiquitarianism/leonida/pull/314) | Unclaimed | d3d12: SYNC_COPY waits for the CLEAR stage too, so WriteBufferImmediate is ordered (D3D-838) | Draft | | [#313](https://github.com/ubiquitarianism/leonida/pull/313) | Unclaimed | run_guest_scene: take the Wine from $WINE when --wine is not given | Draft | | [#312](https://github.com/ubiquitarianism/leonida/pull/312) | Unclaimed | tests: expect the unreadable path as OSError prints it (bink_names, opus_tags, world_names) | Draft | | [#311](https://github.com/ubiquitarianism/leonida/pull/311) | Unclaimed | vk_subgroup_info: per_vertex_inputs needs VK_KHR_fragment_shader_barycentric listed (RADV on gfx90c) | Draft | | [#309](https://github.com/ubiquitarianism/leonida/pull/309) | Unclaimed | rdna2spirv: intra-block %vgpr/%sgpr value forwarding (resubmission of #4518) | Draft | | [#308](https://github.com/ubiquitarianism/leonida/pull/308) | Unclaimed | anim_glb: bind weighted bones outside the skeleton as extra rest-pose joints | Draft | | [#307](https://github.com/ubiquitarianism/leonida/pull/307) | Unclaimed | d3d12_clear_test: report Vulkan driver NaN depth-clear canonicalization to 1.0 on AMD | Draft | | [#306](https://github.com/ubiquitarianism/leonida/pull/306) | Unclaimed | d3d12_execute_indirect_validation_test: handle Windows 11 26300 relaxed max=0 and padded-stride bounds | Draft | | [#305](https://github.com/ubiquitarianism/leonida/pull/305) | Unclaimed | bink_index: validate frame offsets within each stored stream | Draft | | [#304](https://github.com/ubiquitarianism/leonida/pull/304) | Unclaimed | docs: correct the retail XMem shim status (DOCS-XMEM-SHIMS) | Draft | | [#303](https://github.com/ubiquitarianism/leonida/pull/303) | Unclaimed | make_game: extract and translate the retail executable's 10 embedded shaders (exe stage) | Draft | | [#302](https://github.com/ubiquitarianism/leonida/pull/302) | Unclaimed | tests: GPU fixture cs_w32_vcmp64_null for 64-bit integer v_cmp/v_cmpx null sources | Draft | | [#301](https://github.com/ubiquitarianism/leonida/pull/301) | Unclaimed | wave32_pixel_scan: use shared same_report_path and catch --out write OSError | Draft | | [#300](https://github.com/ubiquitarianism/leonida/pull/300) | Unclaimed | merge_check: preserve Unicode line separators in squash subjects | Draft | | [#299](https://github.com/ubiquitarianism/leonida/pull/299) | Unclaimed | test: SPIR-V translation tests for image_sample_d and image_sample_d_cl | Draft | | [#298](https://github.com/ubiquitarianism/leonida/pull/298) | Unclaimed | test(hw_oracle): unit tests for tools/hw_oracle/tsharp.py | Draft | | [#297](https://github.com/ubiquitarianism/leonida/pull/297) | Unclaimed | test(hw_oracle): unit tests for tools/hw_oracle/drm.py | Draft | | [#296](https://github.com/ubiquitarianism/leonida/pull/296) | Unclaimed | make_game: gta6rt.sh resolves a relative WINE before changing to the game folder | Draft | | [#295](https://github.com/ubiquitarianism/leonida/pull/295) | Unclaimed | test: unit tests for tools/probe_gfx1036_vcmp16.py | Draft | | [#294](https://github.com/ubiquitarianism/leonida/pull/294) | Unclaimed | test: unit tests for tools/rdna2_isa_tables.py | Draft | | [#293](https://github.com/ubiquitarianism/leonida/pull/293) | Unclaimed | spirv_asm: refuse an output that aliases the source (SPIRV-ASM-INPUT-ALIAS) | Draft | | [#292](https://github.com/ubiquitarianism/leonida/pull/292) | Unclaimed | d3d12: ResolveSubresource averages a typeless resource in the format it names (sRGB in linear light) | Draft | | [#291](https://github.com/ubiquitarianism/leonida/pull/291) | Unclaimed | rdna2spirv: zero the tfe/lwe status VGPR on image_load and image_load_mip | Draft | | [#290](https://github.com/ubiquitarianism/leonida/pull/290) | Unclaimed | d3d12: honour RASTERIZER_DESC2 LineRasterizationMode with VK_EXT_line_rasterization | Draft | | [#289](https://github.com/ubiquitarianism/leonida/pull/289) | Unclaimed | shader_disasm: hand llvm-mc its input in lines of 64 bytes, not one long line (up to ~380x faster, identical output) | Draft | | [#288](https://github.com/ubiquitarianism/leonida/pull/288) | Unclaimed | Tests: a refused depth resolve is checked by its Close alone | Draft | | [#287](https://github.com/ubiquitarianism/leonida/pull/287) | Unclaimed | file_system: GetTempPath and GetTempFileName resolve GAME:, G: and T: to the overlay scratch folder | Draft | | [#286](https://github.com/ubiquitarianism/leonida/pull/286) | Unclaimed | docs: add NVIDIA GeForce GTX 1650 SUPER GPU test results | Draft | | [#285](https://github.com/ubiquitarianism/leonida/pull/285) | Unclaimed | make_game: keep checking pipelines when the previous crash report is locked | Draft | | [#284](https://github.com/ubiquitarianism/leonida/pull/284) | Unclaimed | test: compare Wine launcher physical paths | Draft | | [#283](https://github.com/ubiquitarianism/leonida/pull/283) | Unclaimed | d3d12_xs: export D3D12CreateVersionedRootSignatureDeserializer, clearing the Xbox RTS0 flags | Draft | | [#282](https://github.com/ubiquitarianism/leonida/pull/282) | Unclaimed | fix(rdna2spirv): order image_sample, image_gather4, image_bvh and ignore ds_nop in --wave64-emulate | Draft | | [#281](https://github.com/ubiquitarianism/leonida/pull/281) | Unclaimed | fix: shader_disasm prints the v_dot4_i32_i8 op_sel 2 / op_sel_hi 5 words llvm-mc rejects, so the FSR4 FSPX programs translate | Draft | | [#279](https://github.com/ubiquitarianism/leonida/pull/279) | Unclaimed | d3d12: min/max samplers honour filterMinmaxImageComponentMapping (D3D… | Draft | | [#277](https://github.com/ubiquitarianism/leonida/pull/277) | Unclaimed | runtime/shims: implement xapu.dll and chad.dll audio processor shims | Draft | | [#276](https://github.com/ubiquitarianism/leonida/pull/276) | Unclaimed | docs/i18n: it, ja, pl-PL quickstarts no longer promise a faster first boot from the pipeline cache | Draft | | [#274](https://github.com/ubiquitarianism/leonida/pull/274) | Unclaimed | bvh_groups: use shared same_report_path and catch --json write OSError | Draft | | [#273](https://github.com/ubiquitarianism/leonida/pull/273) | Unclaimed | docs/boot.md: what a Wine prefix has to supply, and the quiet failure without it | Draft | | [#271](https://github.com/ubiquitarianism/leonida/pull/271) | Unclaimed | file_system: a GAME: name inside a missing folder fails with ERROR_PATH_NOT_FOUND, as on the host | Draft | | [#270](https://github.com/ubiquitarianism/leonida/pull/270) | Unclaimed | test: follow full-EXEC f64 output word stores | Draft | | [#269](https://github.com/ubiquitarianism/leonida/pull/269) | Unclaimed | runtime: stop the configure when Vulkan headers are too old for the Windows runtime | Draft | | [#267](https://github.com/ubiquitarianism/leonida/pull/267) | Unclaimed | fix: lower wide and strided geometry shader LDS accesses | Draft | | [#266](https://github.com/ubiquitarianism/leonida/pull/266) | Unclaimed | docs/gpu_test_results: record Intel Iris Xe (8086:46a6) and RTX 3070 Ti Laptop (Windows 11) results | Draft | | [#264](https://github.com/ubiquitarianism/leonida/pull/264) | Unclaimed | wip: local boot fixes up to 1636 D3D12 calls | Draft | | [#261](https://github.com/ubiquitarianism/leonida/pull/261) | Unclaimed | d3d12: support Xbox depth/stencil UAVs on committed and placed textures (D3D-991) | Draft | | [#260](https://github.com/ubiquitarianism/leonida/pull/260) | Unclaimed | d3d12_xs: the first call of a forwarded device slot names its caller (RT-526) | Draft | | [#259](https://github.com/ubiquitarianism/leonida/pull/259) | Unclaimed | Conformance reader rejects invalid critical PNG chunk structure | Draft | | [#257](https://github.com/ubiquitarianism/leonida/pull/257) | Unclaimed | chore: Added 14 missing function output type annotations in build.py | Draft | | [#256](https://github.com/ubiquitarianism/leonida/pull/256) | Unclaimed | Conformance expect returns input-error status for unreadable images | Draft | | [#254](https://github.com/ubiquitarianism/leonida/pull/254) | Unclaimed | Validate RPF9 archive headers before scanning meshlet pages | Draft | | [#252](https://github.com/ubiquitarianism/leonida/pull/252) | Unclaimed | Update Discord link in README.md | Draft | | [#250](https://github.com/ubiquitarianism/leonida/pull/250) | Unclaimed | docs(models): remove duplicate material effect section (lines 653-737) | Draft | | [#249](https://github.com/ubiquitarianism/leonida/pull/249) | Unclaimed | test: exercise AWC manifest staged cleanup on all hosts | Draft | | [#247](https://github.com/ubiquitarianism/leonida/pull/247) | Unclaimed | rdna2spirv: support directed MODE.FP_ROUND\[3:2\] (+inf/-inf) and dynamic s_setreg_b32 | Draft | | [#245](https://github.com/ubiquitarianism/leonida/pull/245) | Unclaimed | d3d12_boot_movie_test: drop unused label parameter on present lambda (C4100) | Draft | | [#244](https://github.com/ubiquitarianism/leonida/pull/244) | Unclaimed | Document radio track label keys and count matches | Draft | | [#243](https://github.com/ubiquitarianism/leonida/pull/243) | Unclaimed | runtime: fix the three compile breaks that stop main from building | Draft | | [#242](https://github.com/ubiquitarianism/leonida/pull/242) | Unclaimed | merge_check: separate Git revisions from checkout paths | Draft | | [#241](https://github.com/ubiquitarianism/leonida/pull/241) | Unclaimed | ps_interp_modes: refuse a single named file without a readable PSV0 chunk | Draft | | [#240](https://github.com/ubiquitarianism/leonida/pull/240) | Unclaimed | d3d12: color MIN and MAX resolves for typed 2D resources | Draft | | [#238](https://github.com/ubiquitarianism/leonida/pull/238) | Unclaimed | d3d12_vulkan_device_test: query ID3D12Device10 on inner device to avoid slot 78 SetFrameIntervalX shadow | Draft | | [#236](https://github.com/ubiquitarianism/leonida/pull/236) | Unclaimed | d3d12_com_test: test invalid ClearDepthStencilView flags instead of depth 2.0f | Draft | | [#235](https://github.com/ubiquitarianism/leonida/pull/235) | Unclaimed | d3d12_xs_rootsig: remove duplicate checksum check rejecting all-zero-checksum Xbox blobs | Draft | | [#233](https://github.com/ubiquitarianism/leonida/pull/233) | Unclaimed | gameinput: preserve controller transitions between polls | Draft | | [#232](https://github.com/ubiquitarianism/leonida/pull/232) | Unclaimed | Tests: d3d12_depth_resolve no longer expects a refused list to replay | Draft | | [#231](https://github.com/ubiquitarianism/leonida/pull/231) | Unclaimed | runtime/shims: implement console DirectStorage shims (XCRDAPI / dstorage_xs) | Draft | | [#230](https://github.com/ubiquitarianism/leonida/pull/230) | Unclaimed | psocache_usersig: refuse --limit combined with --entry | Draft | | [#229](https://github.com/ubiquitarianism/leonida/pull/229) | Unclaimed | conformance build.ps1: find Visual Studio's CMake and name no Visual Studio version | Draft | | [#228](https://github.com/ubiquitarianism/leonida/pull/228) | Unclaimed | runtime: LEONIDA_SKIP_ASSERTS and caller logging for forwarded device slots (RT-526) | Draft | | [#226](https://github.com/ubiquitarianism/leonida/pull/226) | Unclaimed | tests: GPU fixture cs_w32_cvt_flr_rpi for v_cvt_flr_i32_f32 and v_cvt_rpi_i32_f32 | Draft | | [#225](https://github.com/ubiquitarianism/leonida/pull/225) | Unclaimed | rdna2spirv: image_sample* outside 2D selects the UINT/SINT sampled view (SHADER-1404) | Draft | | [#224](https://github.com/ubiquitarianism/leonida/pull/224) | Unclaimed | rdna2spirv: 64-bit scalar data ops lower to 2x32-bit, no Int64 (SHADER-930) | Draft | | [#223](https://github.com/ubiquitarianism/leonida/pull/223) | Unclaimed | docs/i18n: the quickstarts say shaders, assets and runtime run together (PROC-544) | Draft | | [#222](https://github.com/ubiquitarianism/leonida/pull/222) | Unclaimed | README: run gta6rt.sh with UMU-Proton's wine in a prefix of its own | Draft | | [#221](https://github.com/ubiquitarianism/leonida/pull/221) | [`COORD-CLAIM-CHECK`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120227654) — `Andretuta` | ci: validate pull request coordination claims | Draft | | [#220](https://github.com/ubiquitarianism/leonida/pull/220) | Unclaimed | d3d12: validate CreateShaderResourceView descriptors (reopens #5275) | Draft | | [#219](https://github.com/ubiquitarianism/leonida/pull/219) | Unclaimed | d3d12_xs: route device slots 86, 101, and 108 to PC Device2/Device5/Device8 (reopens #7201) | Draft | | [#218](https://github.com/ubiquitarianism/leonida/pull/218) | Unclaimed | d3d12: persist the runtime Vulkan pipeline cache across launches | Draft | | [#217](https://github.com/ubiquitarianism/leonida/pull/217) | Unclaimed | run_wine_session: initialize and stop the prefix with $WINE | Draft | | [#216](https://github.com/ubiquitarianism/leonida/pull/216) | Unclaimed | Select the slot 14 descriptor layout when creating the device proxy | Draft | | [#215](https://github.com/ubiquitarianism/leonida/pull/215) | Unclaimed | test(runtime): distinguish wrong V# addresses from a broken draw | Draft | | [#214](https://github.com/ubiquitarianism/leonida/pull/214) | Unclaimed | ASSET-430: Integrate merged rpf9-explorer fragment recovery fix | Draft | | [#213](https://github.com/ubiquitarianism/leonida/pull/213) | Unclaimed | D3D-78: Support Texture1D, Texture1DArray and Texture3D UAVs | Draft | | [#212](https://github.com/ubiquitarianism/leonida/pull/212) | Unclaimed | rdna2spirv: s_bfe_u64 / s_bfe_i64 on the dword pair, with no Int64 (SHADER-930) | Draft | | [#211](https://github.com/ubiquitarianism/leonida/pull/211) | Unclaimed | test_bvh_shaders_stage: give the fake FSPX translation its fspx_code_sha256 | Draft | | [#210](https://github.com/ubiquitarianism/leonida/pull/210) | Unclaimed | vk_compute_test: VKC_HEAP_FILE refuses an offset of 2^32 and a file past the 4 GiB heap (RT-439) | Draft | | [#209](https://github.com/ubiquitarianism/leonida/pull/209) | Unclaimed | tests/test_first_look_rebuild.py: stub the three report tools first_look.ps1 now runs (TEST-1421) | Draft | | [#208](https://github.com/ubiquitarianism/leonida/pull/208) | Unclaimed | runtime: build on MSVC again after the 2026-11-23 merge round, and one root_sig checksum check | Draft | | [#207](https://github.com/ubiquitarianism/leonida/pull/207) | Unclaimed | d3d12: draw the console rectangle lists and quad lists (topologies 17 and 19) as triangles | Draft | | [#206](https://github.com/ubiquitarianism/leonida/pull/206) | Unclaimed | docs/boot.md: the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271) | Draft | | [#205](https://github.com/ubiquitarianism/leonida/pull/205) | Unclaimed | bench_wave64: report a skipped shader build before benchmarking | Draft | | [#204](https://github.com/ubiquitarianism/leonida/pull/204) | Unclaimed | make_game: stage the runtime install before replacing the old files (RT-249) | Draft | | [#203](https://github.com/ubiquitarianism/leonida/pull/203) | Unclaimed | docs/i18n/ru: the quickstart says shaders, assets and runtime run together | Draft | | [#202](https://github.com/ubiquitarianism/leonida/pull/202) | Unclaimed | docs/design.md: drop superseded copies in the Workgroup barriers, Typed image loads and Geometry shaders rows | Draft | | [#201](https://github.com/ubiquitarianism/leonida/pull/201) | Unclaimed | docs/design.md: drop older copies that a newer sentence in the same row extends word for word | Draft | | [#200](https://github.com/ubiquitarianism/leonida/pull/200) | Unclaimed | docs/design.md: one copy of each rule in the 16-bit interpolation without PerVertexKHR row | Draft | | [#199](https://github.com/ubiquitarianism/leonida/pull/199) | Unclaimed | docs: correct translated quickstart build order (PROC-544) | Draft | | [#198](https://github.com/ubiquitarianism/leonida/pull/198) | Unclaimed | docs/design.md: one copy of each rule in the EXEC, v_cvt_pknorm and Wave64 mask ballot rows | Draft | | [#197](https://github.com/ubiquitarianism/leonida/pull/197) | Unclaimed | wint_diff: GFX12 has no always-true/false VALU compare; skip those programs by name | Draft | | [#196](https://github.com/ubiquitarianism/leonida/pull/196) | Unclaimed | awc_shorts: refuse a catalog destination that aliases an input bank | Draft | | [#195](https://github.com/ubiquitarianism/leonida/pull/195) | Unclaimed | runtime: LEONIDA_THREAD_SNAPSHOT names what every thread waits on at given times (A50) | Draft | | [#193](https://github.com/ubiquitarianism/leonida/pull/193) | Unclaimed | docs/design.md: one copy of each rule in the Known approximations and 64-bit scalar bitwise rows | Draft | | [#192](https://github.com/ubiquitarianism/leonida/pull/192) | Unclaimed | make_game assets: exports and pool follow-ups use --jobs instead of running one by one | Draft | | [#191](https://github.com/ubiquitarianism/leonida/pull/191) | Unclaimed | docs/design.md: one copy of each rule in the Global atomics row (stitched again after #3084) | Draft | | [#190](https://github.com/ubiquitarianism/leonida/pull/190) | Unclaimed | Create triage-block-9625-9660.md | Draft | | [#189](https://github.com/ubiquitarianism/leonida/pull/189) | Unclaimed | rdna2spirv: mesh shader compressed exports unpack their fp16 pairs instead of failing translation | Draft | | [#188](https://github.com/ubiquitarianism/leonida/pull/188) | Unclaimed | check_d3d12_trace: finish communicate() after killing a timed-out fixture | Draft | | [#187](https://github.com/ubiquitarianism/leonida/pull/187) | Unclaimed | wave64_halves: a vote on EXEC ends with a new EXEC, plus GPU test ps_w64_c_vote_rewrite (SHADER-820) | Draft | | [#186](https://github.com/ubiquitarianism/leonida/pull/186) | Unclaimed | cs_lds_xchg64_ext: judge ds_or_rtn_b64's returned pair and ds_max_rtn_f32's two results apart | Draft | | [#185](https://github.com/ubiquitarianism/leonida/pull/185) | Unclaimed | xgameruntime: XAsyncBeginAlloc and XTaskQueueIsEmpty are forwarded to the real task queue | Draft | | [#184](https://github.com/ubiquitarianism/leonida/pull/184) | Unclaimed | rdna2spirv: an out-of-range s_buffer_load reads through the buffer's base (llvmpipe segfault) | Draft | | [#183](https://github.com/ubiquitarianism/leonida/pull/183) | Unclaimed | host_cpu: move gta6rt's AVX preflight decision into a testable preflight() | Draft | | [#182](https://github.com/ubiquitarianism/leonida/pull/182) | Unclaimed | xgameruntime: test the XErrorReport export and count it among the looked-up names | Draft | | [#179](https://github.com/ubiquitarianism/leonida/pull/179) | Unclaimed | GPU test cs_w32_movrels64: s_movrels_b64 | Draft | | [#178](https://github.com/ubiquitarianism/leonida/pull/178) | Unclaimed | GPU test cs_w32_atomic_contend: buffer_atomic_inc/dec under contention | Draft | | [#176](https://github.com/ubiquitarianism/leonida/pull/176) | Unclaimed | GPU test cs_w32_lds_add_f32: ds_add_f32 and ds_add_rtn_f32 | Draft | | [#175](https://github.com/ubiquitarianism/leonida/pull/175) | Unclaimed | rdna2spirv: v_writelane_b32 reads its destination (SHADER-768) | Draft | | [#174](https://github.com/ubiquitarianism/leonida/pull/174) | Unclaimed | rdna2spirv: global_atomic_add/sub_x2 and buffer_atomic_add/sub_x2 | Draft | | [#173](https://github.com/ubiquitarianism/leonida/pull/173) | Unclaimed | GPU test cs_w32_late_ext: ds_mskor, v_add/sub_nc_i16 clamp, s_buffer_load constant offset | Draft | | [#172](https://github.com/ubiquitarianism/leonida/pull/172) | Unclaimed | rdna2spirv: buffer_load_format_d16_hi_x and buffer_store_format_d16_hi_x | Draft | | [#171](https://github.com/ubiquitarianism/leonida/pull/171) | Unclaimed | GPU test cs_w32_pk_rel_ext: packed 16-bit ints, v_swaprel, s_movrels, ds_or/xor_b64 | Draft | | [#170](https://github.com/ubiquitarianism/leonida/pull/170) | Unclaimed | Navmesh: rule out stream lengths as the 4 KiB boundary selector (ASSET-445) | Draft | | [#169](https://github.com/ubiquitarianism/leonida/pull/169) | Unclaimed | GPU test cs_w32_saveexec_ext: the saveexec / wrexec kinds of #1657 | Draft | | [#168](https://github.com/ubiquitarianism/leonida/pull/168) | Unclaimed | leonida_mods: hash lower-cased Latin-1 bytes in joaat() | Draft | | [#167](https://github.com/ubiquitarianism/leonida/pull/167) | Unclaimed | docs: update pt-PT quickstart pc checker and whitelist foreign CLI flags | Draft | | [#166](https://github.com/ubiquitarianism/leonida/pull/166) | Unclaimed | xgameruntime: XPackage enumeration, installation monitors and package-installed registration offline | Draft | | [#165](https://github.com/ubiquitarianism/leonida/pull/165) | Unclaimed | docs: fence command block in semantic README and unbacktick unmerged note path | Draft | | [#164](https://github.com/ubiquitarianism/leonida/pull/164) | Unclaimed | docs: escape pipe in design.md table and deduplicate README.md rows | Draft | | [#163](https://github.com/ubiquitarianism/leonida/pull/163) | Unclaimed | docs: document LEONIDA_RNG_SEED in runtime/README.md | Draft | | [#162](https://github.com/ubiquitarianism/leonida/pull/162) | Unclaimed | rdna2spirv: a mesh shader exp pos1 writes Layer and ViewportIndex per primitive | Draft | | [#161](https://github.com/ubiquitarianism/leonida/pull/161) | Unclaimed | docs: verify movie archive padding and trailer totals | Draft | | [#159](https://github.com/ubiquitarianism/leonida/pull/159) | Unclaimed | docs: salu_diff generates 99 opcodes by default; v_pack_b32_f16 abs is implemented (fixes #5519, fixes #5517) | Draft | | [#158](https://github.com/ubiquitarianism/leonida/pull/158) | Unclaimed | runtime: handle Xbox device slot 81 (GetFrameEventsX) (resubmission of #8869) | Draft | | [#157](https://github.com/ubiquitarianism/leonida/pull/157) | Unclaimed | docs(i18n): shaders, assets and runtime run together since #1797 in 9 quickstarts (PROC-544) | Draft | | [#156](https://github.com/ubiquitarianism/leonida/pull/156) | Unclaimed | fix(xgameruntime): release g_error_mutex before invoking XErrorCallback in XErrorReport | Draft | | [#154](https://github.com/ubiquitarianism/leonida/pull/154) | Unclaimed | rdna2spirv: implicit samples read the T# FORMAT view in every dimension (SHADER-1404) | Draft | | [#153](https://github.com/ubiquitarianism/leonida/pull/153) | Unclaimed | gta6rt: --upscaler-picker RVA\[,KIND\] replaces the game's choice of upscaler (FSR on Series X) | Draft | | [#152](https://github.com/ubiquitarianism/leonida/pull/152) | Unclaimed | runtime: answer the console-type registry key (ConsoleMode) from LEONIDA_DEVICE_TYPE | Draft | | [#151](https://github.com/ubiquitarianism/leonida/pull/151) | Unclaimed | FFX shim: the title's five FidelityFX calls answered by the layer's PC upscaler (part 2) | Draft | | [#150](https://github.com/ubiquitarianism/leonida/pull/150) | Unclaimed | d3d12 layer: an Upscale command replayed through AMD's PC upscaler (FFX shim, part 1) | Draft | | [#148](https://github.com/ubiquitarianism/leonida/pull/148) | Unclaimed | subgroup_size: reject half-zero and invalid subgroup size ranges in decide_subgroup_size | Draft | | [#147](https://github.com/ubiquitarianism/leonida/pull/147) | Unclaimed | xgameruntime_gamesave: prevent uint64_t quota underflow in commit() on case-colliding blobs | Draft | | [#146](https://github.com/ubiquitarianism/leonida/pull/146) | Unclaimed | resource_detile: strip-mined cache-line micro-tile copies, 1.2x-14.6x faster, bit-identical (PERF-RESOURCE-DETILE) | Draft | | [#145](https://github.com/ubiquitarianism/leonida/pull/145) | Unclaimed | runtime: AMD's PC FidelityFX upscaler on the layer's Vulkan device (RT-344) | Draft | | [#144](https://github.com/ubiquitarianism/leonida/pull/144) | Unclaimed | tests: GPU fixture cs_w32_min3_med3_16 for 16-bit min3/max3/med3 | Draft | | [#143](https://github.com/ubiquitarianism/leonida/pull/143) | Unclaimed | fix: translate image_load_mip glc on 2D through the coherent storage view | Draft | | [#142](https://github.com/ubiquitarianism/leonida/pull/142) | Unclaimed | d3d12_xs: answer the console command-list IID the retail executable asks for | Draft | | [#141](https://github.com/ubiquitarianism/leonida/pull/141) | Unclaimed | runtime: build again on MSVC after #9576 (slot 14 console descriptor heap) | Draft | | [#140](https://github.com/ubiquitarianism/leonida/pull/140) | Unclaimed | tools/native: unified zero-dependency Rust workspace for 8 hot accelerators (13x-228x, Python fallback) | Draft | | [#139](https://github.com/ubiquitarianism/leonida/pull/139) | Unclaimed | CI: suppress pass notices when the runner reports no failure names | Draft | | [#138](https://github.com/ubiquitarianism/leonida/pull/138) | Unclaimed | d3d12: a failed present is named, and a run of the same failure is logged at its 1st, 10th, 100th, ... | Draft | | [#137](https://github.com/ubiquitarianism/leonida/pull/137) | Unclaimed | rdna2spirv: keep NaN-pattern constants out of float-typed selects in image_bvh (#6623) | Draft | | [#136](https://github.com/ubiquitarianism/leonida/pull/136) | Unclaimed | tests/semantic: green without the game or SPIRV-Tools (image atomics guard after #4473, optional spirv-val) | Draft | | [#135](https://github.com/ubiquitarianism/leonida/pull/135) | Unclaimed | Tests: GPU coverage for v_cmp_class_f16/f64, v_fmamk/fmaak_f16, v_cvt_pknorm_*_f16 and v_mac_legacy_f32 | Draft | | [#134](https://github.com/ubiquitarianism/leonida/pull/134) | Unclaimed | Tests: GPU coverage for v_add/sub_nc_i16, 16-bit min3/max3/med3 and v_pk_add_u16/v_pk_mad_i16 | Draft | | [#132](https://github.com/ubiquitarianism/leonida/pull/132) | Unclaimed | rdna2spirv: image_sample reads integer textures through the typed view in every dimension and stage (SHADER-1404) | Draft | | [#130](https://github.com/ubiquitarianism/leonida/pull/130) | Unclaimed | tests: reject identical fenced blocks that are back to back in docs/ | Draft | | [#128](https://github.com/ubiquitarianism/leonida/pull/128) | Unclaimed | tools: print the plain path, not a repr'd one, in OSError messages | Draft | | [#126](https://github.com/ubiquitarianism/leonida/pull/126) | Unclaimed | xgameruntime: XUserFindForDevice answers E_GAMEUSER_USER_NOT_FOUND until XUserAddAsync (RT-382) | Draft | | [#125](https://github.com/ubiquitarianism/leonida/pull/125) | Unclaimed | Do not hide failed compute dumps behind subgroup skips | Draft | | [#123](https://github.com/ubiquitarianism/leonida/pull/123) | Unclaimed | cmake: pass LEONIDA_SPIRV_TOOLS to the subgroup shader build | Draft | | [#122](https://github.com/ubiquitarianism/leonida/pull/122) | Unclaimed | runtime: fix MSVC build failures in acphal and console descriptor heap shims | Draft | | [#121](https://github.com/ubiquitarianism/leonida/pull/121) | Unclaimed | tools/mc_command: check PATHEXT on Windows when shutil.which misses path without extension | Draft | | [#120](https://github.com/ubiquitarianism/leonida/pull/120) | Unclaimed | Translator: computed I/J pairs under --bary-fallback (per-vertex values from the geometry shader) | Draft | | [#119](https://github.com/ubiquitarianism/leonida/pull/119) | Unclaimed | tests: create gta6rt.exe on Windows in test_leonida_mods run --print test | Draft | | [#118](https://github.com/ubiquitarianism/leonida/pull/118) | Unclaimed | d3d12: CheckFeatureSupport refuses shader models past 6.9 and sets CAST_WITHIN_BIT_LAYOUT as the host does | Draft | | [#117](https://github.com/ubiquitarianism/leonida/pull/117) | Unclaimed | tests/semantic: narrow EXEC in test_image_atomics_guard so dynamic %active guard is exercised | Draft | | [#116](https://github.com/ubiquitarianism/leonida/pull/116) | Unclaimed | test_ttpf_assets: read the original DDS before the rebuild removes it (FileNotFoundError once bcpack_calibration is built) | Draft | | [#115](https://github.com/ubiquitarianism/leonida/pull/115) | Unclaimed | runtime: unified loader/OS perf pack (console paths, per-DLL import cache, SHA-NI, lock-free registry) | Draft | | [#114](https://github.com/ubiquitarianism/leonida/pull/114) | Unclaimed | conformance/compare.py: import traceback, so an unexpected crash exits 2 and not the mismatch code 1 | Draft | | [#113](https://github.com/ubiquitarianism/leonida/pull/113) | Unclaimed | runtime/vulkan: unified per-frame perf pack (bindless 0-alloc, view/descriptor/format tables) | Draft | | [#112](https://github.com/ubiquitarianism/leonida/pull/112) | Unclaimed | rdna2spirv: refuse 3D Dref c_lz samples (SHADER-1402) | Draft | | [#111](https://github.com/ubiquitarianism/leonida/pull/111) | Unclaimed | Tests: method_variants castable-list cases on a host without relaxed format casting | Draft | | [#110](https://github.com/ubiquitarianism/leonida/pull/110) | Unclaimed | rdna2spirv: a plain image_sample reads a UINT/SINT image in every dimension and stage (SHADER-1404) | Draft | | [#109](https://github.com/ubiquitarianism/leonida/pull/109) | Unclaimed | tested with real executable | Draft | | [#108](https://github.com/ubiquitarianism/leonida/pull/108) | Unclaimed | rdna2spirv: an implicit image_sample reads the UINT/SINT view in every dimension and stage (SHADER-1404) | Draft | | [#106](https://github.com/ubiquitarianism/leonida/pull/106) | Unclaimed | wave64_emulate_opt: ds_append and ds_consume always barrier under --wave64-emulate | Draft | | [#105](https://github.com/ubiquitarianism/leonida/pull/105) | Unclaimed | tests/rdna2spirv: drop the test of a method the branchless decode removed | Draft | | [#104](https://github.com/ubiquitarianism/leonida/pull/104) | Unclaimed | tests/docs: read an indented code block as code, not prose | Draft | | [#103](https://github.com/ubiquitarianism/leonida/pull/103) | Unclaimed | docs: fix the four doc-test failures on main (repeated lines, CLI flags, a missing path) | Draft | | [#102](https://github.com/ubiquitarianism/leonida/pull/102) | Unclaimed | vk_pipeline_check: skip a module's missing features before vkCreateShaderModule | Draft | | [#101](https://github.com/ubiquitarianism/leonida/pull/101) | Unclaimed | rdna2spirv: use subgroup ballot in quad_any for non-PS stages to avoid partial-quad UB | Draft | | [#100](https://github.com/ubiquitarianism/leonida/pull/100) | Unclaimed | docs, tools: point repository links at ProjectLeonida/Leonida | Draft | | [#99](https://github.com/ubiquitarianism/leonida/pull/99) | Unclaimed | docs(i18n): update stage-order sentence in 9 quickstarts (PROC-544) | Draft | | [#97](https://github.com/ubiquitarianism/leonida/pull/97) | Unclaimed | rdna2spirv: redirect absent subgroup lanes before OpGroupNonUniformShuffle in ds_permute | Draft | | [#95](https://github.com/ubiquitarianism/leonida/pull/95) | Unclaimed | rdna2spirv: guard image_bvh PhysicalStorageBuffer loads on active EXEC lanes | Draft | | [#94](https://github.com/ubiquitarianism/leonida/pull/94) | Unclaimed | rdna2spirv: use OpAtomicStore for MSG_GS_ALLOC_REQ %ms_counts (SHADER-766) | Draft | | [#93](https://github.com/ubiquitarianism/leonida/pull/93) | Unclaimed | tests: provide AbortController and timers in viewer camera speed test sandbox | Draft | | [#92](https://github.com/ubiquitarianism/leonida/pull/92) | Unclaimed | docs(i18n): quickstarts match README stage order (PROC-544) | Draft | | [#91](https://github.com/ubiquitarianism/leonida/pull/91) | Unclaimed | shader_ir: the docstring gives "invalid" as a count, which is what parse_file returns | Draft | | [#89](https://github.com/ubiquitarianism/leonida/pull/89) | Unclaimed | runtime/shims: shim GetDateFormatEx and GetTimeFormatEx | Draft | | [#88](https://github.com/ubiquitarianism/leonida/pull/88) | Unclaimed | runtime/shims: shim GetLogicalProcessorInformation and GlobalMemoryStatusEx | Draft | | [#87](https://github.com/ubiquitarianism/leonida/pull/87) | Unclaimed | runtime/shims: fix acphal context sizes and guard Vulkan heap helper on non-Vulkan builds | Draft | | [#85](https://github.com/ubiquitarianism/leonida/pull/85) | Unclaimed | Tests: GPU coverage for v_swaprel_b32 and s_movrels_b32/b64 | Draft | | [#84](https://github.com/ubiquitarianism/leonida/pull/84) | Unclaimed | docs/testing: known-problems row for the four newer compute fixtures on an Arc 140T (ANV 25.2.8) | Draft | | [#82](https://github.com/ubiquitarianism/leonida/pull/82) | Unclaimed | runtime: main builds with MSVC again (console descriptor heap of #9577, acphal context sizes of #9515) | Draft | | [#80](https://github.com/ubiquitarianism/leonida/pull/80) | Unclaimed | buffer_bounds_probe: a non-numeric --waves exits 2 instead of a traceback | Draft | | [#79](https://github.com/ubiquitarianism/leonida/pull/79) | Unclaimed | Keep query recording state consistent after allocation failure | Draft | | [#77](https://github.com/ubiquitarianism/leonida/pull/77) | Unclaimed | Cancel suspended Vulkan presents before enqueueing | Draft | | [#76](https://github.com/ubiquitarianism/leonida/pull/76) | Unclaimed | bvh_slot_check: unpack 6-tuple from model_geometries() | Draft | | [#74](https://github.com/ubiquitarianism/leonida/pull/74) | Unclaimed | docs: D3D-56 descriptor lookup numbers on RTX 3070 (Ampere, ReBAR off) | Draft | | [#73](https://github.com/ubiquitarianism/leonida/pull/73) | Unclaimed | docs/i18n: quickstarts say shaders, assets and runtime run together (PROC-544) | Draft | | [#72](https://github.com/ubiquitarianism/leonida/pull/72) | Unclaimed | docs(i18n): describe parallel build stages in ar, it and zh-CN (PROC-544) | Draft | | [#71](https://github.com/ubiquitarianism/leonida/pull/71) | Unclaimed | fix(vulkan): use memory_type_order with OOM fallback in PredicateReducer::batch | Draft | | [#70](https://github.com/ubiquitarianism/leonida/pull/70) | Unclaimed | find_hash_lookup: clamp raw section sizes and validate window and top parameters | Draft | | [#67](https://github.com/ubiquitarianism/leonida/pull/67) | Unclaimed | docs/gpu_test_results.md: record NVIDIA GeForce RTX 5060 Ti (Windows 11, 610.88) results | Draft | | [#65](https://github.com/ubiquitarianism/leonida/pull/65) | Unclaimed | rdna2spirv: translate FLAT loads and stores as global accesses | Draft | | [#64](https://github.com/ubiquitarianism/leonida/pull/64) | Unclaimed | Retail boot v35 | Draft | | [#63](https://github.com/ubiquitarianism/leonida/pull/63) | Unclaimed | ps_sweep: preserve proven color mismatches in exact reports (BUILD-3988) | Draft | | [#62](https://github.com/ubiquitarianism/leonida/pull/62) | Unclaimed | TEST-2033: print the sizes when the compacted-size check fails | Draft | | [#61](https://github.com/ubiquitarianism/leonida/pull/61) | Unclaimed | make_game: --gpu-info FILE decides the shaders stage for the PC that will run the port | Draft | | [#60](https://github.com/ubiquitarianism/leonida/pull/60) | Unclaimed | dxgi: let shaders sample swap-chain back buffers | Draft | | [#59](https://github.com/ubiquitarianism/leonida/pull/59) | Unclaimed | GPU fixture for the packed integer dot products (cs_w32_dot_int) | Draft | | [#58](https://github.com/ubiquitarianism/leonida/pull/58) | Unclaimed | replay_cpu_bench: stop overstating a draw 2.1x and a frame 1.9x (measure the layer, not the harness) | Draft | | [#57](https://github.com/ubiquitarianism/leonida/pull/57) | Unclaimed | tools: --shard balances by file size, so the parallel stage waits for nobody (output byte-identical) | Draft | | [#55](https://github.com/ubiquitarianism/leonida/pull/55) | Unclaimed | tools: one cached work_root() per shader instead of nine realpath() calls (-14% fixed cost, byte-identical) | Draft | | [#54](https://github.com/ubiquitarianism/leonida/pull/54) | Unclaimed | scripts: measure the translator (us per instruction) and compare two tools/ trees | Draft | | [#53](https://github.com/ubiquitarianism/leonida/pull/53) | Unclaimed | pe_shader_containers: parse and validate multi-image container layouts | Draft | | [#52](https://github.com/ubiquitarianism/leonida/pull/52) | Unclaimed | docs(i18n): shaders, assets and runtime run together since #1797 in the de, es and ja quickstarts (PROC-544) | Draft | | [#51](https://github.com/ubiquitarianism/leonida/pull/51) | Unclaimed | d3d12: refuse a pipeline whose shader needs VK_KHR_maintenance8 on a device without it | Draft | | [#50](https://github.com/ubiquitarianism/leonida/pull/50) | Unclaimed | Exclude oversized sheets from sandbox ground bounds (BUILD-3983) | Draft | | [#49](https://github.com/ubiquitarianism/leonida/pull/49) | Unclaimed | d3d12_vulkan_device: answer features 56 and 57 before the CheckFeatureSupport switch (MSVC C4063) | Draft | | [#48](https://github.com/ubiquitarianism/leonida/pull/48) | Unclaimed | w64_graphics: a vk_harness timeout fails that fixture; the rest still run (#9764) | Draft | | [#46](https://github.com/ubiquitarianism/leonida/pull/46) | Unclaimed | gameinput: StopCallback and UnregisterCallback take the current-callback token | Draft | | [#45](https://github.com/ubiquitarianism/leonida/pull/45) | Unclaimed | pe_inspect: parse and validate PE export forwarders table | Draft | | [#42](https://github.com/ubiquitarianism/leonida/pull/42) | Unclaimed | d3d12: LEONIDA_STUB_PIPELINES, a pipeline without a translated shader is a no-op stub (boot past stop 18) | Draft | | [#41](https://github.com/ubiquitarianism/leonida/pull/41) | Unclaimed | startup trace: a call through a null pointer names its caller (null_call_from) | Draft | | [#40](https://github.com/ubiquitarianism/leonida/pull/40) | Unclaimed | rdna2spirv: the PS FRONT_FACE VGPR is 0xffffffff / 0 — all 345 game shaders that read it test it against integer 0 (SHADER-892) | Draft | | [#39](https://github.com/ubiquitarianism/leonida/pull/39) | Unclaimed | gameinput: GetNext/PreviousReading match the reading's kind (RT-370) | Draft | | [#38](https://github.com/ubiquitarianism/leonida/pull/38) | Unclaimed | d3d12: a static sampler is also keyed by the S# the console's compiler writes (it isn't bit-equal to the layer's) | Draft | | [#37](https://github.com/ubiquitarianism/leonida/pull/37) | Unclaimed | runtime: fall back to staging copies when a HOST_TRANSFER image has no memory type (TEST-995) | Draft | | [#36](https://github.com/ubiquitarianism/leonida/pull/36) | Unclaimed | GPU fixture for v_mqsad_u32_u8 through the translated path (TEST-644) | Draft | | [#35](https://github.com/ubiquitarianism/leonida/pull/35) | Unclaimed | TEST-924: every texture format the game uses, from a real game texture, through the D3D12 layer (all 20 formats) | Draft | | [#34](https://github.com/ubiquitarianism/leonida/pull/34) | Unclaimed | CI: run the runtime tests under ASan and UBSan on Linux | Draft | | [#33](https://github.com/ubiquitarianism/leonida/pull/33) | Unclaimed | TEST-524: first light with a texture — the real model through a game PS that samples a T# | Draft | ### `ettehn` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#310](https://github.com/ubiquitarianism/leonida/pull/310) | [`BUILD-SPIRV-DEBUGINFO`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120674636) — `ettehn` | BUILD-SPIRV-DEBUGINFO: Support named SPIR-V shader debug instructions | Ready | ### `huanchong-99` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#339](https://github.com/ubiquitarianism/leonida/pull/339) | Unclaimed | docs: proposal for a change gate (module boundaries, function complexity, doubled text) | Draft | ### `ItsMrDubey` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#124](https://github.com/ubiquitarianism/leonida/pull/124) | [`RT-XCRDAPI-CLASS`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120003725) — `ItsMrDubey` | RT-XCRDAPI-CLASS: classify XCRDAPI.dll!DStorageGetFactory as HRESULT (Refs #47) | Ready | ### `JiyouProt` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#334](https://github.com/ubiquitarianism/leonida/pull/334) | [`VERIFY-CACHE-COLLISION`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120714712) — `JiyouProt` | manifest_verifier: refuse cache aliases of the input manifest (VERIFY-CACHE-COLLISION) | Ready | ### `kotekompotek` — 8 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#342](https://github.com/ubiquitarianism/leonida/pull/342) | Unclaimed | test: unit tests for tools/hw_oracle/runner.py | Ready | | [#341](https://github.com/ubiquitarianism/leonida/pull/341) | Unclaimed | test: unit tests for tools/conformance/compare.py | Ready | | [#340](https://github.com/ubiquitarianism/leonida/pull/340) | Unclaimed | test: unit tests for tools/gen_gdk_runtime_classes.py | Ready | | [#278](https://github.com/ubiquitarianism/leonida/pull/278) | Unclaimed | rdna2spirv: decode gfx1013 VOP3 0x16b opcode | Ready | | [#275](https://github.com/ubiquitarianism/leonida/pull/275) | Unclaimed | rdna2spirv: fix V_SAD_U32 clamping and u32 overflow handling | Ready | | [#272](https://github.com/ubiquitarianism/leonida/pull/272) | Unclaimed | raytracing: fix BVH index building and validation | Ready | | [#258](https://github.com/ubiquitarianism/leonida/pull/258) | Unclaimed | tools: fix skinned GLB export and vertex skinning weights | Ready | | [#251](https://github.com/ubiquitarianism/leonida/pull/251) | Unclaimed | rdna2spirv: fix ds_wrxchg_rtn_b64 / atomic_swap_x2 64-bit address and data handling | Ready | ### `lucyr03` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#343](https://github.com/ubiquitarianism/leonida/pull/343) | Unclaimed | shims: add DirectStorage shim and Xbox ABI header | Ready | ### `milk4sale` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#335](https://github.com/ubiquitarianism/leonida/pull/335) | [`GPU-CUBE-STORE`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120639163) — `milk4sale` | GPU fixture cs_imgstore_cube: image_store on dim:SQ_RSRC_IMG_CUBE (GPU-CUBE-STORE) | Ready | ### `Mouad-Scriptz-0` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#336](https://github.com/ubiquitarianism/leonida/pull/336) | [`GPU-INTEL-MTL-TFE`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120921094) — `Mouad-Scriptz-0` | docs/gpu_test_results: the Intel record's tfe failures are the fixtures' expectation (GPU-INTEL-MTL-TFE) | Ready | ### `Mumogg` — 2 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#328](https://github.com/ubiquitarianism/leonida/pull/328) | [`RT-XMEM-VIEW-PROTECT`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120848905) — `Mumogg` | xmem: map physical pages without a cache modifier in the view protection, again (RT-XMEM-VIEW-PROTECT) | Ready | | [#321](https://github.com/ubiquitarianism/leonida/pull/321) | [`RT-BOOT-INTEGRATION`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120820088) — `Mumogg` | \[draft, integration\] retail boot to the frame loop on current main (RT-BOOT-INTEGRATION) | Draft | ### `natterman12` — 2 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#337](https://github.com/ubiquitarianism/leonida/pull/337) | [`D3D-EXECIND-RANGE`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7121005770) — `natterman12` | d3d12: ExecuteIndirect accepts the argument ranges newer D3D12 runtimes accept (D3D-EXECIND-RANGE) | Ready | | [#280](https://github.com/ubiquitarianism/leonida/pull/280) | [`GPU-3080TI`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120652850) — `natterman12` | GPU results: NVIDIA GeForce RTX 3080 Ti (Ampere) on main da60a361 (GPU-3080TI) | Ready | ### `NolanCotter` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#338](https://github.com/ubiquitarianism/leonida/pull/338) | [`SHADER-SATPK-U8`](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7120345721) — `NolanCotter` | rdna2spirv: translate v_sat_pk_u8_i16 (SHADER-SATPK-U8) | Ready | ### `StaticM223` — 1 open PRs | PR | Claim / owner | Work (PR title) | State | |---|---|---|---| | [#12](https://github.com/ubiquitarianism/leonida/pull/12) | Unclaimed | Refactor tool management and subprocess execution | Ready |
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT41 - the stop after #375: the title's five startup command signatures (device slot 41). Two are refused on main: the console argument type 105 (4c04c0f4e + 084c8c60e, mrp1no) and DISPATCH_MESH in the Vulkan layer (efc347830, NiiRoZz). In main's history, not in its tree. AI-assisted.

<!-- gh-comment-id:7121783441 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-SLOT41 - the stop after #375: the title's five startup command signatures (device slot 41). Two are refused on `main`: the console argument type 105 (`4c04c0f4e` + `084c8c60e`, mrp1no) and DISPATCH_MESH in the Vulkan layer (`efc347830`, NiiRoZz). In `main`'s history, not in its tree. AI-assisted.
Author
Owner

@lines9686-rgb commented on GitHub (Nov 24, 2026):

claiming: my four pull requests from the original repository, which were not among the carried-over old-pr/* branches (#17), rebased on current main and opened again with the same author:

  • OLD-7067: build scripts refuse a folder with % in its path up front
  • OLD-5794: docs/boot.md first-boot runbook fixes; boot_trace marks relocated modules in its text report
  • OLD-5718: four comments in d3d12_vulkan_device.cpp that still describe missing work
  • OLD-5422: docs/d3d12_vulkan.md stale "not yet" claims the runtime already covers (rechecked against this main; mesh pipelines leave the known gaps too)
<!-- gh-comment-id:7121784442 --> @lines9686-rgb commented on GitHub (Nov 24, 2026): claiming: my four pull requests from the original repository, which were not among the carried-over `old-pr/*` branches (#17), rebased on current `main` and opened again with the same author: - `OLD-7067`: build scripts refuse a folder with `%` in its path up front - `OLD-5794`: docs/boot.md first-boot runbook fixes; `boot_trace` marks relocated modules in its text report - `OLD-5718`: four comments in `d3d12_vulkan_device.cpp` that still describe missing work - `OLD-5422`: docs/d3d12_vulkan.md stale "not yet" claims the runtime already covers (rechecked against this `main`; mesh pipelines leave the known gaps too)
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT41 -> #377

<!-- gh-comment-id:7121788104 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT41 -> #377
Author
Owner

@lines9686-rgb commented on GitHub (Nov 24, 2026):

done: OLD-7067 -> #378, OLD-5794 -> #379, OLD-5718 -> #380, OLD-5422 -> #381

<!-- gh-comment-id:7121795736 --> @lines9686-rgb commented on GitHub (Nov 24, 2026): done: OLD-7067 -> #378, OLD-5794 -> #379, OLD-5718 -> #380, OLD-5422 -> #381
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

claim: RT-MF-OFFLINE — Media Foundation (mfplat.dll) offline IMFSourceResolver proxy blocking network URLs and rewriting console paths (GAME:/G:/T:) to host files
claim: RT-GDK-SPEECH-DISPLAY-LIFECYCLE — silent WAVE XSpeechSynthesizer, Win32 PowerRequest display timeout deferrals, XAppCaptureImpl stub, and AppState suspend + oversized window fitting lifecycle shim
claim: RT-XS-FRAME-PACING-PRESENTX — FramePacer origin/vblank/flip events + TOKEN_ON_TIMEOUT (flag 2) and XboxPresentation wiring to d3d12_xs_device slots 78–81 and queue PresentX/SuspendX/ResumeX
claim: RT-ACPHAL-XMA2 — portable XMA2/WMA-Pro frame decoder + AcpHal command/message queue and background SHAPE XMA context decoding into APU output rings

<!-- gh-comment-id:7121796272 --> @Andretuta commented on GitHub (Nov 24, 2026): claim: RT-MF-OFFLINE — Media Foundation (mfplat.dll) offline IMFSourceResolver proxy blocking network URLs and rewriting console paths (GAME:/G:/T:) to host files claim: RT-GDK-SPEECH-DISPLAY-LIFECYCLE — silent WAVE XSpeechSynthesizer, Win32 PowerRequest display timeout deferrals, XAppCaptureImpl stub, and AppState suspend + oversized window fitting lifecycle shim claim: RT-XS-FRAME-PACING-PRESENTX — FramePacer origin/vblank/flip events + TOKEN_ON_TIMEOUT (flag 2) and XboxPresentation wiring to d3d12_xs_device slots 78–81 and queue PresentX/SuspendX/ResumeX claim: RT-ACPHAL-XMA2 — portable XMA2/WMA-Pro frame decoder + AcpHal command/message queue and background SHAPE XMA context decoding into APU output rings
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

claiming: SHADER-W64-SINK-RACE - tools/rdna2spirv.py, wave64 emulation: the round reset stores (Gen.x_round_pre, x_round_head, x_mini_scheduler) send every lane but the owner to one sink word of %x_buf with a plain OpStore, and x_prologue clamps its zeroing index the same way, so several invocations store to one Workgroup word at once. LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1 LEONIDA_W64_EMULATE=1 scripts/run_gpu_tests.py reports it as a data race in 30+ fixtures (RTX 3080 Ti, Vulkan SDK 1.4.363.0), which hides any real one. I will make those stores OpAtomicStore. No game files; the GPU run needs the validation layer. AI-assisted.

<!-- gh-comment-id:7121821943 --> @natterman12 commented on GitHub (Nov 24, 2026): claiming: SHADER-W64-SINK-RACE - `tools/rdna2spirv.py`, wave64 emulation: the round reset stores (`Gen.x_round_pre`, `x_round_head`, `x_mini_scheduler`) send every lane but the owner to one sink word of `%x_buf` with a plain `OpStore`, and `x_prologue` clamps its zeroing index the same way, so several invocations store to one Workgroup word at once. `LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1 LEONIDA_W64_EMULATE=1 scripts/run_gpu_tests.py` reports it as a data race in 30+ fixtures (RTX 3080 Ti, Vulkan SDK 1.4.363.0), which hides any real one. I will make those stores `OpAtomicStore`. No game files; the GPU run needs the validation layer. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT61 - the stop after #377: device slot 61 is the console's CreateSamplerX and is forwarded to the PC slot 61 (CreateMetaCommand); host AV. e22994464 and c915e1da4 (mrp1no), in main's history and not in its tree. AI-assisted.

<!-- gh-comment-id:7121828175 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-SLOT61 - the stop after #377: device slot 61 is the console's CreateSamplerX and is forwarded to the PC slot 61 (CreateMetaCommand); host AV. `e22994464` and `c915e1da4` (mrp1no), in `main`'s history and not in its tree. AI-assisted.
Author
Owner

@natterman12 commented on GitHub (Nov 24, 2026):

done: SHADER-W64-SINK-RACE -> #382

finding: after #382, GPU-assisted validation still fails 10 fixtures that are not the sink (LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1 LEONIDA_W64_EMULATE=1 scripts/run_gpu_tests.py, RTX 3080 Ti, Vulkan SDK 1.4.363.0) | nine LDS fixtures (cs_lds_atomics_ext, cs_lds_b64_cmpst, cs_lds_xchg64_ext, cs_w32_fcmpswap, cs_w32_lds_subdword, cs_w32_lds_u8_d16, cs_w32_lds_wide, cs_w32_misc_ext, cs_w32_new_ops): "A data race was detected on the shared memory variable ... while performing a load or store operation", naming an OpAtomicLoad and a plain OpLoad of the LDS variable in the same shader; and cs_pk_mul_lo_const, which fails only in that run and which I have not looked into | why: either the LDS translation mixes atomic and plain accesses to one word, or the fixtures race on purpose and the run needs a way to say so; I do not know which | needs: a GPU and the validation layer; no game files. AI-assisted.

<!-- gh-comment-id:7121828755 --> @natterman12 commented on GitHub (Nov 24, 2026): done: SHADER-W64-SINK-RACE -> #382 finding: after #382, GPU-assisted validation still fails 10 fixtures that are not the sink (`LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1 LEONIDA_W64_EMULATE=1 scripts/run_gpu_tests.py`, RTX 3080 Ti, Vulkan SDK 1.4.363.0) | nine LDS fixtures (`cs_lds_atomics_ext`, `cs_lds_b64_cmpst`, `cs_lds_xchg64_ext`, `cs_w32_fcmpswap`, `cs_w32_lds_subdword`, `cs_w32_lds_u8_d16`, `cs_w32_lds_wide`, `cs_w32_misc_ext`, `cs_w32_new_ops`): "A data race was detected on the shared memory variable ... while performing a load or store operation", naming an `OpAtomicLoad` and a plain `OpLoad` of the LDS variable in the same shader; and `cs_pk_mul_lo_const`, which fails only in that run and which I have not looked into | why: either the LDS translation mixes atomic and plain accesses to one word, or the fixtures race on purpose and the run needs a way to say so; I do not know which | needs: a GPU and the validation layer; no game files. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT61 -> the pull request opened just now (slot61-sampler-x)

<!-- gh-comment-id:7121829154 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT61 -> the pull request opened just now (slot61-sampler-x)
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming:

  • PE-REPORT-OUTPUT-ALIAS — tools/pe_inspect.py checks whether .json/.md outputs alias an input file, but misses when the .json and .md outputs alias each other (e.g., hard link or symlink) or a report already written earlier in the same run, allowing the later write to silently overwrite the earlier report and still exit 0.
  • OGG-RETAG-STREAM-CHECK — tools/opus_tags.py validates Ogg page CRCs in retag(), but misses logical bitstream serial consistency across pages, contiguous page sequence numbering (0, 1, 2, ...), and header flags on the OpusTags page (such as the continuation flag 0x01), accepting and rewriting structurally malformed Ogg Opus streams with valid CRCs.

(AI-assisted)

中文翻译

认领以下两项独立修复:

  • PE-REPORT-OUTPUT-ALIAS:tools/pe_inspect.py 检查了输出报告与输入文件的路径别名,但遗漏了 .json 与 .md 输出彼此之间(或与同一次运行中先前已写入的报告之间)的硬链接/符号链接别名,导致后写入的文件静默覆盖先写入的报告且程序仍返回 0。
  • OGG-RETAG-STREAM-CHECK:tools/opus_tags.py 的 retag() 对 Ogg 页面做了 CRC 校验,但遗漏了跨页逻辑流序列号一致性、页序号连续性(0, 1, 2, ...)以及 OpusTags 页头标志(如续页标记 0x01)校验,导致 CRC 合法但结构异常的 Ogg Opus 输入被接受并改写。

(AI 辅助)

<!-- gh-comment-id:7121841412 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: - `PE-REPORT-OUTPUT-ALIAS` — `tools/pe_inspect.py` checks whether `.json`/`.md` outputs alias an input file, but misses when the `.json` and `.md` outputs alias each other (e.g., hard link or symlink) or a report already written earlier in the same run, allowing the later write to silently overwrite the earlier report and still exit 0. - `OGG-RETAG-STREAM-CHECK` — `tools/opus_tags.py` validates Ogg page CRCs in `retag()`, but misses logical bitstream serial consistency across pages, contiguous page sequence numbering (0, 1, 2, ...), and header flags on the `OpusTags` page (such as the continuation flag `0x01`), accepting and rewriting structurally malformed Ogg Opus streams with valid CRCs. (AI-assisted) <details> <summary>中文翻译</summary> 认领以下两项独立修复: - `PE-REPORT-OUTPUT-ALIAS`:`tools/pe_inspect.py` 检查了输出报告与输入文件的路径别名,但遗漏了 `.json` 与 `.md` 输出彼此之间(或与同一次运行中先前已写入的报告之间)的硬链接/符号链接别名,导致后写入的文件静默覆盖先写入的报告且程序仍返回 0。 - `OGG-RETAG-STREAM-CHECK`:`tools/opus_tags.py` 的 `retag()` 对 Ogg 页面做了 CRC 校验,但遗漏了跨页逻辑流序列号一致性、页序号连续性(0, 1, 2, ...)以及 `OpusTags` 页头标志(如续页标记 `0x01`)校验,导致 CRC 合法但结构异常的 Ogg Opus 输入被接受并改写。 (AI 辅助) </details>
Author
Owner

@Sangonapou commented on GitHub (Nov 24, 2026):

claiming: tools/vk_fuzz_run.py run_programs drops every result for wave32 with words=1. It requires a dump of exactly 4 * words * wave bytes, but vk_compute_test's buffer is at least 64 words, so that request gets 256 bytes and every program reports vk_compute_test exit 0 (tools/vk_fuzz_run.py:161 on main ece4ba5b). Carrying on my old PR 7756 from the original repo (not among the 251 old-pr/* branches): fix + unit test, rebased on main. No game files or particular hardware needed.

<!-- gh-comment-id:7121846026 --> @Sangonapou commented on GitHub (Nov 24, 2026): claiming: `tools/vk_fuzz_run.py` `run_programs` drops every result for wave32 with `words=1`. It requires a dump of exactly `4 * words * wave` bytes, but `vk_compute_test`'s buffer is at least 64 words, so that request gets 256 bytes and every program reports `vk_compute_test exit 0` (`tools/vk_fuzz_run.py:161` on `main` `ece4ba5b`). Carrying on my old PR 7756 from the original repo (not among the 251 `old-pr/*` branches): fix + unit test, rebased on `main`. No game files or particular hardware needed.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT61 -> #383

<!-- gh-comment-id:7121849481 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT61 -> #383
Author
Owner

@Sigtryggur-Mani-Gudmundsson commented on GitHub (Nov 24, 2026):

finding: The Xbox Vulkan presenter can lose its surface during swapchain setup. In runtime/src/vulkan_present.h, a failed format query left startup without a usable presenter. Surface loss during replacement also left subsequent presents aimed at the old handle.

I reproduced both failures in vk_presenter_sync_test with injected WSI results and real Wine/XWayland presentation on an RTX 4070 Ti. The patch retires the lost surface and retries with the retained window callback. While the window was unavailable the presented count stayed unchanged and readback returned false. After recovery all 12,288 pixels of a 128 × 96 colour frame matched within the existing tolerance. An ordinary allocation failure retried on the same surface. The patch applied cleanly to upstream ece4ba5b and the presenter suite passed there. Retail startup remains untested. Source patch, measurements and reproduction.

<!-- gh-comment-id:7121861865 --> @Sigtryggur-Mani-Gudmundsson commented on GitHub (Nov 24, 2026): finding: The Xbox Vulkan presenter can lose its surface during swapchain setup. In `runtime/src/vulkan_present.h`, a failed format query left startup without a usable presenter. Surface loss during replacement also left subsequent presents aimed at the old handle. I reproduced both failures in `vk_presenter_sync_test` with injected WSI results and real Wine/XWayland presentation on an RTX 4070 Ti. The patch retires the lost surface and retries with the retained window callback. While the window was unavailable the presented count stayed unchanged and readback returned false. After recovery all 12,288 pixels of a 128 × 96 colour frame matched within the existing tolerance. An ordinary allocation failure retried on the same surface. The patch applied cleanly to upstream `ece4ba5b` and the presenter suite passed there. Retail startup remains untested. [Source patch, measurements and reproduction](https://github.com/Sigtryggur-Mani-Gudmundsson/graphics-runtime-patches/blob/33ab48d3ea90f9925351aeee8708181a71fb9634/README.md#recovering-a-lost-presentation-surface).
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT74 - the stop after #383: device slot 74 is forwarded to the PC slot 74 (ShaderCacheControl), which fails, and the title stops. cdeee35aa (tedin7), in main's history and not in its tree. AI-assisted.

<!-- gh-comment-id:7121883629 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-SLOT74 - the stop after #383: device slot 74 is forwarded to the PC slot 74 (ShaderCacheControl), which fails, and the title stops. `cdeee35aa` (tedin7), in `main`'s history and not in its tree. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-SLOT74 -> #385

<!-- gh-comment-id:7121886064 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-SLOT74 -> #385
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: PE-REPORT-OUTPUT-ALIAS -> #384
done: OGG-RETAG-STREAM-CHECK -> #386

(AI-assisted)

中文翻译

已完成并提交 PR:

  • PE-REPORT-OUTPUT-ALIAS -> #384
  • OGG-RETAG-STREAM-CHECK -> #386

(AI 辅助)

<!-- gh-comment-id:7121886877 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: PE-REPORT-OUTPUT-ALIAS -> #384 done: OGG-RETAG-STREAM-CHECK -> #386 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR: - `PE-REPORT-OUTPUT-ALIAS` -> #384 - `OGG-RETAG-STREAM-CHECK` -> #386 (AI 辅助) </details>
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-EXE-SHADERS - the six CreatePipelineState calls the title makes at startup fail with no translated vs: they use the executable's own embedded shaders, which the runtime does not load (and make_game.py does not translate) on main. ab03d8dd1 (Faterek) does both; in main's history, not in its tree. Overlaps #303 (the build half, tedin7's version): noted in the pull request. AI-assisted.

<!-- gh-comment-id:7121963779 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-EXE-SHADERS - the six `CreatePipelineState` calls the title makes at startup fail with `no translated vs`: they use the executable's own embedded shaders, which the runtime does not load (and `make_game.py` does not translate) on `main`. `ab03d8dd1` (Faterek) does both; in `main`'s history, not in its tree. Overlaps #303 (the build half, tedin7's version): noted in the pull request. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-EXE-SHADERS -> #387

<!-- gh-comment-id:7121966347 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-EXE-SHADERS -> #387
Author
Owner

@lines9686-rgb commented on GitHub (Nov 24, 2026):

claiming: two more of my pull requests from the original repository, rebased on current main:

  • OLD-8171: a failed ResizeBuffers leaves the swap chain without buffers until the next successful one, as on the host
  • OLD-6536: GPU fixtures declare their expected words in their own ; expect: header (prototype, three fixtures), so a new fixture needs no row in the shared lists; opened as a draft for a maintainer decision

(OLD-6010, the ARRAY_OF_POINTERS wrap below the arena, is not reopened: main already has the same fix.)

<!-- gh-comment-id:7121980089 --> @lines9686-rgb commented on GitHub (Nov 24, 2026): claiming: two more of my pull requests from the original repository, rebased on current `main`: - `OLD-8171`: a failed `ResizeBuffers` leaves the swap chain without buffers until the next successful one, as on the host - `OLD-6536`: GPU fixtures declare their expected words in their own `; expect:` header (prototype, three fixtures), so a new fixture needs no row in the shared lists; opened as a draft for a maintainer decision (`OLD-6010`, the `ARRAY_OF_POINTERS` wrap below the arena, is not reopened: `main` already has the same fix.)
Author
Owner

@lines9686-rgb commented on GitHub (Nov 24, 2026):

done: OLD-8171 -> #389, OLD-6536 -> #390 (draft)

<!-- gh-comment-id:7121993663 --> @lines9686-rgb commented on GitHub (Nov 24, 2026): done: OLD-8171 -> #389, OLD-6536 -> #390 (draft)
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

finding: runtime/src/vulkan_backend.h:1485 — completed_retire_ticket() treats every non-VK_SUCCESS from vkGetSemaphoreCounterValue as "this ticket has not completed", so a VK_ERROR_DEVICE_LOST that only that query observes never reaches mark_device_lost(), and vk_queue_query_sync fails at line 468: progress_loss_ok ("progress counter device loss NOT propagated") on AMD. No game files; needs a Vulkan device.

  • Where: runtime/src/vulkan_backend.h:1485-1492 on main ece4ba5b. The block is byte-identical to a0e1876 (last main of the old repository), so a patch applies cleanly.
  • Why it matters: it is the only failing test in a full ctest run on my machine, and the failure hides a real device loss: the runtime keeps submitting work instead of rejecting it after the loss, which is what mark_device_lost() exists for. Every later vkQueueSubmit then works against a lost device.
  • Fix: the old PR #6149 was not preserved under old-pr/ (it is not in #17's branches). Its commit survives in the abilliontokens/Leonida fork as 3a21e3aea481bb9f9d9bfe9360c5b972fb19f7bb (1 file, +17/−6). It keeps the VkResult, sets a lost flag, calls mark_device_lost() outside submit_mutex_ (as submit() does, because notifying the fence dispatcher can submit again) and returns 0.
  • Verified on RDNA1 (RX 5700 XT, Navi 10, PCI 1002:731f, subgroup 32..64, AMD 26.11.2, Windows 11 10.0.26200): on a0e1876 the test exits 1 in 5/5 direct runs and 4/5 through ctest (intermittent, as in the RX 6600 report in #6149). With only that hunk: 5/5 direct and 5/5 ctest pass; full ctest 62/64 (0 failed, 2 skipped — shader_library_corpus, vk_sync_validation); full run_gpu_tests.py 213/241, identical to unpatched. The PR's other commenters report the same on RDNA2, RDNA3 and RTX, so this is not card-specific.
<!-- gh-comment-id:7122000779 --> @Len1k commented on GitHub (Nov 24, 2026): finding: `runtime/src/vulkan_backend.h:1485` — `completed_retire_ticket()` treats every non-`VK_SUCCESS` from `vkGetSemaphoreCounterValue` as "this ticket has not completed", so a `VK_ERROR_DEVICE_LOST` that only that query observes never reaches `mark_device_lost()`, and `vk_queue_query_sync` fails at `line 468: progress_loss_ok` ("progress counter device loss NOT propagated") on AMD. No game files; needs a Vulkan device. - **Where:** `runtime/src/vulkan_backend.h:1485-1492` on `main` `ece4ba5b`. The block is byte-identical to `a0e1876` (last `main` of the old repository), so a patch applies cleanly. - **Why it matters:** it is the only failing test in a full `ctest` run on my machine, and the failure hides a real device loss: the runtime keeps submitting work instead of rejecting it after the loss, which is what `mark_device_lost()` exists for. Every later `vkQueueSubmit` then works against a lost device. - **Fix:** the old PR #6149 was not preserved under `old-pr/` (it is not in #17's branches). Its commit survives in the `abilliontokens/Leonida` fork as `3a21e3aea481bb9f9d9bfe9360c5b972fb19f7bb` (1 file, +17/−6). It keeps the `VkResult`, sets a `lost` flag, calls `mark_device_lost()` *outside* `submit_mutex_` (as `submit()` does, because notifying the fence dispatcher can submit again) and returns 0. - **Verified on RDNA1** (RX 5700 XT, Navi 10, PCI 1002:731f, subgroup 32..64, AMD 26.11.2, Windows 11 10.0.26200): on `a0e1876` the test exits 1 in 5/5 direct runs and 4/5 through `ctest` (intermittent, as in the RX 6600 report in #6149). With only that hunk: 5/5 direct and 5/5 `ctest` pass; full `ctest` 62/64 (0 failed, 2 skipped — `shader_library_corpus`, `vk_sync_validation`); full `run_gpu_tests.py` 213/241, identical to unpatched. The PR's other commenters report the same on RDNA2, RDNA3 and RTX, so this is not card-specific.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-QUEUE35 - command-queue slot 35 is the console's ExecuteCommandLists(count, lists) and is refused as past the PC queue table; the title then faults. e925b6345 (Vadson159, old PR 7286; not in main's history and not among the old-pr/* branches) routes it to the PC slot 10. AI-assisted.

<!-- gh-comment-id:7122018201 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-QUEUE35 - command-queue slot 35 is the console's ExecuteCommandLists(count, lists) and is refused as past the PC queue table; the title then faults. `e925b6345` (Vadson159, old PR 7286; not in `main`'s history and not among the `old-pr/*` branches) routes it to the PC slot 10. AI-assisted.
Author
Owner

@Okamizs commented on GitHub (Nov 24, 2026):

finding: tests/semantic/test_image_atomics_guard.py has no case that writes EXEC, so since #20 (@wavehs's fix, which this builds on) every subtest takes the folded %true path in find_guarded_texel_block (line 85) and the real %active guard is never checked. The TEST-ATOMIC-GUARD row asked to keep a dynamic EXEC case. Needs no game files and no GPU. I have a test-only PR that adds one, using s_and_saveexec_b32 and v_cmpx (per-lane compares, not the computed-SGPR write that SHADER-1264 covers).

<!-- gh-comment-id:7122021157 --> @Okamizs commented on GitHub (Nov 24, 2026): finding: tests/semantic/test_image_atomics_guard.py has no case that writes EXEC, so since #20 (@wavehs's fix, which this builds on) every subtest takes the folded `%true` path in `find_guarded_texel_block` (line 85) and the real `%active` guard is never checked. The TEST-ATOMIC-GUARD row asked to keep a dynamic EXEC case. Needs no game files and no GPU. I have a test-only PR that adds one, using `s_and_saveexec_b32` and `v_cmpx` (per-lane compares, not the computed-SGPR write that SHADER-1264 covers).
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-QUEUE35 -> #391

<!-- gh-comment-id:7122022668 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-QUEUE35 -> #391
Author
Owner

@oddmaniv commented on GitHub (Nov 24, 2026):

claiming: TEST-FS-HOST-DRIVE — continuing the claim in comment 7121770284 from my authorised agent account hermes-aristaeus-bot under my main account oddmaniv. Same contributor and same test-only patch; this replaces the bot claim, not a competing implementation. The change makes the two synthetic host move/copy fixtures unambiguous on G:/T: without changing shim behavior or weakening assertions. Base ece4ba5b; 489 checks: original/negative control 3 failures, patched 0 failures with G: TEMP and a temporary non-console alias to the same directory. Independent review found no blockers. No game files/GPU required. AI-assisted. I will publish the reviewed commit e57a7558ac as a PR from my fork.

<!-- gh-comment-id:7122040973 --> @oddmaniv commented on GitHub (Nov 24, 2026): claiming: TEST-FS-HOST-DRIVE — continuing the claim in comment 7121770284 from my authorised agent account hermes-aristaeus-bot under my main account oddmaniv. Same contributor and same test-only patch; this replaces the bot claim, not a competing implementation. The change makes the two synthetic host move/copy fixtures unambiguous on G:/T: without changing shim behavior or weakening assertions. Base ece4ba5b; 489 checks: original/negative control 3 failures, patched 0 failures with G: TEMP and a temporary non-console alias to the same directory. Independent review found no blockers. No game files/GPU required. AI-assisted. I will publish the reviewed commit e57a7558acdf as a PR from my fork.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-MUL24-CLAMP -> #392

(AI-assisted)

中文翻译

已完成并提交 PR:SHADER-MUL24-CLAMP -> #392

(AI 辅助)

<!-- gh-comment-id:7122049394 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-MUL24-CLAMP -> #392 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR:`SHADER-MUL24-CLAMP` -> #392 (AI 辅助) </details>
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming:

  • SHADER-PK16-HALVES — packed 16-bit omods that write into a destination half shared with the other half of the same register, and the %int sign handling behind v_pk_ashrrev_i16 (tools/rdna2spirv.py; test tests/test_u16_high_half.py). This is a follow-up of the landed a148559ba, not a restatement of it. I read _FULL32_V16_PREFIXES and the merged #265 (wave64-halves read-modify-write) before claiming, and neither reaches the shared-half write or the signed-half read. Was open in the private tracker as #4622 (its substance landed as a148559ba); the remainder is this follow-up.
  • SHADER-F64-OMODS — the f64 variants of the cmod/cns/idcnt and sat clamping rules for cvt, frexp and div_fixup in tools/rdna2spirv.py, plus the f64 arithmetic omods (clamp_mods_f64), with GPU fixtures runtime/test/shaders/cs_f64_add.asm and ps_f64_mods.asm measured on a gfx1036 part. I read #247 before claiming: it changes Gen.f16_omod, which is f16 only. Was open in the private tracker as #4371, closed in the sweep.
  • SHADER-659 — the component order of a v_interp pair operand in tools/rdna2spirv.py: a pair holds the barycentric value and its 1 - complement, and the two roles come out swapped for v_interp_*_f32 when the pair is read as a VGPR pair; the same path refuses a pair held in an SGPR pair. Adds the GPU fixture runtime/test/shaders/ps_interp_pair_roles.asm and semantic cases, and re-measures the whole corpus so the change is shown not to move any translated shader. I read the open draft #120 first: it is SHADER-415 (computed I/J pairs under --bary-fallback) and changes no pair-component ordering, but it edits the same neighbourhood of translate() and assemble(), so I expect to rebase on it or after it. Was open in the private tracker as #5037, closed in the sweep.
  • DOC-MODDING-CONSTANTS — docs/modding.md, the constant-search steps. On this build neither 0xE472B687 nor 0xD7C0CDFF appears anywhere in the executable: all 120,181,760 bytes were searched as 4-byte little-endian and 4-byte big-endian immediates and as decimal and hex text, and the image has no delay-load directory (data directory 13 is zero), so the steps as currently written return nothing. The document currently states they are the intended route to the archetype lookup. I read the open #358 first: it also edits docs/modding.md (for a different reason — a hash check in tools/leonida_mods.py), so if you take that one first I will rebase mine on it rather than ask you to resolve anything. Was open in the private tracker as #7929, closed in the sweep.

All three target main. I checked the Open work table, the comments here and the open pull-request list first; nothing in them covers these three. Two of my other carried branches I am dropping instead of opening, because they duplicate work already merged here: the descriptor-heap size guard (the same agreement is in #4) and the cube-store llvm-mc semantic test (already on main since 896b56c6a). If any of the three above is already someone's, say so and I will stand down and review theirs.

<!-- gh-comment-id:7122051420 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: - `SHADER-PK16-HALVES` — packed 16-bit omods that write into a destination half shared with the other half of the same register, and the `%int` sign handling behind `v_pk_ashrrev_i16` (`tools/rdna2spirv.py`; test `tests/test_u16_high_half.py`). This is a follow-up of the landed `a148559ba`, not a restatement of it. I read `_FULL32_V16_PREFIXES` and the merged #265 (wave64-halves read-modify-write) before claiming, and neither reaches the shared-half write or the signed-half read. Was open in the private tracker as #4622 (its substance landed as `a148559ba`); the remainder is this follow-up. - `SHADER-F64-OMODS` — the f64 variants of the `cmod`/`cns`/`idcnt` and `sat` clamping rules for `cvt`, `frexp` and `div_fixup` in `tools/rdna2spirv.py`, plus the f64 arithmetic omods (`clamp_mods_f64`), with GPU fixtures `runtime/test/shaders/cs_f64_add.asm` and `ps_f64_mods.asm` measured on a gfx1036 part. I read #247 before claiming: it changes `Gen.f16_omod`, which is f16 only. Was open in the private tracker as #4371, closed in the sweep. - `SHADER-659` — the component order of a `v_interp` pair operand in `tools/rdna2spirv.py`: a pair holds the barycentric value and its `1 -` complement, and the two roles come out swapped for `v_interp_*_f32` when the pair is read as a VGPR pair; the same path refuses a pair held in an SGPR pair. Adds the GPU fixture `runtime/test/shaders/ps_interp_pair_roles.asm` and semantic cases, and re-measures the whole corpus so the change is shown not to move any translated shader. I read the open draft #120 first: it is SHADER-415 (computed I/J pairs under `--bary-fallback`) and changes no pair-component ordering, but it edits the same neighbourhood of `translate()` and `assemble()`, so I expect to rebase on it or after it. Was open in the private tracker as #5037, closed in the sweep. - `DOC-MODDING-CONSTANTS` — `docs/modding.md`, the constant-search steps. On this build neither `0xE472B687` nor `0xD7C0CDFF` appears anywhere in the executable: all 120,181,760 bytes were searched as 4-byte little-endian and 4-byte big-endian immediates and as decimal and hex text, and the image has no delay-load directory (data directory 13 is zero), so the steps as currently written return nothing. The document currently states they are the intended route to the archetype lookup. I read the open #358 first: it also edits `docs/modding.md` (for a different reason — a hash check in `tools/leonida_mods.py`), so if you take that one first I will rebase mine on it rather than ask you to resolve anything. Was open in the private tracker as #7929, closed in the sweep. All three target `main`. I checked the Open work table, the comments here and the open pull-request list first; nothing in them covers these three. Two of my other carried branches I am dropping instead of opening, because they duplicate work already merged here: the descriptor-heap size guard (the same agreement is in #4) and the cube-store `llvm-mc` semantic test (already on `main` since `896b56c6a`). If any of the three above is already someone's, say so and I will stand down and review theirs.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: three device QueryInterface calls come back unknown on the current main, before the first slot 0 call — runtime/shims/d3d12_xs_device.cpp, proxy_query_interface logging unknown IID. On ece4ba5b3 built with MSVC 14.44.35207, running the title with LEONIDA_D3D12=vulkan on an NVIDIA RTX 4090 (driver 32.0.16.2124), right after the device proxy is created the log is d3d12: QueryInterface: unknown IID {5f6e592d-d895-44c2-8e4a-88ad4926d323}, then {14eecffc-4df8-40f7-a118-5c816f45695e}, then {5af5c532-4c91-4cd0-b541-15a405395fc5}, and only after those the lines device slot 0 (QueryInterface) first call, slot 1 (AddRef) first call, slot 2 (Release) first call and #1 D3D12XboxCreateDevice ok. Searching this repository for 5f6e592d, 14eecffc, 5af5c532 in issues and in code returns nothing; the only device IID named anywhere in the tracker is {c3827890-4024-474c-98cf-645b51dc4874} (#142, and #47's second comment). They matter because whatever the title asks for there is something it wants from the device before it does anything else, and I cannot tell from our side whether it is an Xbox interface worth a route or an ordinary PC interface we are refusing for the wrong reason. Needs the game image; not tied to a particular GPU (the answers come from our own proxy, and the same three lines appear whatever device the Vulkan layer picks).

<!-- gh-comment-id:7122051672 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: three device `QueryInterface` calls come back unknown on the current `main`, before the first slot 0 call — `runtime/shims/d3d12_xs_device.cpp`, `proxy_query_interface` logging `unknown IID`. On `ece4ba5b3` built with MSVC 14.44.35207, running the title with `LEONIDA_D3D12=vulkan` on an NVIDIA RTX 4090 (driver 32.0.16.2124), right after the device proxy is created the log is `d3d12: QueryInterface: unknown IID {5f6e592d-d895-44c2-8e4a-88ad4926d323}`, then `{14eecffc-4df8-40f7-a118-5c816f45695e}`, then `{5af5c532-4c91-4cd0-b541-15a405395fc5}`, and only after those the lines `device slot 0 (QueryInterface) first call`, `slot 1 (AddRef) first call`, `slot 2 (Release) first call` and `#1 D3D12XboxCreateDevice ok`. Searching this repository for `5f6e592d`, `14eecffc`, `5af5c532` in issues and in code returns nothing; the only device IID named anywhere in the tracker is `{c3827890-4024-474c-98cf-645b51dc4874}` (#142, and #47's second comment). They matter because whatever the title asks for there is something it wants from the device before it does anything else, and I cannot tell from our side whether it is an Xbox interface worth a route or an ordinary PC interface we are refusing for the wrong reason. Needs the game image; not tied to a particular GPU (the answers come from our own proxy, and the same three lines appear whatever device the Vulkan layer picks).
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-ALLOC9 - command-allocator slot 9 (the console's SetAllocatorCallbackX) is refused as past the PC allocator table. e29e98998 (DevilNine) records the callback and answers S_OK; in main's history, not in its tree. AI-assisted.

finding: after #391 and this, the retail boot on main reaches its first ExecuteCommandLists ok and then the title faults writing through a null pointer. Compared with a run of the integration branch (#321) at the same point, three things differ in the console command-list proxy: list slot 139 is not served as Reset, list slot 74 is never called, and nothing is recorded on the list after the submission (the integration branch goes on with slot 146 as Barrier and slot 52 as ClearRenderTargetView). | where: runtime/shims/d3d12_xs_device.cpp, the list proxy | why: this is where main's list proxy and the console command lists of old PR 2490 differ, so it is a port, not a cherry-pick | needs: game files to measure. AI-assisted.

<!-- gh-comment-id:7122052602 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-ALLOC9 - command-allocator slot 9 (the console's SetAllocatorCallbackX) is refused as past the PC allocator table. `e29e98998` (DevilNine) records the callback and answers S_OK; in `main`'s history, not in its tree. AI-assisted. finding: after #391 and this, the retail boot on `main` reaches its first `ExecuteCommandLists ok` and then the title faults writing through a null pointer. Compared with a run of the integration branch (#321) at the same point, three things differ in the console command-list proxy: list slot 139 is not served as `Reset`, list slot 74 is never called, and nothing is recorded on the list after the submission (the integration branch goes on with slot 146 as `Barrier` and slot 52 as `ClearRenderTargetView`). | where: `runtime/shims/d3d12_xs_device.cpp`, the list proxy | why: this is where `main`'s list proxy and the console command lists of old PR 2490 differ, so it is a port, not a cherry-pick | needs: game files to measure. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-ALLOC9 -> #395

<!-- gh-comment-id:7122054918 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-ALLOC9 -> #395
Author
Owner

@oddmaniv commented on GitHub (Nov 24, 2026):

done: TEST-FS-HOST-DRIVE -> #393

Continues claim 7122040973 (original authorised agent-account claim 7121770284). One test file, no shim behavior changes. Native Windows: 489/489 checks pass with G: TEMP and a non-console alias to the same physical directory; restoring the original test produces the same three failures. Independent review found no blockers. AI-assisted; synthetic fixtures only, no game data.

<!-- gh-comment-id:7122056632 --> @oddmaniv commented on GitHub (Nov 24, 2026): done: TEST-FS-HOST-DRIVE -> #393 Continues claim 7122040973 (original authorised agent-account claim 7121770284). One test file, no shim behavior changes. Native Windows: 489/489 checks pass with G: TEMP and a non-console alias to the same physical directory; restoring the original test produces the same three failures. Independent review found no blockers. AI-assisted; synthetic fixtures only, no game data.
Author
Owner

@BadgersMC commented on GitHub (Nov 24, 2026):

claiming: SHADER-LDS-SUBDWORD-FIXTURE — one fixture from the post-#382 validation findings in #14. On #382 head 5cb32c2b, runtime/test/shaders/cs_w32_lds_subdword.asm returns all eight expected words on an RTX 3060 Ti, but Vulkan GPU-assisted validation flags different invocations storing to the same shared word. This fixture explicitly writes the same LDS addresses from every lane. I will check whether limiting its LDS sequence to lane zero eliminates the warnings while preserving all eight output checks. Scope is this fixture and its checked-in disassembly. No game files. AI-assisted.

<!-- gh-comment-id:7122094161 --> @BadgersMC commented on GitHub (Nov 24, 2026): claiming: SHADER-LDS-SUBDWORD-FIXTURE — one fixture from the post-#382 validation findings in #14. On #382 head 5cb32c2b, `runtime/test/shaders/cs_w32_lds_subdword.asm` returns all eight expected words on an RTX 3060 Ti, but Vulkan GPU-assisted validation flags different invocations storing to the same shared word. This fixture explicitly writes the same LDS addresses from every lane. I will check whether limiting its LDS sequence to lane zero eliminates the warnings while preserving all eight output checks. Scope is this fixture and its checked-in disassembly. No game files. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-LIST139 - console list slot 139 is Reset on the retail title and has no entry in main's list slot map, so the call is dropped. A small change of my own, after ef9d0759d (Nolan Cotter), which does not apply to main's list proxy. AI-assisted.

<!-- gh-comment-id:7122102908 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-LIST139 - console list slot 139 is Reset on the retail title and has no entry in `main`'s list slot map, so the call is dropped. A small change of my own, after `ef9d0759d` (Nolan Cotter), which does not apply to `main`'s list proxy. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-LIST139 -> the pull request opened just now (list-slot139-reset)

<!-- gh-comment-id:7122104195 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-LIST139 -> the pull request opened just now (list-slot139-reset)
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-LIST139 -> #396

<!-- gh-comment-id:7122112949 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-LIST139 -> #396
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming:

  • SHADER-MAD64-CLAMP — implement VOP3 clamp saturation for v_mad_u64_u32 (saturate to UINT64_MAX while preserving unsigned carry in sdst) and v_mad_i64_i32 (saturate to [INT64_MIN, INT64_MAX] while preserving exact 65-bit sign in sdst). Confirmed natively on AMD RDNA2 (gfx1036).
  • SHADER-QSAD-CLAMP — implement VOP3 clamp saturation for v_qsad_pk_u16_u8, v_mqsad_pk_u16_u8 (per-lane u16 saturation to 0xFFFF), and v_mqsad_u32_u8 (per-lane u32 saturation to 0xFFFFFFFF). Confirmed natively on AMD RDNA2 (gfx1036). (Leaves v_sad_* untouched so it does not overlap with #275.)

(AI-assisted)

中文翻译

认领以下两项独立 RDNA2→SPIR-V 翻译器修复:

  • SHADER-MAD64-CLAMP:支持 v_mad_u64_u32(饱和至 UINT64_MAX 且 sdst 保留真实无符号进位)与 v_mad_i64_i32(饱和至 [INT64_MIN, INT64_MAX] 且 sdst 保留精确 65 位符号位)的 VOP3 clamp 语义,已在原生 AMD RDNA2(gfx1036)硬件实测确认。
  • SHADER-QSAD-CLAMP:支持 v_qsad_pk_u16_u8、v_mqsad_pk_u16_u8(每 lane 饱和至 0xFFFF)及 v_mqsad_u32_u8(每 lane 饱和至 0xFFFFFFFF)的 VOP3 clamp 语义,已在原生 AMD RDNA2(gfx1036)硬件实测确认。(不修改 v_sad_*,避免与 #275 冲突。)

(AI 辅助)

<!-- gh-comment-id:7122120372 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: - `SHADER-MAD64-CLAMP` — implement VOP3 `clamp` saturation for `v_mad_u64_u32` (saturate to `UINT64_MAX` while preserving unsigned carry in `sdst`) and `v_mad_i64_i32` (saturate to `[INT64_MIN, INT64_MAX]` while preserving exact 65-bit sign in `sdst`). Confirmed natively on AMD RDNA2 (`gfx1036`). - `SHADER-QSAD-CLAMP` — implement VOP3 `clamp` saturation for `v_qsad_pk_u16_u8`, `v_mqsad_pk_u16_u8` (per-lane `u16` saturation to `0xFFFF`), and `v_mqsad_u32_u8` (per-lane `u32` saturation to `0xFFFFFFFF`). Confirmed natively on AMD RDNA2 (`gfx1036`). (Leaves `v_sad_*` untouched so it does not overlap with #275.) (AI-assisted) <details> <summary>中文翻译</summary> 认领以下两项独立 RDNA2→SPIR-V 翻译器修复: - `SHADER-MAD64-CLAMP`:支持 `v_mad_u64_u32`(饱和至 `UINT64_MAX` 且 `sdst` 保留真实无符号进位)与 `v_mad_i64_i32`(饱和至 `[INT64_MIN, INT64_MAX]` 且 `sdst` 保留精确 65 位符号位)的 VOP3 `clamp` 语义,已在原生 AMD RDNA2(`gfx1036`)硬件实测确认。 - `SHADER-QSAD-CLAMP`:支持 `v_qsad_pk_u16_u8`、`v_mqsad_pk_u16_u8`(每 lane 饱和至 `0xFFFF`)及 `v_mqsad_u32_u8`(每 lane 饱和至 `0xFFFFFFFF`)的 VOP3 `clamp` 语义,已在原生 AMD RDNA2(`gfx1036`)硬件实测确认。(不修改 `v_sad_*`,避免与 #275 冲突。) (AI 辅助) </details>
Author
Owner

@BadgersMC commented on GitHub (Nov 24, 2026):

Update on SHADER-LDS-SUBDWORD-FIXTURE (claim).

On main d2cd6c0d, Vulkan GPU-assisted validation reports six shared-memory errors in cs_w32_lds_subdword, even though all eight output words match. Moving the fixture's existing v_cmpx_eq_u32_e32 0, v0 before the first LDS access removes the competing stores. Lane zero alone still trips a report at an atomic/plain access boundary. A workgroup barrier after each of the two existing write-phase waits clears the remaining reports.

With those fixture-only changes and the matching checked-in disassembly, the case passes with the same eight words on both d2cd6c0d and the #382 head 5cb32c2b. All four test_lds_subdword_wide.py tests pass, including the negative controls. This result covers cs_w32_lds_subdword only.

Windows 11, RTX 3060 Ti driver 610.88, Khronos validation layer 1.4.369, LEONIDA_VK_VALIDATION=1, VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1, LEONIDA_W64_EMULATE=1. The targeted runner used its checked-in disassembly and Python assembler. AI-assisted. No game files.

<!-- gh-comment-id:7122141955 --> @BadgersMC commented on GitHub (Nov 24, 2026): Update on `SHADER-LDS-SUBDWORD-FIXTURE` ([claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7122094161)). On `main` `d2cd6c0d`, Vulkan GPU-assisted validation reports six shared-memory errors in `cs_w32_lds_subdword`, even though all eight output words match. Moving the fixture's existing `v_cmpx_eq_u32_e32 0, v0` before the first LDS access removes the competing stores. Lane zero alone still trips a report at an atomic/plain access boundary. A workgroup barrier after each of the two existing write-phase waits clears the remaining reports. With those fixture-only changes and the matching checked-in disassembly, the case passes with the same eight words on both `d2cd6c0d` and the #382 head `5cb32c2b`. All four `test_lds_subdword_wide.py` tests pass, including the negative controls. This result covers `cs_w32_lds_subdword` only. Windows 11, RTX 3060 Ti driver 610.88, Khronos validation layer 1.4.369, `LEONIDA_VK_VALIDATION=1`, `VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1`, `LEONIDA_W64_EMULATE=1`. The targeted runner used its checked-in disassembly and Python assembler. AI-assisted. No game files.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-MAD64-CLAMP -> #398

(AI-assisted)

中文翻译

已完成并提交 PR:SHADER-MAD64-CLAMP -> #398

(AI 辅助)

<!-- gh-comment-id:7122152569 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-MAD64-CLAMP -> #398 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR:`SHADER-MAD64-CLAMP` -> #398 (AI 辅助) </details>
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

finding: device slot 70 writes a null shader-resource view for every call since #356, so each view the title makes through it reads as zeros, and a null view whose dimension does not match the binding is undefined | where: runtime/shims/d3d12_xs_device.cpp, proxy_create_srv_from_raw_x | why: it is a stand-in that gets the boot past the stop, not the console call; the second commit of the original series (9c8522d22, tedin7: a raw buffer view when the words are the measured raw-buffer shape and the address is a buffer the layer knows) replaces most of it and touches the Vulkan layer too | needs: game files to measure. Asked for by the maintainer on #356 so the stub stays tracked; I intend to carry that second commit over once the stack below it has landed. AI-assisted.

<!-- gh-comment-id:7122158527 --> @Mumogg commented on GitHub (Nov 24, 2026): finding: device slot 70 writes a null shader-resource view for every call since #356, so each view the title makes through it reads as zeros, and a null view whose dimension does not match the binding is undefined | where: `runtime/shims/d3d12_xs_device.cpp`, `proxy_create_srv_from_raw_x` | why: it is a stand-in that gets the boot past the stop, not the console call; the second commit of the original series (`9c8522d22`, tedin7: a raw buffer view when the words are the measured raw-buffer shape and the address is a buffer the layer knows) replaces most of it and touches the Vulkan layer too | needs: game files to measure. Asked for by the maintainer on #356 so the stub stays tracked; I intend to carry that second commit over once the stack below it has landed. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: GPU-780M-INDEX - the AMD Radeon 780M record added in #32 is not linked from the index page, and three details in it need to be right for the record to be reproducible. This adds the index entry (docs/gpu_test_results.md: a table row and a ## AMD Radeon 780M — 2026-11-24 section) and fixes the record itself: the tfe seed is 1000 (0x3e8) per status VGPR and the +2000 is the two of them summed (129 - 58 + 2000 = 2071 against the expected 71), and the cmake command now carries -DLEONIDA_VULKAN_HEADERS_FETCH=ON with the pinned Vulkan-Headers named. Rerun on the same commit 9ec34cdf with the pinned headers to confirm the numbers (228/248 passed, 16 skipped, 4 failed). AI-assisted.

<!-- gh-comment-id:7122161927 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: GPU-780M-INDEX - the AMD Radeon 780M record added in #32 is not linked from the index page, and three details in it need to be right for the record to be reproducible. This adds the index entry (`docs/gpu_test_results.md`: a table row and a `## AMD Radeon 780M — 2026-11-24` section) and fixes the record itself: the tfe seed is 1000 (0x3e8) per status VGPR and the +2000 is the two of them summed (129 - 58 + 2000 = 2071 against the expected 71), and the cmake command now carries `-DLEONIDA_VULKAN_HEADERS_FETCH=ON` with the pinned Vulkan-Headers named. Rerun on the same commit 9ec34cdf with the pinned headers to confirm the numbers (228/248 passed, 16 skipped, 4 failed). AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-QSAD-CLAMP -> #399

(AI-assisted)

中文翻译

已完成并提交 PR:SHADER-QSAD-CLAMP -> #399

(AI 辅助)

<!-- gh-comment-id:7122206436 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-QSAD-CLAMP -> #399 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR:`SHADER-QSAD-CLAMP` -> #399 (AI 辅助) </details>
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

Hi maintainers, I’m Dezmonius and I’d like to volunteer for independent Windows runtime testing on an RTX 5070 (Windows 10 22H2, NVIDIA 610.88). I can build the runtime test targets and run synthetic tests against pinned revisions with before/after controls.

I’ve posted two examples: the slot-78 regression check and the isolated MSVC build regression.

Is there a tester intake process or a testing role I can apply for? If a repository invitation is part of that process, please consider this my application. I’m also happy to continue as a public contributor and pick up an open Windows verification task through this tracker.

Thanks,
Dezmonius

<!-- gh-comment-id:7122249836 --> @Dezmonius commented on GitHub (Nov 24, 2026): Hi maintainers, I’m Dezmonius and I’d like to volunteer for independent Windows runtime testing on an RTX 5070 (Windows 10 22H2, NVIDIA 610.88). I can build the runtime test targets and run synthetic tests against pinned revisions with before/after controls. I’ve posted two examples: [the slot-78 regression check](https://github.com/ubiquitarianism/leonida/pull/238#issuecomment-7122240303) and [the isolated MSVC build regression](https://github.com/ubiquitarianism/leonida/pull/141#issuecomment-7122240831). Is there a tester intake process or a testing role I can apply for? If a repository invitation is part of that process, please consider this my application. I’m also happy to continue as a public contributor and pick up an open Windows verification task through this tracker. Thanks, Dezmonius
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

claiming: gpu-test-results/RX5700XT.txt — first RDNA1 record (RX 5700 XT, Navi 10, AMD 26.11.2, Windows 11, llvm-mingw static build): 213/241 passed, 28 skipped, 0 failed; also w64_graphics.py (9 A / 8 B / 12 C skipped) and vk_pipeline_check.py (236 pipelines), 0 failed. AI-assisted.

<!-- gh-comment-id:7122280115 --> @Len1k commented on GitHub (Nov 24, 2026): claiming: `gpu-test-results/RX5700XT.txt` — first RDNA1 record (RX 5700 XT, Navi 10, AMD 26.11.2, Windows 11, llvm-mingw static build): 213/241 passed, 28 skipped, 0 failed; also w64_graphics.py (9 A / 8 B / 12 C skipped) and vk_pipeline_check.py (236 pipelines), 0 failed. AI-assisted.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

claiming: OLD-6149 — carry over the retire-ticket device-loss fix that the old repository's PR #6149 held (its commit survives in abilliontokens/Leonida as 3a21e3ae, +17/−6 in runtime/src/vulkan_backend.h), rebased on main with its author's commit kept. RDNA1: vk_queue_query_sync 5/5 fail without it, 5/5 pass with it. AI-assisted.

<!-- gh-comment-id:7122280398 --> @Len1k commented on GitHub (Nov 24, 2026): claiming: `OLD-6149` — carry over the retire-ticket device-loss fix that the old repository's PR #6149 held (its commit survives in `abilliontokens/Leonida` as `3a21e3ae`, +17/−6 in `runtime/src/vulkan_backend.h`), rebased on `main` with its author's commit kept. RDNA1: `vk_queue_query_sync` 5/5 fail without it, 5/5 pass with it. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-QUEUE18 - found the cause of the fault after the first submission (my finding above): command-queue slot 18 is forwarded as PC GetDesc, a 16-byte struct return, while the title calls it with a pointer to 8 bytes (the frequency getter on the console queue). A small change of my own for main's queue proxy, after the rule in old PR 2490. AI-assisted.

<!-- gh-comment-id:7122287051 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-QUEUE18 - found the cause of the fault after the first submission (my finding above): command-queue slot 18 is forwarded as PC GetDesc, a 16-byte struct return, while the title calls it with a pointer to 8 bytes (the frequency getter on the console queue). A small change of my own for `main`'s queue proxy, after the rule in old PR 2490. AI-assisted.
Author
Owner

@Andretuta commented on GitHub (Nov 24, 2026):

done: RT-MF-OFFLINE -> #400
done: RT-GDK-SPEECH-DISPLAY-LIFECYCLE -> #401
done: RT-XS-FRAME-PACING-PRESENTX -> #402
done: RT-ACPHAL-XMA2 -> #404

<!-- gh-comment-id:7122288208 --> @Andretuta commented on GitHub (Nov 24, 2026): done: RT-MF-OFFLINE -> #400 done: RT-GDK-SPEECH-DISPLAY-LIFECYCLE -> #401 done: RT-XS-FRAME-PACING-PRESENTX -> #402 done: RT-ACPHAL-XMA2 -> #404
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: RT-ACPHAL-RELEASE - runtime/shims/acphal.cpp: AcpHalReleaseShapeContexts is declared with a SHAPE_CONTEXTS* parameter the GDK call does not have, and writes six null pointers through it; a caller passes nothing, so the writes go wherever RCX points (intermittent heap corruption). Fix and test in a PR shortly.

<!-- gh-comment-id:7122289790 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: RT-ACPHAL-RELEASE - `runtime/shims/acphal.cpp`: `AcpHalReleaseShapeContexts` is declared with a `SHAPE_CONTEXTS*` parameter the GDK call does not have, and writes six null pointers through it; a caller passes nothing, so the writes go wherever RCX points (intermittent heap corruption). Fix and test in a PR shortly.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-QUEUE18 -> #403

<!-- gh-comment-id:7122290155 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-QUEUE18 -> #403
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: RT-ACPHAL-RELEASE -> #405

<!-- gh-comment-id:7122296375 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: RT-ACPHAL-RELEASE -> #405
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: SHADER-DOT2-F32-F16-CLAMP — on native AMD RDNA2 (gfx1036), the VOP3P clamp bit on v_dot2_f32_f16 is a hardware no-op across all MODE combinations (ieee=0/1, dx10_clamp=0/1, denorm32=0/3, denorm16_64=0/3): +3.0f stays 0x40400000, -3.0f stays 0xc0400000, +inf stays 0x7f800000, and NaN stays 0x7fc00000. tools/rdna2spirv.py currently applies [0.0, 1.0] clamp_mods on v_dot2_f32_f16 clamp (silently miscompiling it). Will fix the translator, update tests/semantic/test_alu_dot_complete.py and docs/design.md, and verify against native GFX1036 and RTX 5060 Ti.

(AI-assisted)

中文翻译

认领 SHADER-DOT2-F32-F16-CLAMP:在原生 AMD RDNA2(gfx1036)硬件上,v_dot2_f32_f16(VOP3P)的 clamp 位在全部 MODE 组合下均为硬件空操作(+3.0f 保持 0x40400000、-3.0f 保持 0xc0400000、+inf 保持 0x7f800000、NaN 保持 0x7fc00000)。tools/rdna2spirv.py 当前错误地对其施加了 [0.0, 1.0] 截断。将修复翻译器、更新回归测试与 docs/design.md,并完成 GFX1036 与 RTX 5060 Ti 硬件差分验证。

(AI 辅助)

<!-- gh-comment-id:7122303589 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: `SHADER-DOT2-F32-F16-CLAMP` — on native AMD RDNA2 (`gfx1036`), the VOP3P `clamp` bit on `v_dot2_f32_f16` is a hardware no-op across all MODE combinations (`ieee=0/1`, `dx10_clamp=0/1`, `denorm32=0/3`, `denorm16_64=0/3`): `+3.0f` stays `0x40400000`, `-3.0f` stays `0xc0400000`, `+inf` stays `0x7f800000`, and `NaN` stays `0x7fc00000`. `tools/rdna2spirv.py` currently applies `[0.0, 1.0]` `clamp_mods` on `v_dot2_f32_f16 clamp` (silently miscompiling it). Will fix the translator, update `tests/semantic/test_alu_dot_complete.py` and `docs/design.md`, and verify against native GFX1036 and RTX 5060 Ti. (AI-assisted) <details> <summary>中文翻译</summary> 认领 `SHADER-DOT2-F32-F16-CLAMP`:在原生 AMD RDNA2(`gfx1036`)硬件上,`v_dot2_f32_f16`(VOP3P)的 `clamp` 位在全部 MODE 组合下均为硬件空操作(`+3.0f` 保持 `0x40400000`、`-3.0f` 保持 `0xc0400000`、`+inf` 保持 `0x7f800000`、`NaN` 保持 `0x7fc00000`)。`tools/rdna2spirv.py` 当前错误地对其施加了 `[0.0, 1.0]` 截断。将修复翻译器、更新回归测试与 `docs/design.md`,并完成 GFX1036 与 RTX 5060 Ti 硬件差分验证。 (AI 辅助) </details>
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: STAGED-COPY-OWN-WAIT - WriteToSubresource/ReadFromSubresource staging copies wait with vkQueueWaitIdle on the game's first direct queue, under the submit lock (31.8 ms behind 32 ms of queued work; 0.1-0.6 ms after)

<!-- gh-comment-id:7122306058 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: STAGED-COPY-OWN-WAIT - WriteToSubresource/ReadFromSubresource staging copies wait with vkQueueWaitIdle on the game's first direct queue, under the submit lock (31.8 ms behind 32 ms of queued work; 0.1-0.6 ms after)
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: STAGED-COPY-OWN-WAIT -> #407

<!-- gh-comment-id:7122306902 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: STAGED-COPY-OWN-WAIT -> #407
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

finding: after #391 the title's next queue call goes to the wrong PC method: on a queue the title makes (device slot 48), console queue slots 16-20 are the PC's 14-18, so its Signal(fence, n) at slot 16 reaches PC GetTimestampFrequency and writes the frequency (1e9) over the fence proxy's vtable | where: runtime/shims/d3d12_xs_device.cpp, child_slot (queue): #391 routes slot 35 to ExecuteCommandLists and forwards every other slot by its own number | why: measured on the retail executable 1.0.2.1 in the old PR 8134 (commit 5119d85cd): the title calls queue slot 16 with (fence, 1) and (fence, 2) where it signals, so 16 Signal, 17 Wait, 18 GetTimestampFrequency(UINT64*) (an 8-byte out; PC slot 18, GetDesc, wrote 16 bytes over the caller's saved RBX), 19 GetClockCalibration, 20 GetDesc. Console 14 and 15 are not measured.

What we did (Kokonotcu/leonida branch feat/pr8134-gfx, commit dd6aa1539):the remap applies only to a queue made through device slot 48 (a per-proxy flag set by proxy_create_command_queue_xbox), because queues from slots 8/75 are also called by the runtime's own code and the tests through d3d12.h; on such a queue 14/15 are refused (E_NOTIMPL, logged once) instead of reaching the PC Signal/Wait, and the fence unwrap follows the PC slot the call lands on. queue_proxy_test covers it on WARP, an Intel host GPU and the Vulkan layer (RTX 3080 Laptop): slot 16 signals and the fence proxy's vtable stays intact, 17 waits, 18 writes exactly 8 bytes, 19 calibrates, 20 returns the description, 14/15 signal nothing. Not opening a PR while #391 is open; happy to rebase it onto #391 if that is wanted. AI-assisted.

<!-- gh-comment-id:7122307218 --> @Kokonotcu commented on GitHub (Nov 24, 2026): finding: after #391 the title's next queue call goes to the wrong PC method: on a queue the title makes (device slot 48), console queue slots 16-20 are the PC's 14-18, so its `Signal(fence, n)` at slot 16 reaches PC `GetTimestampFrequency` and writes the frequency (1e9) over the fence proxy's vtable | where: `runtime/shims/d3d12_xs_device.cpp`, `child_slot` (queue): #391 routes slot 35 to `ExecuteCommandLists` and forwards every other slot by its own number | why: measured on the retail executable 1.0.2.1 in the old PR 8134 (commit `5119d85cd`): the title calls queue slot 16 with `(fence, 1)` and `(fence, 2)` where it signals, so 16 `Signal`, 17 `Wait`, 18 `GetTimestampFrequency(UINT64*)` (an 8-byte out; PC slot 18, `GetDesc`, wrote 16 bytes over the caller's saved RBX), 19 `GetClockCalibration`, 20 `GetDesc`. Console 14 and 15 are not measured. What we did (Kokonotcu/leonida branch `feat/pr8134-gfx`, commit `dd6aa1539`):the remap applies only to a queue made through device slot 48 (a per-proxy flag set by `proxy_create_command_queue_xbox`), because queues from slots 8/75 are also called by the runtime's own code and the tests through `d3d12.h`; on such a queue 14/15 are refused (`E_NOTIMPL`, logged once) instead of reaching the PC `Signal`/`Wait`, and the fence unwrap follows the PC slot the call lands on. `queue_proxy_test` covers it on WARP, an Intel host GPU and the Vulkan layer (RTX 3080 Laptop): slot 16 signals and the fence proxy's vtable stays intact, 17 waits, 18 writes exactly 8 bytes, 19 calibrates, 20 returns the description, 14/15 signal nothing. Not opening a PR while #391 is open; happy to rebase it onto #391 if that is wanted. AI-assisted.
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

finding: #383 reads device slot 61's description as a PC D3D12_SAMPLER_DESC, but CreateSamplerX takes the console's own 0x54-byte description, so every field is read from the wrong word (the min filter as AddressU, the reduction as MaxAnisotropy); and it passes the destination handle as given, where slots 17-24 in the same stack go through translate_cpu_handle | where: runtime/shims/d3d12_xs_device.cpp, proxy_create_sampler_x in #383 (its comment marks the PC-layout reading as a hypothesis) | why: the old PR 8134 read the field offsets from the retail code (1.0.2.1) that builds the description: +0x04 min, +0x08 mag, +0x0c mip filter (1 point, 2 linear), +0x10 a fourth filter word, +0x14 reduction (0 standard, 1 comparison, 2 minimum, 3 maximum), +0x18/+0x1c/+0x20 address U/V/W, +0x24 MinLOD, +0x28 MaxLOD, +0x30 MipLODBias, +0x34 MaxAnisotropy, +0x40 ComparisonFunc, +0x44 border colour (float4). A sampler the title writes into a heap it backs itself (its __XMemAllocationHooks__, #375) lands outside the real heap without the translation.

We ported both locally (our commit 1eb34242a: the decode into a PC D3D12_SAMPLER_DESC, the translated handle, and an xs_proxy_mock check of both). Not opening a competing PR while #383 is open; the decode table above is what #383 would need. AI-assisted.

<!-- gh-comment-id:7122307602 --> @Kokonotcu commented on GitHub (Nov 24, 2026): finding: #383 reads device slot 61's description as a PC `D3D12_SAMPLER_DESC`, but CreateSamplerX takes the console's own 0x54-byte description, so every field is read from the wrong word (the min filter as `AddressU`, the reduction as `MaxAnisotropy`); and it passes the destination handle as given, where slots 17-24 in the same stack go through `translate_cpu_handle` | where: `runtime/shims/d3d12_xs_device.cpp`, `proxy_create_sampler_x` in #383 (its comment marks the PC-layout reading as a hypothesis) | why: the old PR 8134 read the field offsets from the retail code (1.0.2.1) that builds the description: `+0x04` min, `+0x08` mag, `+0x0c` mip filter (1 point, 2 linear), `+0x10` a fourth filter word, `+0x14` reduction (0 standard, 1 comparison, 2 minimum, 3 maximum), `+0x18`/`+0x1c`/`+0x20` address U/V/W, `+0x24` MinLOD, `+0x28` MaxLOD, `+0x30` MipLODBias, `+0x34` MaxAnisotropy, `+0x40` ComparisonFunc, `+0x44` border colour (float4). A sampler the title writes into a heap it backs itself (its `__XMemAllocationHooks__`, #375) lands outside the real heap without the translation. We ported both locally (our commit `1eb34242a`: the decode into a PC `D3D12_SAMPLER_DESC`, the translated handle, and an `xs_proxy_mock` check of both). Not opening a competing PR while #383 is open; the decode table above is what #383 would need. AI-assisted.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

done: OLD-6149 -> #408
done: gpu-test-results/RX5700XT.txt -> #409

Both are from the same fork (Len1k/leonida). #408 keeps abilliontokens' commit and message, with only its parent changed to current main; #409 is the first RDNA1 record (RX 5700 XT, AMD 26.11.2, Windows 11).

<!-- gh-comment-id:7122316773 --> @Len1k commented on GitHub (Nov 24, 2026): done: OLD-6149 -> #408 done: gpu-test-results/RX5700XT.txt -> #409 Both are from the same fork (`Len1k/leonida`). #408 keeps `abilliontokens`' commit and message, with only its parent changed to current `main`; #409 is the first RDNA1 record (RX 5700 XT, AMD 26.11.2, Windows 11).
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-DOT2-F32-F16-CLAMP -> #410

(AI-assisted)

中文翻译

已完成并提交 PR:SHADER-DOT2-F32-F16-CLAMP -> #410

(AI 辅助)

<!-- gh-comment-id:7122331979 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-DOT2-F32-F16-CLAMP -> #410 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR:`SHADER-DOT2-F32-F16-CLAMP` -> #410 (AI 辅助) </details>
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: VERIFY-FULL-CHECK-JOBS

Honor the build CLI's --jobs limit when make_game.py --full-check invokes tools/manifest.py verify, including --check --full-check. At d2cd6c0d9 the verifier receives no --jobs argument, so an explicit single-worker check still uses its host-dependent default. I will cover the CLI-to-verifier handoff with synthetic inputs and keep the fast size-only check and standalone verifier defaults intact.

<!-- gh-comment-id:7122353393 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: VERIFY-FULL-CHECK-JOBS Honor the build CLI's `--jobs` limit when `make_game.py --full-check` invokes `tools/manifest.py verify`, including `--check --full-check`. At `d2cd6c0d9` the verifier receives no `--jobs` argument, so an explicit single-worker check still uses its host-dependent default. I will cover the CLI-to-verifier handoff with synthetic inputs and keep the fast size-only check and standalone verifier defaults intact.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: DOC-GPU-VERIFIED-ATOMICS - six contract rows in docs/design.md end with "Not GPU-verified." although GPU fixtures on main already run them through scripts/run_gpu_tests.py and runtime/test/shaders/check.py, and none of the rows names its fixture:

  • 8/16-bit global stores and d16 loads: cs_global_mem_ext.asm
  • ds_cmpst_f32/_rtn_f32, global_atomic_fcmpswap, buffer_atomic_fcmpswap: cs_w32_fcmpswap.asm
  • ds_mskor_b32/_rtn_b32: cs_lds_atomics_ext.asm
  • ds_{inc,dec,rsub}_u32, ds_{min,max}_f32: cs_lds_atomics_ext.asm, cs_lds_xchg64_ext.asm
  • ds_wrxchg2_rtn_b32: cs_w32_new_ops.asm
  • ds_and/or/xor_b64: cs_lds_atomics_ext.asm, cs_lds_xchg64_ext.asm

Each row gets the fixture, the forms and cases it compares, and the GPUs it passed on: Radeon 610M (gfx1036, RADV Mesa 26.2.6) and RTX 4070 Ti (620.70.06), Linux, native and LEONIDA_W64_EMULATE=1. Each keeps saying what stays unchecked, such as global_atomic_fcmpswap or the st64 form. Docs only.

Left out, since open pull requests rewrite those rows: Global atomics (32-bit) (#191, #174) and buffer_atomic_{and,or,xor,swap}_x2 (#174). No game files. AI-assisted.

<!-- gh-comment-id:7122360796 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: DOC-GPU-VERIFIED-ATOMICS - six contract rows in `docs/design.md` end with "**Not GPU-verified.**" although GPU fixtures on `main` already run them through `scripts/run_gpu_tests.py` and `runtime/test/shaders/check.py`, and none of the rows names its fixture: - 8/16-bit global stores and d16 loads: `cs_global_mem_ext.asm` - `ds_cmpst_f32`/`_rtn_f32`, `global_atomic_fcmpswap`, `buffer_atomic_fcmpswap`: `cs_w32_fcmpswap.asm` - `ds_mskor_b32`/`_rtn_b32`: `cs_lds_atomics_ext.asm` - `ds_{inc,dec,rsub}_u32`, `ds_{min,max}_f32`: `cs_lds_atomics_ext.asm`, `cs_lds_xchg64_ext.asm` - `ds_wrxchg2_rtn_b32`: `cs_w32_new_ops.asm` - `ds_and/or/xor_b64`: `cs_lds_atomics_ext.asm`, `cs_lds_xchg64_ext.asm` Each row gets the fixture, the forms and cases it compares, and the GPUs it passed on: Radeon 610M (gfx1036, RADV Mesa 26.2.6) and RTX 4070 Ti (620.70.06), Linux, native and `LEONIDA_W64_EMULATE=1`. Each keeps saying what stays unchecked, such as `global_atomic_fcmpswap` or the `st64` form. Docs only. Left out, since open pull requests rewrite those rows: Global atomics (32-bit) (#191, #174) and `buffer_atomic_{and,or,xor,swap}_x2` (#174). No game files. AI-assisted.
Author
Owner

@BadgersMC commented on GitHub (Nov 24, 2026):

done: SHADER-LDS-SUBDWORD-FIXTURE -> #412

<!-- gh-comment-id:7122366268 --> @BadgersMC commented on GitHub (Nov 24, 2026): done: SHADER-LDS-SUBDWORD-FIXTURE -> #412
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-ATOMIC-CSUB -> #411

<!-- gh-comment-id:7122373634 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-ATOMIC-CSUB -> #411
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: DOC-GPU-VERIFIED-ATOMICS -> #413

<!-- gh-comment-id:7122382974 --> @milk4sale commented on GitHub (Nov 24, 2026): done: DOC-GPU-VERIFIED-ATOMICS -> #413
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX3080 - I will add a GPU-test record for an NVIDIA GeForce RTX 3080 (Ampere GA102, 10 GB GDDR6X, PCI 10de:2216) in the gpu-test-results/ format used by the other entries: build the Vulkan subset of the runtime from main on Linux (Ubuntu 26.04 LTS, NVIDIA 580.178.04), run scripts/run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, and commit gpu-test-results/RTX3080.txt plus its row in docs/gpu_test_results.md. The 3080 Ti is covered by #280/#348 (both Windows 11); the plain 3080 10 GB is not in the table, and this would be the first Linux-native Ampere entry.

<!-- gh-comment-id:7122390557 --> @tengotengo commented on GitHub (Nov 24, 2026): claiming: GPU-RTX3080 - I will add a GPU-test record for an NVIDIA GeForce RTX 3080 (Ampere GA102, 10 GB GDDR6X, PCI 10de:2216) in the `gpu-test-results/` format used by the other entries: build the Vulkan subset of the runtime from `main` on Linux (Ubuntu 26.04 LTS, NVIDIA 580.178.04), run `scripts/run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1`, and commit `gpu-test-results/RTX3080.txt` plus its row in `docs/gpu_test_results.md`. The 3080 Ti is covered by #280/#348 (both Windows 11); the plain 3080 10 GB is not in the table, and this would be the first Linux-native Ampere entry.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: TEST-CUBE-WINPATH — tests/semantic/test_image_cube_store_glc.py :52-57, the private llvm_mc_cmd() helper. It splits LLVM_MC with shlex.split(), which is POSIX word-splitting and drops the backslashes of a Windows path, so on Windows LlvmMcRoundTrip dies with FileNotFoundError before it runs anything, and the skipUnless never gets a chance to skip it. The repository already has the helper that does this correctly: tools/mc_command.py split_command(), whose own docstring is "Split a command line without eating the backslashes of a Windows path (POSIX shlex would)", and that test is the only file in the tree carrying its own copy. I measured it on ece4ba5b3 and the fix is to import the shared helper there and keep the same skip rule. Nothing in the Open work table, the comments here, or the open pull requests mentions this file or shlex.

<!-- gh-comment-id:7122401986 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: `TEST-CUBE-WINPATH` — `tests/semantic/test_image_cube_store_glc.py` :52-57, the private `llvm_mc_cmd()` helper. It splits `LLVM_MC` with `shlex.split()`, which is POSIX word-splitting and drops the backslashes of a Windows path, so on Windows `LlvmMcRoundTrip` dies with `FileNotFoundError` before it runs anything, and the `skipUnless` never gets a chance to skip it. The repository already has the helper that does this correctly: `tools/mc_command.py` `split_command()`, whose own docstring is "Split a command line without eating the backslashes of a Windows path (POSIX shlex would)", and that test is the only file in the tree carrying its own copy. I measured it on `ece4ba5b3` and the fix is to import the shared helper there and keep the same skip rule. Nothing in the Open work table, the comments here, or the open pull requests mentions this file or `shlex`.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-PRESENTX - command-queue slot 32 is the title's PresentX and is refused as past the PC queue table; wiring it to XboxPresentation (my change, after old PR 2490's) plus the shared frame-token source (afb14d56c, Logan; in main's history, not in its tree), without which every PresentX is refused with E_INVALIDARG.

claiming: RT-LIST-HANDLES - console list slots 50 to 54 pass title-owned CPU descriptor handles to the real list untranslated, which makes the list's Close fail on the retail boot. My port of 0aba6c361 (LeonidaBringup) to main's list proxy. AI-assisted.

<!-- gh-comment-id:7122405057 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-PRESENTX - command-queue slot 32 is the title's PresentX and is refused as past the PC queue table; wiring it to `XboxPresentation` (my change, after old PR 2490's) plus the shared frame-token source (`afb14d56c`, Logan; in `main`'s history, not in its tree), without which every PresentX is refused with E_INVALIDARG. claiming: RT-LIST-HANDLES - console list slots 50 to 54 pass title-owned CPU descriptor handles to the real list untranslated, which makes the list's Close fail on the retail boot. My port of `0aba6c361` (LeonidaBringup) to `main`'s list proxy. AI-assisted.
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

claiming: RT-CLZERO-LOOP - runtime/src/cpu_emulation.h: on a CPU without CLZERO, the title's zeroing loop (clzero; add rax, 0x40; cmp rax, reg; jb -12) raises one #UD per 64-byte line. Recognize that exact 12-byte loop at the #UD and zero the whole span in one step (bounded batches, page-by-page writability check, the same fault the CPU would raise at the first unwritable line), with a test in runtime/test/cpu_emulation_test.cpp. No game files needed; builds on the CLZERO emulation already on main.

<!-- gh-comment-id:7122409237 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): claiming: RT-CLZERO-LOOP - `runtime/src/cpu_emulation.h`: on a CPU without CLZERO, the title's zeroing loop (`clzero; add rax, 0x40; cmp rax, reg; jb -12`) raises one #UD per 64-byte line. Recognize that exact 12-byte loop at the #UD and zero the whole span in one step (bounded batches, page-by-page writability check, the same fault the CPU would raise at the first unwritable line), with a test in `runtime/test/cpu_emulation_test.cpp`. No game files needed; builds on the CLZERO emulation already on `main`.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-PRESENTX -> #414
done: RT-LIST-HANDLES -> the pull request opened just now (list-descriptor-handles)

<!-- gh-comment-id:7122410599 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-PRESENTX -> #414 done: RT-LIST-HANDLES -> the pull request opened just now (list-descriptor-handles)
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming:

  • VK-UAV-CLEAR-ALIGN — prepare_buffer_uav_clear in runtime/src/vulkan_replay.h validates offset % std::min(e, 4u) before adding p.binding.buffer_offset. When a sub-allocated buffer has a misaligned buffer_offset, e > 4 emits vkCmdUpdateBuffer with dstOffset % 4 != 0 (violating VUID-vkCmdUpdateBuffer-dstOffset-00032), and e == 2/4 fills aligned words with unrotated bytes, byte-swapping/rotating every cleared element. Will check backing-offset alignment after adding p.binding.buffer_offset (matching prepare_texture_copy) and add regression tests in runtime/test/replay_uav_clear_offset_test.cpp.
  • RT-ROOTSIG-PARSE-PACK — two validation bugs in runtime/src/root_signature.cpp: (1) parse_rts0_payload() computes poff + 4 and poff + 8 in 32-bit uint32_t for Constants parameters, wrapping to 0/4 when poff >= 0xFFFFFFFC and reading the header instead of failing bounds checks; (2) pack_stage() omits the p.type validity check that pack() performs, silently accepting unknown parameter types. Will fix both and add regression tests in runtime/test/root_signature_test.cpp.

(AI-assisted)

中文翻译

认领以下两项 C++ 运行时修复:

  • VK-UAV-CLEAR-ALIGN:runtime/src/vulkan_replay.h 的 prepare_buffer_uav_clear 在加上 p.binding.buffer_offset 之前检查 offset % std::min(e, 4u)。当底层 buffer_offset 未对齐时,e > 4 会向 vkCmdUpdateBuffer 传入未 4 字节对齐的 dstOffset(违反 VUID-vkCmdUpdateBuffer-dstOffset-00032),而 e == 2/4 会以未旋转字写入导致元素字节错位。将在叠加 buffer_offset 后校验对齐并补充回归测试。
  • RT-ROOTSIG-PARSE-PACK:runtime/src/root_signature.cpp 存在两处校验缺陷:(1)parse_rts0_payload() 处理 Constants 参数时以 32 位 uint32_t 计算 poff + 4 / poff + 8,当 poff >= 0xFFFFFFFC 时发生 32 位无符号回绕误读头部字节;(2)pack_stage() 遗漏了 pack() 中的 p.type 合法性检查。将一并修复并补充单元测试。

(AI 辅助)

<!-- gh-comment-id:7122412173 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: - `VK-UAV-CLEAR-ALIGN` — `prepare_buffer_uav_clear` in `runtime/src/vulkan_replay.h` validates `offset % std::min(e, 4u)` *before* adding `p.binding.buffer_offset`. When a sub-allocated buffer has a misaligned `buffer_offset`, `e > 4` emits `vkCmdUpdateBuffer` with `dstOffset % 4 != 0` (violating `VUID-vkCmdUpdateBuffer-dstOffset-00032`), and `e == 2`/`4` fills aligned words with unrotated bytes, byte-swapping/rotating every cleared element. Will check backing-offset alignment after adding `p.binding.buffer_offset` (matching `prepare_texture_copy`) and add regression tests in `runtime/test/replay_uav_clear_offset_test.cpp`. - `RT-ROOTSIG-PARSE-PACK` — two validation bugs in `runtime/src/root_signature.cpp`: (1) `parse_rts0_payload()` computes `poff + 4` and `poff + 8` in 32-bit `uint32_t` for `Constants` parameters, wrapping to `0`/`4` when `poff >= 0xFFFFFFFC` and reading the header instead of failing bounds checks; (2) `pack_stage()` omits the `p.type` validity check that `pack()` performs, silently accepting unknown parameter types. Will fix both and add regression tests in `runtime/test/root_signature_test.cpp`. (AI-assisted) <details> <summary>中文翻译</summary> 认领以下两项 C++ 运行时修复: - `VK-UAV-CLEAR-ALIGN`:`runtime/src/vulkan_replay.h` 的 `prepare_buffer_uav_clear` 在加上 `p.binding.buffer_offset` **之前**检查 `offset % std::min(e, 4u)`。当底层 `buffer_offset` 未对齐时,`e > 4` 会向 `vkCmdUpdateBuffer` 传入未 4 字节对齐的 `dstOffset`(违反 `VUID-vkCmdUpdateBuffer-dstOffset-00032`),而 `e == 2`/`4` 会以未旋转字写入导致元素字节错位。将在叠加 `buffer_offset` 后校验对齐并补充回归测试。 - `RT-ROOTSIG-PARSE-PACK`:`runtime/src/root_signature.cpp` 存在两处校验缺陷:(1)`parse_rts0_payload()` 处理 `Constants` 参数时以 32 位 `uint32_t` 计算 `poff + 4` / `poff + 8`,当 `poff >= 0xFFFFFFFC` 时发生 32 位无符号回绕误读头部字节;(2)`pack_stage()` 遗漏了 `pack()` 中的 `p.type` 合法性检查。将一并修复并补充单元测试。 (AI 辅助) </details>
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: RT-XMEM-WINDOWS - runtime/shims/xmem.cpp: a commit into a placeholder window, the title VirtualAlloc's console page-size bits, and VirtualFree of a window with pages mapped all fail or leak on the host

<!-- gh-comment-id:7122413191 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: RT-XMEM-WINDOWS - runtime/shims/xmem.cpp: a commit into a placeholder window, the title VirtualAlloc's console page-size bits, and VirtualFree of a window with pages mapped all fail or leak on the host
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: RT-XMEM-WINDOWS -> #417

<!-- gh-comment-id:7122414341 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: RT-XMEM-WINDOWS -> #417
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-LIST-HANDLES -> #416

<!-- gh-comment-id:7122417612 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-LIST-HANDLES -> #416
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-UAV-CLEAR-ALIGN -> #418

(AI-assisted)

中文翻译

已完成并提交 PR:VK-UAV-CLEAR-ALIGN -> #418

(AI 辅助)

<!-- gh-comment-id:7122426325 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-UAV-CLEAR-ALIGN -> #418 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR:`VK-UAV-CLEAR-ALIGN` -> #418 (AI 辅助) </details>
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: RT-ROOTSIG-PARSE-PACK -> #420

(AI-assisted)

中文翻译

已完成并提交 PR:RT-ROOTSIG-PARSE-PACK -> #420

(AI 辅助)

<!-- gh-comment-id:7122444581 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: RT-ROOTSIG-PARSE-PACK -> #420 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR:`RT-ROOTSIG-PARSE-PACK` -> #420 (AI 辅助) </details>
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming:

  • SHADER-PK-SHIFT-CLAMP — on native AMD RDNA2 (gfx1036), VOP3P clamp on v_pk_lshlrev_b16, v_pk_lshrrev_b16, and v_pk_ashrrev_i16 is a valid encoding and a hardware no-op (each 16-bit half wraps without saturating, matching v_pk_mul_lo_u16/v_pk_max_*16/v_pk_min_*16). tools/rdna2spirv.py currently rejects all three with Unsupported.
  • SHADER-INT16-CLAMP-NOOP — on native AMD RDNA2 (gfx1036), VOP3 clamp on v_mul_lo_u16, v_max_u16, v_min_u16, v_max_i16, v_min_i16, v_lshlrev_b16, v_lshrrev_b16, and v_ashrrev_i16 is a valid encoding and a hardware no-op (e.g., v_mul_lo_u16 0xffff, 0xffff clamp wraps to 0x0001 while keeping the destination high half). tools/rdna2spirv.py previously rejected all eight ("rejected rather than guessed").

(AI-assisted)

中文翻译

认领以下两项基于原生 RDNA2(gfx1036)实测的翻译器修复:

  • SHADER-PK-SHIFT-CLAMP:原生 RDNA2 上 v_pk_lshlrev_b16、v_pk_lshrrev_b16、v_pk_ashrrev_i16 的 VOP3P clamp 为合法编码且属于硬件空操作(各 16 位通道正常回绕不饱和),但 tools/rdna2spirv.py 当前全部报错 Unsupported。
  • SHADER-INT16-CLAMP-NOOP:原生 RDNA2 上 v_mul_lo_u16、v_max_u16、v_min_u16、v_max_i16、v_min_i16、v_lshlrev_b16、v_lshrrev_b16、v_ashrrev_i16 的 VOP3 clamp 均为合法编码且属于硬件空操作(例如 v_mul_lo_u16 0xffff, 0xffff clamp 回绕为 0x0001 且保留高 16 位),tools/rdna2spirv.py 此前因未实测而全部拒绝。

(AI 辅助)

<!-- gh-comment-id:7122475341 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: - `SHADER-PK-SHIFT-CLAMP` — on native AMD RDNA2 (`gfx1036`), VOP3P `clamp` on `v_pk_lshlrev_b16`, `v_pk_lshrrev_b16`, and `v_pk_ashrrev_i16` is a valid encoding and a hardware no-op (each 16-bit half wraps without saturating, matching `v_pk_mul_lo_u16`/`v_pk_max_*16`/`v_pk_min_*16`). `tools/rdna2spirv.py` currently rejects all three with `Unsupported`. - `SHADER-INT16-CLAMP-NOOP` — on native AMD RDNA2 (`gfx1036`), VOP3 `clamp` on `v_mul_lo_u16`, `v_max_u16`, `v_min_u16`, `v_max_i16`, `v_min_i16`, `v_lshlrev_b16`, `v_lshrrev_b16`, and `v_ashrrev_i16` is a valid encoding and a hardware no-op (e.g., `v_mul_lo_u16 0xffff, 0xffff clamp` wraps to `0x0001` while keeping the destination high half). `tools/rdna2spirv.py` previously rejected all eight ("rejected rather than guessed"). (AI-assisted) <details> <summary>中文翻译</summary> 认领以下两项基于原生 RDNA2(`gfx1036`)实测的翻译器修复: - `SHADER-PK-SHIFT-CLAMP`:原生 RDNA2 上 `v_pk_lshlrev_b16`、`v_pk_lshrrev_b16`、`v_pk_ashrrev_i16` 的 VOP3P `clamp` 为合法编码且属于硬件空操作(各 16 位通道正常回绕不饱和),但 `tools/rdna2spirv.py` 当前全部报错 `Unsupported`。 - `SHADER-INT16-CLAMP-NOOP`:原生 RDNA2 上 `v_mul_lo_u16`、`v_max_u16`、`v_min_u16`、`v_max_i16`、`v_min_i16`、`v_lshlrev_b16`、`v_lshrrev_b16`、`v_ashrrev_i16` 的 VOP3 `clamp` 均为合法编码且属于硬件空操作(例如 `v_mul_lo_u16 0xffff, 0xffff clamp` 回绕为 `0x0001` 且保留高 16 位),`tools/rdna2spirv.py` 此前因未实测而全部拒绝。 (AI 辅助) </details>
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

done: RT-CLZERO-LOOP -> #421

<!-- gh-comment-id:7122481936 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): done: RT-CLZERO-LOOP -> #421
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-PK-SHIFT-CLAMP -> #422

(AI-assisted)

中文翻译

已完成并提交 PR:SHADER-PK-SHIFT-CLAMP -> #422

(AI 辅助)

<!-- gh-comment-id:7122500460 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-PK-SHIFT-CLAMP -> #422 (AI-assisted) <details> <summary>中文翻译</summary> 已完成并提交 PR:`SHADER-PK-SHIFT-CLAMP` -> #422 (AI 辅助) </details>
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

claiming: D3D-MESH-INDIRECT-EXEC — replay fixed-count ExecuteIndirect(DISPATCH_MESH) on Vulkan. This covers command execution and overlaps with #377 only at mesh signature creation. AI-assisted.

<!-- gh-comment-id:7122527843 --> @PyZikYG commented on GitHub (Nov 24, 2026): claiming: D3D-MESH-INDIRECT-EXEC — replay fixed-count ExecuteIndirect(DISPATCH_MESH) on Vulkan. This covers command execution and overlaps with #377 only at mesh signature creation. AI-assisted.
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

done: D3D-MESH-INDIRECT-EXEC -> #424 (draft; overlaps with #377 at signature creation).

<!-- gh-comment-id:7122528651 --> @PyZikYG commented on GitHub (Nov 24, 2026): done: D3D-MESH-INDIRECT-EXEC -> #424 (draft; overlaps with #377 at signature creation).
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

claiming: D3D-MESH-INDIRECT-COUNT — support GPU count buffers for the mesh-only ExecuteIndirect path in #424 using Vulkan indirect-count draws. AI-assisted.

<!-- gh-comment-id:7122562592 --> @PyZikYG commented on GitHub (Nov 24, 2026): claiming: D3D-MESH-INDIRECT-COUNT — support GPU count buffers for the mesh-only ExecuteIndirect path in #424 using Vulkan indirect-count draws. AI-assisted.
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: BINDLESS-SPARE-SET-DELTA - a new bindless set-0 generation reuses a retired set and writes only the changed descriptors (3788 -> 1 per generation), with retired generations capped by the pool limit

<!-- gh-comment-id:7122586686 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: BINDLESS-SPARE-SET-DELTA - a new bindless set-0 generation reuses a retired set and writes only the changed descriptors (3788 -> 1 per generation), with retired generations capped by the pool limit
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: BINDLESS-SPARE-SET-DELTA -> #425

<!-- gh-comment-id:7122588127 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: BINDLESS-SPARE-SET-DELTA -> #425
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

finding: TITLE-HEAP-SYNC - with title-backed descriptor heaps (#375, 355201c51: slot 14 + slots 17-24 translating the title's range), descriptor bytes the title writes straight into its own heap memory never reach the GPU

On main there are no title-backed heaps yet; #375 brings them. In that model every descriptor call made through the proxy is translated to the real heap, but the title's own heap memory (what slot 9 returns) is never read again. Console code that memcpys 32-byte descriptors into its heap (staging copies, its own descriptor caches) leaves them there: the GPU reads the real heap, which holds zeros or older descriptors, with no error. RTV/DSV handles the command lists read at record time point into the title range too and hold nothing written there.

We have an opt-in fix on top of that model, LEONIDA_TITLE_HEAP_SYNC=1 (default off), not posted as a PR since it depends on #375:

  • title memory is the heap: the proxy no longer translates a title-backed heap's CPU handles, so slots 17-24 and 61 and the title's own copies all land there (zeroed at creation, as the real heap is);
  • at every ExecuteCommandLists (the Vulkan device's, all queues) the 4 KiB chunks of shader-visible title heaps that differ from a host shadow (memcmp) are copied to the real heap; the arena (write-combined) is only written, never read; only what both heaps hold is synced when slot 14 caps a console-sized heap;
  • sampler heaps: slots keyed by their title addresses, changed slots rebound from their bytes (an all-zero slot drops its S#); heaps are unregistered under the sync mutex before their title memory is freed; concurrent submits sync one at a time.
  • Tested on an RTX 3080 Laptop (Windows 10): a real Vulkan device through the proxy, a T# memcpy'd into the title view heap and sampled by a dispatch, then a second one over it: off 64/64 texels wrong in both runs, on 0/64; mock test for the untranslated writes, changed-chunk-only copies and release.
  • Cost: a sync over a 1M-descriptor heap (32 MiB) is about 3.1 ms per submit even with nothing changed (the memcmp reads 64 MiB), so it stays opt-in. Write tracking (write-watch memory, or page protection) would remove it; neither is done.

It also bears on the question #375 leaves open (how the title-backed heap model and the slot 14 console-heap handler should share slot 14): whichever model stays, title-written descriptor bytes need a path to the GPU heap. Happy to open it as a PR on top of #375 once that lands.

<!-- gh-comment-id:7122595504 --> @Kokonotcu commented on GitHub (Nov 24, 2026): finding: TITLE-HEAP-SYNC - with title-backed descriptor heaps (#375, `355201c51`: slot 14 + slots 17-24 translating the title's range), descriptor bytes the title writes straight into its own heap memory never reach the GPU On `main` there are no title-backed heaps yet; #375 brings them. In that model every descriptor call made through the proxy is translated to the real heap, but the title's own heap memory (what slot 9 returns) is never read again. Console code that `memcpy`s 32-byte descriptors into its heap (staging copies, its own descriptor caches) leaves them there: the GPU reads the real heap, which holds zeros or older descriptors, with no error. RTV/DSV handles the command lists read at record time point into the title range too and hold nothing written there. We have an opt-in fix on top of that model, `LEONIDA_TITLE_HEAP_SYNC=1` (default off), not posted as a PR since it depends on #375: - title memory is the heap: the proxy no longer translates a title-backed heap's CPU handles, so slots 17-24 and 61 and the title's own copies all land there (zeroed at creation, as the real heap is); - at every `ExecuteCommandLists` (the Vulkan device's, all queues) the 4 KiB chunks of shader-visible title heaps that differ from a host shadow (`memcmp`) are copied to the real heap; the arena (write-combined) is only written, never read; only what both heaps hold is synced when slot 14 caps a console-sized heap; - sampler heaps: slots keyed by their title addresses, changed slots rebound from their bytes (an all-zero slot drops its S#); heaps are unregistered under the sync mutex before their title memory is freed; concurrent submits sync one at a time. - Tested on an RTX 3080 Laptop (Windows 10): a real Vulkan device through the proxy, a T# `memcpy`'d into the title view heap and sampled by a dispatch, then a second one over it: off 64/64 texels wrong in both runs, on 0/64; mock test for the untranslated writes, changed-chunk-only copies and release. - Cost: a sync over a 1M-descriptor heap (32 MiB) is about 3.1 ms per submit even with nothing changed (the `memcmp` reads 64 MiB), so it stays opt-in. Write tracking (write-watch memory, or page protection) would remove it; neither is done. It also bears on the question #375 leaves open (how the title-backed heap model and the slot 14 console-heap handler should share slot 14): whichever model stays, title-written descriptor bytes need a path to the GPU heap. Happy to open it as a PR on top of #375 once that lands.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-INT16-CLAMP-NOOP -> #426 (AI-assisted)

中文翻译

已完成:SHADER-INT16-CLAMP-NOOP -> #426(AI 辅助)

<!-- gh-comment-id:7122598901 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-INT16-CLAMP-NOOP -> #426 (AI-assisted) <details> <summary>中文翻译</summary> 已完成:SHADER-INT16-CLAMP-NOOP -> #426(AI 辅助) </details>
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

finding: runtime/test/d3d12_vulkan_device_test.cpp:4057 compares VIDEO_ENCODE allocator creation with WARP even when the host exposes no D3D12 video interface. This turns a host capability difference into a failing d3d12_vulkan_device test on Windows 10. Synthetic inputs only.

Independently reproduced on Continued main@2a2b1680, Windows 10 22H2 (19045.6466), RTX 5070, NVIDIA 610.88, MSVC 19.51.36256 and SDK 10.0.26100:

  • Native RTX 5070 D3D12 exposes ID3D12VideoDevice and returns S_OK with an allocator for D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE. WARP returns E_NOINTERFACE for that interface and E_INVALIDARG with a null allocator. Both accept a DIRECT allocator. Native RTX also returns E_NOINTERFACE for ID3D12VideoDevice3, so that newer interface would be the wrong guard for this comparison.
  • Before: ctest -V -R '^d3d12_vulkan_device$' passes with default hardware and fails with LEONIDA_HOST_ADAPTER=warp.
  • After a test-only local change that marks this one argument case non-comparable when the host returns E_NOINTERFACE for ID3D12VideoDevice, the test passes in both modes. The native hardware run still compares the allocator HRESULT. The runtime implementation was unchanged.

AI-assisted.

<!-- gh-comment-id:7122603018 --> @Dezmonius commented on GitHub (Nov 24, 2026): finding: `runtime/test/d3d12_vulkan_device_test.cpp:4057` compares `VIDEO_ENCODE` allocator creation with WARP even when the host exposes no D3D12 video interface. This turns a host capability difference into a failing `d3d12_vulkan_device` test on Windows 10. Synthetic inputs only. Independently reproduced on Continued `main@2a2b1680`, Windows 10 22H2 (19045.6466), RTX 5070, NVIDIA 610.88, MSVC 19.51.36256 and SDK 10.0.26100: - Native RTX 5070 D3D12 exposes `ID3D12VideoDevice` and returns `S_OK` with an allocator for `D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE`. WARP returns `E_NOINTERFACE` for that interface and `E_INVALIDARG` with a null allocator. Both accept a DIRECT allocator. Native RTX also returns `E_NOINTERFACE` for `ID3D12VideoDevice3`, so that newer interface would be the wrong guard for this comparison. - Before: `ctest -V -R '^d3d12_vulkan_device$'` passes with default hardware and fails with `LEONIDA_HOST_ADAPTER=warp`. - After a test-only local change that marks this one argument case non-comparable when the host returns `E_NOINTERFACE` for `ID3D12VideoDevice`, the test passes in both modes. The native hardware run still compares the allocator HRESULT. The runtime implementation was unchanged. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-DS-UAV - slot 25 answers UINT64_MAX for a console depth-stencil texture that also allows unordered access, and a worker thread of the title asserts on that size. 4a8603436 (NiiRoZz), in main's history and not in its tree.

claiming: RT-A8-TARGET - GetResourceAllocationInfo format not supported yet: 65: the title's A8_UNORM render target (3840 x 2160) is refused, with the same assert. 67950a8d5 and 18b0bfbaf (mrp1no), in main's history and not in its tree. Based on main alone.

claiming: RT-QUEUE-SIGNAL - the title's queue slot 16 with a fence is Signal; forwarded as the PC frequency getter it overwrites the fence proxy's vtable pointer. My change, the same rule as #403. AI-assisted.

<!-- gh-comment-id:7122604648 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-DS-UAV - slot 25 answers UINT64_MAX for a console depth-stencil texture that also allows unordered access, and a worker thread of the title asserts on that size. `4a8603436` (NiiRoZz), in `main`'s history and not in its tree. claiming: RT-A8-TARGET - `GetResourceAllocationInfo format not supported yet: 65`: the title's A8_UNORM render target (3840 x 2160) is refused, with the same assert. `67950a8d5` and `18b0bfbaf` (mrp1no), in `main`'s history and not in its tree. Based on `main` alone. claiming: RT-QUEUE-SIGNAL - the title's queue slot 16 with a fence is Signal; forwarded as the PC frequency getter it overwrites the fence proxy's vtable pointer. My change, the same rule as #403. AI-assisted.
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

done: D3D-MESH-INDIRECT-COUNT -> #429 (draft; depends on #424).

<!-- gh-comment-id:7122607981 --> @PyZikYG commented on GitHub (Nov 24, 2026): done: D3D-MESH-INDIRECT-COUNT -> #429 (draft; depends on #424).
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-DS-UAV -> #427
done: RT-A8-TARGET -> #428
done: RT-QUEUE-SIGNAL -> the pull request opened just now (queue-slots16-17-signal)

<!-- gh-comment-id:7122611804 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-DS-UAV -> #427 done: RT-A8-TARGET -> #428 done: RT-QUEUE-SIGNAL -> the pull request opened just now (queue-slots16-17-signal)
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-QUEUE-SIGNAL -> #430

<!-- gh-comment-id:7122613872 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-QUEUE-SIGNAL -> #430
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

Proposal: one shared list of boot fixes for Continued, Reforge and Palmetto.

The source-only transfer from Continued #20 to Reforge #21 is a useful precedent. Could we try the same workflow for getting the frame loop back? Mumogg’s draft #321 at e0d4fd2b gives us a measured boot reference. The author is already splitting it into small changes for review.

For a first shared entry, use Andretuta’s existing #402 for frame pacing. The original Forge change 1812e0bd returned S_OK on the immediate origin poll, while #402 at ddafa07b returns S_FALSE in that case. I can bring the exact comparison to that review.

Could we list the source commit and author, the reference PR, the revision that reproduces the result, and the links to each branch that takes the fix? Each maintainer can review it in their own project. If Reforge or Palmetto wants to try this, please link the relevant issue or PR here. I can collect the links for this first entry.

AI-assisted (Codex).

<!-- gh-comment-id:7122621017 --> @akimfomin commented on GitHub (Nov 24, 2026): **Proposal: one shared list of boot fixes for Continued, Reforge and Palmetto.** The source-only transfer from Continued #20 to [Reforge #21](https://github.com/LeonidaReforge/Leonida/issues/21) is a useful precedent. Could we try the same workflow for getting the frame loop back? Mumogg’s draft #321 at `e0d4fd2b` gives us a measured boot reference. The author is already splitting it into small changes for review. For a first shared entry, use Andretuta’s existing #402 for frame pacing. The original Forge change `1812e0bd` returned `S_OK` on the immediate origin poll, while #402 at `ddafa07b` returns `S_FALSE` in that case. I can bring the exact comparison to that review. Could we list the source commit and author, the reference PR, the revision that reproduces the result, and the links to each branch that takes the fix? Each maintainer can review it in their own project. If Reforge or Palmetto wants to try this, please link the relevant issue or PR here. I can collect the links for this first entry. AI-assisted (Codex).
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-FENCE12 - fence slot 12, one past ID3D12Fence1, returns a pointer the title reads; refused with E_NOTIMPL the title dereferences the error code. 5ac4deaa2 (TreXito), in main's history and not in its tree. AI-assisted.

<!-- gh-comment-id:7122648181 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-FENCE12 - fence slot 12, one past ID3D12Fence1, returns a pointer the title reads; refused with E_NOTIMPL the title dereferences the error code. `5ac4deaa2` (TreXito), in `main`'s history and not in its tree. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-FENCE12 -> #432

finding: with the stack up to #432 (plus #142, #219, #328, #387, #428) the retail boot enters its frame loop on main under Wine: 13,199 and 14,316 PresentX ok in two runs, none failed. Corrected: I first wrote that the run lasted 300 s; it does not. The process ends after about 30 s (exit 3): a worker thread of the title hits an int3 at about 22 s (a third description slot 25 refuses, not identified yet) and the title's crash reporting ends the process a few seconds later, with the frame loop running in between. Also open on that path: rectangle-list pipelines (primitive topology type not supported: 19, old PR 7448), queue slot 31, and the picture itself, which I have not looked at | where: see #432 | needs: game files. AI-assisted.

<!-- gh-comment-id:7122652196 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-FENCE12 -> #432 finding: with the stack up to #432 (plus #142, #219, #328, #387, #428) the retail boot enters its frame loop on `main` under Wine: 13,199 and 14,316 `PresentX ok` in two runs, none failed. **Corrected:** I first wrote that the run lasted 300 s; it does not. The process ends after about 30 s (exit 3): a worker thread of the title hits an `int3` at about 22 s (a third description slot 25 refuses, not identified yet) and the title's crash reporting ends the process a few seconds later, with the frame loop running in between. Also open on that path: rectangle-list pipelines (`primitive topology type not supported: 19`, old PR 7448), queue slot 31, and the picture itself, which I have not looked at | where: see #432 | needs: game files. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: GPU-780M-INDEX -> #431

The three points @wavehs raised on #32 are addressed in #431:

  • The tfe seed is 1000 (0x3e8) per status VGPR, not 2000: runtime/test/shaders/cs_imgload_tfe.asm seeds each
    of the two status VGPRs with 1000 before its load and adds both into the result, so a status that keeps its
    seed moves every texel by 1000 or 2000. The record now spells the arithmetic out: 129 (the uint image,
    100 + 8y + x) - 58 (the sint image, -2 (8y + x)) + 2000 = 2071, where 129 - 58 = 71 is the expected value.
  • The record is linked from the index: docs/gpu_test_results.md gets a table row and a
    ## AMD Radeon 780M — 2026-11-24 section, in the same shape as the other entries.
  • The cmake command carries -DLEONIDA_VULKAN_HEADERS_FETCH=ON and the pinned Vulkan-Headers are named in the
    Tools line.

Rerun on the same commit 9ec34cdf against the repository's pinned Vulkan-Headers (6802bb47, vulkan-sdk-1.4.363.0)
to confirm the numbers: 257/257 shaders translated and spirv-val clean, 228/248 passed, 16 skipped, 4 failed
(cs_w32_exec_computed, cs_w64_exec_computed, cs_imgload_tfe, cs_imgload_d16_tfe) - identical to the first run and
to the numbers @wavehs checked on an M3 Pro. AI-assisted.

<!-- gh-comment-id:7122653217 --> @Mby159 commented on GitHub (Nov 24, 2026): done: GPU-780M-INDEX -> #431 The three points @wavehs raised on #32 are addressed in #431: - The tfe seed is 1000 (0x3e8) per status VGPR, not 2000: `runtime/test/shaders/cs_imgload_tfe.asm` seeds each of the two status VGPRs with 1000 before its load and adds both into the result, so a status that keeps its seed moves every texel by 1000 or 2000. The record now spells the arithmetic out: 129 (the uint image, 100 + 8y + x) - 58 (the sint image, -2 (8y + x)) + 2000 = 2071, where 129 - 58 = 71 is the expected value. - The record is linked from the index: `docs/gpu_test_results.md` gets a table row and a `## AMD Radeon 780M — 2026-11-24` section, in the same shape as the other entries. - The cmake command carries `-DLEONIDA_VULKAN_HEADERS_FETCH=ON` and the pinned Vulkan-Headers are named in the Tools line. Rerun on the same commit 9ec34cdf against the repository's pinned Vulkan-Headers (6802bb47, vulkan-sdk-1.4.363.0) to confirm the numbers: 257/257 shaders translated and spirv-val clean, 228/248 passed, 16 skipped, 4 failed (cs_w32_exec_computed, cs_w64_exec_computed, cs_imgload_tfe, cs_imgload_d16_tfe) - identical to the first run and to the numbers @wavehs checked on an M3 Pro. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

finding: the Vulkan headers a GPU record is built against are only the pinned ones when the machine has none - runtime/CMakeLists.txt runs find_package(Vulkan QUIET) and find_path(Vulkan_INCLUDE_DIR ...) before the -DLEONIDA_VULKAN_HEADERS_FETCH=ON branch, so Vulkan headers that are already in the include search path (a conda-forge vulkan-headers package, an installed Vulkan SDK) win and the pinned 6802bb47 release is never downloaded, even with the flag on. The difference is not cosmetic: rebuilt against conda-forge's Vulkan 1.3 headers instead of the pin, scripts/run_gpu_tests.py on an AMD Radeon 780M skips three more cases (ps_texoff, ps_texoff_forms, ps_texoff_implicit) and reports 225/248 passed, 19 skipped instead of 228/248 passed, 16 skipped, with the same four failures. A GPU record should therefore say which headers it was built against, and the fetch option might be worth making unconditional so that a record is comparable across machines. Needs no game files; needs an AMD or Intel GPU to reproduce the count difference. (The record and the numbers are in #431.)

<!-- gh-comment-id:7122653687 --> @Mby159 commented on GitHub (Nov 24, 2026): finding: the Vulkan headers a GPU record is built against are only the pinned ones when the machine has none - `runtime/CMakeLists.txt` runs `find_package(Vulkan QUIET)` and `find_path(Vulkan_INCLUDE_DIR ...)` before the `-DLEONIDA_VULKAN_HEADERS_FETCH=ON` branch, so Vulkan headers that are already in the include search path (a conda-forge `vulkan-headers` package, an installed Vulkan SDK) win and the pinned 6802bb47 release is never downloaded, even with the flag on. The difference is not cosmetic: rebuilt against conda-forge's Vulkan 1.3 headers instead of the pin, `scripts/run_gpu_tests.py` on an AMD Radeon 780M skips three more cases (`ps_texoff`, `ps_texoff_forms`, `ps_texoff_implicit`) and reports 225/248 passed, 19 skipped instead of 228/248 passed, 16 skipped, with the same four failures. A GPU record should therefore say which headers it was built against, and the fetch option might be worth making unconditional so that a record is comparable across machines. Needs no game files; needs an AMD or Intel GPU to reproduce the count difference. (The record and the numbers are in #431.)
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-TILE-COPY-ALIGN — fix ile_footprint unaligned buffer-offset check and stage_unaligned_tile in
untime/src/vulkan_replay.h to use the image's actual block/texel format alignment, element size, block dimension, and depth instead of hardcoded 4-byte RGBA8 2D assumptions (AI-assisted).

中文翻译

认领:VK-TILE-COPY-ALIGN — 修复
untime/src/vulkan_replay.h 中 ile_footprint 的非对齐缓冲偏移判定与 stage_unaligned_tile 实现,改为依据图像实际的块/纹素格式对齐、元素字节数、块尺寸与深度进行暂存拷贝,不再硬编码 4 字节 RGBA8 2D 假设(AI 辅助)。

<!-- gh-comment-id:7122673580 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-TILE-COPY-ALIGN — fix ile_footprint unaligned buffer-offset check and stage_unaligned_tile in untime/src/vulkan_replay.h to use the image's actual block/texel format alignment, element size, block dimension, and depth instead of hardcoded 4-byte RGBA8 2D assumptions (AI-assisted). <details> <summary>中文翻译</summary> 认领:VK-TILE-COPY-ALIGN — 修复 untime/src/vulkan_replay.h 中 ile_footprint 的非对齐缓冲偏移判定与 stage_unaligned_tile 实现,改为依据图像实际的块/纹素格式对齐、元素字节数、块尺寸与深度进行暂存拷贝,不再硬编码 4 字节 RGBA8 2D 假设(AI 辅助)。 </details>
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-TILE-COPY-ALIGN -> #434 (AI-assisted)

中文翻译

已完成:VK-TILE-COPY-ALIGN -> #434(AI 辅助)

<!-- gh-comment-id:7122708818 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-TILE-COPY-ALIGN -> #434 (AI-assisted) <details> <summary>中文翻译</summary> 已完成:VK-TILE-COPY-ALIGN -> #434(AI 辅助) </details>
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

done: VERIFY-FULL-CHECK-JOBS -> #433

<!-- gh-comment-id:7122708865 --> @Rain156 commented on GitHub (Nov 24, 2026): done: VERIFY-FULL-CHECK-JOBS -> #433
Author
Owner

@oddmaniv commented on GitHub (Nov 24, 2026):

claiming: DOC-GAMEINPUT-HOST-DIAG — docs/gameinput.md: add a short native-Windows troubleshooting note distinguishing a failing direct System32 GameInputCreate call from the mapped-code test path. A matching direct-host failure does not identify its underlying cause or imply that a service is absent/stopped. Documentation only, no runtime/test skips or behavior changes. No game files or GPU needed. AI-assisted.

<!-- gh-comment-id:7122712757 --> @oddmaniv commented on GitHub (Nov 24, 2026): claiming: DOC-GAMEINPUT-HOST-DIAG — docs/gameinput.md: add a short native-Windows troubleshooting note distinguishing a failing direct System32 GameInputCreate call from the mapped-code test path. A matching direct-host failure does not identify its underlying cause or imply that a service is absent/stopped. Documentation only, no runtime/test skips or behavior changes. No game files or GPU needed. AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: SHADER-CVT16-OUTMOD-NOOP — accept VOP3 clamp/mul:2/mul:4/div:2 (and SDWA clamp) as hardware no-ops on integer-destination _cvt_i16_f16 / _cvt_u16_f16 (verified across all 4 HW_REG_MODE configs on native AMD gfx1036, matching cvt_norm{i16,u16}_f16 and _frexp_exp_i16_f16) (AI-assisted).

中文翻译

认领:SHADER-CVT16-OUTMOD-NOOP — 在整数目标的 _cvt_i16_f16 / _cvt_u16_f16 指令上将 VOP3 clamp/mul:2/mul:4/div:2(及 SDWA clamp)作为硬件无操作放行(已在原生 AMD gfx1036 全 4 组 HW_REG_MODE 配置下实测确认,与 cvt_norm{i16,u16}_f16 及 _frexp_exp_i16_f16 行为一致)(AI 辅助)。

<!-- gh-comment-id:7122721221 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: SHADER-CVT16-OUTMOD-NOOP — accept VOP3 clamp/mul:2/mul:4/div:2 (and SDWA clamp) as hardware no-ops on integer-destination _cvt_i16_f16 / _cvt_u16_f16 (verified across all 4 HW_REG_MODE configs on native AMD gfx1036, matching _cvt_norm_{i16,u16}_f16 and _frexp_exp_i16_f16) (AI-assisted). <details> <summary>中文翻译</summary> 认领:SHADER-CVT16-OUTMOD-NOOP — 在整数目标的 _cvt_i16_f16 / _cvt_u16_f16 指令上将 VOP3 clamp/mul:2/mul:4/div:2(及 SDWA clamp)作为硬件无操作放行(已在原生 AMD gfx1036 全 4 组 HW_REG_MODE 配置下实测确认,与 _cvt_norm_{i16,u16}_f16 及 _frexp_exp_i16_f16 行为一致)(AI 辅助)。 </details>
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-CVT16-OUTMOD-NOOP -> #435 (AI-assisted)

中文翻译

已完成:SHADER-CVT16-OUTMOD-NOOP -> #435(AI 辅助)

<!-- gh-comment-id:7122750445 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-CVT16-OUTMOD-NOOP -> #435 (AI-assisted) <details> <summary>中文翻译</summary> 已完成:SHADER-CVT16-OUTMOD-NOOP -> #435(AI 辅助) </details>
Author
Owner

@luckyteagirl commented on GitHub (Nov 24, 2026):

claiming: DOC-INDEX-GPU-RESULTS - Add the GPU test results page to the Start here table in docs/README.md so readers can find published runs alongside the testing guide. Docs only. No GPU or game files required. AI-assisted.

<!-- gh-comment-id:7122804626 --> @luckyteagirl commented on GitHub (Nov 24, 2026): claiming: DOC-INDEX-GPU-RESULTS - Add the GPU test results page to the Start here table in docs/README.md so readers can find published runs alongside the testing guide. Docs only. No GPU or game files required. AI-assisted.
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

claiming: D3D-LIFETIME-TRACKER — implement ID3D12Device5::CreateLifetimeTracker and ID3D12LifetimeTracker::DestroyOwnedObject with Windows D3D12 WARP parity test. AI-assisted.

claiming: RT-TITLE-MEMORY-CAP — add LEONIDA_TITLE_MEMORY_MB cap to XSystemGetAppMemoryUsageLimit and XMemGetWorkingSetStatistics (following @KoLolX3's finding above) with unit tests. AI-assisted.

claiming: VK-LOW-VRAM-BUDGET — add 4 GB low-VRAM survival layer (VK_EXT_memory_budget, VK_EXT_memory_priority, VK_EXT_pageable_device_local_memory, proactive host-visible steering with RT/DS pinning, sparse tile-heap spill, and LEONIDA_RT_AS=off) with unit and live GPU stress tests (leaves pipeline cache persistence to #218). AI-assisted.

<!-- gh-comment-id:7122816234 --> @jujumoneylol commented on GitHub (Nov 24, 2026): claiming: D3D-LIFETIME-TRACKER — implement `ID3D12Device5::CreateLifetimeTracker` and `ID3D12LifetimeTracker::DestroyOwnedObject` with Windows D3D12 WARP parity test. AI-assisted. claiming: RT-TITLE-MEMORY-CAP — add `LEONIDA_TITLE_MEMORY_MB` cap to `XSystemGetAppMemoryUsageLimit` and `XMemGetWorkingSetStatistics` (following @KoLolX3's finding above) with unit tests. AI-assisted. claiming: VK-LOW-VRAM-BUDGET — add 4 GB low-VRAM survival layer (`VK_EXT_memory_budget`, `VK_EXT_memory_priority`, `VK_EXT_pageable_device_local_memory`, proactive host-visible steering with RT/DS pinning, sparse tile-heap spill, and `LEONIDA_RT_AS=off`) with unit and live GPU stress tests (leaves pipeline cache persistence to #218). AI-assisted.
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX3060-WIN - add a GPU-test record for an NVIDIA GeForce RTX 3060 12 GB on Windows 11 (driver 621.35) in the gpu-test-results/ format the other entries use: scripts/run_gpu_tests.py on current main, results and environment in the record, plus the row in docs/gpu_test_results.md. No game files needed. (A Linux RTX 3060 run is mentioned in OLD-6043's comments; there is no Windows record yet.)

<!-- gh-comment-id:7122829927 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): claiming: GPU-RTX3060-WIN - add a GPU-test record for an NVIDIA GeForce RTX 3060 12 GB on Windows 11 (driver 621.35) in the `gpu-test-results/` format the other entries use: `scripts/run_gpu_tests.py` on current `main`, results and environment in the record, plus the row in `docs/gpu_test_results.md`. No game files needed. (A Linux RTX 3060 run is mentioned in OLD-6043's comments; there is no Windows record yet.)
Author
Owner

@luckyteagirl commented on GitHub (Nov 24, 2026):

done: DOC-INDEX-GPU-RESULTS -> #436

<!-- gh-comment-id:7122830641 --> @luckyteagirl commented on GitHub (Nov 24, 2026): done: DOC-INDEX-GPU-RESULTS -> #436
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: EXE-SHA-PREFLIGHT — add tools/exe_sha.py to report an executable's size/SHA-256, compare it with the package manifest or an explicit expected hash, and fail on mismatch.

<!-- gh-comment-id:7122838506 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: EXE-SHA-PREFLIGHT — add tools/exe_sha.py to report an executable's size/SHA-256, compare it with the package manifest or an explicit expected hash, and fail on mismatch.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: EXE-SHA-PREFLIGHT -> #437

<!-- gh-comment-id:7122851260 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: EXE-SHA-PREFLIGHT -> #437
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

finding: [Linux/Wine] Runtime cross-built with clang-cl + xwin + SDL3 (commit b88f983) running under Wine 11.22 on Arch Linux (RTX 3060 Ti) passes DirectStorage, GameInput, D3D12XboxCreateDevice, CreateCommandQueueX, CreateCommandAllocator, and CreateCommandListX, then stops at d3d12: QueryInterface: unknown IID {c3827890-4024-474c-98cf-645b51dc4874} followed by int3 (0x80000003).

<!-- gh-comment-id:7122860410 --> @madhyn commented on GitHub (Nov 24, 2026): finding: [Linux/Wine] Runtime cross-built with clang-cl + xwin + SDL3 (commit b88f983) running under Wine 11.22 on Arch Linux (RTX 3060 Ti) passes DirectStorage, GameInput, D3D12XboxCreateDevice, CreateCommandQueueX, CreateCommandAllocator, and CreateCommandListX, then stops at `d3d12: QueryInterface: unknown IID {c3827890-4024-474c-98cf-645b51dc4874}` followed by `int3` (`0x80000003`).
Author
Owner

@oddmaniv commented on GitHub (Nov 24, 2026):

done: DOC-GAMEINPUT-HOST-DIAG -> #440

<!-- gh-comment-id:7122872073 --> @oddmaniv commented on GitHub (Nov 24, 2026): done: DOC-GAMEINPUT-HOST-DIAG -> #440
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

claiming: TEST-ATOMIC-GUARD — tests/semantic/test_image_atomics_guard.py:76 still requires the guard to be an OpLoad %bool %active result, so since #20 every subtest takes the folded %true path and the file's real assertion (a lane EXEC turned off skips the image atomic) is not checked at all. I will keep one case that writes EXEC dynamically so a real OpLoad %bool guard is still exercised, and leave the folded case as its own assertion. No game files, no GPU: pytest tests/semantic/test_image_atomics_guard.py locally. Building on @Okamizs' finding above. AI-assisted.

<!-- gh-comment-id:7122907852 --> @Len1k commented on GitHub (Nov 24, 2026): claiming: TEST-ATOMIC-GUARD — `tests/semantic/test_image_atomics_guard.py:76` still requires the guard to be an `OpLoad %bool %active` result, so since #20 every subtest takes the folded `%true` path and the file's real assertion (a lane EXEC turned off skips the image atomic) is not checked at all. I will keep one case that writes EXEC dynamically so a real `OpLoad %bool` guard is still exercised, and leave the folded case as its own assertion. No game files, no GPU: `pytest tests/semantic/test_image_atomics_guard.py` locally. Building on @Okamizs' finding above. AI-assisted.
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

done: GPU-RTX3060-WIN -> #442

<!-- gh-comment-id:7122914363 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): done: GPU-RTX3060-WIN -> #442
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

claiming: RT-XG-TEXTURE-COMPUTER - runtime/shims/xg_xs.cpp answers every texture-computer slot and XGSuggestSwizzleMode with E_NOTIMPL (a retail boot logs xg_xs: texture computer slot N: no console texture layout on the PC). Implement XGSuggestSwizzleMode, the layout slot, the copies into and out of a subresource and the 64 KiB tiling, backed by a console swizzle-mode layout model, with unit tests on synthetic textures (no game files). The layout rules are taken from Marvisak/VIctory (GPL-3.0, crates/victory-hle/src/modules/xg.rs and crates/victory-formats/src/texture.rs), credited in the files and the pull request.

<!-- gh-comment-id:7122923279 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): claiming: RT-XG-TEXTURE-COMPUTER - `runtime/shims/xg_xs.cpp` answers every texture-computer slot and `XGSuggestSwizzleMode` with E_NOTIMPL (a retail boot logs `xg_xs: texture computer slot N: no console texture layout on the PC`). Implement `XGSuggestSwizzleMode`, the layout slot, the copies into and out of a subresource and the 64 KiB tiling, backed by a console swizzle-mode layout model, with unit tests on synthetic textures (no game files). The layout rules are taken from Marvisak/VIctory (GPL-3.0, `crates/victory-hle/src/modules/xg.rs` and `crates/victory-formats/src/texture.rs`), credited in the files and the pull request.
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

done: D3D-LIFETIME-TRACKER -> #438
done: RT-TITLE-MEMORY-CAP -> #441
done: VK-LOW-VRAM-BUDGET -> #443

<!-- gh-comment-id:7122942586 --> @jujumoneylol commented on GitHub (Nov 24, 2026): done: D3D-LIFETIME-TRACKER -> #438 done: RT-TITLE-MEMORY-CAP -> #441 done: VK-LOW-VRAM-BUDGET -> #443
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: RT-UPLOAD-ARENA - committed upload and readback buffers live in the GPU address arena, so a V# (48-bit base), a 32-bit table pointer and the BVH builder can hold their VA (today it is device address minus heap_base, negative on test GPUs; a shader reading an upload buffer through a descriptor faults, D3D-53)

<!-- gh-comment-id:7122974230 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: RT-UPLOAD-ARENA - committed upload and readback buffers live in the GPU address arena, so a V# (48-bit base), a 32-bit table pointer and the BVH builder can hold their VA (today it is device address minus heap_base, negative on test GPUs; a shader reading an upload buffer through a descriptor faults, D3D-53)
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: RT-UPLOAD-ARENA -> #444

<!-- gh-comment-id:7122975301 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: RT-UPLOAD-ARENA -> #444
Author
Owner

@ettehn commented on GitHub (Nov 24, 2026):

claiming: UI-WINDOWS-INPUT-DEADLINE - fix the Windows TUI input deadline in tools/leonida_tui.py. After a discarded mouse event, ReadConsoleInput can wait a second full interval and return a key that arrived after the deadline. I will add a deterministic console-record regression test and run it on Windows. No game files or GPU needed.

<!-- gh-comment-id:7123038456 --> @ettehn commented on GitHub (Nov 24, 2026): claiming: UI-WINDOWS-INPUT-DEADLINE - fix the Windows TUI input deadline in tools/leonida_tui.py. After a discarded mouse event, ReadConsoleInput can wait a second full interval and return a key that arrived after the deadline. I will add a deterministic console-record regression test and run it on Windows. No game files or GPU needed.
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

done: CreateCommandListX Xbox IID {c3827890-4024-474c-98cf-645b51dc4874} -> #445

<!-- gh-comment-id:7123038533 --> @madhyn commented on GitHub (Nov 24, 2026): done: CreateCommandListX Xbox IID `{c3827890-4024-474c-98cf-645b51dc4874}` -> #445
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: SAVE-DATA-BLOB — write imported save payloads under the executable's measured "Save Game Data" blob name and replace the VERIFY note with measured/unmeasured details.

<!-- gh-comment-id:7123077412 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: SAVE-DATA-BLOB — write imported save payloads under the executable's measured "Save Game Data" blob name and replace the VERIFY note with measured/unmeasured details.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: SAVE-DATA-BLOB -> #446

<!-- gh-comment-id:7123082947 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: SAVE-DATA-BLOB -> #446
Author
Owner

@ettehn commented on GitHub (Nov 24, 2026):

done: UI-WINDOWS-INPUT-DEADLINE -> #447

<!-- gh-comment-id:7123086181 --> @ettehn commented on GitHub (Nov 24, 2026): done: UI-WINDOWS-INPUT-DEADLINE -> #447
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT57-NATIVE-GRAPHICS-PSO

Handle the Xbox device's slot 57 native graphics pipeline descriptions on the Vulkan path. The Windows frame-loop integration currently forwards this call to the PC lifetime tracker. I will adapt the GPL implementation from enx/leonida with attribution, resolve stages through the local shader catalog, and validate real pipeline creation and rendering separately. This leaves the PC lifetime tracker and other console slots alone. No game data or captures will be submitted. AI-assisted (OpenAI Codex).

<!-- gh-comment-id:7123093929 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: RT-SLOT57-NATIVE-GRAPHICS-PSO Handle the Xbox device's slot 57 native graphics pipeline descriptions on the Vulkan path. The Windows frame-loop integration currently forwards this call to the PC lifetime tracker. I will adapt the GPL implementation from enx/leonida with attribution, resolve stages through the local shader catalog, and validate real pipeline creation and rendering separately. This leaves the PC lifetime tracker and other console slots alone. No game data or captures will be submitted. AI-assisted (OpenAI Codex).
Author
Owner

@luckyteagirl commented on GitHub (Nov 24, 2026):

claiming: DOC-CONFORM-NATIVE-RUN-PATH - Fix the native conformance renderer's Run example so its executable and output paths resolve from the directory used by the preceding build instructions. Documentation only. AI-assisted.

<!-- gh-comment-id:7123125931 --> @luckyteagirl commented on GitHub (Nov 24, 2026): claiming: DOC-CONFORM-NATIVE-RUN-PATH - Fix the native conformance renderer's Run example so its executable and output paths resolve from the directory used by the preceding build instructions. Documentation only. AI-assisted.
Author
Owner

@demoz53 commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4060TI - a GPU-test record for an NVIDIA GeForce RTX 4060 Ti (Ada, Windows 11, NVIDIA driver 32.0.16.1088) in the gpu-test-results/ format: run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1 on current main, plus the ctest and translator-suite results from the same checkout, and its row in docs/gpu_test_results.md. No game files. AI-assisted.

<!-- gh-comment-id:7123140092 --> @demoz53 commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4060TI - a GPU-test record for an NVIDIA GeForce RTX 4060 Ti (Ada, Windows 11, NVIDIA driver 32.0.16.1088) in the `gpu-test-results/` format: `run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1` on current `main`, plus the ctest and translator-suite results from the same checkout, and its row in `docs/gpu_test_results.md`. No game files. AI-assisted.
Author
Owner

@luckyteagirl commented on GitHub (Nov 24, 2026):

done: DOC-CONFORM-NATIVE-RUN-PATH -> #449

<!-- gh-comment-id:7123142475 --> @luckyteagirl commented on GitHub (Nov 24, 2026): done: DOC-CONFORM-NATIVE-RUN-PATH -> #449
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Show xmem_physical_pages allocation requests in tools/boot_trace.py text and JSON summaries (bounded samples + full count). Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123160789 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Show `xmem_physical_pages` allocation requests in `tools/boot_trace.py` text and JSON summaries (bounded samples + full count). Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Repair zero-byte DDS outputs on TTPF texture-pool export resume (make_game.py::ttpf_manifest + tools/rpf9dump/Program.cs). Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123161839 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Repair zero-byte DDS outputs on TTPF texture-pool export resume (`make_game.py::ttpf_manifest` + `tools/rpf9dump/Program.cs`). Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Scope interrupted shader-shard reuse in make_game.py::translate() to translation_sources_digest() so unrelated tools/ edits preserve completed shards. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123162857 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Scope interrupted shader-shard reuse in `make_game.py::translate()` to `translation_sources_digest()` so unrelated `tools/` edits preserve completed shards. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Exercise s_add_u32 scalar addition and carry (scc) in tools/shader_diff.py generated programs with --ops filtering. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123163799 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Exercise `s_add_u32` scalar addition and carry (`scc`) in `tools/shader_diff.py` generated programs with `--ops` filtering. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Validate RBF0 record and descriptor-table names in tools/rbf0_encode.py so non-string and surrogate names raise EncodeError instead of aborting batch exports. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123164705 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Validate RBF0 record and descriptor-table names in `tools/rbf0_encode.py` so non-string and surrogate names raise `EncodeError` instead of aborting batch exports. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

TEST-ATOMIC-GUARD is already done upstream, and the board entry is stale — closing the loop before anyone else spends time on it.

@Okamizs's finding (04:26 UTC) is correct as a description of the file, but main had already been fixed six minutes earlier: b3eaa3d7b "tests: image atomics guard keeps a dynamic EXEC case" (04:20 UTC) added test_dynamic_exec_keeps_the_real_active_guard, which writes EXEC through s_and_saveexec_b32 and v_cmpx, asserts an OpStore %active is present, asserts the branch condition is not %true, and forges %true in place of the real condition to prove the helper rejects it. Running python -m unittest discover -s tests/semantic -p test_image_atomics_guard.py on main today gives 4 tests, OK.

So the ID can be closed as already covered — no claim of mine should stand against it.

What that commit explicitly left out is the other EXEC-write form: its own comment says "Both EXEC writes come from a per-lane compare (VCC), not from a computed SGPR value, which is SHADER-1264's path". SHADER-1264 was fixed in #24 (tools/rdna2spirv.py + docs/design.md) without a test, so a regression there would not be caught by anything.

I turned the work into that gap instead: #448 adds a case whose EXEC write is a computed SGPR value (s_mov_b32 s4, 1 + s_and_b32 exec_lo, exec_lo, s4 before image_atomic_add). The guard for that lowering is not the OpLoad itself but a value derived from it (OpSelect → OpBitwiseAnd → OpShiftRightLogical → OpINotEqual), so the helper had to learn to walk the definition chain — accepting only values that reach an OpLoad %bool %active, so a condition that never consults the lane mask is still rejected.

  • PR: https://github.com/ubiquitarianism/leonida/pull/460
  • test_image_atomics_guard.py: 5 tests, OK; the new case fails on main with OpImageTexelPointer in unguarded block %t123_do
  • full suite: 465 files, 6105 tests, 2 files failed on this machine, both spirv-as / spirv-val not found on PATH
  • no GPU, no game data

AI-assisted, and I have not run the game.

<!-- gh-comment-id:7123193939 --> @Len1k commented on GitHub (Nov 24, 2026): **`TEST-ATOMIC-GUARD` is already done upstream, and the board entry is stale** — closing the loop before anyone else spends time on it. @Okamizs's finding (04:26 UTC) is correct as a description of the file, but `main` had already been fixed six minutes earlier: `b3eaa3d7b` "tests: image atomics guard keeps a dynamic EXEC case" (04:20 UTC) added `test_dynamic_exec_keeps_the_real_active_guard`, which writes EXEC through `s_and_saveexec_b32` and `v_cmpx`, asserts an `OpStore %active` is present, asserts the branch condition is not `%true`, and forges `%true` in place of the real condition to prove the helper rejects it. Running `python -m unittest discover -s tests/semantic -p test_image_atomics_guard.py` on `main` today gives 4 tests, OK. So the ID can be closed as already covered — no claim of mine should stand against it. What that commit explicitly left out is the other EXEC-write form: its own comment says "Both EXEC writes come from a per-lane compare (VCC), not from a computed SGPR value, which is SHADER-1264's path". SHADER-1264 was fixed in #24 (`tools/rdna2spirv.py` + `docs/design.md`) **without a test**, so a regression there would not be caught by anything. I turned the work into that gap instead: #448 adds a case whose EXEC write is a computed SGPR value (`s_mov_b32 s4, 1` + `s_and_b32 exec_lo, exec_lo, s4` before `image_atomic_add`). The guard for that lowering is not the `OpLoad` itself but a value derived from it (`OpSelect` → `OpBitwiseAnd` → `OpShiftRightLogical` → `OpINotEqual`), so the helper had to learn to walk the definition chain — accepting only values that reach an `OpLoad %bool %active`, so a condition that never consults the lane mask is still rejected. - PR: https://github.com/ubiquitarianism/leonida/pull/460 - `test_image_atomics_guard.py`: 5 tests, OK; the new case fails on `main` with `OpImageTexelPointer in unguarded block %t123_do` - full suite: 465 files, 6105 tests, 2 files failed on this machine, both `spirv-as / spirv-val not found on PATH` - no GPU, no game data AI-assisted, and I have not run the game.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Fix world_grid_atlas.match_mask() so a one-cell (or zero-cell) shoreline atlas raises ValueError and exits 2 at the CLI instead of crashing with IndexError. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123198649 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Fix `world_grid_atlas.match_mask()` so a one-cell (or zero-cell) shoreline atlas raises `ValueError` and exits 2 at the CLI instead of crashing with `IndexError`. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Deduplicate repeated --waves and --ops selections in tools/frexp_ldexp_f16_mods_probe.py and flag duplicate job readbacks in evaluate_results() without erasing earlier mismatches. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123199710 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Deduplicate repeated `--waves` and `--ops` selections in `tools/frexp_ldexp_f16_mods_probe.py` and flag duplicate job readbacks in `evaluate_results()` without erasing earlier mismatches. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Handle oracle.run() raising Unavailable in tools/fspx_prologue_probe.py with exit 77, one diagnostic line on stderr, and exactly one oracle close(). Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123200485 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Handle `oracle.run()` raising `Unavailable` in `tools/fspx_prologue_probe.py` with exit 77, one diagnostic line on stderr, and exactly one oracle `close()`. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: RT-STORE-ASYNC-COMPLETE - the offline XStore *Async slots return E_FAIL without starting the caller's XAsyncBlock, so a caller waiting on that block (XAsyncGetStatus wait, or its completion callback) hangs forever; each slot will run its block through XAsyncRun and complete it with E_FAIL

<!-- gh-comment-id:7123201056 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: RT-STORE-ASYNC-COMPLETE - the offline XStore *Async slots return E_FAIL without starting the caller's XAsyncBlock, so a caller waiting on that block (XAsyncGetStatus wait, or its completion callback) hangs forever; each slot will run its block through XAsyncRun and complete it with E_FAIL
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Report packed upper-channel Y mismatches in tools/image_d16_probe.py first_off so example selection matches the per-rule X/Y agreement scoring predicate. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123201364 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Report packed upper-channel Y mismatches in `tools/image_d16_probe.py` `first_off` so example selection matches the per-rule X/Y agreement scoring predicate. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: RT-STORE-ASYNC-COMPLETE -> #458

<!-- gh-comment-id:7123202062 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: RT-STORE-ASYNC-COMPLETE -> #458
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

done: RT-XG-TEXTURE-COMPUTER -> #461

<!-- gh-comment-id:7123206137 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): done: RT-XG-TEXTURE-COMPUTER -> #461
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

claiming: D3D-DEPTH-BOUNDS — implement hardware depth-bounds testing (VkPhysicalDeviceFeatures::depthBounds, D3D12_FEATURE_DATA_D3D12_OPTIONS2::DepthBoundsTestSupported, DEPTH_STENCIL1/DEPTH_STENCIL2 DepthBoundsTestEnable stream subobjects, ID3D12GraphicsCommandList1::OMSetDepthBounds -> vkCmdSetDepthBounds / VK_DYNAMIC_STATE_DEPTH_BOUNDS) with Windows D3D12 parity test. AI-assisted.

<!-- gh-comment-id:7123223139 --> @jujumoneylol commented on GitHub (Nov 24, 2026): claiming: D3D-DEPTH-BOUNDS — implement hardware depth-bounds testing (`VkPhysicalDeviceFeatures::depthBounds`, `D3D12_FEATURE_DATA_D3D12_OPTIONS2::DepthBoundsTestSupported`, `DEPTH_STENCIL1`/`DEPTH_STENCIL2` `DepthBoundsTestEnable` stream subobjects, `ID3D12GraphicsCommandList1::OMSetDepthBounds` -> `vkCmdSetDepthBounds` / `VK_DYNAMIC_STATE_DEPTH_BOUNDS`) with Windows D3D12 parity test. AI-assisted.
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

claiming: SEMANTIC-PROCESS-TIMEOUT — add an optional positive finite --timeout to scripts/run_semantic_tests.py so a hung test subprocess can fail with a useful diagnostic instead of blocking forever. Preserve existing discovery behavior: the budget is per module in parallel mode and for the whole unittest discover process with -j 1. Keep partial diagnostics and continue other parallel modules. Synthetic regression tests only; no game data or GPU required. AI-assisted with OpenAI Codex.

<!-- gh-comment-id:7123225660 --> @csmith105 commented on GitHub (Nov 24, 2026): claiming: SEMANTIC-PROCESS-TIMEOUT — add an optional positive finite --timeout to scripts/run_semantic_tests.py so a hung test subprocess can fail with a useful diagnostic instead of blocking forever. Preserve existing discovery behavior: the budget is per module in parallel mode and for the whole unittest discover process with -j 1. Keep partial diagnostics and continue other parallel modules. Synthetic regression tests only; no game data or GPU required. AI-assisted with OpenAI Codex.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: SDWA-LLVM19-ENC — recover native SDWA inline float operands and instruction width from LLVM 19 printed listings, with printed-encoding regression coverage.

<!-- gh-comment-id:7123238556 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: SDWA-LLVM19-ENC — recover native SDWA inline float operands and instruction width from LLVM 19 printed listings, with printed-encoding regression coverage.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: SDWA-LLVM19-ENC -> #462

<!-- gh-comment-id:7123244507 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: SDWA-LLVM19-ENC -> #462
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

finding: SEMANTIC-PACKAGE-TESTS — the default parallel translator-test runner can silently omit failing tests defined in a package's __init__.py.

On main 8f481cf16f261c7f37458aeb45e8f4e19994146d, scripts/run_semantic_tests.py:test_modules selects only filenames matching test*.py, whereas the -j 1 path uses unittest discovery, which also loads test cases from package initializers. A synthetic suite containing a failing TestCase in pkg/__init__.py and a passing test in pkg/test_child.py returns exit 1 / 2 tests with -j 1, but exit 0 / 1 test with -j 2.

This is separate from my SEMANTIC-PROCESS-TIMEOUT claim and is not changed by that patch. No game files, GPU, or dependencies are needed to reproduce. AI-assisted investigation with OpenAI Codex; not claiming implementation of this separate finding.

<!-- gh-comment-id:7123295896 --> @csmith105 commented on GitHub (Nov 24, 2026): finding: SEMANTIC-PACKAGE-TESTS — the default parallel translator-test runner can silently omit failing tests defined in a package's `__init__.py`. On main `8f481cf16f261c7f37458aeb45e8f4e19994146d`, `scripts/run_semantic_tests.py:test_modules` selects only filenames matching `test*.py`, whereas the `-j 1` path uses unittest discovery, which also loads test cases from package initializers. A synthetic suite containing a failing `TestCase` in `pkg/__init__.py` and a passing test in `pkg/test_child.py` returns exit 1 / 2 tests with `-j 1`, but exit 0 / 1 test with `-j 2`. This is separate from my SEMANTIC-PROCESS-TIMEOUT claim and is not changed by that patch. No game files, GPU, or dependencies are needed to reproduce. AI-assisted investigation with OpenAI Codex; not claiming implementation of this separate finding.
Author
Owner

@demoz53 commented on GitHub (Nov 24, 2026):

done: GPU-RTX4060TI -> #463

<!-- gh-comment-id:7123314771 --> @demoz53 commented on GitHub (Nov 24, 2026): done: GPU-RTX4060TI -> #463
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Count calls and tail jumps to named and ordinal delay-loaded imports in tools/import_call_sites.py (RVA and legacy VA descriptors, preserving tuple-based DLL/name matching). Synthetic PE32+ fixtures only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123316122 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Count calls and tail jumps to named and ordinal delay-loaded imports in `tools/import_call_sites.py` (RVA and legacy VA descriptors, preserving tuple-based DLL/name matching). Synthetic PE32+ fixtures only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Reject --save paths in tools/shader_library.py that overlap --out extraction outputs (including .state sidecars) or ancestor directories before writing either output. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123317138 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Reject `--save` paths in `tools/shader_library.py` that overlap `--out` extraction outputs (including `.state` sidecars) or ancestor directories before writing either output. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Deduplicate input manifests by open-handle file identity (os.fstat()) in tools/world_drawable_verify.py so hard links, symlinks, and path aliases count once while independent identical-content files still count separately. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123318168 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Deduplicate input manifests by open-handle file identity (`os.fstat()`) in `tools/world_drawable_verify.py` so hard links, symlinks, and path aliases count once while independent identical-content files still count separately. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@EdenBendheim commented on GitHub (Nov 24, 2026):

claiming: Reject duplicate CSV column headers consumed by tools/opus_tags.py (names and dialogue CSVs, after UTF-8 BOM removal) before tagging any Ogg files. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.

<!-- gh-comment-id:7123319059 --> @EdenBendheim commented on GitHub (Nov 24, 2026): claiming: Reject duplicate CSV column headers consumed by `tools/opus_tags.py` (names and dialogue CSVs, after UTF-8 BOM removal) before tagging any Ogg files. Synthetic tests only, zero game data. AI-assisted (Codex gpt-6.2-sol + gpt-6.2-astra review). Opening PR now.
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

finding: VIctory has an independent synthetic rectangle-list check worth comparing with the Vulkan work in #207/#321.

Follow-up to the shared-list idea: PortBridge is live. We used it to locate the VIctory #346 test report: eight synthetic cases passed on each of two GPUs and all 64 pixels matched in a separate case. PB-0001 keeps that D3D12 result separate from the Vulkan vertex-order checks. The useful overlap is the test coverage; each backend still needs its own validation.

Contributor guide and agent prompt. If you have a later revision or a correction, one report can link all the branches it applies to.

<!-- gh-comment-id:7123348808 --> @akimfomin commented on GitHub (Nov 24, 2026): finding: VIctory has an independent synthetic rectangle-list check worth comparing with the Vulkan work in #207/#321. Follow-up to the shared-list idea: [PortBridge](https://akimfomin.github.io/PortBridge/) is live. We used it to locate the [VIctory #346 test report](https://github.com/Marvisak/VIctory/pull/346#issuecomment-7120734503): eight synthetic cases passed on each of two GPUs and all 64 pixels matched in a separate case. [PB-0001](https://akimfomin.github.io/PortBridge/#/problems/PB-0001) keeps that D3D12 result separate from the Vulkan vertex-order checks. The useful overlap is the test coverage; each backend still needs its own validation. [Contributor guide and agent prompt](https://github.com/akimfomin/PortBridge#for-project-contributors). If you have a later revision or a correction, [one report](https://github.com/akimfomin/PortBridge/issues/new?template=evidence.yml) can link all the branches it applies to.
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

claiming: RT-XAPPCAPTURE - xgameruntime's QueryApiImpl refuses the class a4f1aee2-4bf1-4485-b008-a7c26d52ac27, but the retail executable references it: one thunk, IXAppCaptureImpl4 (22e672d7-b4e3-406c-bd50-8f0d25236f9e) slot 5 XAppCaptureTakeScreenshot (measured in game_scarlett_master.exe; the only referenced thunk the runtime does not serve - see my earlier finding). I will serve the class from runtime/shims/xgameruntime.cpp with the full IXAppCaptureImpl4 layout from tools/gdk_runtime_classes.json (19 slots), every capture/record method a bounded-logged E_NOTIMPL (no console capture or record offline), rename kAppCaptureClassId to kAppCaptureClass so tools/gdk_runtime_calls.py counts the class as served, and update runtime/test/xgameruntime_test.cpp (the refused[] list currently pins the refusal). No game files beyond the measured ids and slot; verified with a Windows cross-build (clang-cl + xwin) and the runtime test under Wine, plus a re-run of gdk_runtime_calls.py on the exe. AI-assisted.

<!-- gh-comment-id:7123351636 --> @tengotengo commented on GitHub (Nov 24, 2026): claiming: RT-XAPPCAPTURE - xgameruntime's QueryApiImpl refuses the class a4f1aee2-4bf1-4485-b008-a7c26d52ac27, but the retail executable references it: one thunk, IXAppCaptureImpl4 (22e672d7-b4e3-406c-bd50-8f0d25236f9e) slot 5 XAppCaptureTakeScreenshot (measured in game_scarlett_master.exe; the only referenced thunk the runtime does not serve - see my earlier finding). I will serve the class from `runtime/shims/xgameruntime.cpp` with the full IXAppCaptureImpl4 layout from `tools/gdk_runtime_classes.json` (19 slots), every capture/record method a bounded-logged E_NOTIMPL (no console capture or record offline), rename kAppCaptureClassId to kAppCaptureClass so tools/gdk_runtime_calls.py counts the class as served, and update `runtime/test/xgameruntime_test.cpp` (the refused[] list currently pins the refusal). No game files beyond the measured ids and slot; verified with a Windows cross-build (clang-cl + xwin) and the runtime test under Wine, plus a re-run of gdk_runtime_calls.py on the exe. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent MSVC/Windows verification of #421, focused on fault state at an unwritable page and the 64 MiB batch boundary. This is a review of the existing PR. Synthetic fixtures only; AI-assisted.

<!-- gh-comment-id:7123369638 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent MSVC/Windows verification of #421, focused on fault state at an unwritable page and the 64 MiB batch boundary. This is a review of the existing PR. Synthetic fixtures only; AI-assisted.
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

done: SEMANTIC-PROCESS-TIMEOUT -> #468 (ready for review). Focused 13-test suite passes. Full run: 465 files / 6,104 tests; only two missing-SPIRV-Tools failures, both passing after installing the tools (16 targeted tests). Exact validation and limitations are in the PR.

<!-- gh-comment-id:7123375216 --> @csmith105 commented on GitHub (Nov 24, 2026): done: SEMANTIC-PROCESS-TIMEOUT -> #468 (ready for review). Focused 13-test suite passes. Full run: 465 files / 6,104 tests; only two missing-SPIRV-Tools failures, both passing after installing the tools (16 targeted tests). Exact validation and limitations are in the PR.
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

done: D3D-DEPTH-BOUNDS -> #469

<!-- gh-comment-id:7123378723 --> @jujumoneylol commented on GitHub (Nov 24, 2026): done: D3D-DEPTH-BOUNDS -> #469
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: VK-SUBMIT-BARRIER - nothing orders a VulkanQueue submission after the previous one on the queue, though D3D12 makes each ExecuteCommandLists' writes visible to the next (synchronization validation: WRITE_AFTER_WRITE in vk_queue_test); each submission will start with a full memory barrier

<!-- gh-comment-id:7123395566 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: VK-SUBMIT-BARRIER - nothing orders a VulkanQueue submission after the previous one on the queue, though D3D12 makes each ExecuteCommandLists' writes visible to the next (synchronization validation: WRITE_AFTER_WRITE in vk_queue_test); each submission will start with a full memory barrier
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: VK-SUBMIT-BARRIER -> #470

<!-- gh-comment-id:7123397397 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: VK-SUBMIT-BARRIER -> #470
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

claiming: TEST-WARP-VIDEO-ENCODE — update the host-parity case in runtime/test/d3d12_vulkan_device_test.cpp so VIDEO_ENCODE allocator creation can be compared on hosts that expose ID3D12VideoDevice. The Windows 10 WARP mismatch was reproduced in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7122603018. Synthetic tests only. AI-assisted.

<!-- gh-comment-id:7123435191 --> @Dezmonius commented on GitHub (Nov 24, 2026): claiming: TEST-WARP-VIDEO-ENCODE — update the host-parity case in `runtime/test/d3d12_vulkan_device_test.cpp` so `VIDEO_ENCODE` allocator creation can be compared on hosts that expose `ID3D12VideoDevice`. The Windows 10 WARP mismatch was reproduced in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7122603018. Synthetic tests only. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent MSVC/Windows verification of #421 -> #421. The stock tests pass and the native comparison found stale arithmetic flags on the fault and batch-resume paths. Report

<!-- gh-comment-id:7123437876 --> @sodove commented on GitHub (Nov 24, 2026): done: independent MSVC/Windows verification of #421 -> #421. The stock tests pass and the native comparison found stale arithmetic flags on the fault and batch-resume paths. [Report](https://github.com/ubiquitarianism/leonida/pull/421#issuecomment-7123437347)
Author
Owner

@dcastell1 commented on GitHub (Nov 24, 2026):

claiming: GPU-RESULTS-5090 — gpu-test-results/RTX5090.txt (NVIDIA GeForce RTX 5090, Windows 11 10.0.26300, driver 621.24): scripts/run_gpu_tests.py native 197/248 passed, 49 skipped, 2 failed and LEONIDA_W64_EMULATE=1 229/248 passed, 17 skipped, 2 failed, the same cs_imgload_tfe / cs_imgload_d16_tfe pair the RTX 4070 Ti record reports (#31). Synthetic shaders in runtime/test/shaders only, no game files. AI-assisted (opencode). Opening PR now.

<!-- gh-comment-id:7123439597 --> @dcastell1 commented on GitHub (Nov 24, 2026): claiming: GPU-RESULTS-5090 — `gpu-test-results/RTX5090.txt` (NVIDIA GeForce RTX 5090, Windows 11 10.0.26300, driver 621.24): `scripts/run_gpu_tests.py` native **197/248 passed, 49 skipped, 2 failed** and `LEONIDA_W64_EMULATE=1` **229/248 passed, 17 skipped, 2 failed**, the same `cs_imgload_tfe` / `cs_imgload_d16_tfe` pair the RTX 4070 Ti record reports (#31). Synthetic shaders in `runtime/test/shaders` only, no game files. AI-assisted (opencode). Opening PR now.
Author
Owner

@dcastell1 commented on GitHub (Nov 24, 2026):

done: GPU-RESULTS-5090 -> #472

<!-- gh-comment-id:7123446880 --> @dcastell1 commented on GitHub (Nov 24, 2026): done: GPU-RESULTS-5090 -> #472
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows verification of #414 at 11d44eee9f, covering the first queue-slot-32 PresentX, token handoff, and queue/device proxy checks. Existing PR review, synthetic fixtures only; AI-assisted.

<!-- gh-comment-id:7123454150 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows verification of #414 at 11d44eee9f, covering the first queue-slot-32 PresentX, token handoff, and queue/device proxy checks. Existing PR review, synthetic fixtures only; AI-assisted.
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

done: TEST-WARP-VIDEO-ENCODE -> #473

<!-- gh-comment-id:7123455128 --> @Dezmonius commented on GitHub (Nov 24, 2026): done: TEST-WARP-VIDEO-ENCODE -> #473
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

claiming: TEST-PK-MUL-GPUAV — diagnose the unclaimed cs_pk_mul_lo_const failure under wave64 emulation with GPU-assisted validation, reported after #382. I will compare identical synthetic SPIR-V with the harness default output allocation versus the fixture footprint on an RTX 3080, then fix a confirmed fixture/harness mismatch if reproduced. Scoped to the test setup and regression coverage; no packed-half emitter changes or overlap with SHADER-PK16-HALVES. No game files. AI-assisted with OpenAI Codex.

<!-- gh-comment-id:7123460735 --> @csmith105 commented on GitHub (Nov 24, 2026): claiming: TEST-PK-MUL-GPUAV — diagnose the unclaimed cs_pk_mul_lo_const failure under wave64 emulation with GPU-assisted validation, reported after #382. I will compare identical synthetic SPIR-V with the harness default output allocation versus the fixture footprint on an RTX 3080, then fix a confirmed fixture/harness mismatch if reproduced. Scoped to the test setup and regression coverage; no packed-half emitter changes or overlap with SHADER-PK16-HALVES. No game files. AI-assisted with OpenAI Codex.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: SEMANTIC-PACKAGE-TESTS — include package init.py modules in the parallel semantic-test runner so failures there cannot be silently skipped.

<!-- gh-comment-id:7123468528 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: SEMANTIC-PACKAGE-TESTS — include package __init__.py modules in the parallel semantic-test runner so failures there cannot be silently skipped.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: SEMANTIC-PACKAGE-TESTS -> #474

<!-- gh-comment-id:7123474258 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: SEMANTIC-PACKAGE-TESTS -> #474
Author
Owner

@ettehn commented on GitHub (Nov 24, 2026):

claiming: GPU-RUNNER-STORE-DIAGNOSTIC - keep the verdict from vk_store_test in run_gpu_tests.py when its stderr device line follows stdout. Reproduced on Windows with the synthetic imgload TFE tests. No game data needed.

<!-- gh-comment-id:7123495947 --> @ettehn commented on GitHub (Nov 24, 2026): claiming: GPU-RUNNER-STORE-DIAGNOSTIC - keep the verdict from vk_store_test in run_gpu_tests.py when its stderr device line follows stdout. Reproduced on Windows with the synthetic imgload TFE tests. No game data needed.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows verification of #414 -> #414. The first queue-slot-32 PresentX reached Vulkan in 3/3 runs with a visible window. The slot-25 assertions also fail on the preceding stack. Report

<!-- gh-comment-id:7123518254 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows verification of #414 -> #414. The first queue-slot-32 PresentX reached Vulkan in 3/3 runs with a visible window. The slot-25 assertions also fail on the preceding stack. [Report](https://github.com/ubiquitarianism/leonida/pull/414#issuecomment-7123517467)
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: CMAKE-VULKAN-HEADERS-PIN - -DLEONIDA_VULKAN_HEADERS_FETCH=ON (and FETCHCONTENT_SOURCE_DIR_VULKANHEADERS) will use the pinned Vulkan-Headers 6802bb47 (vulkan-sdk-1.4.363.0) even when other headers are installed. Today runtime/CMakeLists.txt runs find_package(Vulkan) and find_path(Vulkan_INCLUDE_DIR) first, so installed headers win (Mby159's finding above, record in #431). The configure will also print which headers it built against, so a GPU record can name them. Includes a regression test on a synthetic configure (no network). Checked on an RTX 4070 Ti, NVIDIA 620.70.06, Linux. #269 edits the same block; this will either build on it or stay out of its way. No game data. AI-assisted.

<!-- gh-comment-id:7123523213 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: CMAKE-VULKAN-HEADERS-PIN - `-DLEONIDA_VULKAN_HEADERS_FETCH=ON` (and `FETCHCONTENT_SOURCE_DIR_VULKANHEADERS`) will use the pinned Vulkan-Headers `6802bb47` (vulkan-sdk-1.4.363.0) even when other headers are installed. Today `runtime/CMakeLists.txt` runs `find_package(Vulkan)` and `find_path(Vulkan_INCLUDE_DIR)` first, so installed headers win (Mby159's finding above, record in #431). The configure will also print which headers it built against, so a GPU record can name them. Includes a regression test on a synthetic configure (no network). Checked on an RTX 4070 Ti, NVIDIA 620.70.06, Linux. #269 edits the same block; this will either build on it or stay out of its way. No game data. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: SHADER-SATPK-HALVES - take v_sat_pk out of _FULL32_V16_PREFIXES (tools/wave64_halves.py:140), following NolanCotter's finding above. The wave64 halves path will then keep the high half of the destination that v_sat_pk_u8_i16 leaves alone (LLVM VOP1Inst_t16, Mesa ACO instr_is_16bit). Includes a hand-written semantic fixture and a wave64 GPU fixture run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux). That run checks the translated SPIR-V against the ISA reference; it is not a native AMD measurement. Depends on #338 (SHADER-SATPK-U8), which adds the op and doesn't touch that file. No game data. AI-assisted.

<!-- gh-comment-id:7123523547 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: SHADER-SATPK-HALVES - take `v_sat_pk` out of `_FULL32_V16_PREFIXES` (`tools/wave64_halves.py:140`), following NolanCotter's finding above. The wave64 halves path will then keep the high half of the destination that `v_sat_pk_u8_i16` leaves alone (LLVM `VOP1Inst_t16`, Mesa ACO `instr_is_16bit`). Includes a hand-written semantic fixture and a wave64 GPU fixture run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux). That run checks the translated SPIR-V against the ISA reference; it is not a native AMD measurement. Depends on #338 (SHADER-SATPK-U8), which adds the op and doesn't touch that file. No game data. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows verification of #432 at ee47b0bf5d, with a fence pointer sampled across a GPU-ordered signal from a second queue. Existing PR review, synthetic fixtures only; AI-assisted.

<!-- gh-comment-id:7123532291 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows verification of #432 at ee47b0bf5d, with a fence pointer sampled across a GPU-ordered signal from a second queue. Existing PR review, synthetic fixtures only; AI-assisted.
Author
Owner

@ettehn commented on GitHub (Nov 24, 2026):

done: GPU-RUNNER-STORE-DIAGNOSTIC -> #477

<!-- gh-comment-id:7123543484 --> @ettehn commented on GitHub (Nov 24, 2026): done: GPU-RUNNER-STORE-DIAGNOSTIC -> #477
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

finding: [d3d12] Retail executable calls ID3D12Device::CreateCommandSignature with Xbox indirect argument type 105 (ByteStride=12, alongside types 0/1/2/10), which currently fails with E_INVALIDARG in d3d12_vulkan_device.cpp and aborts window/graphics initialization.

<!-- gh-comment-id:7123571186 --> @madhyn commented on GitHub (Nov 24, 2026): finding: [d3d12] Retail executable calls `ID3D12Device::CreateCommandSignature` with Xbox indirect argument type `105` (`ByteStride=12`, alongside types `0/1/2/10`), which currently fails with `E_INVALIDARG` in `d3d12_vulkan_device.cpp` and aborts window/graphics initialization.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows verification of #432 -> #432. The same fence address followed two ordered cross-queue signals in 3/3 runs on each of WARP, native D3D12 hardware and Vulkan. Report

<!-- gh-comment-id:7123609097 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows verification of #432 -> #432. The same fence address followed two ordered cross-queue signals in 3/3 runs on each of WARP, native D3D12 hardware and Vulkan. [Report](https://github.com/ubiquitarianism/leonida/pull/432#issuecomment-7123608435)
Author
Owner

@antikohza commented on GitHub (Nov 24, 2026):

done: D3D12-MIP-DROP-6043 -> #471

LEONIDA_TEXTURE_MIP_DROP (0..3, default 0) drops top N mips of pure sampled textures at creation time to prevent VRAM allocation exhaustion on 4 GB and 6 GB cards (#6043 / #2375). Includes unit tests and native C++ D3D12 device fixture. No game data. AI-assisted.

<!-- gh-comment-id:7123622514 --> @antikohza commented on GitHub (Nov 24, 2026): done: D3D12-MIP-DROP-6043 -> #471 LEONIDA_TEXTURE_MIP_DROP (0..3, default 0) drops top N mips of pure sampled textures at creation time to prevent VRAM allocation exhaustion on 4 GB and 6 GB cards (#6043 / #2375). Includes unit tests and native C++ D3D12 device fixture. No game data. AI-assisted.
Author
Owner

@Cobrall commented on GitHub (Nov 24, 2026):

Hi, I'm Cobrall. Just opened #476 with a GPU-verified FidelityFX CAS kit:
8 fp32 variants, bit-exact against AMD's fast-math paths (including the
intentional APrxLoRcpF1 / APrxMedRcpF1 / APrxLoSqrtF1 approximations),
4K pass on RTX 4070 Ti. Repo: github.com/Cobrall/ffx-kit

Happy to help with the FidelityFX side of the shader pipeline, or extend
to fp16 packed (CasFilterH) and scaling variants next. Let me know where
it fits best.

<!-- gh-comment-id:7123624291 --> @Cobrall commented on GitHub (Nov 24, 2026): Hi, I'm Cobrall. Just opened #476 with a GPU-verified FidelityFX CAS kit: 8 fp32 variants, bit-exact against AMD's fast-math paths (including the intentional APrxLoRcpF1 / APrxMedRcpF1 / APrxLoSqrtF1 approximations), 4K pass on RTX 4070 Ti. Repo: github.com/Cobrall/ffx-kit Happy to help with the FidelityFX side of the shader pipeline, or extend to fp16 packed (CasFilterH) and scaling variants next. Let me know where it fits best.
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

claiming: RT-LAZY-PSO - opt-in LEONIDA_LAZY_PSO=1: a graphics PSO builds its driver pipeline at its first draw (variant 0) instead of in CreatePipelineState, and keeps no VkShaderModule for stages the runtime does not edit (no f16 link, no D24 patch): those modules are made from the library's words per build and destroyed after it. Compute PSOs compile at their first dispatch. Why: the title creates ~50,000 PSOs before its first frame; on a 16 GB RAM / RTX 3070 Windows machine eager creation ran the process out of commit (driver copies of every module plus the pipelines) at 50-300 s, and with this private memory stayed at 11-17 GB. Default behaviour unchanged. runtime/shims/d3d12_vulkan_device.cpp, runtime/src/vulkan_replay.h. AI-assisted.

<!-- gh-comment-id:7123636095 --> @VibeClauding commented on GitHub (Nov 24, 2026): claiming: RT-LAZY-PSO - opt-in `LEONIDA_LAZY_PSO=1`: a graphics PSO builds its driver pipeline at its first draw (variant 0) instead of in `CreatePipelineState`, and keeps no `VkShaderModule` for stages the runtime does not edit (no f16 link, no D24 patch): those modules are made from the library's words per build and destroyed after it. Compute PSOs compile at their first dispatch. Why: the title creates ~50,000 PSOs before its first frame; on a 16 GB RAM / RTX 3070 Windows machine eager creation ran the process out of commit (driver copies of every module plus the pipelines) at 50-300 s, and with this private memory stayed at 11-17 GB. Default behaviour unchanged. `runtime/shims/d3d12_vulkan_device.cpp`, `runtime/src/vulkan_replay.h`. AI-assisted.
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

finding: XGCreateTextureComputer is still the E_NOTIMPL stub on main (runtime/shims/xg_xs.cpp); two of its four callers use *out without checking, and on a forge-based boot (Windows, RTX 3070) it was the stop after ~190-230 s every run. A GFX10 layout model for it already exists outside this repo: Impre-visible/Leonida, branch boot/linux-nvidia-stack, commits 116979c49f (Librett0: src/gfx10_layout.h, src/xg_surface.h, slots 0/1/2/8/10, portable xg_surface_test) and b3ef238545 (Cresceda: slot 10 = GetResourceTiling). Taken onto a forge base they build with MSVC, xg_surface and xg_xs tests pass, and the title then gets real layouts back from the computer. Not claiming it, since the authors may want to open it here themselves; needs game files to verify end to end.

<!-- gh-comment-id:7123636471 --> @VibeClauding commented on GitHub (Nov 24, 2026): finding: `XGCreateTextureComputer` is still the E_NOTIMPL stub on `main` (`runtime/shims/xg_xs.cpp`); two of its four callers use `*out` without checking, and on a forge-based boot (Windows, RTX 3070) it was the stop after ~190-230 s every run. A GFX10 layout model for it already exists outside this repo: Impre-visible/Leonida, branch `boot/linux-nvidia-stack`, commits `116979c49f` (Librett0: `src/gfx10_layout.h`, `src/xg_surface.h`, slots 0/1/2/8/10, portable `xg_surface_test`) and `b3ef238545` (Cresceda: slot 10 = GetResourceTiling). Taken onto a forge base they build with MSVC, `xg_surface` and `xg_xs` tests pass, and the title then gets real layouts back from the computer. Not claiming it, since the authors may want to open it here themselves; needs game files to verify end to end.
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

finding: XMemAllocatePhysicalPages (runtime/shims/xmem.cpp) commits every physical page at allocation; the title asks for ~6.8 GB of them, most never touched early. On 16 GB RAM with an 8 GB pagefile that alone pushes the process to the Windows commit limit (bad_alloc / driver out-of-memory later in boot). A SEC_RESERVE section plus a vectored handler that commits a page on first touch (and committing ReadFile/WriteFile/DirectStorage destination ranges before the kernel writes into them) saved ~5.4 GB of commit on a forge base. It touches the same file as #417 (RT-XMEM-WINDOWS), so I'm leaving it as a finding until that lands rather than racing it. Only matters on low-RAM machines; needs game files to measure.

<!-- gh-comment-id:7123636871 --> @VibeClauding commented on GitHub (Nov 24, 2026): finding: `XMemAllocatePhysicalPages` (`runtime/shims/xmem.cpp`) commits every physical page at allocation; the title asks for ~6.8 GB of them, most never touched early. On 16 GB RAM with an 8 GB pagefile that alone pushes the process to the Windows commit limit (`bad_alloc` / driver out-of-memory later in boot). A `SEC_RESERVE` section plus a vectored handler that commits a page on first touch (and committing ReadFile/WriteFile/DirectStorage destination ranges before the kernel writes into them) saved ~5.4 GB of commit on a forge base. It touches the same file as #417 (RT-XMEM-WINDOWS), so I'm leaving it as a finding until that lands rather than racing it. Only matters on low-RAM machines; needs game files to measure.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

done: DOC-MODDING-CONSTANTS -> #406
done: TEST-CUBE-WINPATH -> #419
done: SHADER-PK16-HALVES -> #423
done: SHADER-F64-OMODS -> #475

SHADER-659 is still mine and still open work: the branch is rebased onto ece4ba5b3 and measured (its done: line follows with its pull request). Nothing else in my claim batch is left unfiled, and I have released nothing else.

<!-- gh-comment-id:7123644726 --> @fiestorra commented on GitHub (Nov 24, 2026): done: `DOC-MODDING-CONSTANTS` -> #406 done: `TEST-CUBE-WINPATH` -> #419 done: `SHADER-PK16-HALVES` -> #423 done: `SHADER-F64-OMODS` -> #475 `SHADER-659` is still mine and still open work: the branch is rebased onto `ece4ba5b3` and measured (its `done:` line follows with its pull request). Nothing else in my claim batch is left unfiled, and I have released nothing else.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: PREFLIGHT-TOOL-AVAILABLE-SPACES — parse quoted executable paths containing spaces and arguments in make_game.tool_available via mc_command.split_command, and add space-in-path and unmatched-quote regression tests in tests/test_make_game_preflight.py. AI-assisted.

<!-- gh-comment-id:7123653522 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: PREFLIGHT-TOOL-AVAILABLE-SPACES — parse quoted executable paths containing spaces and arguments in `make_game.tool_available` via `mc_command.split_command`, and add space-in-path and unmatched-quote regression tests in `tests/test_make_game_preflight.py`. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: PREFLIGHT-TOOL-AVAILABLE-SPACES -> #482

<!-- gh-comment-id:7123654973 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: PREFLIGHT-TOOL-AVAILABLE-SPACES -> #482
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: TEST-NATIVE-TOOL-PATHS-UTF8 — pass ansi="cp1252" when testing Windows 8.3 short-name conversion in tests/test_native_tool_paths.py so the test exercises the narrow ANSI fallback even on Windows hosts whose active code page is UTF-8 (ACP=65001), plus cover UTF-8 passthrough explicitly. AI-assisted.

<!-- gh-comment-id:7123655503 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: TEST-NATIVE-TOOL-PATHS-UTF8 — pass `ansi="cp1252"` when testing Windows 8.3 short-name conversion in `tests/test_native_tool_paths.py` so the test exercises the narrow ANSI fallback even on Windows hosts whose active code page is UTF-8 (`ACP=65001`), plus cover UTF-8 passthrough explicitly. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: TEST-NATIVE-TOOL-PATHS-UTF8 -> #483

<!-- gh-comment-id:7123657142 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: TEST-NATIVE-TOOL-PATHS-UTF8 -> #483
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: XDXR-STREAM-RECORD-BOUNDS — prevent find_stream_record in runtime/src/xdxr_descs.h from reading partial trailing bytes past size_in_bytes or wrapping pointer arithmetic on huge sizes, and add unit tests in runtime/test/xdxr_descs_test.cpp. AI-assisted.

<!-- gh-comment-id:7123658036 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: XDXR-STREAM-RECORD-BOUNDS — prevent `find_stream_record` in `runtime/src/xdxr_descs.h` from reading partial trailing bytes past `size_in_bytes` or wrapping pointer arithmetic on huge sizes, and add unit tests in `runtime/test/xdxr_descs_test.cpp`. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: XDXR-STREAM-RECORD-BOUNDS -> #484

<!-- gh-comment-id:7123659494 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: XDXR-STREAM-RECORD-BOUNDS -> #484
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: XDXR-BUILDER-PREVALIDATE — validate addresses, computed layout size, and 64-bit summed BLAS triangle counts before XdxrBuilder records any Vulkan dispatches, prevent 32-bit workgroup count overflow in XdxrBuilder::dispatch(), and add GPU-free unit test xdxr_builder_validation. AI-assisted.

<!-- gh-comment-id:7123659958 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: XDXR-BUILDER-PREVALIDATE — validate addresses, computed layout size, and 64-bit summed BLAS triangle counts before `XdxrBuilder` records any Vulkan dispatches, prevent 32-bit workgroup count overflow in `XdxrBuilder::dispatch()`, and add GPU-free unit test `xdxr_builder_validation`. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: XDXR-BUILDER-PREVALIDATE -> #485

<!-- gh-comment-id:7123661302 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: XDXR-BUILDER-PREVALIDATE -> #485
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: SHADER-LIBRARY-BOUNDS-KEYS — make output limit and Adler-32 trailer checks in zlib_inflate overflow-safe (runtime/src/shader_library.h) and replace std::strtoul in f16_halves JSON key parsing with strict ASCII unsigned 32-bit decimal parsing, with unit tests in runtime/test/shader_library_test.cpp. AI-assisted.

<!-- gh-comment-id:7123661767 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: SHADER-LIBRARY-BOUNDS-KEYS — make output limit and Adler-32 trailer checks in `zlib_inflate` overflow-safe (`runtime/src/shader_library.h`) and replace `std::strtoul` in `f16_halves` JSON key parsing with strict ASCII unsigned 32-bit decimal parsing, with unit tests in `runtime/test/shader_library_test.cpp`. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: SHADER-LIBRARY-BOUNDS-KEYS -> #486

<!-- gh-comment-id:7123662928 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: SHADER-LIBRARY-BOUNDS-KEYS -> #486
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

done: TEST-PK-MUL-GPUAV -> #481 (ready for review). GPU-assisted validation confirmed the buffer-sizing fix in both runners: identical SPIR-V before/after, all 128 output words exact on RTX 3080 / driver 610.88. Full semantic suite: 465 files, 6,104 tests, zero failures; 153 focused tests passed. No translator change.

<!-- gh-comment-id:7123667433 --> @csmith105 commented on GitHub (Nov 24, 2026): done: TEST-PK-MUL-GPUAV -> #481 (ready for review). GPU-assisted validation confirmed the buffer-sizing fix in both runners: identical SPIR-V before/after, all 128 output words exact on RTX 3080 / driver 610.88. Full semantic suite: 465 files, 6,104 tests, zero failures; 153 focused tests passed. No translator change.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: OLD-9412 - carry over the Windows per-directory NTFS case-sensitivity fix by IsidroEmirPelli in tools/report_paths.py and its existing tests. Reproduced the false collision on current main with synthetic files. Preserving original authorship. AI-assisted.

<!-- gh-comment-id:7123692773 --> @sodove commented on GitHub (Nov 24, 2026): claiming: OLD-9412 - carry over the Windows per-directory NTFS case-sensitivity fix by IsidroEmirPelli in tools/report_paths.py and its existing tests. Reproduced the false collision on current main with synthetic files. Preserving original authorship. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: VK-HOST-AT-ALIASING — pass the requested bytes to buffer_vas_.find(va, hit, bytes) in VulkanContext::replay_.host_at (runtime/src/vulkan_backend.h) so aliasing placed upload buffers resolve to a range covering the full read, matching buffer_at, with a CPU mock-Vulkan regression test vk_host_at_aliasing. AI-assisted.

<!-- gh-comment-id:7123708826 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: VK-HOST-AT-ALIASING — pass the requested `bytes` to `buffer_vas_.find(va, hit, bytes)` in `VulkanContext::replay_.host_at` (`runtime/src/vulkan_backend.h`) so aliasing placed upload buffers resolve to a range covering the full read, matching `buffer_at`, with a CPU mock-Vulkan regression test `vk_host_at_aliasing`. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: VK-HOST-AT-ALIASING -> #488

<!-- gh-comment-id:7123711374 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: VK-HOST-AT-ALIASING -> #488
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: VK-PRESENTER-SURFACE — recover a lost Vulkan presentation surface during swapchain setup/replacement and retry through the retained recreate callback.

<!-- gh-comment-id:7123721266 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: VK-PRESENTER-SURFACE — recover a lost Vulkan presentation surface during swapchain setup/replacement and retry through the retained recreate callback.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: VK-PRESENTER-SURFACE -> #489

<!-- gh-comment-id:7123728448 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: VK-PRESENTER-SURFACE -> #489
Author
Owner

@Cobrall commented on GitHub (Nov 24, 2026):

"Opened #476 with GPU-verified FidelityFX CAS kit: 8 fp32 variants, bit-exact against AMD's fast-math paths (including APrxLoRcpF1 / APrxMedRcpF1 / APrxLoSqrtF1), 4K pass on RTX 4070 Ti. Repo: github.com/Cobrall/ffx-kit"

<!-- gh-comment-id:7123747993 --> @Cobrall commented on GitHub (Nov 24, 2026): "Opened #476 with GPU-verified FidelityFX CAS kit: 8 fp32 variants, bit-exact against AMD's fast-math paths (including APrxLoRcpF1 / APrxMedRcpF1 / APrxLoSqrtF1), 4K pass on RTX 4070 Ti. Repo: github.com/Cobrall/ffx-kit"
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: OLD-9412 -> #490

<!-- gh-comment-id:7123749139 --> @sodove commented on GitHub (Nov 24, 2026): done: OLD-9412 -> #490
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows integration verification of #368 with #490. Checking the folding-volume test fix on current main and with the report-path change. Synthetic fixtures; AI-assisted.

<!-- gh-comment-id:7123773451 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows integration verification of #368 with #490. Checking the folding-volume test fix on current main and with the report-path change. Synthetic fixtures; AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows integration verification of #368 with #490 -> #368. All 44 SGPR census tests pass with #368 on each branch. Report

<!-- gh-comment-id:7123796444 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows integration verification of #368 with #490 -> #368. All 44 SGPR census tests pass with #368 on each branch. [Report](https://github.com/ubiquitarianism/leonida/pull/368#issuecomment-7123795172)
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: CMAKE-VULKAN-HEADERS-PIN -> #491

<!-- gh-comment-id:7123800267 --> @milk4sale commented on GitHub (Nov 24, 2026): done: CMAKE-VULKAN-HEADERS-PIN -> #491
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

claiming: D3D-EXECIND-GRAPHICS — snapshot and replay full graphics state (dynamic rendering, pipeline, bindless set, root push constants, viewport/scissor, topology, blend/stencil, vertex/index buffers) for ExecuteIndirect DRAW and DRAW_INDEXED (both fixed-count and GPU count buffers), with a live GPU host-parity test against Windows D3D12. AI-assisted.

<!-- gh-comment-id:7123837093 --> @jujumoneylol commented on GitHub (Nov 24, 2026): claiming: D3D-EXECIND-GRAPHICS — snapshot and replay full graphics state (dynamic rendering, pipeline, bindless set, root push constants, viewport/scissor, topology, blend/stencil, vertex/index buffers) for `ExecuteIndirect` `DRAW` and `DRAW_INDEXED` (both fixed-count and GPU count buffers), with a live GPU host-parity test against Windows D3D12. AI-assisted.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: SHADER-INDEX-RECOVERY — rebuild a damaged merged shader index from completed translation shards instead of forcing a full rerun.

<!-- gh-comment-id:7123848066 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: SHADER-INDEX-RECOVERY — rebuild a damaged merged shader index from completed translation shards instead of forcing a full rerun.
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

claiming: TEST-LDS-U8-D16-GPUAV — reproduce and diagnose the unclaimed cs_w32_lds_u8_d16 GPU-assisted-validation failure reported with #382. The fixture currently has every lane write the same LDS word before narrowing EXEC. I will verify the failure and correct fixture ownership/ordering if confirmed, preserving the eight byte-read/half-preservation oracle words. Scoped to this fixture and focused regression coverage; excludes cs_w32_lds_subdword (#412). No game files. AI-assisted with OpenAI Codex.

<!-- gh-comment-id:7123850612 --> @csmith105 commented on GitHub (Nov 24, 2026): claiming: TEST-LDS-U8-D16-GPUAV — reproduce and diagnose the unclaimed cs_w32_lds_u8_d16 GPU-assisted-validation failure reported with #382. The fixture currently has every lane write the same LDS word before narrowing EXEC. I will verify the failure and correct fixture ownership/ordering if confirmed, preserving the eight byte-read/half-preservation oracle words. Scoped to this fixture and focused regression coverage; excludes cs_w32_lds_subdword (#412). No game files. AI-assisted with OpenAI Codex.
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT57-NATIVE-GRAPHICS-PSO-INDEX

Splitting the shader-index prerequisite out of my existing RT-SLOT57-NATIVE-GRAPHICS-PSO claim. This PR will build and validate the mapping from each local carved container’s HASH digest to its shader stage and path. The guest device routing stays under the original claim until its retail boot comparison passes.

<!-- gh-comment-id:7123853830 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: RT-SLOT57-NATIVE-GRAPHICS-PSO-INDEX Splitting the shader-index prerequisite out of my existing RT-SLOT57-NATIVE-GRAPHICS-PSO claim. This PR will build and validate the mapping from each local carved container’s HASH digest to its shader stage and path. The guest device routing stays under the original claim until its retail boot comparison passes.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: SHADER-INDEX-RECOVERY -> #494

<!-- gh-comment-id:7123854582 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: SHADER-INDEX-RECOVERY -> #494
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows review of #204 (RT-249), checking rollback for a destination held open and whether the previous file survives if the in-progress replacement and its rollback both fail. Synthetic files only; AI-assisted.

<!-- gh-comment-id:7123874383 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows review of #204 (RT-249), checking rollback for a destination held open and whether the previous file survives if the in-progress replacement and its rollback both fail. Synthetic files only; AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows review of #204 -> #204. Found and verified the loss of the current file's recovery copy when publish and rollback are both blocked. Report

<!-- gh-comment-id:7123912657 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows review of #204 -> #204. Found and verified the loss of the current file's recovery copy when publish and rollback are both blocked. [Report](https://github.com/ubiquitarianism/leonida/pull/204#issuecomment-7123912053)
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

claiming: D3D-CONSOLE-STREAM-ENUM - the console's pipeline-stream subobject enum has no gap at 23, so the title's mesh shader is subobject 24, which the PC reading takes for an AS (430 PSOs refused in a retail boot, docs/retail_boot_intel_host.md section 3); streams the PC numbering cannot read will be read with the console's

<!-- gh-comment-id:7123953053 --> @Kokonotcu commented on GitHub (Nov 24, 2026): claiming: D3D-CONSOLE-STREAM-ENUM - the console's pipeline-stream subobject enum has no gap at 23, so the title's mesh shader is subobject 24, which the PC reading takes for an AS (430 PSOs refused in a retail boot, docs/retail_boot_intel_host.md section 3); streams the PC numbering cannot read will be read with the console's
Author
Owner

@Kokonotcu commented on GitHub (Nov 24, 2026):

done: D3D-CONSOLE-STREAM-ENUM -> #496

<!-- gh-comment-id:7123954050 --> @Kokonotcu commented on GitHub (Nov 24, 2026): done: D3D-CONSOLE-STREAM-ENUM -> #496
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

done: RT-SLOT57-NATIVE-GRAPHICS-PSO-INDEX -> #497

<!-- gh-comment-id:7123958479 --> @Rain156 commented on GitHub (Nov 24, 2026): done: RT-SLOT57-NATIVE-GRAPHICS-PSO-INDEX -> #497
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: BOOT-RENDER-DIAG — summarize measured shader-lookup failures, stub pipeline milestones and presenter capture colors in boot_trace counts-only/text reports.

<!-- gh-comment-id:7123963695 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: BOOT-RENDER-DIAG — summarize measured shader-lookup failures, stub pipeline milestones and presenter capture colors in boot_trace counts-only/text reports.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: BOOT-RENDER-DIAG -> #498

<!-- gh-comment-id:7123970696 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: BOOT-RENDER-DIAG -> #498
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows verification of #188, comparing the current main and PR head for a timed-out fixture with a live descendant and a successful fixture whose descendant still holds the output handles. Existing PR review, synthetic processes only; AI-assisted.

<!-- gh-comment-id:7123973442 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows verification of #188, comparing the current main and PR head for a timed-out fixture with a live descendant and a successful fixture whose descendant still holds the output handles. Existing PR review, synthetic processes only; AI-assisted.
Author
Owner

@Kal0s-design commented on GitHub (Nov 24, 2026):

claiming: RT-LOADER-HEADER-WRITES - runtime/src/pe_loader.cpp, Loader::bind_imports and Loader::initialize_tls. An import address table slot or a TLS index placed below SizeOfHeaders is written into the mapped headers, and the steps after it read e_lfanew and the section table back from the mapping, so a corrupt image sends the loader outside the image (found by mutation fuzzing Loader::load). The change refuses both, and a TLS index at RVA 0 too, which was silently never written. It needs no game files and no GPU. I had this open as a pull request in the original repository before it went private, so I am carrying it over here. AI-assisted: yes.

<!-- gh-comment-id:7123988950 --> @Kal0s-design commented on GitHub (Nov 24, 2026): claiming: RT-LOADER-HEADER-WRITES - `runtime/src/pe_loader.cpp`, `Loader::bind_imports` and `Loader::initialize_tls`. An import address table slot or a TLS index placed below SizeOfHeaders is written into the mapped headers, and the steps after it read e_lfanew and the section table back from the mapping, so a corrupt image sends the loader outside the image (found by mutation fuzzing `Loader::load`). The change refuses both, and a TLS index at RVA 0 too, which was silently never written. It needs no game files and no GPU. I had this open as a pull request in the original repository before it went private, so I am carrying it over here. AI-assisted: yes.
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

done: D3D-EXECIND-GRAPHICS -> #499

<!-- gh-comment-id:7123997726 --> @jujumoneylol commented on GitHub (Nov 24, 2026): done: D3D-EXECIND-GRAPHICS -> #499
Author
Owner

@Kal0s-design commented on GitHub (Nov 24, 2026):

done: RT-LOADER-HEADER-WRITES -> #501

<!-- gh-comment-id:7124002712 --> @Kal0s-design commented on GitHub (Nov 24, 2026): done: RT-LOADER-HEADER-WRITES -> #501
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

claiming: D3D-MULTI-VIEWPORT — implement multi-viewport and multi-scissor rendering (RSSetViewports(1..16), RSSetScissorRects(1..16), VkPhysicalDeviceFeatures::multiViewport, VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT / VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT -> vkCmdSetViewportWithCount / vkCmdSetScissorWithCount) with a live GPU SV_ViewportArrayIndex host-parity test against Windows D3D12. AI-assisted.

<!-- gh-comment-id:7124010841 --> @jujumoneylol commented on GitHub (Nov 24, 2026): claiming: D3D-MULTI-VIEWPORT — implement multi-viewport and multi-scissor rendering (`RSSetViewports(1..16)`, `RSSetScissorRects(1..16)`, `VkPhysicalDeviceFeatures::multiViewport`, `VK_DYNAMIC_STATE_VIEWPORT_WITH_COUNT` / `VK_DYNAMIC_STATE_SCISSOR_WITH_COUNT` -> `vkCmdSetViewportWithCount` / `vkCmdSetScissorWithCount`) with a live GPU `SV_ViewportArrayIndex` host-parity test against Windows D3D12. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows verification of #188 -> #188. Current main exceeded the timeout and failed a successfully exited fixture. The PR head terminated the timed-out fixture tree and accepted the successful fixture. Report

<!-- gh-comment-id:7124016501 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows verification of #188 -> #188. Current main exceeded the timeout and failed a successfully exited fixture. The PR head terminated the timed-out fixture tree and accepted the successful fixture. [Report](https://github.com/ubiquitarianism/leonida/pull/188#issuecomment-7124007528)
Author
Owner

@dcastell1 commented on GitHub (Nov 24, 2026):

finding: d3d12_execute_indirect_validation is red on main on Windows 11 + RTX 5090 (driver 621.24): 5 argument-buffer range cases where the layer's Close() says S_OK and live WARP and live hardware D3D12 both say E_INVALIDARG — arg_offset=260 and U64MAX-3 with MaxCommandCount=0, and 240+20, 220+2*20, 244+20 in a 256-byte buffer. Full table and repro in #504; nothing needs game files.

<!-- gh-comment-id:7124016505 --> @dcastell1 commented on GitHub (Nov 24, 2026): finding: `d3d12_execute_indirect_validation` is red on `main` on Windows 11 + RTX 5090 (driver 621.24): 5 argument-buffer range cases where the layer's `Close()` says `S_OK` and live WARP and live hardware D3D12 both say `E_INVALIDARG` — `arg_offset=260` and `U64MAX-3` with `MaxCommandCount=0`, and `240+20`, `220+2*20`, `244+20` in a 256-byte buffer. Full table and repro in #504; nothing needs game files.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: VS-INPUT-SIGNATURE — select a vertex shader from shared FSSM hash candidates using the PSO container's ISG1 input signature, with a layout-based fallback.

<!-- gh-comment-id:7124031280 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: VS-INPUT-SIGNATURE — select a vertex shader from shared FSSM hash candidates using the PSO container's ISG1 input signature, with a layout-based fallback.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: VS-INPUT-SIGNATURE -> #505

<!-- gh-comment-id:7124038885 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: VS-INPUT-SIGNATURE -> #505
Author
Owner

@dcastell1 commented on GitHub (Nov 24, 2026):

finding: with LEONIDA_VK_VALIDATION=1 the d3d12_* suite leaves 7 validation errors on main — d3d12_clear clears depth with 1.5, -0.5 and nan without VK_EXT_depth_range_unrestricted (VUID-VkClearDepthStencilValue-depth-00022), and d3d12_mesh runs vkCmdDrawMeshTasksEXT with a pipeline-statistics query holding the clipping bits (VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076). Green without validation, so both are silent today. Details in #506.

<!-- gh-comment-id:7124047607 --> @dcastell1 commented on GitHub (Nov 24, 2026): finding: with `LEONIDA_VK_VALIDATION=1` the `d3d12_*` suite leaves 7 validation errors on main — `d3d12_clear` clears depth with `1.5`, `-0.5` and `nan` without `VK_EXT_depth_range_unrestricted` (VUID-VkClearDepthStencilValue-depth-00022), and `d3d12_mesh` runs `vkCmdDrawMeshTasksEXT` with a pipeline-statistics query holding the clipping bits (VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076). Green without validation, so both are silent today. Details in #506.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

finding: #468 and #474 both rewrite the same region of scripts/run_semantic_tests.py and cannot both merge without one of them being rebased.

  • Where: scripts/run_semantic_tests.py — #468 (SEMANTIC-PROCESS-TIMEOUT) replaces lines 4–10, 14–30, 37–48 and 52–72; #474 (SEMANTIC-PACKAGE-TESTS) edits 7–14, 25–40, 43–50 and 62–69. Every hunk of one overlaps a hunk of the other, and both also edit tests/test_run_semantic_tests.py (#468 at 20–26 and 44–50, #474 at 48–55, 65–72 and 99–106).
  • Why it matters: each branch is correct on its own head — I ran their test files in fresh checkouts of each head and both pass (12 tests for #474, 15 for #468) — but the second one to merge will hit a conflict in the runner's core loop, which is the file that decides how every semantic test is launched. That is worth knowing before either is merged, because a resolution done in a hurry there disables tests silently rather than failing loudly.
  • Needs: nothing. No game files, no GPU; both test files run in seconds.
  • Suggested order: merge #468 first (it bounds a hung subprocess, which is a correctness property of the runner) and have #474 rebase onto it, or ask one author to fold the other's change in.
<!-- gh-comment-id:7124051216 --> @Len1k commented on GitHub (Nov 24, 2026): finding: #468 and #474 both rewrite the same region of `scripts/run_semantic_tests.py` and cannot both merge without one of them being rebased. - **Where:** `scripts/run_semantic_tests.py` — #468 (SEMANTIC-PROCESS-TIMEOUT) replaces lines 4–10, 14–30, 37–48 and 52–72; #474 (SEMANTIC-PACKAGE-TESTS) edits 7–14, 25–40, 43–50 and 62–69. Every hunk of one overlaps a hunk of the other, and both also edit `tests/test_run_semantic_tests.py` (#468 at 20–26 and 44–50, #474 at 48–55, 65–72 and 99–106). - **Why it matters:** each branch is correct on its own head — I ran their test files in fresh checkouts of each head and both pass (12 tests for #474, 15 for #468) — but the second one to merge will hit a conflict in the runner's core loop, which is the file that decides how every semantic test is launched. That is worth knowing before either is merged, because a resolution done in a hurry there disables tests silently rather than failing loudly. - **Needs:** nothing. No game files, no GPU; both test files run in seconds. - **Suggested order:** merge #468 first (it bounds a hung subprocess, which is a correctness property of the runner) and have #474 rebase onto it, or ask one author to fold the other's change in.
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

claiming: TEST-FCMPSWAP-NAN-POSTSTATE — fix the hand-written cs_w32_fcmpswap fixture so its buffer NaN case checks memory after the atomic. A CPU negative control using integer cmpswap changes 0x48 to 1.0 while the current eight-word oracle still passes. Scope: fixture, generated disassembly and CPU regression, plus native GPU validation. This addresses the coverage gap described in docs-only PR #413 without editing its documentation row. No translator/runtime changes or game data. AI-assisted: yes.

<!-- gh-comment-id:7124052568 --> @csmith105 commented on GitHub (Nov 24, 2026): claiming: TEST-FCMPSWAP-NAN-POSTSTATE — fix the hand-written cs_w32_fcmpswap fixture so its buffer NaN case checks memory after the atomic. A CPU negative control using integer cmpswap changes 0x48 to 1.0 while the current eight-word oracle still passes. Scope: fixture, generated disassembly and CPU regression, plus native GPU validation. This addresses the coverage gap described in docs-only PR #413 without editing its documentation row. No translator/runtime changes or game data. AI-assisted: yes.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

Ran the test files each open Python-side pull request adds, in a fresh checkout of that PR's own head — no review opinions, just whether the branch's own tests pass on the branch.

PR its test file result
#487 tests/test_d3d12_guid_sites_gdk.py 2 tests, OK
#482 tests/test_make_game_preflight.py 100 tests, OK (2 skipped)
#478 tests/test_bary_fallback_gs.py 29 tests, OK (1 skipped)
#474 tests/test_run_semantic_tests.py 12 tests, OK
#468 tests/test_run_semantic_tests.py 15 tests, OK
#490 tests/test_report_paths.py 24 tests, OK (1 skipped)

All six are green on their own heads, with the standard library only (python -I, or unittest discover for the ones under tests/). None of them needs game files or a GPU. Two notes:

  • #468 and #474 overlap in scripts/run_semantic_tests.py; see the separate finding above.
  • #487's pull request says "pytest (9 passed)" while the file it adds holds 2 tests, so the 9 presumably includes other test files in the tree. It is not a problem, just a number that does not match the diff.

This is verification of the tests, not an endorsement of the change: a branch can carry a test that passes without exercising the fix, and I did not check that per PR.

AI-assisted.

<!-- gh-comment-id:7124052959 --> @Len1k commented on GitHub (Nov 24, 2026): Ran the test files each open Python-side pull request adds, in a fresh checkout of that PR's own head — no review opinions, just whether the branch's own tests pass on the branch. | PR | its test file | result | |---|---|---| | #487 | `tests/test_d3d12_guid_sites_gdk.py` | 2 tests, OK | | #482 | `tests/test_make_game_preflight.py` | 100 tests, OK (2 skipped) | | #478 | `tests/test_bary_fallback_gs.py` | 29 tests, OK (1 skipped) | | #474 | `tests/test_run_semantic_tests.py` | 12 tests, OK | | #468 | `tests/test_run_semantic_tests.py` | 15 tests, OK | | #490 | `tests/test_report_paths.py` | 24 tests, OK (1 skipped) | All six are green on their own heads, with the standard library only (`python -I`, or `unittest discover` for the ones under `tests/`). None of them needs game files or a GPU. Two notes: - #468 and #474 overlap in `scripts/run_semantic_tests.py`; see the separate finding above. - #487's pull request says "pytest (9 passed)" while the file it adds holds 2 tests, so the 9 presumably includes other test files in the tree. It is not a problem, just a number that does not match the diff. This is verification of the tests, not an endorsement of the change: a branch can carry a test that passes without exercising the fix, and I did not check that per PR. *AI-assisted.*
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

done: TEST-LDS-U8-D16-GPUAV -> #507. GPUAV race reproduced and corrected on RTX 3080; eight oracle words unchanged. Full semantic suite: 465 files / 6,105 tests / zero failed files. AI-assisted.

<!-- gh-comment-id:7124089686 --> @csmith105 commented on GitHub (Nov 24, 2026): done: TEST-LDS-U8-D16-GPUAV -> #507. GPUAV race reproduced and corrected on RTX 3080; eight oracle words unchanged. Full semantic suite: 465 files / 6,105 tests / zero failed files. AI-assisted.
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

claiming: RT-CBV-VSHARP-STRIDE - CreateConstantBufferView (runtime/shims/d3d12_vulkan_device.cpp) writes the CBV's GFX10 V# with STRIDE 0. A translated buffer access with idxen adds index × V# stride to the address, so a program that indexes its constant buffer in 16-byte rows reads row 0 for every index. ThatRecompDev/five-star-recomp (GPL-3.0, commit 4c6bce59b) measured this on the retail title: the UI's Scaleform batch programs read each vertex's matrix rows from their CBV by index, and with stride 0 every UI shape collapsed onto x = y. Write STRIDE 16 for a CBV (NUM_RECORDS stays in bytes with OOB_SELECT RAW, so the MUBUF bound is unchanged), update d3d12_compute_test and the descriptor notes in docs/d3d12_vulkan.md. No game files needed for the change and its test.

<!-- gh-comment-id:7124098275 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): claiming: RT-CBV-VSHARP-STRIDE - `CreateConstantBufferView` (`runtime/shims/d3d12_vulkan_device.cpp`) writes the CBV's GFX10 V# with STRIDE 0. A translated buffer access with `idxen` adds index × V# stride to the address, so a program that indexes its constant buffer in 16-byte rows reads row 0 for every index. ThatRecompDev/five-star-recomp (GPL-3.0, commit 4c6bce59b) measured this on the retail title: the UI's Scaleform batch programs read each vertex's matrix rows from their CBV by index, and with stride 0 every UI shape collapsed onto x = y. Write STRIDE 16 for a CBV (NUM_RECORDS stays in bytes with OOB_SELECT RAW, so the MUBUF bound is unchanged), update `d3d12_compute_test` and the descriptor notes in `docs/d3d12_vulkan.md`. No game files needed for the change and its test.
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: RT-PRESENTX-WINDOW-PUMP

Investigating the Windows fallback presentation window from #414. On a native Windows run its LeonidaPresentX window stops responding to Windows messages while GPU draws and presents continue. I will test window-thread ownership and shutdown separately from the black-frame investigation. This builds on the existing presentation work.

<!-- gh-comment-id:7124105269 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: RT-PRESENTX-WINDOW-PUMP Investigating the Windows fallback presentation window from #414. On a native Windows run its LeonidaPresentX window stops responding to Windows messages while GPU draws and presents continue. I will test window-thread ownership and shutdown separately from the black-frame investigation. This builds on the existing presentation work.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

done: SHADER-659 -> #509

That closes everything in my claim batch. All five pull requests are against main from branches of my fork, each rebased onto ece4ba5b3, and each body says what was re-measured on that base and on what hardware, including the one that was measured on a device on the older base and not re-run here. SHADER-659's body also corrects one thing my claim comment said: it mentioned a pair held in an SGPR pair, and that is not in the pull request — an SGPR operand is still refused.

<!-- gh-comment-id:7124110840 --> @fiestorra commented on GitHub (Nov 24, 2026): done: `SHADER-659` -> #509 That closes everything in my claim batch. All five pull requests are against `main` from branches of my fork, each rebased onto `ece4ba5b3`, and each body says what was re-measured on that base and on what hardware, including the one that was measured on a device on the older base and not re-run here. `SHADER-659`'s body also corrects one thing my claim comment said: it mentioned a pair held in an SGPR pair, and that is not in the pull request — an SGPR operand is still refused.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows review of #337 against #504 on Windows 11 26100 and RTX 5070 Ti, focused on comparing the five disputed ExecuteIndirect cases against live WARP and hardware on a different D3D12Core version. Existing PR review, synthetic fixtures only; AI-assisted.

<!-- gh-comment-id:7124115900 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows review of #337 against #504 on Windows 11 26100 and RTX 5070 Ti, focused on comparing the five disputed ExecuteIndirect cases against live WARP and hardware on a different D3D12Core version. Existing PR review, synthetic fixtures only; AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: SHADER-SATPK-HALVES -> #508

<!-- gh-comment-id:7124129931 --> @milk4sale commented on GitHub (Nov 24, 2026): done: SHADER-SATPK-HALVES -> #508
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: the two Open work rows that name semantic test files are describing a state main no longer has — tests/semantic/test_exec_computed.py (row SHADER-1264) and tests/semantic/test_image_atomics_guard.py (row TEST-ATOMIC-GUARD). Both files are in ece4ba5b3, both run, and both pass here, so nobody should need to claim them. Nothing else in that table is affected: SHADER-1264's translator half is merged as #24 and Len1k's #460 is the open work that extends the same path with a dynamic EXEC write; TEST-ATOMIC-GUARD's two halves are merged as #20 (the folded %true when no lane can be inactive) and #394 (keeping a case with a dynamic EXEC write), which is what the row asks for. COORD-CLAIM-CHECK I have not looked at.

What I ran, on ece4ba5b3 with no changes on top, Windows build 26300, CPython 3.13.14, llvm-mc 21.1.8 on PATH and spirv-as/spirv-val from Vulkan SDK 1.4.363.0, no GPU:

  • py -3.13 -I -m unittest discover -s tests/semantic -p "test_exec_computed.py" → Ran 2 tests in 0.504s / OK.
  • py -3.13 -I -m unittest discover -s tests/semantic -p "test_image_atomics_guard.py" → Ran 3 tests in 2.032s / OK.
  • py -3.13 -I scripts/run_semantic_tests.py tests/semantic over the whole directory → 465 files, 6103 tests, 0 files failed in 440 s with 16 jobs.

If a row was kept open because it is green on a machine with a GPU and red without one, or the other way round, I can re-run it here on the gfx1036 iGPU and report that number; as the table reads now it asks for two files that pass.

<!-- gh-comment-id:7124147701 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: the two `Open work` rows that name semantic test files are describing a state `main` no longer has — `tests/semantic/test_exec_computed.py` (row `SHADER-1264`) and `tests/semantic/test_image_atomics_guard.py` (row `TEST-ATOMIC-GUARD`). Both files are in `ece4ba5b3`, both run, and both pass here, so nobody should need to claim them. Nothing else in that table is affected: `SHADER-1264`'s translator half is merged as #24 and Len1k's #460 is the open work that extends the same path with a dynamic EXEC write; `TEST-ATOMIC-GUARD`'s two halves are merged as #20 (the folded `%true` when no lane can be inactive) and #394 (keeping a case with a dynamic EXEC write), which is what the row asks for. `COORD-CLAIM-CHECK` I have not looked at. What I ran, on `ece4ba5b3` with no changes on top, Windows build 26300, CPython 3.13.14, `llvm-mc` 21.1.8 on `PATH` and `spirv-as`/`spirv-val` from Vulkan SDK 1.4.363.0, no GPU: * `py -3.13 -I -m unittest discover -s tests/semantic -p "test_exec_computed.py"` → `Ran 2 tests in 0.504s / OK`. * `py -3.13 -I -m unittest discover -s tests/semantic -p "test_image_atomics_guard.py"` → `Ran 3 tests in 2.032s / OK`. * `py -3.13 -I scripts/run_semantic_tests.py tests/semantic` over the whole directory → `465 files, 6103 tests, 0 files failed in 440 s with 16 jobs`. If a row was kept open because it is green on a machine with a GPU and red without one, or the other way round, I can re-run it here on the gfx1036 iGPU and report that number; as the table reads now it asks for two files that pass.
Author
Owner

@jujumoneylol commented on GitHub (Nov 24, 2026):

done: D3D-MULTI-VIEWPORT -> #510

<!-- gh-comment-id:7124148930 --> @jujumoneylol commented on GitHub (Nov 24, 2026): done: D3D-MULTI-VIEWPORT -> #510
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

finding: the GFX10 high-half keep of v_sat_pk_u8_i16 is cited to Mesa ACO instr_is_16bit and LLVM VOP1Inst_t16 (in #338's docs/design.md row and test docstring, and in the finding on #265), but neither says that for GFX10. ACO instr_is_16bit returns false for the op before GFX11: it is not in the list, and can_use_opsel falls through to get_gfx11_true16_mask, which has it, at 0x8 next to v_cvt_f16_f32, for GFX11+ only (src/amd/compiler/aco_ir.cpp, Mesa 99abc485). LLVM's VOP1Inst_t16 is the plain VOP1 instruction on GFX10, and GCNSubtarget::zeroesHigh16BitsOfDest does not list the op (LLVM e2b0a1e1), so LLVM assumes neither a kept nor a zeroed high half. What RDNA2 does with bits 31:16 is unmeasured; it needs an RDNA2 GPU (tools/int_hw_probe.py --oracle both, wave32 and wave64, a seeded high half). If the hardware zeroes them, #338's write_lo16 is wrong and the rule should write the whole register; wave64_halves stays safe either way. No game files.

<!-- gh-comment-id:7124150635 --> @milk4sale commented on GitHub (Nov 24, 2026): finding: the GFX10 high-half keep of `v_sat_pk_u8_i16` is cited to Mesa ACO `instr_is_16bit` and LLVM `VOP1Inst_t16` (in #338's `docs/design.md` row and test docstring, and in the finding on #265), but neither says that for GFX10. ACO `instr_is_16bit` returns false for the op before GFX11: it is not in the list, and `can_use_opsel` falls through to `get_gfx11_true16_mask`, which has it, at 0x8 next to `v_cvt_f16_f32`, for GFX11+ only (`src/amd/compiler/aco_ir.cpp`, Mesa `99abc485`). LLVM's `VOP1Inst_t16` is the plain VOP1 instruction on GFX10, and `GCNSubtarget::zeroesHigh16BitsOfDest` does not list the op (LLVM `e2b0a1e1`), so LLVM assumes neither a kept nor a zeroed high half. What RDNA2 does with bits 31:16 is unmeasured; it needs an RDNA2 GPU (`tools/int_hw_probe.py --oracle both`, wave32 and wave64, a seeded high half). If the hardware zeroes them, #338's `write_lo16` is wrong and the rule should write the whole register; `wave64_halves` stays safe either way. No game files.
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

claiming: SHADER-LDS-MSKOR-ATOMIC — replace the split OpAtomicAnd/OpAtomicOr lowering of ds_mskor[_rtn]_b32 with one compare-exchange loop. Contending lanes can currently leave a value impossible for a single masked-OR atomic. Scope: translator, focused multi-lane synthetic regression, and the existing contract row; native RTX 3080 validation. Adjacent #173 is a single-active-lane fixture and #413 is documentation only; this fixes contention semantics. No game files. AI-assisted: yes.

<!-- gh-comment-id:7124151261 --> @csmith105 commented on GitHub (Nov 24, 2026): claiming: SHADER-LDS-MSKOR-ATOMIC — replace the split OpAtomicAnd/OpAtomicOr lowering of ds_mskor[_rtn]_b32 with one compare-exchange loop. Contending lanes can currently leave a value impossible for a single masked-OR atomic. Scope: translator, focused multi-lane synthetic regression, and the existing contract row; native RTX 3080 validation. Adjacent #173 is a single-active-lane fixture and #413 is documentation only; this fixes contention semantics. No game files. AI-assisted: yes.
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

done: RT-LAZY-PSO -> #511

<!-- gh-comment-id:7124169632 --> @VibeClauding commented on GitHub (Nov 24, 2026): done: RT-LAZY-PSO -> #511
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

claiming: RT-4444-TARGET - B4G4R4A4_UNORM textures with ALLOW_RENDER_TARGET are refused (GetResourceAllocationInfo answers UINT64_MAX, the title then asserts) on GPUs where no 4444 Vulkan format is a colour attachment: NVIDIA has none of A4R4G4B4/R4G4B4A4/B4G4R4A4 renderable, sampled only (RTX 3070, 610.88). Fix: such a texture is an RGBA8 image (every 4-bit value fits exactly); RTVs and PSO target formats follow the image, its 4_4_4_4 T#s view it as RGBA8 with the 4444 channels. Buffer copies of it move 4-byte texels (stated, bounds still checked by replay). runtime/shims/d3d12_vulkan_device.cpp + a GPU test modelled on d3d12_b5g5r5a1_uav_test. AI-assisted.

<!-- gh-comment-id:7124169977 --> @VibeClauding commented on GitHub (Nov 24, 2026): claiming: RT-4444-TARGET - `B4G4R4A4_UNORM` textures with `ALLOW_RENDER_TARGET` are refused (`GetResourceAllocationInfo` answers `UINT64_MAX`, the title then asserts) on GPUs where no 4444 Vulkan format is a colour attachment: NVIDIA has none of `A4R4G4B4`/`R4G4B4A4`/`B4G4R4A4` renderable, sampled only (RTX 3070, 610.88). Fix: such a texture is an RGBA8 image (every 4-bit value fits exactly); RTVs and PSO target formats follow the image, its `4_4_4_4` T#s view it as RGBA8 with the 4444 channels. Buffer copies of it move 4-byte texels (stated, bounds still checked by replay). `runtime/shims/d3d12_vulkan_device.cpp` + a GPU test modelled on `d3d12_b5g5r5a1_uav_test`. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows review of #337 against #504 -> #337. D3D12Core and WARP 10.0.26100.7309 accepted all five disputed calls. Main passed 44/49 parity cases and the PR passed 51/51, including two true overruns. Report

<!-- gh-comment-id:7124171059 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows review of #337 against #504 -> #337. D3D12Core and WARP 10.0.26100.7309 accepted all five disputed calls. Main passed 44/49 parity cases and the PR passed 51/51, including two true overruns. [Report](https://github.com/ubiquitarianism/leonida/pull/337#issuecomment-7124165037)
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: TEST-WINE-HOST-GUARDS - eight tests compare the layer with the host's D3D12/DXGI without the runtime/test/host_wine.h guard the other host-comparison tests use, so under Wine they fail on Wine's own answers and the layer's side is misreported or never reached: d3d12_noop_copy, d3d12_indirect_dispatch_count, d3d12_typeless_depth, d3d12_residency, d3d12_heap_properties, dxgi_swapchain, dxgi_host_parity, dxgi_waitable_latency.

Measured on main 8f481cf16, cross-built with clang-cl 23.1.4 and xwin, under wine-staging 11.21 on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), where all eight fail:

  • d3d12_noop_copy: vkd3d accepts the upload-heap self-copy, so the test stops at "native WARP incorrectly accepted" before it checks the layer.
  • d3d12_indirect_dispatch_count: exits 1 with no message right after D3DCompile of the reference shader, before the layer runs.
  • d3d12_typeless_depth: the host reads both planes back as zeros; the layer holds the cleared values (00 00 40 and 00 00 80 3e for depth 0.25, stencil 5a).
  • d3d12_residency, d3d12_heap_properties: vkd3d answers S_OK to residency calls the layer refuses with E_INVALIDARG, and reports other heap flags (0 where the layer reports 0xc0, for example): 14 and 44 mismatches.
  • dxgi_swapchain: 18 of 45 CreateSwapChainForHwnd answers differ from Wine's DXGI, and the test returns before its own swap-chain checks.
  • dxgi_host_parity, dxgi_waitable_latency: the host side ends in a page fault inside Wine's own wined3d / dxgi on a null out-pointer (GetBuffer(0, iid, null), GetMaximumFrameLatency(null)).

I will skip the host comparison under Wine and keep every check of the layer that does not need the host (exit 77 where every case is a host comparison). Tests only, no layer change; on Windows they run as before. No open pull request touches these eight files.

Not included: d3d12_clear and d3d12_clear_formats fail the same way here (in d3d12_clear_formats the layer has the stencil values that were cleared and Wine's host reads 0), but #307 and #428 touch those files.

No game files. AI-assisted.

<!-- gh-comment-id:7124174128 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: TEST-WINE-HOST-GUARDS - eight tests compare the layer with the host's D3D12/DXGI without the `runtime/test/host_wine.h` guard the other host-comparison tests use, so under Wine they fail on Wine's own answers and the layer's side is misreported or never reached: `d3d12_noop_copy`, `d3d12_indirect_dispatch_count`, `d3d12_typeless_depth`, `d3d12_residency`, `d3d12_heap_properties`, `dxgi_swapchain`, `dxgi_host_parity`, `dxgi_waitable_latency`. Measured on `main` 8f481cf16, cross-built with clang-cl 23.1.4 and xwin, under wine-staging 11.21 on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), where all eight fail: - `d3d12_noop_copy`: vkd3d accepts the upload-heap self-copy, so the test stops at "native WARP incorrectly accepted" before it checks the layer. - `d3d12_indirect_dispatch_count`: exits 1 with no message right after `D3DCompile` of the reference shader, before the layer runs. - `d3d12_typeless_depth`: the host reads both planes back as zeros; the layer holds the cleared values (`00 00 40` and `00 00 80 3e` for depth 0.25, stencil `5a`). - `d3d12_residency`, `d3d12_heap_properties`: vkd3d answers `S_OK` to residency calls the layer refuses with `E_INVALIDARG`, and reports other heap flags (0 where the layer reports `0xc0`, for example): 14 and 44 mismatches. - `dxgi_swapchain`: 18 of 45 `CreateSwapChainForHwnd` answers differ from Wine's DXGI, and the test returns before its own swap-chain checks. - `dxgi_host_parity`, `dxgi_waitable_latency`: the host side ends in a page fault inside Wine's own `wined3d` / `dxgi` on a null out-pointer (`GetBuffer(0, iid, null)`, `GetMaximumFrameLatency(null)`). I will skip the host comparison under Wine and keep every check of the layer that does not need the host (exit 77 where every case is a host comparison). Tests only, no layer change; on Windows they run as before. No open pull request touches these eight files. Not included: `d3d12_clear` and `d3d12_clear_formats` fail the same way here (in `d3d12_clear_formats` the layer has the stencil values that were cleared and Wine's host reads 0), but #307 and #428 touch those files. No game files. AI-assisted.
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

done: RT-CBV-VSHARP-STRIDE -> #513

<!-- gh-comment-id:7124177472 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): done: RT-CBV-VSHARP-STRIDE -> #513
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: PS-INPUT-SIGNATURE — select pixel shader translations by source container input signature, including SV_Position depth/reciprocal-W conventions. Depends on VS-INPUT-SIGNATURE (#505).

<!-- gh-comment-id:7124199562 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: PS-INPUT-SIGNATURE — select pixel shader translations by source container input signature, including SV_Position depth/reciprocal-W conventions. Depends on VS-INPUT-SIGNATURE (#505).
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: PS-INPUT-SIGNATURE -> #514 (depends on #505)

<!-- gh-comment-id:7124206086 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: PS-INPUT-SIGNATURE -> #514 (depends on #505)
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: D3D-CLEAR-DEPTH-RANGE - fix the d3d12_clear Vulkan validation errors in #506. Enable VK_EXT_depth_range_unrestricted where supported, and keep clears valid when it is unavailable. Covers full and rectangle depth clears with synthetic WARP parity and Vulkan validation. Scope is the depth-clear half of #506. AI-assisted: yes.

<!-- gh-comment-id:7124229097 --> @sodove commented on GitHub (Nov 24, 2026): claiming: D3D-CLEAR-DEPTH-RANGE - fix the d3d12_clear Vulkan validation errors in #506. Enable VK_EXT_depth_range_unrestricted where supported, and keep clears valid when it is unavailable. Covers full and rectangle depth clears with synthetic WARP parity and Vulkan validation. Scope is the depth-clear half of #506. AI-assisted: yes.
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

done: TEST-FCMPSWAP-NAN-POSTSTATE -> #515. Native RTX 3080 negative control confirms the old fixture accepts a wrong NaN update and the corrected fixture rejects it. 6,106 semantic tests; zero failed files. PR documents the separate baseline GPUAV limitation. AI-assisted.

<!-- gh-comment-id:7124235212 --> @csmith105 commented on GitHub (Nov 24, 2026): done: TEST-FCMPSWAP-NAN-POSTSTATE -> #515. Native RTX 3080 negative control confirms the old fixture accepts a wrong NaN update and the corrected fixture rejects it. 6,106 semantic tests; zero failed files. PR documents the separate baseline GPUAV limitation. AI-assisted.
Author
Owner

@ethanweave commented on GitHub (Nov 24, 2026):

claiming: GPU test result for NVIDIA GeForce RTX 4050 Laptop GPU on current main, in the new gpu-test-results/ format. I will run the synthetic GPU suite (native and wave64-emulated) and the full Windows ctest with the portable clang-cl/xwin toolchain, then open one results PR. No game files. AI-assisted (Codex).

<!-- gh-comment-id:7124283096 --> @ethanweave commented on GitHub (Nov 24, 2026): claiming: GPU test result for NVIDIA GeForce RTX 4050 Laptop GPU on current main, in the new `gpu-test-results/` format. I will run the synthetic GPU suite (native and wave64-emulated) and the full Windows ctest with the portable clang-cl/xwin toolchain, then open one results PR. No game files. AI-assisted (Codex).
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: runtime/test/d3d12_pipeline_library_host_test.cpp:108-111 ("create: its own blob, last byte flipped") is red on every real GPU I have run it on, and I found no open pull request or issue that names it. Our CreatePipelineLibrary returns E_INVALIDARG (0x80070057) when we are handed our own serialized blob with its last byte flipped, and the host D3D12 device returns S_OK (0x0) for the same call, so the comparison at :396-397 counts two mismatches (the pair of rows: the call and its (output) variant, ours 0x2 against the host's 0x1) and the test fails. Needs a host D3D12 device, so it skips in CI (:8: "Skips (77) without a Vulkan GPU; without a host D3D12 device"): that is why it has stayed unseen. No game files.

What I measured, on ece4ba5b3 with nothing on top of it, one build (RelWithDebInfo, Visual Studio 17 2022 generator, Windows build 26300), ctest --test-dir <build> -C RelWithDebInfo -j 4 --output-on-failure: 304 tests registered, 277 passed, 18 skipped, 1 not run, 8 failed (97% tests passed, 8 tests failed out of 303, Total Test time (real) = 133.72 s), and this is one of the 8. The device was the integrated GPU of this machine (AMD Radeon(TM) Graphics, a Ryzen 7 7800X3D, gfx1036, selected with LEONIDA_VK_DEVICE=radeon, LEONIDA_HW_ARCH=gfx1036); its own output line is

pipeline library create: its own blob, last byte flipped: ours 0x80070057 host 0x0  MISMATCH
pipeline library create: its own blob, last byte flipped (output): ours 0x2 host 0x1  MISMATCH
pipeline library: 74 steps compared with the host (20 more not compared), 2 mismatches

The same two rows mismatch, with the same four values, on the discrete NVIDIA GeForce RTX 4090 in this same machine, and they mismatched identically in my three runs on de4c37383 on 2026-11-23 (logs ctest_4090_guardia.log, ctest_amd_guardia.log, ctest_amd_full.log). In those runs the other 72 compared rows agreed on both devices, including "create: its own blob, first byte flipped", where both sides reject — so the disagreement is only about the last byte.

What I cannot decide, and why I am not sending code: our 16-byte format is not the host's (the empty-library sizes differ, ours 0x10 against host 0x368, and the test already treats the size and the bytes as "each device's own format and are not compared" at :7 and :300, and skips a row the host faults on at :7-8). So either (a) a blob whose trailing byte is corrupt should be refused, our behaviour is right, and these two rows compare across two formats that the file itself says are not comparable; or (b) the host is telling us something real — that a trailing byte is not part of what a pipeline library blob means to it — and our validation is stricter than the console's. (b) would matter for the title, and I have no measurement of the title's own use of a pipeline library to support either reading. Each candidate fix is a few characters in that one table row, which is why I think it is the test author's call rather than mine.

For the record, the other 7 failures of that run, so nobody has to rediscover them: vk_queue_query_sync, vk_presenter_sync, d3d12_vulkan_device, d3d12_texture_tiles, d3d12_execute_indirect_validation, d3d12_clear, xbox_present. I am not reporting those as findings — the names appear in open pull requests already (#408, #77, #113, #444, #402, #512, #138), so they are being worked on by their authors; I list them only with the exact commit and device so the numbers are on the record.

<!-- gh-comment-id:7124291293 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: `runtime/test/d3d12_pipeline_library_host_test.cpp:108-111` ("create: its own blob, last byte flipped") is red on every real GPU I have run it on, and I found no open pull request or issue that names it. Our `CreatePipelineLibrary` returns `E_INVALIDARG` (`0x80070057`) when we are handed our own serialized blob with its last byte flipped, and the host D3D12 device returns `S_OK` (`0x0`) for the same call, so the comparison at `:396-397` counts two mismatches (the pair of rows: the call and its `(output)` variant, ours `0x2` against the host's `0x1`) and the test fails. Needs a host D3D12 device, so it skips in CI (`:8`: "Skips (77) without a Vulkan GPU; without a host D3D12 device"): that is why it has stayed unseen. No game files. What I measured, on `ece4ba5b3` with nothing on top of it, one build (`RelWithDebInfo`, Visual Studio 17 2022 generator, Windows build 26300), `ctest --test-dir <build> -C RelWithDebInfo -j 4 --output-on-failure`: 304 tests registered, 277 passed, 18 skipped, 1 not run, 8 failed (`97% tests passed, 8 tests failed out of 303`, `Total Test time (real) = 133.72 s`), and this is one of the 8. The device was the integrated GPU of this machine (`AMD Radeon(TM) Graphics`, a Ryzen 7 7800X3D, gfx1036, selected with `LEONIDA_VK_DEVICE=radeon`, `LEONIDA_HW_ARCH=gfx1036`); its own output line is ``` pipeline library create: its own blob, last byte flipped: ours 0x80070057 host 0x0 MISMATCH pipeline library create: its own blob, last byte flipped (output): ours 0x2 host 0x1 MISMATCH pipeline library: 74 steps compared with the host (20 more not compared), 2 mismatches ``` The same two rows mismatch, with the same four values, on the discrete NVIDIA GeForce RTX 4090 in this same machine, and they mismatched identically in my three runs on `de4c37383` on 2026-11-23 (logs `ctest_4090_guardia.log`, `ctest_amd_guardia.log`, `ctest_amd_full.log`). In those runs the other 72 compared rows agreed on both devices, including "create: its own blob, first byte flipped", where both sides reject — so the disagreement is only about the last byte. What I cannot decide, and why I am not sending code: our 16-byte format is not the host's (the empty-library sizes differ, `ours 0x10` against `host 0x368`, and the test already treats the size and the bytes as "each device's own format and are not compared" at `:7` and `:300`, and skips a row the host faults on at `:7-8`). So either (a) a blob whose trailing byte is corrupt should be refused, our behaviour is right, and these two rows compare across two formats that the file itself says are not comparable; or (b) the host is telling us something real — that a trailing byte is not part of what a pipeline library blob means to it — and our validation is stricter than the console's. (b) would matter for the title, and I have no measurement of the title's own use of a pipeline library to support either reading. Each candidate fix is a few characters in that one table row, which is why I think it is the test author's call rather than mine. For the record, the other 7 failures of that run, so nobody has to rediscover them: `vk_queue_query_sync`, `vk_presenter_sync`, `d3d12_vulkan_device`, `d3d12_texture_tiles`, `d3d12_execute_indirect_validation`, `d3d12_clear`, `xbox_present`. I am not reporting those as findings — the names appear in open pull requests already (#408, #77, #113, #444, #402, #512, #138), so they are being worked on by their authors; I list them only with the exact commit and device so the numbers are on the record.
Author
Owner

@pwu2775-dev commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4070 - a GPU-test record in the gpu-test-results/ format for an NVIDIA GeForce RTX 4070 (Ada, desktop, subgroup 32) on Windows 11 with the MSVC and Ninja build (the existing RTX 4070 Ti record is Linux). I will build current main, run scripts/run_gpu_tests.py natively and under LEONIDA_W64_EMULATE=1, and add gpu-test-results/RTX4070.txt. Own hardware, no game files, nothing online. AI-assisted (Codex review of the file before posting).

<!-- gh-comment-id:7124319956 --> @pwu2775-dev commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4070 - a GPU-test record in the `gpu-test-results/` format for an NVIDIA GeForce RTX 4070 (Ada, desktop, subgroup 32) on Windows 11 with the MSVC and Ninja build (the existing RTX 4070 Ti record is Linux). I will build current `main`, run `scripts/run_gpu_tests.py` natively and under `LEONIDA_W64_EMULATE=1`, and add `gpu-test-results/RTX4070.txt`. Own hardware, no game files, nothing online. AI-assisted (Codex review of the file before posting).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: D3D-CLEAR-DEPTH-RANGE -> #516. Four depth-clear validation errors reproduced on RTX 5070 Ti. Both extension-enabled and restricted-depth CTests pass with validation on after the fix.

<!-- gh-comment-id:7124321511 --> @sodove commented on GitHub (Nov 24, 2026): done: D3D-CLEAR-DEPTH-RANGE -> #516. Four depth-clear validation errors reproduced on RTX 5070 Ti. Both extension-enabled and restricted-depth CTests pass with validation on after the fix.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: SHADER-LDS-BOUND-ACCESS — route ds_read_addtid_b32, ds_write_addtid_b32, ds_add[_rtn]_f32, and ds_cmpst[_rtn]_f32 through lds_load/lds_store/lds_access in ools/rdna2spirv.py so they honor lds_bound (SHADER-309) instead of calling lds_ptr directly and corrupting both out-of-bounds and non-power-of-two in-bounds LDS slots (AI-assisted).

中文翻译

认领:SHADER-LDS-BOUND-ACCESS — 将 ools/rdna2spirv.py 中 ds_read_addtid_b32、ds_write_addtid_b32、ds_add[_rtn]_f32 和 ds_cmpst[_rtn]_f32 统一接入 lds_load/lds_store/lds_access,避免绕过 lds_bound(SHADER-309)直接调用 lds_ptr 导致越界与非 2 的幂 LDS 分配下的合法槽位被静默破坏(AI 辅助)。

<!-- gh-comment-id:7124344566 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: SHADER-LDS-BOUND-ACCESS — route ds_read_addtid_b32, ds_write_addtid_b32, ds_add[_rtn]_f32, and ds_cmpst[_rtn]_f32 through lds_load/lds_store/lds_access in ools/rdna2spirv.py so they honor lds_bound (SHADER-309) instead of calling lds_ptr directly and corrupting both out-of-bounds and non-power-of-two in-bounds LDS slots (AI-assisted). <details> <summary>中文翻译</summary> 认领:SHADER-LDS-BOUND-ACCESS — 将 ools/rdna2spirv.py 中 ds_read_addtid_b32、ds_write_addtid_b32、ds_add[_rtn]_f32 和 ds_cmpst[_rtn]_f32 统一接入 lds_load/lds_store/lds_access,避免绕过 lds_bound(SHADER-309)直接调用 lds_ptr 导致越界与非 2 的幂 LDS 分配下的合法槽位被静默破坏(AI 辅助)。 </details>
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: MODS-PARSE-HEX-PREFIX — reject bare "0x"/"0X" model ids in leonida::mods::parse_model_id (runtime/src/mods.h, runtime/test/mods_test.cpp) instead of hashing them as names.

<!-- gh-comment-id:7124355946 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: MODS-PARSE-HEX-PREFIX — reject bare "0x"/"0X" model ids in leonida::mods::parse_model_id (runtime/src/mods.h, runtime/test/mods_test.cpp) instead of hashing them as names.
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

done: RT-4444-TARGET -> #517

<!-- gh-comment-id:7124355996 --> @VibeClauding commented on GitHub (Nov 24, 2026): done: RT-4444-TARGET -> #517
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: MODS-PARSE-HEX-PREFIX -> #518

<!-- gh-comment-id:7124357798 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: MODS-PARSE-HEX-PREFIX -> #518
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: D3D-291

The mesh statistics pool of runtime/src/vulkan_backend.h enables the two clipping bits that VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 lists among the ones that must not be active during a mesh draw, so the validation layer reports VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 on every DispatchMesh inside a statistics query. I will take it: the pool keeps the counters the VUID leaves allowed (fragment and compute invocations), the sum maps them to the D3D12 fields they belong to, and the clipping fields of a mesh segment read 0 because Vulkan offers no counter for them during a mesh draw.

No game files, no keys; the change is in the D3D12 to Vulkan layer and needs a GPU with VK_EXT_mesh_shader and the validation layer to confirm the VUID is gone.

<!-- gh-comment-id:7124368713 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: D3D-291 The mesh statistics pool of runtime/src/vulkan_backend.h enables the two clipping bits that VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 lists among the ones that must not be active during a mesh draw, so the validation layer reports VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 on every DispatchMesh inside a statistics query. I will take it: the pool keeps the counters the VUID leaves allowed (fragment and compute invocations), the sum maps them to the D3D12 fields they belong to, and the clipping fields of a mesh segment read 0 because Vulkan offers no counter for them during a mesh draw. No game files, no keys; the change is in the D3D12 to Vulkan layer and needs a GPU with VK_EXT_mesh_shader and the validation layer to confirm the VUID is gone.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: D3D-MESH-STATISTICS-QUERY - fix the mesh statistics half of #506. The existing mesh-only query pool still enables clipping counters forbidden by VUID 07076. Reproduced all three errors on RTX 5070 Ti. I will measure native D3D12 clipping behavior and preserve all legally queryable counters through the existing split and resolve path. Synthetic fixtures only. AI-assisted: yes.

<!-- gh-comment-id:7124372041 --> @sodove commented on GitHub (Nov 24, 2026): claiming: D3D-MESH-STATISTICS-QUERY - fix the mesh statistics half of #506. The existing mesh-only query pool still enables clipping counters forbidden by VUID 07076. Reproduced all three errors on RTX 5070 Ti. I will measure native D3D12 clipping behavior and preserve all legally queryable counters through the existing split and resolve path. Synthetic fixtures only. AI-assisted: yes.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: TEST-WINE-HOST-GUARDS -> #519

Under wine-staging 11.21 on an RTX 4070 Ti the eight tests go from 8 failed to 6 passed and 2 skipped (exit 77), and the whole suite from 23 failed to 15, with no other test changing. Tests only. Not run on Windows or built with MSVC; with the Wine check forced off, each test fails as it does on main. AI-assisted.

<!-- gh-comment-id:7124372912 --> @milk4sale commented on GitHub (Nov 24, 2026): done: TEST-WINE-HOST-GUARDS -> #519 Under wine-staging 11.21 on an RTX 4070 Ti the eight tests go from 8 failed to 6 passed and 2 skipped (exit 77), and the whole suite from 23 failed to 15, with no other test changing. Tests only. Not run on Windows or built with MSVC; with the Wine check forced off, each test fails as it does on `main`. AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: VULKAN-SCRATCH-ALIGN-OVERFLOW — avoid uint64_t wraparound when rounding chunk.used up to 256 bytes in ScratchBuffers::get (runtime/src/vulkan_scratch.h, runtime/test/vulkan_scratch_test.cpp).

<!-- gh-comment-id:7124375185 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: VULKAN-SCRATCH-ALIGN-OVERFLOW — avoid uint64_t wraparound when rounding chunk.used up to 256 bytes in ScratchBuffers::get (runtime/src/vulkan_scratch.h, runtime/test/vulkan_scratch_test.cpp).
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: VULKAN-SCRATCH-ALIGN-OVERFLOW -> #520

<!-- gh-comment-id:7124377128 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: VULKAN-SCRATCH-ALIGN-OVERFLOW -> #520
Author
Owner

@RedMiS7 commented on GitHub (Nov 24, 2026):

finding: restore my original PR ItsNotRexed/Leonida#5504 —
fix test_native_tool_paths failing with Windows ANSI code page 65001.

I am the original author, RedMiS7, and would like to carry this
work forward here.

The current main still contains the affected test:
tests/test_native_tool_paths.py:88-97.

My existing commits are:

  • 4e65324b: make the tests independent of the Windows code page.
  • 6d547b4d: cover a controlled successful short-path lookup.

The previous Windows verification passed all 9 tests, without skips.
No game files or GPU required. AI-assisted.

Please add a coordination item ID so I can claim it and submit
the migrated PR.

<!-- gh-comment-id:7124378898 --> @RedMiS7 commented on GitHub (Nov 24, 2026): finding: restore my original PR ItsNotRexed/Leonida#5504 — fix test_native_tool_paths failing with Windows ANSI code page 65001. I am the original author, RedMiS7, and would like to carry this work forward here. The current main still contains the affected test: tests/test_native_tool_paths.py:88-97. My existing commits are: - 4e65324b: make the tests independent of the Windows code page. - 6d547b4d: cover a controlled successful short-path lookup. The previous Windows verification passed all 9 tests, without skips. No game files or GPU required. AI-assisted. Please add a coordination item ID so I can claim it and submit the migrated PR.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: SHADER-LDS-BOUND-ACCESS -> #521 (AI-assisted)

中文翻译

已完成:SHADER-LDS-BOUND-ACCESS -> #521(AI 辅助)

<!-- gh-comment-id:7124380762 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: SHADER-LDS-BOUND-ACCESS -> #521 (AI-assisted) <details> <summary>中文翻译</summary> 已完成:SHADER-LDS-BOUND-ACCESS -> #521(AI 辅助) </details>
Author
Owner

@csmith105 commented on GitHub (Nov 24, 2026):

done: SHADER-LDS-MSKOR-ATOMIC -> #522. Native RTX 3080 reproduction: split AND/OR gives impossible [0,3,0,3]; CAS gives valid [0,1,2,1], GPUAV clean. 6,108 semantic tests with zero failed files; independent review and bounds/alias/EXEC checks pass. Documentation overlap with #413 is called out. AI-assisted.

<!-- gh-comment-id:7124391059 --> @csmith105 commented on GitHub (Nov 24, 2026): done: SHADER-LDS-MSKOR-ATOMIC -> #522. Native RTX 3080 reproduction: split AND/OR gives impossible [0,3,0,3]; CAS gives valid [0,1,2,1], GPUAV clean. 6,108 semantic tests with zero failed files; independent review and bounds/alias/EXEC checks pass. Documentation overlap with #413 is called out. AI-assisted.
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

claiming: new item: tests/test_cmake_translator_deps.py, tests/test_shader_stage_resume.py and tests/test_runtime_paths.py fail on main c023a365a. Since c93245784 (#462) tools/rdna2spirv.py imports rdna2_decode (and through it rdna2_isa_tables), and neither module is in the translator dependency list in CMake, the translation-source list in make_game.py or the runtime.yml path filter. Fix and PR follow shortly.

<!-- gh-comment-id:7124404311 --> @Boost9898 commented on GitHub (Nov 24, 2026): claiming: new item: `tests/test_cmake_translator_deps.py`, `tests/test_shader_stage_resume.py` and `tests/test_runtime_paths.py` fail on main `c023a365a`. Since c93245784 (#462) `tools/rdna2spirv.py` imports `rdna2_decode` (and through it `rdna2_isa_tables`), and neither module is in the translator dependency list in CMake, the translation-source list in `make_game.py` or the `runtime.yml` path filter. Fix and PR follow shortly.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

Boost9898: thanks for catching this — the missing rdna2_decode/rdna2_isa_tables dependency list was introduced by my #462. The claim is yours; I will not duplicate it. If you want review help or the exact verification commands, I can provide them.

<!-- gh-comment-id:7124427714 --> @bobcatchris commented on GitHub (Nov 24, 2026): Boost9898: thanks for catching this — the missing rdna2_decode/rdna2_isa_tables dependency list was introduced by my #462. The claim is yours; I will not duplicate it. If you want review help or the exact verification commands, I can provide them.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: DEPTH24-SCRATCH-BOUNDS-OVERFLOW — guard uint64/uint32 overflows in Depth24Converter::prepare, make_part, scratch, and run (runtime/src/vulkan_depth24.h, runtime/test/depth24_bounds_test.cpp, runtime/CMakeLists.txt).

<!-- gh-comment-id:7124435862 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: DEPTH24-SCRATCH-BOUNDS-OVERFLOW — guard uint64/uint32 overflows in Depth24Converter::prepare, make_part, scratch, and run (runtime/src/vulkan_depth24.h, runtime/test/depth24_bounds_test.cpp, runtime/CMakeLists.txt).
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: DEPTH24-SCRATCH-BOUNDS-OVERFLOW -> #524

<!-- gh-comment-id:7124437668 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: DEPTH24-SCRATCH-BOUNDS-OVERFLOW -> #524
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-ZERO-INIT-FILL-ALIGN — enforce 4-byte alignment for kCmdFillBuffer dstOffset and size (VUID-vkCmdFillBuffer-dstOffset-00024 / VUID-vkCmdFillBuffer-size-00028) in zero_compressed_image() (
untime/src/vulkan_replay.h) when zero-initializing 1-byte or 2-byte color textures on a copy-only queue via copy_scratch, with real Vulkan GPU readback tests in k_bc_zero_init_test.cpp (AI-assisted).

中文翻译

认领:VK-ZERO-INIT-FILL-ALIGN — 修复
untime/src/vulkan_replay.h 中 zero_compressed_image() 在仅拷贝队列通过 copy_scratch 零初始化 1 字节/2 字节彩色纹理时未对 kCmdFillBuffer 的 dstOffset 与 size 执行 4 字节对齐(违反 VUID-vkCmdFillBuffer-dstOffset-00024 / -size-00028)的问题,并在 k_bc_zero_init_test.cpp 中增加真实 Vulkan GPU 读回测试(AI 辅助)。

<!-- gh-comment-id:7124443786 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-ZERO-INIT-FILL-ALIGN — enforce 4-byte alignment for kCmdFillBuffer dstOffset and size (VUID-vkCmdFillBuffer-dstOffset-00024 / VUID-vkCmdFillBuffer-size-00028) in zero_compressed_image() ( untime/src/vulkan_replay.h) when zero-initializing 1-byte or 2-byte color textures on a copy-only queue via copy_scratch, with real Vulkan GPU readback tests in k_bc_zero_init_test.cpp (AI-assisted). <details> <summary>中文翻译</summary> 认领:VK-ZERO-INIT-FILL-ALIGN — 修复 untime/src/vulkan_replay.h 中 zero_compressed_image() 在仅拷贝队列通过 copy_scratch 零初始化 1 字节/2 字节彩色纹理时未对 kCmdFillBuffer 的 dstOffset 与 size 执行 4 字节对齐(违反 VUID-vkCmdFillBuffer-dstOffset-00024 / -size-00028)的问题,并在 k_bc_zero_init_test.cpp 中增加真实 Vulkan GPU 读回测试(AI 辅助)。 </details>
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

done: RT-PRESENTX-WINDOW-PUMP -> #526

<!-- gh-comment-id:7124466343 --> @Rain156 commented on GitHub (Nov 24, 2026): done: RT-PRESENTX-WINDOW-PUMP -> #526
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: D3D-MESH-STATISTICS-QUERY -> #527. All three mesh validation errors are gone on RTX 5070 Ti. The updated test verifies regular-draw clipping and mesh pixel-shader statistics.

<!-- gh-comment-id:7124471723 --> @sodove commented on GitHub (Nov 24, 2026): done: D3D-MESH-STATISTICS-QUERY -> #527. All three mesh validation errors are gone on RTX 5070 Ti. The updated test verifies regular-draw clipping and mesh pixel-shader statistics.
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

finding (follow-up to my XMem one above): committing physical pages on first touch is what old PR 7556 in the original repository did (not readable any more; docs/retail_boot_intel_host.md section 2 measured it clearing the 16 GB commit-limit stop in 3 of 3 runs). I find no old-pr/7556 branch or reopened draft here, so it would have to be redone onto main; credit to its author, not new. Still behind #417 (same file).

<!-- gh-comment-id:7124481634 --> @VibeClauding commented on GitHub (Nov 24, 2026): finding (follow-up to my XMem one above): committing physical pages on first touch is what old PR 7556 in the original repository did (not readable any more; `docs/retail_boot_intel_host.md` section 2 measured it clearing the 16 GB commit-limit stop in 3 of 3 runs). I find no `old-pr/7556` branch or reopened draft here, so it would have to be redone onto `main`; credit to its author, not new. Still behind #417 (same file).
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-ZERO-INIT-FILL-ALIGN -> #528 (AI-assisted)

中文翻译

已完成:VK-ZERO-INIT-FILL-ALIGN -> #528(AI 辅助)

<!-- gh-comment-id:7124482478 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-ZERO-INIT-FILL-ALIGN -> #528 (AI-assisted) <details> <summary>中文翻译</summary> 已完成:VK-ZERO-INIT-FILL-ALIGN -> #528(AI 辅助) </details>
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124404311) -> #529

<!-- gh-comment-id:7124489764 --> @Boost9898 commented on GitHub (Nov 24, 2026): done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124404311) -> #529
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

Withdrawing my D3D-MESH-STATISTICS-QUERY claim and duplicate #527. I missed the earlier D3D-291 claim by Mby159. The Windows/RTX 5070 Ti validation and native comparison are recorded in #506 for that work. Earlier claim

<!-- gh-comment-id:7124510654 --> @sodove commented on GitHub (Nov 24, 2026): Withdrawing my D3D-MESH-STATISTICS-QUERY claim and duplicate #527. I missed the earlier D3D-291 claim by Mby159. The Windows/RTX 5070 Ti validation and native comparison are recorded in #506 for that work. [Earlier claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124368713)
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

Verified #475 (SHADER-F64-OMODS) on its own head, and checked that its tests actually guard the change rather than just passing alongside it.

Green on head e983b38f6, each file run in a fresh checkout of that head with python -I / unittest discover:

test file result
tests/semantic/test_f64_round.py 7 tests, OK (1 skipped)
tests/semantic/test_valu_add_f64.py 8 tests, OK
tests/test_f64_diff.py 31 tests, OK
tests/test_f64_output_modifiers.py 2 tests, OK
tests/test_f64_transcendentals.py 2 tests, OK

Mutation check. The PR narrows what the binary64 VALU ops pass through to clamp_mods_f64: two call sites in tools/rdna2spirv.py change from mods to [m for m in mods if m == "clamp"]. I reverted both back to mods in the head tree and re-ran:

  • test_f64_output_modifiers — FAILED, failures=5 (it catches OpFMul %double appearing where only a clamp was expected)
  • test_valu_add_f64 — FAILED, failures=5
  • test_f64_round — FAILED, failures=4

So the tests are load-bearing: they fail when the fix is removed, which is the thing worth knowing before merging. File restored from a pristine copy afterwards, no changes left in the tree.

One note on the shape of the change, not a defect: the filter keeps clamp and drops mul:2 / mul:4 / div:2. The docstring says a caller whose own row measured an omod still passes it explicitly, so the dropped cases are the ones where RDNA2 measured nothing while denormals are kept — that matches the PR title, just worth a reviewer's eye that no row still relies on an implicit scale.

AI-assisted. Ran only the PR's own Python tests, no game files, no GPU.

<!-- gh-comment-id:7124522449 --> @Len1k commented on GitHub (Nov 24, 2026): Verified #475 (SHADER-F64-OMODS) on its own head, and checked that its tests actually guard the change rather than just passing alongside it. **Green on head `e983b38f6`**, each file run in a fresh checkout of that head with `python -I` / `unittest discover`: | test file | result | |---|---| | `tests/semantic/test_f64_round.py` | 7 tests, OK (1 skipped) | | `tests/semantic/test_valu_add_f64.py` | 8 tests, OK | | `tests/test_f64_diff.py` | 31 tests, OK | | `tests/test_f64_output_modifiers.py` | 2 tests, OK | | `tests/test_f64_transcendentals.py` | 2 tests, OK | **Mutation check.** The PR narrows what the binary64 VALU ops pass through to `clamp_mods_f64`: two call sites in `tools/rdna2spirv.py` change from `mods` to `[m for m in mods if m == "clamp"]`. I reverted both back to `mods` in the head tree and re-ran: - `test_f64_output_modifiers` — FAILED, `failures=5` (it catches `OpFMul %double` appearing where only a clamp was expected) - `test_valu_add_f64` — FAILED, `failures=5` - `test_f64_round` — FAILED, `failures=4` So the tests are load-bearing: they fail when the fix is removed, which is the thing worth knowing before merging. File restored from a pristine copy afterwards, no changes left in the tree. One note on the shape of the change, not a defect: the filter keeps `clamp` and drops `mul:2` / `mul:4` / `div:2`. The docstring says a caller whose own row measured an omod still passes it explicitly, so the dropped cases are the ones where RDNA2 measured nothing while denormals are kept — that matches the PR title, just worth a reviewer's eye that no row still relies on an implicit scale. *AI-assisted.* Ran only the PR's own Python tests, no game files, no GPU.
Author
Owner

@Ggfortnite99 commented on GitHub (Nov 24, 2026):

claiming: ASSET-AUDIO-SKIP - I will add a CLI option to skip audio asset extraction, preserve the current full-build default, and update resume/preflight tests and build docs.

<!-- gh-comment-id:7124525976 --> @Ggfortnite99 commented on GitHub (Nov 24, 2026): claiming: ASSET-AUDIO-SKIP - I will add a CLI option to skip audio asset extraction, preserve the current full-build default, and update resume/preflight tests and build docs.
Author
Owner

@nickfmbg commented on GitHub (Nov 24, 2026):

claiming:

  • GPU-RTX3050-LAPTOP - gpu-test-results record for an NVIDIA GeForce RTX 3050 6GB Laptop GPU (Ampere GA107, NVIDIA 621.24, Windows 11 26300) on main 8f481cf: run_gpu_tests.py native and LEONIDA_W64_EMULATE=1, ctest and the translator suite, plus #291 checked on this GPU.
  • TEST-CHURN-TEMP-DIR - runtime/test/d3d12_bindless_churn_test.cpp:404: d3d12_bindless_churn and d3d12_bindless_churn_validated run the same executable with one fixed %TEMP%\leonida_bindless_churn_test folder, so under ctest -j the first to finish removes the other's index.json and it fails at CreateComputePipelineState. Fix: a per-process folder, as d3d12_execute_indirect_validation_test does. No game files; needs a Vulkan GPU to reproduce.

AI-assisted (Claude Code).

<!-- gh-comment-id:7124547328 --> @nickfmbg commented on GitHub (Nov 24, 2026): claiming: - GPU-RTX3050-LAPTOP - gpu-test-results record for an NVIDIA GeForce RTX 3050 6GB Laptop GPU (Ampere GA107, NVIDIA 621.24, Windows 11 26300) on main 8f481cf: run_gpu_tests.py native and LEONIDA_W64_EMULATE=1, ctest and the translator suite, plus #291 checked on this GPU. - TEST-CHURN-TEMP-DIR - `runtime/test/d3d12_bindless_churn_test.cpp:404`: `d3d12_bindless_churn` and `d3d12_bindless_churn_validated` run the same executable with one fixed `%TEMP%\leonida_bindless_churn_test` folder, so under `ctest -j` the first to finish removes the other's `index.json` and it fails at `CreateComputePipelineState`. Fix: a per-process folder, as `d3d12_execute_indirect_validation_test` does. No game files; needs a Vulkan GPU to reproduce. AI-assisted (Claude Code).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: TEST-PIPELINE-LIBRARY-OWN-FORMAT - follow up on the CreatePipelineLibrary finding by fiestorra. The host rejects the trailing-byte mutation on Windows 11 26100 here and accepts it on the reported 26300 host. I will retain both format-specific results in the host report and assert rejection of the corrupted LPL1 header in the layer test. Tests and existing docs only, synthetic fixtures. AI-assisted: yes.

<!-- gh-comment-id:7124566226 --> @sodove commented on GitHub (Nov 24, 2026): claiming: TEST-PIPELINE-LIBRARY-OWN-FORMAT - follow up on the CreatePipelineLibrary finding by fiestorra. The host rejects the trailing-byte mutation on Windows 11 26100 here and accepts it on the reported 26300 host. I will retain both format-specific results in the host report and assert rejection of the corrupted LPL1 header in the layer test. Tests and existing docs only, synthetic fixtures. AI-assisted: yes.
Author
Owner

@nickfmbg commented on GitHub (Nov 24, 2026):

done: GPU-RTX3050-LAPTOP -> #530
done: TEST-CHURN-TEMP-DIR -> #531

<!-- gh-comment-id:7124574704 --> @nickfmbg commented on GitHub (Nov 24, 2026): done: GPU-RTX3050-LAPTOP -> #530 done: TEST-CHURN-TEMP-DIR -> #531
Author
Owner

@ethanweave commented on GitHub (Nov 24, 2026):

done: GPU result for RTX 4050 Laptop -> #532. It records native 197/248 and wave64-emulated 229/248 on current main, plus the full ctest result and the remaining known/toolchain failures. AI-assisted (Codex).

<!-- gh-comment-id:7124587088 --> @ethanweave commented on GitHub (Nov 24, 2026): done: GPU result for RTX 4050 Laptop -> #532. It records native 197/248 and wave64-emulated 229/248 on current main, plus the full ctest result and the remaining known/toolchain failures. AI-assisted (Codex).
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT55-DERIVED-GRAPHICS-PSO

Testing the Xbox derived-PSO route alongside the native graphics pipeline work. The Windows integration currently routes this slot to the PC reserved-resource method. I will check the requested interface and use the existing GPL stream-record implementation as the reference, with attribution. This is separate from ordinary PC resource allocation.

<!-- gh-comment-id:7124590548 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: RT-SLOT55-DERIVED-GRAPHICS-PSO Testing the Xbox derived-PSO route alongside the native graphics pipeline work. The Windows integration currently routes this slot to the PC reserved-resource method. I will check the requested interface and use the existing GPL stream-record implementation as the reference, with attribution. This is separate from ordinary PC resource allocation.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: TEST-PIPELINE-LIBRARY-OWN-FORMAT -> #533. Both native tests pass on RTX 5070 Ti. The host test compares 72 argument results and records the trailing-byte mutation separately, while the layer test explicitly rejects the corrupted LPL1 header. Original finding

<!-- gh-comment-id:7124600751 --> @sodove commented on GitHub (Nov 24, 2026): done: TEST-PIPELINE-LIBRARY-OWN-FORMAT -> #533. Both native tests pass on RTX 5070 Ti. The host test compares 72 argument results and records the trailing-byte mutation separately, while the layer test explicitly rejects the corrupted LPL1 header. [Original finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124291293)
Author
Owner

@pwu2775-dev commented on GitHub (Nov 24, 2026):

done: GPU-RTX4070 -> #534. RTX 4070 (Ada), NVIDIA 617.42, Windows 11: native 197/248 passed, 49 skipped, 2 failed; LEONIDA_W64_EMULATE=1 229/248, 17 skipped, 2 failed (the same two tfe fixtures as #31). AI-assisted.

<!-- gh-comment-id:7124613342 --> @pwu2775-dev commented on GitHub (Nov 24, 2026): done: GPU-RTX4070 -> #534. RTX 4070 (Ada), NVIDIA 617.42, Windows 11: native 197/248 passed, 49 skipped, 2 failed; LEONIDA_W64_EMULATE=1 229/248, 17 skipped, 2 failed (the same two tfe fixtures as #31). AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-SAMPLER-UNNORM-BIAS — zero mipLodBias when unnormalizedCoordinates is VK_TRUE in gfx10::vulkan_sampler() (runtime/src/gfx10_descriptors.h) to satisfy VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01074, with unit tests in runtime/test/gfx10_descriptors_test.cpp (AI-assisted).

中文翻译

认领:VK-SAMPLER-UNNORM-BIAS — 在 runtime/src/gfx10_descriptors.h 的 gfx10::vulkan_sampler() 中,当 unnormalizedCoordinates 为 VK_TRUE 时将 mipLodBias 清零以满足 VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01074,并在 runtime/test/gfx10_descriptors_test.cpp 中补充回归测试(AI 辅助)。

<!-- gh-comment-id:7124637043 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-SAMPLER-UNNORM-BIAS — zero `mipLodBias` when `unnormalizedCoordinates` is `VK_TRUE` in `gfx10::vulkan_sampler()` (`runtime/src/gfx10_descriptors.h`) to satisfy `VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01074`, with unit tests in `runtime/test/gfx10_descriptors_test.cpp` (AI-assisted). <details> <summary>中文翻译</summary> 认领:`VK-SAMPLER-UNNORM-BIAS` — 在 `runtime/src/gfx10_descriptors.h` 的 `gfx10::vulkan_sampler()` 中,当 `unnormalizedCoordinates` 为 `VK_TRUE` 时将 `mipLodBias` 清零以满足 `VUID-VkSamplerCreateInfo-unnormalizedCoordinates-01074`,并在 `runtime/test/gfx10_descriptors_test.cpp` 中补充回归测试(AI 辅助)。 </details>
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows GPU verification of #513, covering valid row-indexed reads through CreateConstantBufferView on current main and the PR head. This is a review of the existing PR. Synthetic fixtures only; AI-assisted.

<!-- gh-comment-id:7124647661 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows GPU verification of #513, covering valid row-indexed reads through CreateConstantBufferView on current main and the PR head. This is a review of the existing PR. Synthetic fixtures only; AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-SAMPLER-UNNORM-BIAS -> #535 (AI-assisted)

中文翻译

完成:VK-SAMPLER-UNNORM-BIAS -> #535(AI 辅助)

<!-- gh-comment-id:7124668823 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-SAMPLER-UNNORM-BIAS -> #535 (AI-assisted) <details> <summary>中文翻译</summary> 完成:VK-SAMPLER-UNNORM-BIAS -> #535(AI 辅助) </details>
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: with the device slots now merged, the title's next stop is one the chain does not have a row for

On d42773d07, built here and run against the 1.0.2.1 executable and package (LEONIDA_D3D12=vulkan, Radeon 780M integrated GPU, gfx1036, Windows build 26300), the first stop is device slot 73 CreateCommandListX: 13 recorded calls, QueryInterface: unknown IID {c3827890-4024-474c-98cf-645b51dc4874}, #13 ID3D12Device::CreateCommandList failed, then the title's own 0x80000003 assert. That is the same device slot as docs/retail_boot_chain.md row 9, though it no longer stops the way the row describes: with the routing that row asks for now in main, the call itself is forwarded and the title is refused the interface it asks for. It is already claimed — three open pull requests (#142 draft, #359, #445) each take a different route past the same IID, so I am not claiming anything here, only reporting what is behind them.

Applying either of them (I cherry-picked each onto d42773d07, both applied cleanly and both built) carries the boot to 1619 successful calls. The next stop is then the title asserting on itself with 0x80000003 at game_scarlett_master.exe+0x247af2d, reached from +0x2479430, right after:

  • ID3D12Device10::CreateCommittedResource3 ok, through the merged slot 25 GetResourceAllocationInfo and slot 127 routes ([rt] d3d12_xs: slot 127 resource: dimension=3 xbox layout=0x0 -> PC layout=0x0, xbox flags 0x300005 -> PC flags 0x5);
  • a run of CreateShaderResourceView, CreateRenderTargetView and CreateUnorderedAccessView calls, which stay recorded as called because they return void;
  • ID3D12GraphicsCommandList::Close and XboxIDXGIDevice::GetAdapter earlier in the same phase.

Two consequences for the chain document, which I have not opened a pull request for so it stays with whoever works these rows:

  • There is no row for this stop. The deepest row today is 13, and the sequence above goes past where row 13 describes: CreateDescriptorHeap succeeds here and is followed by more successful calls, so the heap-handle question in boot.md Q4 did not reproduce on this machine once the device slots landed. I would not read that as an answer to Q4 — it says the path reaches Q4 differently, not that Q4 is settled.
  • tools/boot_trace.py reads this off the traces with no special hardware: any Vulkan device reproduces the same call order and the same assert. Only the exact call count depends on the device, so I would not treat these counts as portable numbers.

Telling the two authors separately, in their pull requests: their changes build and run on top of d42773d07, and #359's earlier commit is now redundant with the merged slot 26/48/70/25 work (#349, #350, #356, #362) while its last commit still applies cleanly.

<!-- gh-comment-id:7124676161 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: with the device slots now merged, the title's next stop is one the chain does not have a row for On `d42773d07`, built here and run against the 1.0.2.1 executable and package (`LEONIDA_D3D12=vulkan`, Radeon 780M integrated GPU, gfx1036, Windows build 26300), the first stop is device slot 73 `CreateCommandListX`: 13 recorded calls, `QueryInterface: unknown IID {c3827890-4024-474c-98cf-645b51dc4874}`, `#13 ID3D12Device::CreateCommandList failed`, then the title's own `0x80000003` assert. That is the same device slot as `docs/retail_boot_chain.md` row 9, though it no longer stops the way the row describes: with the routing that row asks for now in `main`, the call itself is forwarded and the title is refused the interface it asks for. It is already claimed — three open pull requests (#142 draft, #359, #445) each take a different route past the same IID, so I am not claiming anything here, only reporting what is behind them. Applying either of them (I cherry-picked each onto `d42773d07`, both applied cleanly and both built) carries the boot to 1619 successful calls. The next stop is then the title asserting on itself with `0x80000003` at `game_scarlett_master.exe+0x247af2d`, reached from `+0x2479430`, right after: - `ID3D12Device10::CreateCommittedResource3` ok, through the merged slot 25 `GetResourceAllocationInfo` and slot 127 routes (`[rt] d3d12_xs: slot 127 resource: dimension=3 xbox layout=0x0 -> PC layout=0x0, xbox flags 0x300005 -> PC flags 0x5`); - a run of `CreateShaderResourceView`, `CreateRenderTargetView` and `CreateUnorderedAccessView` calls, which stay recorded as `called` because they return void; - `ID3D12GraphicsCommandList::Close` and `XboxIDXGIDevice::GetAdapter` earlier in the same phase. Two consequences for the chain document, which I have not opened a pull request for so it stays with whoever works these rows: - There is no row for this stop. The deepest row today is 13, and the sequence above goes past where row 13 describes: `CreateDescriptorHeap` succeeds here and is followed by more successful calls, so the heap-handle question in [boot.md](boot.md) Q4 did **not** reproduce on this machine once the device slots landed. I would not read that as an answer to Q4 — it says the path reaches Q4 differently, not that Q4 is settled. - `tools/boot_trace.py` reads this off the traces with no special hardware: any Vulkan device reproduces the same call order and the same assert. Only the exact call count depends on the device, so I would not treat these counts as portable numbers. Telling the two authors separately, in their pull requests: their changes build and run on top of `d42773d07`, and #359's earlier commit is now redundant with the merged slot 26/48/70/25 work (#349, #350, #356, #362) while its last commit still applies cleanly.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows GPU verification of #513 -> #513. Indexed rows went from 8/128 matching words on main to 128/128 with the PR. Both controls and the stock compute test pass with the PR. Report

<!-- gh-comment-id:7124692245 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows GPU verification of #513 -> #513. Indexed rows went from 8/128 matching words on main to 128/128 with the PR. Both controls and the stock compute test pass with the PR. [Report](https://github.com/ubiquitarianism/leonida/pull/513#issuecomment-7124688847)
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-DRAW-INDEX-OFFSET-ALIGN — validate vkCmdBindIndexBuffer offset alignment (VUID-vkCmdBindIndexBuffer-offset-08783: 2-byte for VK_INDEX_TYPE_UINT16, 4-byte for VK_INDEX_TYPE_UINT32) in prepare_draw() (runtime/src/vulkan_replay.h) and add regression tests in runtime/test/d3d12_state_map_test.cpp (AI-assisted).

中文翻译

认领:VK-DRAW-INDEX-OFFSET-ALIGN — 在 runtime/src/vulkan_replay.h 的 prepare_draw() 中校验 vkCmdBindIndexBuffer 偏移对齐(VUID-vkCmdBindIndexBuffer-offset-08783:VK_INDEX_TYPE_UINT16 需 2 字节对齐、VK_INDEX_TYPE_UINT32 需 4 字节对齐),并在 runtime/test/d3d12_state_map_test.cpp 中补充回归测试(AI 辅助)。

<!-- gh-comment-id:7124711779 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-DRAW-INDEX-OFFSET-ALIGN — validate `vkCmdBindIndexBuffer` offset alignment (`VUID-vkCmdBindIndexBuffer-offset-08783`: 2-byte for `VK_INDEX_TYPE_UINT16`, 4-byte for `VK_INDEX_TYPE_UINT32`) in `prepare_draw()` (`runtime/src/vulkan_replay.h`) and add regression tests in `runtime/test/d3d12_state_map_test.cpp` (AI-assisted). <details> <summary>中文翻译</summary> 认领:`VK-DRAW-INDEX-OFFSET-ALIGN` — 在 `runtime/src/vulkan_replay.h` 的 `prepare_draw()` 中校验 `vkCmdBindIndexBuffer` 偏移对齐(`VUID-vkCmdBindIndexBuffer-offset-08783`:`VK_INDEX_TYPE_UINT16` 需 2 字节对齐、`VK_INDEX_TYPE_UINT32` 需 4 字节对齐),并在 `runtime/test/d3d12_state_map_test.cpp` 中补充回归测试(AI 辅助)。 </details>
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows GPU review of #517, focusing on 4444 full and rectangle clears whose inputs need quantization and comparison with native D3D12. Existing PR review, synthetic fixtures only; AI-assisted.

<!-- gh-comment-id:7124736777 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows GPU review of #517, focusing on 4444 full and rectangle clears whose inputs need quantization and comparison with native D3D12. Existing PR review, synthetic fixtures only; AI-assisted.
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

done: RT-XAPPCAPTURE -> #537

Serves XAppCaptureImpl from xgameruntime.cpp (full IXAppCaptureImpl .. 4 layout, every method E_NOTIMPL offline, class id + v2/v3/v4 interface ids answered). xgameruntime_test 161/161 under Wine (3 new checks); full ctest identical failure set before/after (23 documented headless-Wine environment failures both ways, 276/299); test_gdk_runtime_calls.py green; gdk_runtime_calls.py on the exe now reports every referenced thunk served (not-served=-, 158/158). AI-assisted.

<!-- gh-comment-id:7124744224 --> @tengotengo commented on GitHub (Nov 24, 2026): done: RT-XAPPCAPTURE -> #537 Serves XAppCaptureImpl from xgameruntime.cpp (full IXAppCaptureImpl .. 4 layout, every method E_NOTIMPL offline, class id + v2/v3/v4 interface ids answered). xgameruntime_test 161/161 under Wine (3 new checks); full ctest identical failure set before/after (23 documented headless-Wine environment failures both ways, 276/299); test_gdk_runtime_calls.py green; gdk_runtime_calls.py on the exe now reports every referenced thunk served (not-served=-, 158/158). AI-assisted.
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: RT-GRAPHICS-SHADER-MODULE-REUSE

Measuring the driver memory used by graphics pipeline creation on the native Windows/NVIDIA frame loop. I will check whether multiple pipelines on one device can share identical final Vulkan shader modules while keeping their pipeline and COM state independent. This is separate from the persistent pipeline cache.

<!-- gh-comment-id:7124767378 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: RT-GRAPHICS-SHADER-MODULE-REUSE Measuring the driver memory used by graphics pipeline creation on the native Windows/NVIDIA frame loop. I will check whether multiple pipelines on one device can share identical final Vulkan shader modules while keeping their pipeline and COM state independent. This is separate from the persistent pipeline cache.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-DRAW-INDEX-OFFSET-ALIGN -> #539 (AI-assisted)

中文翻译

完成:VK-DRAW-INDEX-OFFSET-ALIGN -> #539(AI 辅助)

<!-- gh-comment-id:7124776097 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-DRAW-INDEX-OFFSET-ALIGN -> #539 (AI-assisted) <details> <summary>中文翻译</summary> 完成:VK-DRAW-INDEX-OFFSET-ALIGN -> #539(AI 辅助) </details>
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

following up on the stop I described above, since the order of things changed after I posted it. I tested the two open pull requests that target it, on the same build and machine as before (d42773d07, integrated Radeon 780M):

  • #375's five remaining commits apply cleanly on today's main and build, but on their own the title still stops at the slot-73 command-list IID: nothing in #375 is reachable until that IID is answered. Its dependency list (#349, #350, #356, #362, #369) is now fully merged, so the IID is what is missing from it.
  • With #445's IID mapping applied as well, the 2 MiB span assert #375 targets does not trip any more (I read the check in the title: cmp rax,1FFFFFh; jbe <ok>; int 3), and the run ends differently: a C++ throw 0xe06d7363 from inside XboxBvhBuilder.dll, called by the title through a function pointer it holds in its own data. 1619 successful D3D12 calls, same as without #375.

So the order on this machine is: answer the IID (#142, #359 or #445), then #375 clears its own stop, and the next thing is inside the BVH builder — which I have not looked into and am not claiming. Details with the measured addresses are on #375.

<!-- gh-comment-id:7124782174 --> @fiestorra commented on GitHub (Nov 24, 2026): following up on the stop I described above, since the order of things changed after I posted it. I tested the two open pull requests that target it, on the same build and machine as before (`d42773d07`, integrated Radeon 780M): - #375's five remaining commits apply cleanly on today's `main` and build, but on their own the title still stops at the slot-73 command-list IID: nothing in #375 is reachable until that IID is answered. Its dependency list (#349, #350, #356, #362, #369) is now fully merged, so the IID is what is missing from it. - With #445's IID mapping applied as well, the 2 MiB span assert #375 targets does not trip any more (I read the check in the title: `cmp rax,1FFFFFh; jbe <ok>; int 3`), and the run ends differently: a C++ throw `0xe06d7363` from inside `XboxBvhBuilder.dll`, called by the title through a function pointer it holds in its own data. 1619 successful D3D12 calls, same as without #375. So the order on this machine is: answer the IID (#142, #359 or #445), then #375 clears its own stop, and the next thing is inside the BVH builder — which I have not looked into and am not claiming. Details with the measured addresses are on #375.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: D3D-291 -> #540

The mesh statistics pool now enables only the fragment and compute invocations, the two VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 leaves allowed; the sum copies them into the PSInvocations and CSInvocations fields, and the clipping fields of a mesh segment read 0 because Vulkan has no counter for them during a mesh draw. #527 reached the same change and was withdrawn as a duplicate of this claim; its validation-layer and WARP/D3D12 measurements are quoted in the pull request.

<!-- gh-comment-id:7124790104 --> @Mby159 commented on GitHub (Nov 24, 2026): done: D3D-291 -> #540 The mesh statistics pool now enables only the fragment and compute invocations, the two VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 leaves allowed; the sum copies them into the PSInvocations and CSInvocations fields, and the clipping fields of a mesh segment read 0 because Vulkan has no counter for them during a mesh draw. #527 reached the same change and was withdrawn as a duplicate of this claim; its validation-layer and WARP/D3D12 measurements are quoted in the pull request.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4080-WIN — gpu-test-results/RTX4080.txt: run_gpu_tests.py on an NVIDIA GeForce RTX 4080 (Windows 11, driver 621.24), native and LEONIDA_W64_EMULATE=1. No game files.

<!-- gh-comment-id:7124790216 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4080-WIN — gpu-test-results/RTX4080.txt: run_gpu_tests.py on an NVIDIA GeForce RTX 4080 (Windows 11, driver 621.24), native and LEONIDA_W64_EMULATE=1. No game files.
Author
Owner

@RedMiS7 commented on GitHub (Nov 24, 2026):

claiming: TEST-NATIVE-FOLDER-FAILURES — add deterministic
Windows tests for native_folder() when GetShortPathNameW
fails, reports an insufficient buffer, or returns a path
outside the selected code page.

Test-only; does not duplicate #483's UTF-8/code-page fix.
No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7124805803 --> @RedMiS7 commented on GitHub (Nov 24, 2026): claiming: TEST-NATIVE-FOLDER-FAILURES — add deterministic Windows tests for native_folder() when GetShortPathNameW fails, reports an insufficient buffer, or returns a path outside the selected code page. Test-only; does not duplicate #483's UTF-8/code-page fix. No game files or GPU required. AI-assisted.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

done: GPU-RTX4080-WIN -> #541

<!-- gh-comment-id:7124814497 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): done: GPU-RTX4080-WIN -> #541
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows GPU review of #517 -> #517. The stock target test passes with the PR after failing the allocation check on main. A separate clear test found a 4-bit precision difference against WARP in both full and rectangle clears. Report

<!-- gh-comment-id:7124821527 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows GPU review of #517 -> #517. The stock target test passes with the PR after failing the allocation check on main. A separate clear test found a 4-bit precision difference against WARP in both full and rectangle clears. [Report](https://github.com/ubiquitarianism/leonida/pull/517#issuecomment-7124817881)
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: the stop I reported above is already in the tree as stop 18, and an AMD host reaches it the same way

Correcting one thing I said: I compared the point where the boot ends after the device-slot work only against docs/retail_boot_chain.md, which stops at row 13, and wrote that nothing had a row for it. retail_boot_intel_host.md does have it — stop 18, "C++ throw in XboxBvhBuilder.dll at its first compute pipeline", after 1,640 D3D12 calls. My earlier comment should have pointed there.

What I can add is a second host reaching the same module and the same kind of failure, with one difference that matters. On the machine I am using — AMD Radeon 780M integrated GPU (gfx1036), 32 GB, Windows build 26300, d42773d07 with the merged slot 25/26/48/70/127 work plus the open #445 IID mapping and #375's five remaining commits — the run ends with 0xe06d7363 thrown from inside XboxBvhBuilder.dll (frames +0x213a1, +0xd8a1, +0x204bc, +0xc525 through VCRUNTIME140.dll), at 1,639 recorded D3D12 calls with 1619 ok, essentially the count that document reports. The stop its commits call RT-5 stop 17 — the title's span assert — is the one I measured on the way there, and #375 does clear it here.

The difference: on this host nothing is created or dispatched before the throw. My runs record no ID3D12Device::CreatePipelineState and no Dispatch at all, while the Intel report describes the throw as happening at the title's first compute pipeline. So either the pipeline work happens after the point that throws here, or that part of the sequence depends on the tree the Intel report ran. Either way I would not carry the "first compute pipeline" detail across hosts, and I would read stop 18 as "the BVH builder throws" rather than as something about a pipeline.

One difference worth knowing about §2 of that document, the commit limit. It says the title's second XMemAllocatePhysicalPages asks for 99,776 pages (6.1 GiB, attributes 0x380) and that the request failing is what pulls the int3 in 0.3 ms at the 1,657th call on that host. This machine never gets that far and never asks that big: my runs record one physical-pages request, attributes=0x280, 11,360 pages, and nothing close to a commit failure. So the picture there is host-specific in both directions — a 16 GB machine stops at the commit limit, a 32 GB one goes on to stop 18 — and the stop-18 shape is the part that reproduces across both.

<!-- gh-comment-id:7124832958 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: the stop I reported above is already in the tree as stop 18, and an AMD host reaches it the same way Correcting one thing I said: I compared the point where the boot ends after the device-slot work only against `docs/retail_boot_chain.md`, which stops at row 13, and wrote that nothing had a row for it. [retail_boot_intel_host.md](retail_boot_intel_host.md) does have it — stop 18, "C++ throw in `XboxBvhBuilder.dll` at its first compute pipeline", after 1,640 D3D12 calls. My earlier comment should have pointed there. What I can add is a second host reaching the same module and the same kind of failure, with one difference that matters. On the machine I am using — AMD Radeon 780M integrated GPU (gfx1036), 32 GB, Windows build 26300, `d42773d07` with the merged slot 25/26/48/70/127 work plus the open #445 IID mapping and #375's five remaining commits — the run ends with `0xe06d7363` thrown from inside `XboxBvhBuilder.dll` (frames `+0x213a1`, `+0xd8a1`, `+0x204bc`, `+0xc525` through `VCRUNTIME140.dll`), at 1,639 recorded D3D12 calls with 1619 ok, essentially the count that document reports. The stop its commits call RT-5 stop 17 — the title's span assert — is the one I measured on the way there, and #375 does clear it here. The difference: on this host nothing is created or dispatched before the throw. My runs record no `ID3D12Device::CreatePipelineState` and no `Dispatch` at all, while the Intel report describes the throw as happening at the title's first compute pipeline. So either the pipeline work happens after the point that throws here, or that part of the sequence depends on the tree the Intel report ran. Either way I would not carry the "first compute pipeline" detail across hosts, and I would read stop 18 as "the BVH builder throws" rather than as something about a pipeline. One difference worth knowing about §2 of that document, the commit limit. It says the title's second `XMemAllocatePhysicalPages` asks for 99,776 pages (6.1 GiB, attributes 0x380) and that the request failing is what pulls the int3 in 0.3 ms at the 1,657th call on that host. This machine never gets that far and never asks that big: my runs record one physical-pages request, `attributes=0x280`, 11,360 pages, and nothing close to a commit failure. So the picture there is host-specific in both directions — a 16 GB machine stops at the commit limit, a 32 GB one goes on to stop 18 — and the stop-18 shape is the part that reproduces across both.
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

finding: scripts/run_semantic_tests.py:48–92,123–135 still runs a package initializer twice in its own -j 2 worker (pkg and pkg.__init__), and reports success for an empty-package-only suite (-j 1 exits 5, -j 2 exits 0). Reproduced on Windows/CPython 3.14.7 against merged main at d42773d. Minimal synthetic fixtures. No game files, GPU, or special hardware. If this is suitable for Open work, I can take the follow-up. AI-assisted (Codex).

<!-- gh-comment-id:7124834915 --> @Dezmonius commented on GitHub (Nov 24, 2026): finding: `scripts/run_semantic_tests.py:48–92,123–135` still runs a package initializer twice in its own `-j 2` worker (`pkg` and `pkg.__init__`), and reports success for an empty-package-only suite (`-j 1` exits 5, `-j 2` exits 0). Reproduced on Windows/CPython 3.14.7 against merged `main` at `d42773d`. [Minimal synthetic fixtures](https://github.com/ubiquitarianism/leonida/pull/474#issuecomment-7123592683). No game files, GPU, or special hardware. If this is suitable for Open work, I can take the follow-up. AI-assisted (Codex).
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: RT-BVH-BUILDER-THROW — investigate and fix the C++ throw from XboxBvhBuilder.dll reached after the slot-73 IID and XMem lease fixes, starting with the slot-62 native shader-container path and translated FSSM resolution.

<!-- gh-comment-id:7124839879 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: RT-BVH-BUILDER-THROW — investigate and fix the C++ throw from XboxBvhBuilder.dll reached after the slot-73 IID and XMem lease fixes, starting with the slot-62 native shader-container path and translated FSSM resolution.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows RTX 5070 Ti verification of the exact #540 head with Vulkan validation, plus integration with #516 for the two parts of #506. This is a review of the existing existing D3D-291 PR. Synthetic fixtures only; AI-assisted.

<!-- gh-comment-id:7124841042 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows RTX 5070 Ti verification of the exact #540 head with Vulkan validation, plus integration with #516 for the two parts of #506. This is a review of the existing existing D3D-291 PR. Synthetic fixtures only; AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

finding: where the device has meshShaderQueries, a mesh segment's CInvocations can come from a VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT query instead of reading 0; measured on an RTX 4070 Ti, it equals the clipping-invocations count of the same triangles in a vertex draw

For @Mby159 and D3D-291: an addition to the 07076 fix, not an objection to it. The claim leaves the clipping fields of a mesh segment at 0. #527 (closed in favour of D3D-291) measured D3D12 itself at 1 / 1 for one mesh triangle, on WARP and natively on an RTX 5070 Ti.

  • What Vulkan allows (read from validusage.json 1.4.363; I have no validation layer installed, so this was not run under one): 07076 restricts PIPELINE_STATISTICS pools only. The rules that name the mesh-primitives query type are VUID-VkQueryPoolCreateInfo-meshShaderQueries-07068 (the feature must be enabled), VUID-vkCmdBeginQuery-queryType-07070 (a graphics command pool) and VUID-vkCmdBeginQueryIndexedEXT-queryType-07071; none is a draw-time rule. VUID-vkCmdBeginQuery-queryPool-01922 forbids two active queries of one type, so this one can run next to the mesh statistics pool.

  • What it counts: the Mesh Shader Queries section of the Queries chapter counts each primitive the mesh shader emits that "reaches the fragment shader stage", and does not say what happens to culled primitives. So I measured it.

  • Measured on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) with a standalone Vulkan program and hand-written shaders; each case is one draw into a 64x64 target, run twice with the same numbers. The mesh draw ran inside a mesh-primitives-generated query and a statistics query (fragment and mesh shader invocations) at once. The same triangles then went through a vertex pipeline inside a statistics query with the clipping counters. Where a case has both draws, their fragment-shader invocations matched.

    Triangles Mesh draw: primitives generated Vertex draw: clipping invocations / primitives
    1 visible 1 1 / 1
    4 visible 4 4 / 4
    4, one right of the clip volume (x > w) 4 4 / 3
    4, one beyond the far plane (z > w) 4 4 / 3
    4, one crossing the near plane 4 4 / 5
    4, one back-facing, back-face culling on 4 4 / 4
    4, one with zero area 4 4 / 4
    4, rasterizer discard 0 0 / 0
    4 in each of 3 work groups (3 instances) 12 12 / 12
    none 0 0 / 0
    4, one with gl_CullPrimitiveEXT 4 no vertex equivalent

    On this driver the count is the clipping-invocations number in every case that has a vertex equivalent, including 0 under rasterizer discard, where D3D12 documents that CInvocations does not count either. It is not CPrimitives once the clipper drops or splits a triangle (3 and 5 against 4). A primitive culled with gl_CullPrimitiveEXT is still counted (4); the driver's clipping counters during that mesh draw, read through the invalid pool main uses, say 3 / 3 there and the vertex-draw numbers everywhere else. llvmpipe (Mesa 26.2.6) gives the same column except 3 for gl_CullPrimitiveEXT and 4 under rasterizer discard, so those two cases depend on the driver.

  • Where (lines on main c023a365a): runtime/shims/d3d12_vulkan_device.cpp:9525-9528 enables only meshShader, and runtime/test/vk_test_device.h:518-530 does the same for the tests. runtime/src/vulkan_backend.h:2443-2458 creates the mesh pool; a third per-submission pool of the new type would sit next to it. begin_statistics_segment and end_statistics_segment (runtime/src/vulkan_replay.h:3308-3325) would begin and end it with each mesh segment. OcclusionResolve::sum_statistics (runtime/src/vulkan_backend.h:249) and runtime/src/statistics_sum.comp would add the count as field 5, and as field 6 if CPrimitives takes the same number as an approximation. The D3D-291 block of runtime/test/d3d12_mesh_test.cpp (line 403) and cases 15 and 16 of runtime/test/replay_query_predication_test.cpp would follow.

  • Why it matters: with the feature, CInvocations for a mesh draw gets the number D3D12 gave in #527's measurement instead of 0. Without it the fields stay 0: RADV on the integrated Radeon here (Mesa 26.2.6) reports meshShaderQueries false. The same feature is what PIPELINE_STATISTICS1 (D3D-132, refused with E_NOTIMPL today) needs for MSPrimitives and the two invocation counts.

  • Needs: no game files. A GPU with VK_EXT_mesh_shader and meshShaderQueries, and the validation layer to confirm the run stays clean.

I am not claiming it while D3D-291 is in flight. I can test that pull request on the RTX 4070 Ti, and do this as a follow-up on top of it if it is left out. The measurement program (about 400 lines plus three small shaders) is available if anyone wants it.

AI-assisted (Claude Code).

<!-- gh-comment-id:7124875009 --> @milk4sale commented on GitHub (Nov 24, 2026): finding: where the device has `meshShaderQueries`, a mesh segment's `CInvocations` can come from a `VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT` query instead of reading 0; measured on an RTX 4070 Ti, it equals the clipping-invocations count of the same triangles in a vertex draw For @Mby159 and `D3D-291`: an addition to the 07076 fix, not an objection to it. The claim leaves the clipping fields of a mesh segment at 0. #527 (closed in favour of D3D-291) measured D3D12 itself at 1 / 1 for one mesh triangle, on WARP and natively on an RTX 5070 Ti. - **What Vulkan allows** (read from `validusage.json` 1.4.363; I have no validation layer installed, so this was not run under one): 07076 restricts `PIPELINE_STATISTICS` pools only. The rules that name the mesh-primitives query type are `VUID-VkQueryPoolCreateInfo-meshShaderQueries-07068` (the feature must be enabled), `VUID-vkCmdBeginQuery-queryType-07070` (a graphics command pool) and `VUID-vkCmdBeginQueryIndexedEXT-queryType-07071`; none is a draw-time rule. `VUID-vkCmdBeginQuery-queryPool-01922` forbids two active queries of one type, so this one can run next to the mesh statistics pool. - **What it counts**: the Mesh Shader Queries section of the Queries chapter counts each primitive the mesh shader emits that "reaches the fragment shader stage", and does not say what happens to culled primitives. So I measured it. - **Measured** on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) with a standalone Vulkan program and hand-written shaders; each case is one draw into a 64x64 target, run twice with the same numbers. The mesh draw ran inside a mesh-primitives-generated query and a statistics query (fragment and mesh shader invocations) at once. The same triangles then went through a vertex pipeline inside a statistics query with the clipping counters. Where a case has both draws, their fragment-shader invocations matched. | Triangles | Mesh draw: primitives generated | Vertex draw: clipping invocations / primitives | |---|---|---| | 1 visible | 1 | 1 / 1 | | 4 visible | 4 | 4 / 4 | | 4, one right of the clip volume (x > w) | 4 | 4 / 3 | | 4, one beyond the far plane (z > w) | 4 | 4 / 3 | | 4, one crossing the near plane | 4 | 4 / 5 | | 4, one back-facing, back-face culling on | 4 | 4 / 4 | | 4, one with zero area | 4 | 4 / 4 | | 4, rasterizer discard | 0 | 0 / 0 | | 4 in each of 3 work groups (3 instances) | 12 | 12 / 12 | | none | 0 | 0 / 0 | | 4, one with `gl_CullPrimitiveEXT` | 4 | no vertex equivalent | On this driver the count is the clipping-invocations number in every case that has a vertex equivalent, including 0 under rasterizer discard, where D3D12 documents that `CInvocations` does not count either. It is not `CPrimitives` once the clipper drops or splits a triangle (3 and 5 against 4). A primitive culled with `gl_CullPrimitiveEXT` is still counted (4); the driver's clipping counters during that mesh draw, read through the invalid pool `main` uses, say 3 / 3 there and the vertex-draw numbers everywhere else. llvmpipe (Mesa 26.2.6) gives the same column except 3 for `gl_CullPrimitiveEXT` and 4 under rasterizer discard, so those two cases depend on the driver. - **Where** (lines on `main` c023a365a): `runtime/shims/d3d12_vulkan_device.cpp:9525-9528` enables only `meshShader`, and `runtime/test/vk_test_device.h:518-530` does the same for the tests. `runtime/src/vulkan_backend.h:2443-2458` creates the mesh pool; a third per-submission pool of the new type would sit next to it. `begin_statistics_segment` and `end_statistics_segment` (`runtime/src/vulkan_replay.h:3308-3325`) would begin and end it with each mesh segment. `OcclusionResolve::sum_statistics` (`runtime/src/vulkan_backend.h:249`) and `runtime/src/statistics_sum.comp` would add the count as field 5, and as field 6 if `CPrimitives` takes the same number as an approximation. The D3D-291 block of `runtime/test/d3d12_mesh_test.cpp` (line 403) and cases 15 and 16 of `runtime/test/replay_query_predication_test.cpp` would follow. - **Why it matters**: with the feature, `CInvocations` for a mesh draw gets the number D3D12 gave in #527's measurement instead of 0. Without it the fields stay 0: RADV on the integrated Radeon here (Mesa 26.2.6) reports `meshShaderQueries` false. The same feature is what `PIPELINE_STATISTICS1` (D3D-132, refused with `E_NOTIMPL` today) needs for `MSPrimitives` and the two invocation counts. - **Needs**: no game files. A GPU with `VK_EXT_mesh_shader` and `meshShaderQueries`, and the validation layer to confirm the run stays clean. I am not claiming it while D3D-291 is in flight. I can test that pull request on the RTX 4070 Ti, and do this as a follow-up on top of it if it is left out. The measurement program (about 400 lines plus three small shaders) is available if anyone wants it. AI-assisted (Claude Code).
Author
Owner

@naorleizer commented on GitHub (Nov 24, 2026):

claiming: GPU-3070TI-62124 — gpu-test-results record for an NVIDIA GeForce RTX 3070 Ti (Ampere, desktop, Windows 11 26200, NVIDIA 621.24), MSVC build, native and LEONIDA_W64_EMULATE=1 runs. No game files.

<!-- gh-comment-id:7124877747 --> @naorleizer commented on GitHub (Nov 24, 2026): claiming: GPU-3070TI-62124 — gpu-test-results record for an NVIDIA GeForce RTX 3070 Ti (Ampere, desktop, Windows 11 26200, NVIDIA 621.24), MSVC build, native and LEONIDA_W64_EMULATE=1 runs. No game files.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows RTX 5070 Ti verification of #540 -> #540. Exact head passed d3d12_mesh with all 4096 pixels and zero Vulkan validation errors. All three #506 tests passed with #516 applied over it. Report

<!-- gh-comment-id:7124889756 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows RTX 5070 Ti verification of #540 -> #540. Exact head passed d3d12_mesh with all 4096 pixels and zero Vulkan validation errors. All three #506 tests passed with #516 applied over it. [Report](https://github.com/ubiquitarianism/leonida/pull/540#issuecomment-7124883608)
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

claiming: SPIRV-OPT-CFG-DSE-FOLDS — fix mixed-signedness/vector type soundness in _fold_int_op and add constant OpBitcast, OpSelect-compare, constant OpBranchConditional, backward slot-liveness DSE, and mark-and-sweep DCE in tools/spirv_opt.py (tests/test_spirv_opt.py).

<!-- gh-comment-id:7124912037 --> @xroneyaa commented on GitHub (Nov 24, 2026): claiming: SPIRV-OPT-CFG-DSE-FOLDS — fix mixed-signedness/vector type soundness in _fold_int_op and add constant OpBitcast, OpSelect-compare, constant OpBranchConditional, backward slot-liveness DSE, and mark-and-sweep DCE in tools/spirv_opt.py (tests/test_spirv_opt.py).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows review of #417 for MEM_RELEASE after a partial commit of a 64 KiB XMem window, compared with plain Win32 reservation and release. Existing PR review, synthetic process-owned allocations only; AI-assisted.

<!-- gh-comment-id:7124912051 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows review of #417 for MEM_RELEASE after a partial commit of a 64 KiB XMem window, compared with plain Win32 reservation and release. Existing PR review, synthetic process-owned allocations only; AI-assisted.
Author
Owner

@xroneyaa commented on GitHub (Nov 24, 2026):

done: SPIRV-OPT-CFG-DSE-FOLDS -> #544

<!-- gh-comment-id:7124914257 --> @xroneyaa commented on GitHub (Nov 24, 2026): done: SPIRV-OPT-CFG-DSE-FOLDS -> #544
Author
Owner

@GeorgiyDemo commented on GitHub (Nov 24, 2026):

finding: ps_imgatomic flakes on MoltenVK 1.4.2 — 11 of 20 single runs fail at d42773d07 with 1-5 of 256 image-atomic texels wrong, while the same binary and SPIR-V pass 10/10 on KosmicKrisp. Where: runtime/test/vk_bindless_test.cpp:880-900 with runtime/test/shaders/ps_imgatomic.asm; the SPIR-V uses OpAtomicUMax/UMin/Or, MTL_DEBUG_LAYER=1 reports nothing, and a re-poured Homebrew bottle changes nothing. Why it matters: it is not in docs/testing.md Known problems and not in the macOS job's EXPECTED_FAILURES (ps_ssharp, cs_fma_fused), so a suite run reaches it about half the time on Apple Silicon. Needs: an Apple GPU with MoltenVK (no game files). Report: #543. AI-assisted.

<!-- gh-comment-id:7124916268 --> @GeorgiyDemo commented on GitHub (Nov 24, 2026): finding: `ps_imgatomic` flakes on MoltenVK 1.4.2 — 11 of 20 single runs fail at `d42773d07` with 1-5 of 256 image-atomic texels wrong, while the same binary and SPIR-V pass 10/10 on KosmicKrisp. Where: `runtime/test/vk_bindless_test.cpp:880-900` with `runtime/test/shaders/ps_imgatomic.asm`; the SPIR-V uses `OpAtomicUMax/UMin/Or`, `MTL_DEBUG_LAYER=1` reports nothing, and a re-poured Homebrew bottle changes nothing. Why it matters: it is not in `docs/testing.md` Known problems and not in the macOS job's `EXPECTED_FAILURES` (`ps_ssharp`, `cs_fma_fused`), so a suite run reaches it about half the time on Apple Silicon. Needs: an Apple GPU with MoltenVK (no game files). Report: #543. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows review of #417 -> #417. Both stock tests pass. Partial commits in three positions reproduced a successful MEM_RELEASE that only freed part of the original reservation. Report

<!-- gh-comment-id:7124953229 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows review of #417 -> #417. Both stock tests pass. Partial commits in three positions reproduced a successful MEM_RELEASE that only freed part of the original reservation. [Report](https://github.com/ubiquitarianism/leonida/pull/417#issuecomment-7124949760)
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows cross-API measurement for the D3D-291 follow-up in comment 7124875009. Compare the Vulkan mesh-primitives-generated count against native D3D12 mesh clipping counters for visible, clipped and shader-culled triangles, with Vulkan validation. Measurement only. Synthetic fixtures; AI-assisted.

<!-- gh-comment-id:7124993164 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows cross-API measurement for the D3D-291 follow-up in comment 7124875009. Compare the Vulkan mesh-primitives-generated count against native D3D12 mesh clipping counters for visible, clipped and shader-culled triangles, with Vulkan validation. Measurement only. Synthetic fixtures; AI-assisted.
Author
Owner

@jaspergates17-source commented on GitHub (Nov 24, 2026):

claiming: RDNA1 mesh-compute replay fallback — inspect and integrate the existing --mesh-compute translation/output layout into Vulkan pipeline creation, dispatch, synchronization and conventional draws, with synthetic runtime tests; document hardware/runtime limitations.

<!-- gh-comment-id:7125047089 --> @jaspergates17-source commented on GitHub (Nov 24, 2026): claiming: RDNA1 mesh-compute replay fallback — inspect and integrate the existing --mesh-compute translation/output layout into Vulkan pipeline creation, dispatch, synchronization and conventional draws, with synthetic runtime tests; document hardware/runtime limitations.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows mesh counter comparison -> #540. WARP and native D3D12 agreed in four cases. Vulkan counted a shader-culled triangle that both D3D12 paths omitted, and its count stayed at one when D3D12 clipping produced zero or two primitives. Both Vulkan query types ran together without validation errors. Report

<!-- gh-comment-id:7125069580 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows mesh counter comparison -> #540. WARP and native D3D12 agreed in four cases. Vulkan counted a shader-culled triangle that both D3D12 paths omitted, and its count stayed at one when D3D12 clipping produced zero or two primitives. Both Vulkan query types ran together without validation errors. [Report](https://github.com/ubiquitarianism/leonida/pull/540#issuecomment-7124883608)
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: RT-BVH-BUILDER-THROW -> #549 (restore the preserved XboxBvhBuilder shim; no game executable run).

<!-- gh-comment-id:7125070037 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: RT-BVH-BUILDER-THROW -> #549 (restore the preserved XboxBvhBuilder shim; no game executable run).
Author
Owner

@RedMiS7 commented on GitHub (Nov 24, 2026):

done: TEST-NATIVE-FOLDER-FAILURES -> #548

Draft PR with four deterministic Windows tests covering five short-path lookup outcomes. The focused tests pass on Python 3.10.11 and 3.13.9. The existing UTF-8-code-page failure is tracked in #483; full-suite environment limitations are recorded in the PR. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7125075213 --> @RedMiS7 commented on GitHub (Nov 24, 2026): done: TEST-NATIVE-FOLDER-FAILURES -> #548 Draft PR with four deterministic Windows tests covering five short-path lookup outcomes. The focused tests pass on Python 3.10.11 and 3.13.9. The existing UTF-8-code-page failure is tracked in #483; full-suite environment limitations are recorded in the PR. No game files or GPU required. AI-assisted.
Author
Owner

@Stephan2620 commented on GitHub (Nov 24, 2026):

claiming: new item, docs/testing.md Known problems row for cs_dpp_ops on MoltenVK 1.4.2 (carried over from ItsNotRexed/Leonida#8651, which was still open when that repository went away). The row says it fails with 1.4.2 and passes only with MoltenVK main, but SHADER-529 stores the DPP ballot and shuffle to Function variables, and the MSL that MoltenVK 1.4.2 generates from main d42773d07 has both as statements every lane runs (MVK_CONFIG_DEBUG=1). Docs-only change to that row's last column. Apple M5 Pro, macOS 26.5.1, MoltenVK 1.4.2 (Homebrew). No game files. AI-assisted.

<!-- gh-comment-id:7125098799 --> @Stephan2620 commented on GitHub (Nov 24, 2026): claiming: new item, docs/testing.md Known problems row for `cs_dpp_ops` on MoltenVK 1.4.2 (carried over from ItsNotRexed/Leonida#8651, which was still open when that repository went away). The row says it fails with 1.4.2 and passes only with MoltenVK `main`, but SHADER-529 stores the DPP ballot and shuffle to Function variables, and the MSL that MoltenVK 1.4.2 generates from `main` `d42773d07` has both as statements every lane runs (`MVK_CONFIG_DEBUG=1`). Docs-only change to that row's last column. Apple M5 Pro, macOS 26.5.1, MoltenVK 1.4.2 (Homebrew). No game files. AI-assisted.
Author
Owner

@Stephan2620 commented on GitHub (Nov 24, 2026):

done: docs/testing.md Known problems row for cs_dpp_ops on MoltenVK 1.4.2 -> https://github.com/ubiquitarianism/leonida/pull/550 (claim). The row now points at SHADER-529 instead of MoltenVK main. Re-checked on main d42773d07: the test passes and the MSL has the ballot and shuffle as statements. Docs-only. Apple M5 Pro, macOS 26.5.1, MoltenVK 1.4.2. No game files. AI-assisted.

<!-- gh-comment-id:7125120242 --> @Stephan2620 commented on GitHub (Nov 24, 2026): done: docs/testing.md Known problems row for `cs_dpp_ops` on MoltenVK 1.4.2 -> https://github.com/ubiquitarianism/leonida/pull/550 ([claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7125098799)). The row now points at SHADER-529 instead of MoltenVK `main`. Re-checked on `main` `d42773d07`: the test passes and the MSL has the ballot and shuffle as statements. Docs-only. Apple M5 Pro, macOS 26.5.1, MoltenVK 1.4.2. No game files. AI-assisted.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

Ran the tests every open Python-side pull request adds, then checked whether each test actually holds the change: the pull request's sources are swapped back to its base commit (downloaded as a tarball, so it is the real ancestor, not a hand-edited diff) while its own tests stay, and the tests are re-run. A test that still passes is not pinning the change.

guarded = the tests fail with the change removed. n/a = the pull request is test-only, so there is no source to remove.

PR own tests on its head with sources reverted to base
#525 2 passed (pytest) guarded — 1 failed
#522 7 OK guarded — 4 failures
#521 4 OK guarded — 3 failures
#498 30 OK guarded — 1 failure, 1 error
#497 5 files, 124 tests OK partly — only test_native_pso_hashes fails (2 errors); the other four files stay green
#494 5 files, 235 tests OK guarded — 3 of the 5 files fail
#490 24 OK (1 skipped) guarded — 5 failures
#487 2 OK guarded — 2 errors
#482 100 OK (2 skipped) guarded — 1 failure
#466 10 OK (1 skipped) guarded — 3 failures
#465 21 OK (1 skipped) guarded — 5 failures, 14 errors
#464 21 OK guarded — 5 failures, 4 errors
#456 19 OK (1 skipped) guarded — 9 failures
#453 20 passed (pytest) + 4 OK guarded — 5 failed + 6 errors
#452 16 OK guarded — 4 failures
#475 5 files, 50 tests OK guarded — 4–5 failures per file (reported earlier)
#492 1 OK still OK — the test is decorative
#503 #502 #500 #495 #493 #483 #460 3 / 2 / 3 / 3 / 3 / 9 / 5 OK n/a — test-only
#451 25 OK, and the 6 new tests all skip not judged

The one finding: #492 does not test what it adds. tests/test_pe_inspect_game_dir.py asserts rc == 2 and the substring "does not exist" in stderr. Without the new --game-dir check, main() falls through to the missing-image branch, which prints ERROR: {img}: does not exist and returns the same 2 — so the test passes whether the check exists or not. To pin the new behaviour it needs to assert on the --game-dir wording (the flag name, or the path), or pass an image that exists so the image branch cannot satisfy it.

Two smaller notes:

  • #497 adds five test files but only one of them reacts to the change. The other four are regression cover around make_game.py and are green before the change too. Not a defect, but "124 tests" in the pull request is not 124 tests of this change.
  • #451's new test file skips itself whole: @unittest.skipUnless(os.environ.get("RPF9DUMP_DLL"), "requires a built rpf9dump"). On a host without a built rpf9dump its six tests never execute, so that pull request is not verified by its own tests here.

Method notes: python -I with the standard library, pytest 9.2.0 only for the files that import it (#453, #525); everything runs in seconds, no game files, no GPU, no C++ toolchain. Two of these pull requests touched a file I had mis-flagged as a shared-target-dir compile failure elsewhere — that was my measurement, not the branch.

AI-assisted. A green test is not an endorsement of the change; it is only the answer to "does this go red when the change goes away".

<!-- gh-comment-id:7125127727 --> @Len1k commented on GitHub (Nov 24, 2026): Ran the tests every open Python-side pull request adds, then checked whether each test actually holds the change: the pull request's sources are swapped back to its **base** commit (downloaded as a tarball, so it is the real ancestor, not a hand-edited diff) while its own tests stay, and the tests are re-run. A test that still passes is not pinning the change. `guarded` = the tests fail with the change removed. `n/a` = the pull request is test-only, so there is no source to remove. | PR | own tests on its head | with sources reverted to base | |---|---|---| | #525 | 2 passed (pytest) | **guarded** — 1 failed | | #522 | 7 OK | **guarded** — 4 failures | | #521 | 4 OK | **guarded** — 3 failures | | #498 | 30 OK | **guarded** — 1 failure, 1 error | | #497 | 5 files, 124 tests OK | **partly** — only `test_native_pso_hashes` fails (2 errors); the other four files stay green | | #494 | 5 files, 235 tests OK | **guarded** — 3 of the 5 files fail | | #490 | 24 OK (1 skipped) | **guarded** — 5 failures | | #487 | 2 OK | **guarded** — 2 errors | | #482 | 100 OK (2 skipped) | **guarded** — 1 failure | | #466 | 10 OK (1 skipped) | **guarded** — 3 failures | | #465 | 21 OK (1 skipped) | **guarded** — 5 failures, 14 errors | | #464 | 21 OK | **guarded** — 5 failures, 4 errors | | #456 | 19 OK (1 skipped) | **guarded** — 9 failures | | #453 | 20 passed (pytest) + 4 OK | **guarded** — 5 failed + 6 errors | | #452 | 16 OK | **guarded** — 4 failures | | #475 | 5 files, 50 tests OK | **guarded** — 4–5 failures per file (reported earlier) | | **#492** | 1 OK | **still OK — the test is decorative** | | #503 #502 #500 #495 #493 #483 #460 | 3 / 2 / 3 / 3 / 3 / 9 / 5 OK | n/a — test-only | | #451 | 25 OK, and the 6 new tests **all skip** | not judged | **The one finding: #492 does not test what it adds.** `tests/test_pe_inspect_game_dir.py` asserts `rc == 2` and the substring `"does not exist"` in stderr. Without the new `--game-dir` check, `main()` falls through to the missing-image branch, which prints `ERROR: {img}: does not exist` and returns the same `2` — so the test passes whether the check exists or not. To pin the new behaviour it needs to assert on the `--game-dir` wording (the flag name, or the path), or pass an image that exists so the image branch cannot satisfy it. Two smaller notes: - #497 adds five test files but only one of them reacts to the change. The other four are regression cover around `make_game.py` and are green before the change too. Not a defect, but "124 tests" in the pull request is not 124 tests of this change. - #451's new test file skips itself whole: `@unittest.skipUnless(os.environ.get("RPF9DUMP_DLL"), "requires a built rpf9dump")`. On a host without a built `rpf9dump` its six tests never execute, so that pull request is not verified by its own tests here. Method notes: `python -I` with the standard library, `pytest 9.2.0` only for the files that import it (`#453`, `#525`); everything runs in seconds, no game files, no GPU, no C++ toolchain. Two of these pull requests touched a file I had mis-flagged as a shared-target-dir compile failure elsewhere — that was my measurement, not the branch. *AI-assisted.* A green test is not an endorsement of the change; it is only the answer to "does this go red when the change goes away".
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

finding: #492's regression test passes without the change it guards, so the new --game-dir validation is untested.

  • Where: tests/test_pe_inspect_game_dir.py (the one file the pull request adds) against tools/pe_inspect.py:493.
  • What happens: the test calls main([nonexistent-image, "--game-dir", missing, "--out", tmp]) and asserts rc == 2 plus "does not exist" in stderr. With the new --game-dir check removed the code reaches the missing-image branch instead, which prints ERROR: {img}: does not exist and returns the same 2. Both assertions hold, so the test is green either way.
  • Check: swapped tools/pe_inspect.py back to the pull request's base commit, kept the pull request's tests, re-ran: Ran 1 test ... OK, rc=0. The other fifteen Python pull requests I checked the same way all go red when their source is reverted, so this is not the method misreading a marginal case.
  • Suggested fix: assert on the --game-dir wording (the flag name, or the path in the message), or pass an image path that exists so the image branch cannot satisfy the assertion.
  • Needs: nothing — standard library only, runs in 3 ms, no game files, no GPU.

AI-assisted.

<!-- gh-comment-id:7125130949 --> @Len1k commented on GitHub (Nov 24, 2026): finding: #492's regression test passes without the change it guards, so the new `--game-dir` validation is untested. - **Where:** `tests/test_pe_inspect_game_dir.py` (the one file the pull request adds) against `tools/pe_inspect.py:493`. - **What happens:** the test calls `main([nonexistent-image, "--game-dir", missing, "--out", tmp])` and asserts `rc == 2` plus `"does not exist"` in stderr. With the new `--game-dir` check removed the code reaches the missing-image branch instead, which prints `ERROR: {img}: does not exist` and returns the same `2`. Both assertions hold, so the test is green either way. - **Check:** swapped `tools/pe_inspect.py` back to the pull request's base commit, kept the pull request's tests, re-ran: `Ran 1 test ... OK`, rc=0. The other fifteen Python pull requests I checked the same way all go red when their source is reverted, so this is not the method misreading a marginal case. - **Suggested fix:** assert on the `--game-dir` wording (the flag name, or the path in the message), or pass an image path that exists so the image branch cannot satisfy the assertion. - **Needs:** nothing — standard library only, runs in 3 ms, no game files, no GPU. *AI-assisted.*
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent review of #544. Check the optimizer against hand-written synthetic SPIR-V control-flow and data-flow cases, using Khronos validation and execution parity where applicable. Review only; AI-assisted.

<!-- gh-comment-id:7125142775 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent review of #544. Check the optimizer against hand-written synthetic SPIR-V control-flow and data-flow cases, using Khronos validation and execution parity where applicable. Review only; AI-assisted.
Author
Owner

@Puttergilll commented on GitHub (Nov 24, 2026):

claiming: DOC-GPU-RESULT-INSTRUCTIONS. I'll update docs/testing.md to match CONTRIBUTING.md: submit new GPU results as a pull request adding a file under gpu-test-results/, rather than the unavailable original #166 thread. I'll also fix the coordination link and leave historical report links unchanged. Docs only, AI-assisted.

<!-- gh-comment-id:7125196032 --> @Puttergilll commented on GitHub (Nov 24, 2026): claiming: DOC-GPU-RESULT-INSTRUCTIONS. I'll update docs/testing.md to match CONTRIBUTING.md: submit new GPU results as a pull request adding a file under gpu-test-results/, rather than the unavailable original #166 thread. I'll also fix the coordination link and leave historical report links unchanged. Docs only, AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent GPU verification of #544. SPIRV-Tools accepted 6/7 modules from main and 7/7 from the PR. All seven PR readbacks matched the unoptimized output byte for byte on the RTX 5070 Ti, with zero Vulkan validation errors. Report

<!-- gh-comment-id:7125216050 --> @sodove commented on GitHub (Nov 24, 2026): done: independent GPU verification of #544. SPIRV-Tools accepted 6/7 modules from main and 7/7 from the PR. All seven PR readbacks matched the unoptimized output byte for byte on the RTX 5070 Ti, with zero Vulkan validation errors. [Report](https://github.com/ubiquitarianism/leonida/pull/544#issuecomment-7125207876)
Author
Owner

@GeorgiyDemo commented on GitHub (Nov 24, 2026):

claiming: GPU-M5PRO — add a GPU-test record for an Apple M5 Pro (MoltenVK 1.4.2, macOS 26.7.3) at d42773d07: build.py 280/280, check.py 175/219, run_gpu_tests.py 183/248 native and 214/248 emulated, ctest 72/72.

<!-- gh-comment-id:7125255092 --> @GeorgiyDemo commented on GitHub (Nov 24, 2026): claiming: GPU-M5PRO — add a GPU-test record for an Apple M5 Pro (MoltenVK 1.4.2, macOS 26.7.3) at `d42773d07`: build.py 280/280, check.py 175/219, run_gpu_tests.py 183/248 native and 214/248 emulated, ctest 72/72.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows GPU review of #510. Verify repeated viewport/scissor bindings in a single direct command list, including draw-time state snapshots, against live native D3D12 and Vulkan validation. Review only; synthetic fixtures; AI-assisted.

<!-- gh-comment-id:7125270418 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows GPU review of #510. Verify repeated viewport/scissor bindings in a single direct command list, including draw-time state snapshots, against live native D3D12 and Vulkan validation. Review only; synthetic fixtures; AI-assisted.
Author
Owner

@GeorgiyDemo commented on GitHub (Nov 24, 2026):

done: GPU-M5PRO -> #552 — first Apple/MoltenVK row in the results table, at commit d42773d07: build.py 280/280, check.py 175/219 (39 skipped), run_gpu_tests.py 183/248 (61 skipped) native and 214/248 (30 skipped) emulated, ctest 72/72. AI-assisted.

<!-- gh-comment-id:7125286256 --> @GeorgiyDemo commented on GitHub (Nov 24, 2026): done: GPU-M5PRO -> #552 — first Apple/MoltenVK row in the results table, at commit `d42773d07`: build.py 280/280, check.py 175/219 (39 skipped), run_gpu_tests.py 183/248 (61 skipped) native and 214/248 (30 skipped) emulated, ctest 72/72. AI-assisted.
Author
Owner

@naorleizer commented on GitHub (Nov 24, 2026):

finding: d3d12_execute_indirect_validation fails 5 of 49 parity cases on a Windows/MSVC build of main d42773d0 (NVIDIA RTX 3070 Ti, 621.24) - deterministic across 3 runs. Cases: arg_offset=260 >width (max=0 no-op), arg_offset=U64MAX-3 aligned (max=0 no-op), draw stride=20 off=240 max=1 (240+20>256), draw stride=20 off=220 max=2 (220+40>256), dispatch stride=20 off=244 max=1 (244+20>256). Harness line for all five: layer=0 warp=1 hw=1 expected=0 - the layer returns E_INVALIDARG (0x80070057) where the test expects S_OK, and WARP agrees with the hardware, so this looks like test-expectation drift rather than a device effect - but it is the only red in a 290/291 Windows ctest run, and the same log prints [rt] d3d12: upload heaps in system memory (no Resizable BAR). Where: runtime/test/d3d12_execute_indirect_validation_test.cpp (case table goes to stderr; the binary is d3d12_execute_indirect_validation_test.exe). Needs: Windows + MSVC build + any NVIDIA GPU; no game files. No Windows ctest baseline is published in gpu-test-results, so this may be the first sighting.

<!-- gh-comment-id:7125326552 --> @naorleizer commented on GitHub (Nov 24, 2026): finding: d3d12_execute_indirect_validation fails 5 of 49 parity cases on a Windows/MSVC build of main d42773d0 (NVIDIA RTX 3070 Ti, 621.24) - deterministic across 3 runs. Cases: `arg_offset=260 >width (max=0 no-op)`, `arg_offset=U64MAX-3 aligned (max=0 no-op)`, `draw stride=20 off=240 max=1 (240+20>256)`, `draw stride=20 off=220 max=2 (220+40>256)`, `dispatch stride=20 off=244 max=1 (244+20>256)`. Harness line for all five: `layer=0 warp=1 hw=1 expected=0` - the layer returns E_INVALIDARG (0x80070057) where the test expects S_OK, and WARP agrees with the hardware, so this looks like test-expectation drift rather than a device effect - but it is the only red in a 290/291 Windows `ctest` run, and the same log prints `[rt] d3d12: upload heaps in system memory (no Resizable BAR)`. Where: `runtime/test/d3d12_execute_indirect_validation_test.cpp` (case table goes to stderr; the binary is `d3d12_execute_indirect_validation_test.exe`). Needs: Windows + MSVC build + any NVIDIA GPU; no game files. No Windows ctest baseline is published in gpu-test-results, so this may be the first sighting.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: the stop that follows the console list IID (the row "stop 18" in docs/retail_boot_intel_host.md) is the title's own test al,al / int 3 guard once the BVH builder has its compute programs translated. Nothing claimed here; this is a measurement with offsets.

Tree and hardware. main d42773d07 with the open changes of #445 and #375 applied in the working tree only (their commits, uncommitted). Radeon 780M iGPU of a Ryzen 7 7800X3D (gfx1036, [rt] d3d12: subgroup sizes 32..64 (default 64)), Windows 26300, Vulkan SDK 1.4.363.0, llvm-mc 21.1.8. The 1.0.2.1 image, SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993.

1. Without a shader library it is the throw, at the same place as the Intel row. Under cdb the whole run contains exactly one C++ throw: VCRUNTIME140!_CxxThrowException raised from XboxBvhBuilder.dll+0xc525, module frames +0xc525 → +0x204bc → +0xd8a1 → +0x213a1, reached from game_scarlett_master.exe+0x2479455. The last runtime lines are:

[rt] d3d12_xs: device slot 16 (CreateRootSignature) first call
[rt] d3d12_xs: device slot 62 (Xbox CreateComputePipelineState) first call
[rt] d3d12: no translated shaders: set LEONIDA_SHADERS to <work>/shaders/spirv

That line is runtime/shims/d3d12_vulkan_device.cpp:791. 1,639 recorded D3D12 calls, against the 1,640 in the Intel row: the same place. Wall clock differs (2.9 s here, 20 s there) and I did not investigate why.

2. What the module actually asks for. The loaded image carries a table of its own decorated names at module+0xD2600, read with da after stopping at the throw: a constructor from ID3D12Device11*, BuildRaytracingAccelerationStructure(ID3D12GraphicsCommandList4*, …), BuildRaytracingAccelerationStructureBatched2X(ID3D12GraphicsCommandList6*, unsigned, D3D12XBOX_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_BATCHED_DESC2*), RehydrateRaytracingAccelerationStructureBatched2X(ID3D12GraphicsCommandList8*, …), CopyRaytracingAccelerationStructure, GetRaytracingAccelerationStructurePrebuildInfo, CpuValidateResultX, ValidateRehydrateAccelerationStructureBuildDesc, Set64BitMortonCodes. Its file carries PDB paths for compute kernels (ConstructBVH4, RefitBVH4, BuildBVHSplits64, BitonicPreSort64CS, PrefixSum64…PrefixSum4096, RadixCount, CalculateMortonCodes64, LeafRehydration, Box16Rehydration) and validation texts ("AccelerationStructure parent pointer table contains invalid pointer"). So "at its first compute pipeline" in the row is literal.

3. The translation step exists in the repo. Running make_game.py's own bvh_shaders (make_game.py:1578) and fspx_shaders (make_game.py:1390) on the package, --mcpu gfx1013, no --wave64-emulate:

52 container(s), 0 rejected DXBC hit(s)   52 FSSM blobs, problems: {}   52 shaders -> disasm: {'clean': 52}
52 shaders: 52 translated, 52 pass spirv-val
29 FSPX program(s) unpacked   29 shaders: 18 translated, 18 pass spirv-val   11 fall-through into undecodable words

4. With those modules the throw is gone and the title reaches its own assert. LEONIDA_SHADERS=<work>/shaders/spirv plus an empty main index.json ({}; docs/embedded_shaders.md:293 says the main index is still required) gives [rt] d3d12: 70 translated shaders from …, then four CreateCommittedResource, four CreateCommandList each closed, a descriptor heap: 1,655 calls (1,633 ok, 22 called) in 21.3 s on the first run and about 3 s in repeats (the driver keeps the compiled pipelines), ending with

code 0x80000003 at game_scarlett_master.exe+0x19f4f58
  stack: +0x19f4f58, +0x580437e, +0x43a4911, +0x224070b, +0x23cf00a, +0x2215eca, KERNEL32.DLL+0x2dda7, ntdll.dll+0xc9c6c

Disassembled (u 1419f4f18 L18 under cdb; guest base 0x140000000):

+0x19f4f4a  call game_scarlett_master.exe+0x24781d0
+0x19f4f4f  call game_scarlett_master.exe+0x2478440
+0x19f4f54  test al,al
+0x19f4f56  jne  +0x19f4f59
+0x19f4f58  int 3        <- the stop

The title asserts because that call returned false. None of 19f4f58, 2478440, 24781d0 appears anywhere in the tree.

5. It is not the pipelines. With LEONIDA_BVH_DEVICE=vulkan LEONIDA_BVH_RECORD62=1 LEONIDA_GAME_DIR=<package> LEONIDA_SHADERS=<work>/shaders/spirv, ctest #47 bvh_builder runs and passes on this binary and this device:

INFO slot 62 creations given a name by the builder: 53 of 53
INFO slot 62 creations: 53, distinct containers: 52, repeated creations: 1
INFO first repeat: creation #53 passes the same container as #47, module GetBVHCompactedSize
bvh_builder_test: OK (0 failures)

Native modules, no --wave64-emulate, subgroups 32..64. docs/embedded_shaders.md:313-315 records 52 of 52 and all 53 creations S_OK with the emulated modules and notes the native modules were not run again; this is that same step on a second Radeon, gfx1036 with wave64 native: 53 of 53, 0 failures. LEONIDA_STUB_PIPELINES=1 does not move the title's stop here either: 1,655 calls, the same int 3. So the gap to the 13,091-call row is not pipeline creation.

6. The only refusal in that window comes from our own root-signature model.

[rt] d3d12: root signature usable for graphics only: root parameter 8 does not fit in the user SGPRs from s4 (spill array not modelled)

printed between the CreateRootSignature line and the first CreateComputePipelineState line. The text is runtime/src/root_signature.cpp:79-80, and tools/root_sig_contract.py:77 has the same condition. Nothing in docs/ names this limit. It is our modelling, not the GPU. I did not identify which root signature it is: the standalone vh_builder run above passes every one of its 53 creations with its own root signature (slot62 #1 … root signature set … -> hr 0000000000, no such line), and the refusal also appears with LEONIDA_STUB_PIPELINES=1, so it is not one of the builder's 52 programs. It comes from a CreateRootSignature on device slot 16 during the title's run, and nothing in the trace names that blob. __XB_GetRootSignatureSpillPointer is named in the comment at runtime/src/root_signature.cpp:33 as the mechanism the model does not cover.One of the builder's 52 programs is the case: eight root parameters, base s4.

7. After the assert. With LEONIDA_SKIP_INT3=1 the title continues and the next stop is inside the runtime:

code 0xc0000005 at host:gta6rt.exe+0x2771aa (read 0xffffffffffffffff)
  stack: host:gta6rt.exe+0x2771aa, host:gta6rt.exe+0xffbf2, game_scarlett_master.exe+0x12b981e, +0x12b97dc, +0x12b95ab, +0x12b9320, +0x181911e, +0x19f5149

which is rt::d3d12::Device::CreateMetaCommand at runtime/shims/d3d12_vulkan_device.cpp:5656 — if (out) *out = nullptr; — reached through console device slot 61 with out = 0xffffffffffffffff, a value the guard treats as a usable pointer.

To reproduce you need a D3D12-Vulkan device and a package that carries XboxBvhBuilder.dll. Nothing here needs a particular GPU except that pipeline creation is attempted; items 4, 6 and 7 are offsets in the title and in our own code.

Written with an AI assistant.

<!-- gh-comment-id:7125337881 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: the stop that follows the console list IID (the row "stop 18" in `docs/retail_boot_intel_host.md`) is the title's own `test al,al` / `int 3` guard once the BVH builder has its compute programs translated. Nothing claimed here; this is a measurement with offsets. **Tree and hardware.** main `d42773d07` with the open changes of #445 and #375 applied in the working tree only (their commits, uncommitted). Radeon 780M iGPU of a Ryzen 7 7800X3D (gfx1036, `[rt] d3d12: subgroup sizes 32..64 (default 64)`), Windows 26300, Vulkan SDK 1.4.363.0, llvm-mc 21.1.8. The 1.0.2.1 image, SHA-256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`. **1. Without a shader library it is the throw, at the same place as the Intel row.** Under cdb the whole run contains exactly one C++ throw: `VCRUNTIME140!_CxxThrowException` raised from `XboxBvhBuilder.dll+0xc525`, module frames `+0xc525 → +0x204bc → +0xd8a1 → +0x213a1`, reached from `game_scarlett_master.exe+0x2479455`. The last runtime lines are: ``` [rt] d3d12_xs: device slot 16 (CreateRootSignature) first call [rt] d3d12_xs: device slot 62 (Xbox CreateComputePipelineState) first call [rt] d3d12: no translated shaders: set LEONIDA_SHADERS to <work>/shaders/spirv ``` That line is `runtime/shims/d3d12_vulkan_device.cpp:791`. 1,639 recorded D3D12 calls, against the 1,640 in the Intel row: the same place. Wall clock differs (2.9 s here, 20 s there) and I did not investigate why. **2. What the module actually asks for.** The loaded image carries a table of its own decorated names at `module+0xD2600`, read with `da` after stopping at the throw: a constructor from `ID3D12Device11*`, `BuildRaytracingAccelerationStructure(ID3D12GraphicsCommandList4*, …)`, `BuildRaytracingAccelerationStructureBatched2X(ID3D12GraphicsCommandList6*, unsigned, D3D12XBOX_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_BATCHED_DESC2*)`, `RehydrateRaytracingAccelerationStructureBatched2X(ID3D12GraphicsCommandList8*, …)`, `CopyRaytracingAccelerationStructure`, `GetRaytracingAccelerationStructurePrebuildInfo`, `CpuValidateResultX`, `ValidateRehydrateAccelerationStructureBuildDesc`, `Set64BitMortonCodes`. Its file carries PDB paths for compute kernels (`ConstructBVH4`, `RefitBVH4`, `BuildBVHSplits64`, `BitonicPreSort64CS`, `PrefixSum64`…`PrefixSum4096`, `RadixCount`, `CalculateMortonCodes64`, `LeafRehydration`, `Box16Rehydration`) and validation texts ("AccelerationStructure parent pointer table contains invalid pointer"). So "at its first compute pipeline" in the row is literal. **3. The translation step exists in the repo.** Running `make_game.py`'s own `bvh_shaders` (`make_game.py:1578`) and `fspx_shaders` (`make_game.py:1390`) on the package, `--mcpu gfx1013`, no `--wave64-emulate`: ``` 52 container(s), 0 rejected DXBC hit(s) 52 FSSM blobs, problems: {} 52 shaders -> disasm: {'clean': 52} 52 shaders: 52 translated, 52 pass spirv-val 29 FSPX program(s) unpacked 29 shaders: 18 translated, 18 pass spirv-val 11 fall-through into undecodable words ``` **4. With those modules the throw is gone and the title reaches its own assert.** `LEONIDA_SHADERS=<work>/shaders/spirv` plus an empty main `index.json` (`{}`; `docs/embedded_shaders.md:293` says the main index is still required) gives `[rt] d3d12: 70 translated shaders from …`, then four `CreateCommittedResource`, four `CreateCommandList` each closed, a descriptor heap: 1,655 calls (1,633 ok, 22 called) in 21.3 s on the first run and about 3 s in repeats (the driver keeps the compiled pipelines), ending with ``` code 0x80000003 at game_scarlett_master.exe+0x19f4f58 stack: +0x19f4f58, +0x580437e, +0x43a4911, +0x224070b, +0x23cf00a, +0x2215eca, KERNEL32.DLL+0x2dda7, ntdll.dll+0xc9c6c ``` Disassembled (`u 1419f4f18 L18` under cdb; guest base `0x140000000`): ``` +0x19f4f4a call game_scarlett_master.exe+0x24781d0 +0x19f4f4f call game_scarlett_master.exe+0x2478440 +0x19f4f54 test al,al +0x19f4f56 jne +0x19f4f59 +0x19f4f58 int 3 <- the stop ``` The title asserts because that call returned false. None of `19f4f58`, `2478440`, `24781d0` appears anywhere in the tree. **5. It is not the pipelines.** With `LEONIDA_BVH_DEVICE=vulkan LEONIDA_BVH_RECORD62=1 LEONIDA_GAME_DIR=<package> LEONIDA_SHADERS=<work>/shaders/spirv`, ctest #47 `bvh_builder` runs and passes on this binary and this device: ``` INFO slot 62 creations given a name by the builder: 53 of 53 INFO slot 62 creations: 53, distinct containers: 52, repeated creations: 1 INFO first repeat: creation #53 passes the same container as #47, module GetBVHCompactedSize bvh_builder_test: OK (0 failures) ``` Native modules, no `--wave64-emulate`, subgroups 32..64. `docs/embedded_shaders.md:313-315` records 52 of 52 and all 53 creations `S_OK` with the emulated modules and notes the native modules were not run again; this is that same step on a second Radeon, gfx1036 with wave64 native: 53 of 53, 0 failures. `LEONIDA_STUB_PIPELINES=1` does not move the title's stop here either: 1,655 calls, the same `int 3`. So the gap to the 13,091-call row is not pipeline creation. **6. The only refusal in that window comes from our own root-signature model.** ``` [rt] d3d12: root signature usable for graphics only: root parameter 8 does not fit in the user SGPRs from s4 (spill array not modelled) ``` printed between the `CreateRootSignature` line and the first `CreateComputePipelineState` line. The text is `runtime/src/root_signature.cpp:79-80`, and `tools/root_sig_contract.py:77` has the same condition. Nothing in `docs/` names this limit. It is our modelling, not the GPU. I did not identify which root signature it is: the standalone vh_builder run above passes every one of its 53 creations with its own root signature (slot62 #1 … root signature set … -> hr 0000000000, no such line), and the refusal also appears with LEONIDA_STUB_PIPELINES=1, so it is not one of the builder's 52 programs. It comes from a CreateRootSignature on device slot 16 during the title's run, and nothing in the trace names that blob. __XB_GetRootSignatureSpillPointer is named in the comment at `runtime/src/root_signature.cpp:33` as the mechanism the model does not cover.One of the builder's 52 programs is the case: eight root parameters, base `s4`. **7. After the assert.** With `LEONIDA_SKIP_INT3=1` the title continues and the next stop is inside the runtime: ``` code 0xc0000005 at host:gta6rt.exe+0x2771aa (read 0xffffffffffffffff) stack: host:gta6rt.exe+0x2771aa, host:gta6rt.exe+0xffbf2, game_scarlett_master.exe+0x12b981e, +0x12b97dc, +0x12b95ab, +0x12b9320, +0x181911e, +0x19f5149 ``` which is `rt::d3d12::Device::CreateMetaCommand` at `runtime/shims/d3d12_vulkan_device.cpp:5656` — `if (out) *out = nullptr;` — reached through console device slot 61 with `out = 0xffffffffffffffff`, a value the guard treats as a usable pointer. **To reproduce** you need a D3D12-Vulkan device and a package that carries `XboxBvhBuilder.dll`. Nothing here needs a particular GPU except that pipeline creation is attempted; items 4, 6 and 7 are offsets in the title and in our own code. Written with an AI assistant.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows GPU review of #510. All 384 pixels across six cases matched native D3D12, including state changes in one list and the transition from slot 15 to one viewport. Zero Vulkan validation errors. Report

<!-- gh-comment-id:7125360975 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows GPU review of #510. All 384 pixels across six cases matched native D3D12, including state changes in one list and the transition from slot 15 to one viewport. Zero Vulkan validation errors. [Report](https://github.com/ubiquitarianism/leonida/pull/510#issuecomment-7125350366)
Author
Owner

@jaspergates17-source commented on GitHub (Nov 24, 2026):

claiming: TITLE-HEAP-SYNC — synchronize descriptors written directly into Xbox title-owned heap memory to Vulkan shader-visible storage before submission, with safe lifetime across concurrent queues/submissions. Scope is the missing sync path; it does not duplicate #375 allocation hooks or #416 command-list CPU-handle translation. AI-assisted.

<!-- gh-comment-id:7125385039 --> @jaspergates17-source commented on GitHub (Nov 24, 2026): claiming: TITLE-HEAP-SYNC — synchronize descriptors written directly into Xbox title-owned heap memory to Vulkan shader-visible storage before submission, with safe lifetime across concurrent queues/submissions. Scope is the missing sync path; it does not duplicate #375 allocation hooks or #416 command-list CPU-handle translation. AI-assisted.
Author
Owner

@LewisStephens99 commented on GitHub (Nov 24, 2026):

claiming: TEST-ATOMIC-GUARD - I will fix the image atomic guard test helper so dynamic EXEC writes are required and the lane-skip assertion is exercised, while keeping the constant-true cases as a separate case.

<!-- gh-comment-id:7125414646 --> @LewisStephens99 commented on GitHub (Nov 24, 2026): claiming: TEST-ATOMIC-GUARD - I will fix the image atomic guard test helper so dynamic EXEC writes are required and the lane-skip assertion is exercised, while keeping the constant-true cases as a separate case.
Author
Owner

@Puttergilll commented on GitHub (Nov 24, 2026):

done: DOC-GPU-RESULT-INSTRUCTIONS -> https://github.com/ubiquitarianism/leonida/pull/554

<!-- gh-comment-id:7125426892 --> @Puttergilll commented on GitHub (Nov 24, 2026): done: DOC-GPU-RESULT-INSTRUCTIONS -> https://github.com/ubiquitarianism/leonida/pull/554
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

claiming: RT-READFILE-NOACCESS - on native Windows the retail boot's file reader loops forever after the first frame loop: its ReadFile into title memory that xmem commits on first touch fails with ERROR_NOACCESS (998), a kernel write raising no user-mode fault, and the reader sleeps 1 ms and retries. DirectStorage's read_file_range hits the same and returns E_DSTORAGE_ACCESS_VIOLATION. Fix: commit the destination pages from user mode on ERROR_NOACCESS and read again once, in the ReadFile shim and in read_file_range, with a file_system_test check. Pull request follows. AI-assisted (Claude Code).

<!-- gh-comment-id:7125433466 --> @Tyrannys commented on GitHub (Nov 24, 2026): claiming: RT-READFILE-NOACCESS - on native Windows the retail boot's file reader loops forever after the first frame loop: its ReadFile into title memory that xmem commits on first touch fails with ERROR_NOACCESS (998), a kernel write raising no user-mode fault, and the reader sleeps 1 ms and retries. DirectStorage's read_file_range hits the same and returns E_DSTORAGE_ACCESS_VIOLATION. Fix: commit the destination pages from user mode on ERROR_NOACCESS and read again once, in the ReadFile shim and in read_file_range, with a file_system_test check. Pull request follows. AI-assisted (Claude Code).
Author
Owner

@LewisStephens99 commented on GitHub (Nov 24, 2026):

finding: TEST-ATOMIC-GUARD is already resolved on main by b3eaa3d7b (tests: image atomics guard keeps a dynamic EXEC case). tests/semantic/test_image_atomics_guard.py passes all 4 test methods, including the dynamic EXEC guard and forged-%true rejection; no code change or PR is needed. The earlier claim for this ID may be ignored as no remaining work.

<!-- gh-comment-id:7125436205 --> @LewisStephens99 commented on GitHub (Nov 24, 2026): finding: TEST-ATOMIC-GUARD is already resolved on main by b3eaa3d7b (tests: image atomics guard keeps a dynamic EXEC case). tests/semantic/test_image_atomics_guard.py passes all 4 test methods, including the dynamic EXEC guard and forged-%true rejection; no code change or PR is needed. The earlier claim for this ID may be ignored as no remaining work.
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

done: RT-READFILE-NOACCESS -> #555

<!-- gh-comment-id:7125440680 --> @Tyrannys commented on GitHub (Nov 24, 2026): done: RT-READFILE-NOACCESS -> #555
Author
Owner

@jaspergates17-source commented on GitHub (Nov 24, 2026):

claiming: LEONIDA-LEGACY-APP — build a Windows desktop library/launcher integrated with make_game.py and gta6rt, using only the repository-supported manifest and files supplied locally by the user. No game data or third-party/leaked assets. AI-assisted.

<!-- gh-comment-id:7125464607 --> @jaspergates17-source commented on GitHub (Nov 24, 2026): claiming: LEONIDA-LEGACY-APP — build a Windows desktop library/launcher integrated with make_game.py and gta6rt, using only the repository-supported manifest and files supplied locally by the user. No game data or third-party/leaked assets. AI-assisted.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

claiming: DECODE-LLVM-PARITY — tools/rdna2_decode.py: tests/test_rdna2_decode.py test_parity_with_llvm_mc_on_shader_fixtures fails on main 1c93c869 with llvm-mc 21.1.8 (CI skips it: the jobs that run that file have no llvm-mc). Two decoder mismatches: v_permlane16_b32 / v_permlanex16_b32 print the generic four-value op_sel where llvm-mc prints op_sel:[FI,BOUND_CTRL] (cs_w32_permlane_fi.asm), and exp null gives the target as a target where shader_ir.parse_line gives the special register (ps_w64_a_discard.asm). Decoder and its unit tests only; no translator rule changes. No game files or GPU needed. AI-assisted.

<!-- gh-comment-id:7125590718 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): claiming: DECODE-LLVM-PARITY — `tools/rdna2_decode.py`: `tests/test_rdna2_decode.py` `test_parity_with_llvm_mc_on_shader_fixtures` fails on main 1c93c869 with llvm-mc 21.1.8 (CI skips it: the jobs that run that file have no llvm-mc). Two decoder mismatches: `v_permlane16_b32` / `v_permlanex16_b32` print the generic four-value `op_sel` where llvm-mc prints `op_sel:[FI,BOUND_CTRL]` (`cs_w32_permlane_fi.asm`), and `exp null` gives the target as a target where `shader_ir.parse_line` gives the special register (`ps_w64_a_discard.asm`). Decoder and its unit tests only; no translator rule changes. No game files or GPU needed. AI-assisted.
Author
Owner

@ddddddddwp commented on GitHub (Nov 24, 2026):

claiming: SEMANTIC-PARALLEL-INIT - the 07:17 finding (scripts/run_semantic_tests.py runs a package initializer twice as pkg.__init__ in -j 2 and reports 0 tests as success). I will run the package by its own name while keeping the initializer path for size sorting, and return nonzero when the whole parallel run ran no tests; covered in tests/test_run_semantic_tests.py. CPU-only, no game files. (@Dezmonius posted the finding; say so if you are already on it.)

<!-- gh-comment-id:7125599793 --> @ddddddddwp commented on GitHub (Nov 24, 2026): claiming: SEMANTIC-PARALLEL-INIT - the 07:17 finding (scripts/run_semantic_tests.py runs a package initializer twice as `pkg.__init__` in -j 2 and reports 0 tests as success). I will run the package by its own name while keeping the initializer path for size sorting, and return nonzero when the whole parallel run ran no tests; covered in tests/test_run_semantic_tests.py. CPU-only, no game files. (@Dezmonius posted the finding; say so if you are already on it.)
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

done: DECODE-LLVM-PARITY -> #556

<!-- gh-comment-id:7125624277 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): done: DECODE-LLVM-PARITY -> #556
Author
Owner

@ddddddddwp commented on GitHub (Nov 24, 2026):

done: SEMANTIC-PARALLEL-INIT -> #557

<!-- gh-comment-id:7125655447 --> @ddddddddwp commented on GitHub (Nov 24, 2026): done: SEMANTIC-PARALLEL-INIT -> #557
Author
Owner

@bobczan commented on GitHub (Nov 24, 2026):

finding: TEST-ATOMIC-GUARD passes on current main, so the open-work row can be closed

Ran it directly on main + #445 + #375 (nothing in this PR touches the semantic helpers):

python -I tests/semantic/test_image_atomics_guard.py
Ran 4 tests in 23.168s
OK
rc=0

No subtest failures — the 47 failing subtests the row describes do not reproduce. Either #394 (image-atomics dynamic-EXEC case) covered it, as the earlier note in this thread suggested, or the helper was updated since the row was written.

Needs: no game files, no GPU (it is a pure translator-side check), so this is a cheap one to re-confirm.

I have not touched the row; whoever maintains the table should drop TEST-ATOMIC-GUARD from Open work so nobody claims a fixed item.

<!-- gh-comment-id:7125671556 --> @bobczan commented on GitHub (Nov 24, 2026): finding: `TEST-ATOMIC-GUARD` passes on current `main`, so the open-work row can be closed Ran it directly on `main` + #445 + #375 (nothing in this PR touches the semantic helpers): ``` python -I tests/semantic/test_image_atomics_guard.py Ran 4 tests in 23.168s OK rc=0 ``` No subtest failures — the 47 failing subtests the row describes do not reproduce. Either #394 (image-atomics dynamic-EXEC case) covered it, as the earlier note in this thread suggested, or the helper was updated since the row was written. Needs: no game files, no GPU (it is a pure translator-side check), so this is a cheap one to re-confirm. I have not touched the row; whoever maintains the table should drop `TEST-ATOMIC-GUARD` from Open work so nobody claims a fixed item.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

done: OLD-9768 -> #45
done: OLD-9775 -> #53
done: OLD-9792 -> #70

All three carried-over draft PRs from bnalstlll-byte taken over and verified clean with unit tests passing.

<!-- gh-comment-id:7125674538 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): done: OLD-9768 -> #45 done: OLD-9775 -> #53 done: OLD-9792 -> #70 All three carried-over draft PRs from bnalstlll-byte taken over and verified clean with unit tests passing.
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

finding: translate only the shaders the game actually uses — today any translator change retranslates all 26,503 shaders (hours of CPU time), even though a run probably loads far fewer (hypothesis, not measured yet).

Where: make_game.py:1289-1293 (the translation keeps translation_sources.sha256, the digest of the translator's files; a mismatch restarts the whole translation, checked at make_game.py:1207), tools/rdna2spirv.py.
Why: a runtime record of the shader identities requested during a run, plus a make_game.py option to translate just that list, could cut retranslation from hours to minutes for every contributor testing translator changes. The first step would be measuring how many shaders a run actually requests.
Needs: no game files to write the code, no GPU (CPU-only instrumentation of the shader IDs requested during --run); measuring the used set needs a local game copy. Could build on the existing trace infrastructure.
No existing open or merged PR covers this (searched "used shaders", "shader subset", "lazy", "on demand", "incremental").

<!-- gh-comment-id:7125684444 --> @x2Tweek commented on GitHub (Nov 24, 2026): finding: translate only the shaders the game actually uses — today any translator change retranslates all 26,503 shaders (hours of CPU time), even though a run probably loads far fewer (hypothesis, not measured yet). Where: `make_game.py:1289-1293` (the translation keeps `translation_sources.sha256`, the digest of the translator's files; a mismatch restarts the whole translation, checked at `make_game.py:1207`), `tools/rdna2spirv.py`. Why: a runtime record of the shader identities requested during a run, plus a `make_game.py` option to translate just that list, could cut retranslation from hours to minutes for every contributor testing translator changes. The first step would be measuring how many shaders a run actually requests. Needs: no game files to write the code, no GPU (CPU-only instrumentation of the shader IDs requested during `--run`); measuring the used set needs a local game copy. Could build on the existing trace infrastructure. No existing open or merged PR covers this (searched "used shaders", "shader subset", "lazy", "on demand", "incremental").
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

done: SHADER-INDEX-ATOMIC -> #558 — ready for review. Six negative-control regressions, 30 shard-merge tests and 3 LF-write tests pass. Full semantic suite with SPIRV-Tools: 465 files, 6,103 tests, zero failed files. AI-assisted with Codex.

<!-- gh-comment-id:7125744958 --> @JiyouProt commented on GitHub (Nov 24, 2026): done: SHADER-INDEX-ATOMIC -> #558 — ready for review. Six negative-control regressions, 30 shard-merge tests and 3 LF-write tests pass. Full semantic suite with SPIRV-Tools: 465 files, 6,103 tests, zero failed files. AI-assisted with Codex.
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

claiming: SHADER-SUBSET — translate only the shaders the game actually uses. Today any translator change retranslates all 26,503 shaders (hours on E-cores), while a run loads far fewer. Build on PR #497's DXBC identity index: record which shader identities the runtime requests during --run, then add a make_game.py option to translate just that list. No game files, no GPU needed for the instrumentation (CPU-only).

<!-- gh-comment-id:7125745299 --> @x2Tweek commented on GitHub (Nov 24, 2026): claiming: SHADER-SUBSET — translate only the shaders the game actually uses. Today any translator change retranslates all 26,503 shaders (hours on E-cores), while a run loads far fewer. Build on PR #497's DXBC identity index: record which shader identities the runtime requests during `--run`, then add a make_game.py option to translate just that list. No game files, no GPU needed for the instrumentation (CPU-only).
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Follow-up to my stop-18 finding (comment #7125337881): what the title's own assert is checking. No claim here.

Tree and hardware as in that finding: d42773d07 with #445 and #375 applied, Radeon 780M iGPU of a Ryzen 7 7800X3D (LEONIDA_HW_ARCH=gfx1036), LEONIDA_SHADERS on a folder built by make_game.py's own fspx_shaders and bvh_shaders steps with an empty main index.json. The same run that reaches 1,655 traced D3D12 calls (counts are device-dependent) and stops at the title's own int 3.

1. The guard, again with the registers. game_scarlett_master.exe+0x19f4f58 is call +0x24781d0, call +0x2478440, test al,al, jne +0x19f4f59, int 3. At the first-chance int 3 the guest registers hold rax = 0.

2. What the routine at +0x2478440 does. u 142478440 L48 shows it building a WNDCLASSEXA on its own stack (mov rax,300000050h into [rcx], a window proc at exe+0x247a660 into [rcx+8], [rcx+30h] = 6, lpszClassName = exe+0x677b672), calling through the import-table slot at RVA 0x6793C58, and a failure tail at +0x24787a7 (xor esi,esi … mov eax,esi … ret) reached from test ax,ax / je +0x24787a7 on that call's result. Two runtime facts confirm the reading:

  • the slot resolves to the host user32: dq 146793c58 L1 → 00007fffe15e0940, ln poi(146793c58)→USER32!RegisterClassExA. lm m game_scarlett_masterlists no module for the guest image, andtools/import_call_sites.py's import_slotsmap gives slot06793C58asext-ms-win-rtcore-ntuser-window-ansi-l1-1-0.dll!RegisterClassExA`.
  • breaking on USER32!RegisterClassExA catches exactly one call in the whole boot, and its own stack unwinds to the title: USER32!RegisterClassExA ← 0x00000001424784db←0x00000001419f4f54 (the call site of the guard) ← 0x000000014580437e. The struct is exactly as the title built it: dq @rcx-0x20 L14gives0000000300000050 at the head (cbSize 0x50, style 0x3), lpfnWndProc = 000000014247a660, hInstance = 0000000140000000 — the title's own image base — hbrBackground = 6, lpszClassName = 000000014677b672`.

That last address holds the class name. Read from the file with tools/pe_inspect.py (PeImage.string_at(0x677B672)): sgaWindowClass. Nothing in the tree mentions it (git grep -I sgaWindowClass → no output); the tree's own window use is its tests and shims (runtime/shims/gameinput.cpp:1720, runtime/test/dxgi_swapchain_test.cpp:78), so nothing on our side registers that class.

3. A hypothesis I disproved, so nobody spends time on it. I first assumed the host refused hInstance = 0x140000000 because it is not a loaded module. It does not. A host-only control (Add-Type over a C# WNDCLASEXA calling user32!RegisterClassEx; no game files, no special hardware) with four cases differing only in hInstance and hIconSm:

hInstance=140000000             hIconSm=0   atomo=49390  GetLastError=0
hInstance=140000000             hIconSm=10  atomo=49402  GetLastError=0
hInstance=7FF7CCE50000 (own exe) hIconSm=10  atomo=0      GetLastError=87
hInstance=7FF7CCE50000 (own exe) hIconSm=0   atomo=49396  GetLastError=0

A handle that is not a loaded module is accepted; a real module base that is not the process's own image is refused when hIconSm carries a resource ordinal. So the title's hInstance, on its own, is not a reason for RegisterClassEx to fail, and my first explanation of the stop is wrong.

4. What is not established. The value that call returned in the title's process. My attempts to read eax at the return produced no output (gu inside a breakpoint command list, and a breakpoint on the wrapper's own body: only the first instruction disassembled), so I cannot yet say whether the zero that reaches the guard comes from that RegisterClassExA call or from a later check inside the same routine — it spans +0x2478440 to +0x24787d0 and I read only its head and its failure tail. The measurement that would settle it: read eax at game_scarlett_master.exe+0x24784db, the instruction after the call, by defining that breakpoint from a host-symbol breakpoint that fires earlier in the boot (a guest address cannot be broken on at startup: bp 1419f4f54 fails with Win32 error 299 because the image is not mapped yet).

To reproduce (my commands): cdb.exe -G -cf <script> gta6rt.exe --run <exe> --game-dir <package> --trace <jsonl> with the script containing sxd c0000005, bp USER32!RegisterClassExA "dq @rcx-0x20 L14; da @rcx+40 L1; kP 8", g, and the environment of the finding above. Static half: py -3.13 -I tools/import_call_sites.py <exe> --json and tools/pe_inspect.py's PeImage for the string.

Written with an AI assistant.

<!-- gh-comment-id:7125754756 --> @fiestorra commented on GitHub (Nov 24, 2026): Follow-up to my stop-18 finding (comment #7125337881): what the title's own assert is checking. No claim here. Tree and hardware as in that finding: `d42773d07` with #445 and #375 applied, Radeon 780M iGPU of a Ryzen 7 7800X3D (`LEONIDA_HW_ARCH=gfx1036`), `LEONIDA_SHADERS` on a folder built by `make_game.py`'s own `fspx_shaders` and `bvh_shaders` steps with an empty main `index.json`. The same run that reaches 1,655 traced D3D12 calls (counts are device-dependent) and stops at the title's own `int 3`. **1. The guard, again with the registers.** `game_scarlett_master.exe+0x19f4f58` is `call +0x24781d0`, `call +0x2478440`, `test al,al`, `jne +0x19f4f59`, `int 3`. At the first-chance `int 3` the guest registers hold `rax = 0`. **2. What the routine at `+0x2478440` does.** `u 142478440 L48` shows it building a `WNDCLASSEXA` on its own stack (`mov rax,300000050h` into `[rcx]`, a window proc at `exe+0x247a660` into `[rcx+8]`, `[rcx+30h] = 6`, `lpszClassName = exe+0x677b672`), calling through the import-table slot at RVA `0x6793C58`, and a failure tail at `+0x24787a7` (`xor esi,esi` … `mov eax,esi` … `ret`) reached from `test ax,ax` / `je +0x24787a7` on that call's result. Two runtime facts confirm the reading: - the slot resolves to the host user32: `dq 146793c58 L1` → `00007fff`e15e0940`, `ln poi(146793c58)` → `USER32!RegisterClassExA`. `lm m game_scarlett_master` lists no module for the guest image, and `tools/import_call_sites.py`'s `import_slots` map gives slot `06793C58` as `ext-ms-win-rtcore-ntuser-window-ansi-l1-1-0.dll!RegisterClassExA`. - breaking on `USER32!RegisterClassExA` catches exactly one call in the whole boot, and its own stack unwinds to the title: `USER32!RegisterClassExA` ← `0x00000001`424784db` ← `0x00000001`419f4f54` (the call site of the guard) ← `0x00000001`4580437e`. The struct is exactly as the title built it: `dq @rcx-0x20 L14` gives `00000003`00000050` at the head (cbSize `0x50`, style `0x3`), `lpfnWndProc = 00000001`4247a660`, `hInstance = 00000001`40000000` — the title's own image base — `hbrBackground = 6`, `lpszClassName = 00000001`4677b672`. That last address holds the class name. Read from the file with `tools/pe_inspect.py` (`PeImage.string_at(0x677B672)`): **`sgaWindowClass`**. Nothing in the tree mentions it (`git grep -I sgaWindowClass` → no output); the tree's own window use is its tests and shims (`runtime/shims/gameinput.cpp:1720`, `runtime/test/dxgi_swapchain_test.cpp:78`), so nothing on our side registers that class. **3. A hypothesis I disproved, so nobody spends time on it.** I first assumed the host refused `hInstance = 0x140000000` because it is not a loaded module. It does not. A host-only control (`Add-Type` over a C# `WNDCLASEXA` calling `user32!RegisterClassEx`; no game files, no special hardware) with four cases differing only in `hInstance` and `hIconSm`: ``` hInstance=140000000 hIconSm=0 atomo=49390 GetLastError=0 hInstance=140000000 hIconSm=10 atomo=49402 GetLastError=0 hInstance=7FF7CCE50000 (own exe) hIconSm=10 atomo=0 GetLastError=87 hInstance=7FF7CCE50000 (own exe) hIconSm=0 atomo=49396 GetLastError=0 ``` A handle that is not a loaded module is accepted; a real module base that is not the process's own image is refused when `hIconSm` carries a resource ordinal. So the title's `hInstance`, on its own, is not a reason for `RegisterClassEx` to fail, and my first explanation of the stop is wrong. **4. What is not established.** The value that call returned in the title's process. My attempts to read `eax` at the return produced no output (`gu` inside a breakpoint command list, and a breakpoint on the wrapper's own body: only the first instruction disassembled), so I cannot yet say whether the zero that reaches the guard comes from that `RegisterClassExA` call or from a later check inside the same routine — it spans `+0x2478440` to `+0x24787d0` and I read only its head and its failure tail. The measurement that would settle it: read `eax` at `game_scarlett_master.exe+0x24784db`, the instruction after the call, by defining that breakpoint from a host-symbol breakpoint that fires earlier in the boot (a guest address cannot be broken on at startup: `bp 1419f4f54` fails with Win32 error 299 because the image is not mapped yet). **To reproduce** (my commands): `cdb.exe -G -cf <script> gta6rt.exe --run <exe> --game-dir <package> --trace <jsonl>` with the script containing `sxd c0000005`, `bp USER32!RegisterClassExA "dq @rcx-0x20 L14; da @rcx+40 L1; kP 8"`, `g`, and the environment of the finding above. Static half: `py -3.13 -I tools/import_call_sites.py <exe> --json` and `tools/pe_inspect.py`'s `PeImage` for the string. Written with an AI assistant.
Author
Owner

@Timon360SB commented on GitHub (Nov 24, 2026):

claiming:

  • GPU-RTX5070-WIN — NVIDIA GeForce RTX 5070 (Blackwell, 12 GB).
  • GPU-RTX2060SUPER-WIN — NVIDIA GeForce RTX 2060 SUPER (Turing, 8 GB).

I will provide full native GPU, Wave64 emulation and runtime CTest results for both GPUs on Windows 11, including known issue reproduction and cross-generation regression testing.

<!-- gh-comment-id:7125763481 --> @Timon360SB commented on GitHub (Nov 24, 2026): claiming: - GPU-RTX5070-WIN — NVIDIA GeForce RTX 5070 (Blackwell, 12 GB). - GPU-RTX2060SUPER-WIN — NVIDIA GeForce RTX 2060 SUPER (Turing, 8 GB). I will provide full native GPU, Wave64 emulation and runtime CTest results for both GPUs on Windows 11, including known issue reproduction and cross-generation regression testing.
Author
Owner

@Managilvosh commented on GitHub (Nov 24, 2026):

finding: \ ools/calibrated_texture.py:439\ uses \os.link(tmp, target)\ on Windows when \ orce=False, raising \PermissionError: [WinError 5] Access is denied\ on standard user environments and breaking atomic no-clobber export.

claiming: CALIBRATED-TEXTURE-NO-CLOBBER

<!-- gh-comment-id:7125764622 --> @Managilvosh commented on GitHub (Nov 24, 2026): finding: \ ools/calibrated_texture.py:439\ uses \os.link(tmp, target)\ on Windows when \ orce=False\, raising \PermissionError: [WinError 5] Access is denied\ on standard user environments and breaking atomic no-clobber export. claiming: CALIBRATED-TEXTURE-NO-CLOBBER
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

finding: tests/test_opus_tags.py fails on Windows on main — any contributor there sees a red test that has nothing to do with their pull request.

  • Where: test_cli_reports_incomplete_directory_discovery, current main.
  • What happens: the test makes a folder it cannot read and asserts the blocked path appears verbatim in stderr. On Windows OSError prints the path through repr, so backslashes double and the assert fails:
    'C:\Users\...\opus\blocked' not found in "opus_tags: error: [Errno 13] Permission denied: 'C:\\Users\\...\\opus\\blocked'"
  • Check: fresh main checkout, python -I tests/test_opus_tags.py → Ran 28 tests ... FAILED (failures=1). The same file on #386's head → FAILED (failures=1), same test. This is not caused by that pull request; its own added test passes.
  • Why it matters: the fix is the one #128 describes (print the plain path, not the repr) — the test pins Windows behaviour that the tool does not have, and it is red for everyone on the platform the project targets first.
  • Needs: nothing — standard library only, ~17 s.

AI-assisted.

<!-- gh-comment-id:7125793012 --> @Len1k commented on GitHub (Nov 24, 2026): finding: `tests/test_opus_tags.py` fails on Windows on `main` — any contributor there sees a red test that has nothing to do with their pull request. - **Where:** `test_cli_reports_incomplete_directory_discovery`, current `main`. - **What happens:** the test makes a folder it cannot read and asserts the blocked path appears verbatim in stderr. On Windows `OSError` prints the path through `repr`, so backslashes double and the assert fails: `'C:\Users\...\opus\blocked' not found in "opus_tags: error: [Errno 13] Permission denied: 'C:\\Users\\...\\opus\\blocked'"` - **Check:** fresh `main` checkout, `python -I tests/test_opus_tags.py` → `Ran 28 tests ... FAILED (failures=1)`. The same file on `#386`'s head → `FAILED (failures=1)`, same test. This is not caused by that pull request; its own added test passes. - **Why it matters:** the fix is the one #128 describes (print the plain path, not the repr) — the test pins Windows behaviour that the tool does not have, and it is red for everyone on the platform the project targets first. - **Needs:** nothing — standard library only, ~17 s. *AI-assisted.*
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: DOC-BOOT-CHAIN-ROWS — three cells of the boot-chain table name pull requests that were closed without landing, and they do not say what \main\ carries instead. I will fix rows 1, 2 and 4 of docs/retail_boot_chain.md to name the merged commits, and add a sentence saying why those cells were stale. Docs only: no code, no game data, nothing re-run.

Verified here against the history I have locally (\git log --grep\ on the successor's main): \�42c5f378\ "xmem: physical pages, default allocators, XMemIsToolsMemAvailable; XMemVirtualAlloc takes 2 MiB pages and placeholders (#6919)", \695792de7\ "xmem: record XMemVirtualAlloc's attribute word and drop the PAGE_GRAPHICS_* protection bits (retail exe GPU pools) (#6908)", and \7a3fed28\ "pe_loader: give a /GA executable its own TLS at index 0 (retail boot AV at exe+0x104075)". Row 1 names #6919, row 2 names #6908, row 4 names \7a3fed28. The rows are unchanged at \1c93c8697.

Neighbour I read before claiming: no comment in the coordination issue touches docs/retail_boot_chain.md or boot-chain work (I searched the last three pages of this issue). nullport-re's finding 7123507431 is about the import surface of the retail exe, a different file.

Written with an AI assistant.

<!-- gh-comment-id:7125793854 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: DOC-BOOT-CHAIN-ROWS — three cells of the boot-chain table name pull requests that were closed without landing, and they do not say what \main\ carries instead. I will fix rows 1, 2 and 4 of [docs/retail_boot_chain.md](docs/retail_boot_chain.md) to name the merged commits, and add a sentence saying why those cells were stale. Docs only: no code, no game data, nothing re-run. Verified here against the history I have locally (\git log --grep\ on the successor's main): \�42c5f378\ "xmem: physical pages, default allocators, XMemIsToolsMemAvailable; XMemVirtualAlloc takes 2 MiB pages and placeholders (#6919)", \695792de7\ "xmem: record XMemVirtualAlloc's attribute word and drop the PAGE_GRAPHICS_* protection bits (retail exe GPU pools) (#6908)", and \7a3fed28\ "pe_loader: give a /GA executable its own TLS at index 0 (retail boot AV at exe+0x104075)". Row 1 names #6919, row 2 names #6908, row 4 names \7a3fed28\. The rows are unchanged at \1c93c8697\. Neighbour I read before claiming: no comment in the coordination issue touches docs/retail_boot_chain.md or boot-chain work (I searched the last three pages of this issue). nullport-re's finding 7123507431 is about the import surface of the retail exe, a different file. Written with an AI assistant.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: ROOT-SIG-SPILL — model the measured console root-signature spill area instead of refusing a signature whose compute parameters do not fit inline from s4. The post-BVH title assert is now reproduced at exactly this point: fiestorra's 07:45 finding reports the only refusal in the window as 'root parameter 8 does not fit in the user SGPRs from s4 (spill array not modelled)', followed by game_scarlett_master.exe+0x19f4f58; my own 1.0.2.1 run with #445+#375+#549 reaches the same assert after 1,655 D3D12 calls. The ABI measurement is already in docs/d3d12_vulkan.md section 7 and docs/xbox_d3d12_xs.md: spilled parameters go to a packed array behind a 40-bit pointer in s[0:1], constants 4 B and descriptors 8 B, no alignment. Scope: root signature packing/binding and tests only; no game data, no keys, no decryption. I will not touch the slot-61 CreateMetaCommand half (already #383). AI-assisted.

<!-- gh-comment-id:7125817732 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: ROOT-SIG-SPILL — model the measured console root-signature spill area instead of refusing a signature whose compute parameters do not fit inline from s4. The post-BVH title assert is now reproduced at exactly this point: fiestorra's 07:45 finding reports the only refusal in the window as 'root parameter 8 does not fit in the user SGPRs from s4 (spill array not modelled)', followed by game_scarlett_master.exe+0x19f4f58; my own 1.0.2.1 run with #445+#375+#549 reaches the same assert after 1,655 D3D12 calls. The ABI measurement is already in docs/d3d12_vulkan.md section 7 and docs/xbox_d3d12_xs.md: spilled parameters go to a packed array behind a 40-bit pointer in s[0:1], constants 4 B and descriptors 8 B, no alignment. Scope: root signature packing/binding and tests only; no game data, no keys, no decryption. I will not touch the slot-61 CreateMetaCommand half (already #383). AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: VCMP16-PROBE-GUARDS — tools/vcmp16_opsel_probe.py: support argv in main(), close oracle in finally, and guard oracle.run() against empty, None, or short results with harness errors. Synthetic unit tests only, no game files. AI-assisted.
agent: yes

<!-- gh-comment-id:7125854727 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: VCMP16-PROBE-GUARDS — tools/vcmp16_opsel_probe.py: support argv in main(), close oracle in finally, and guard oracle.run() against empty, None, or short results with harness errors. Synthetic unit tests only, no game files. AI-assisted. agent: yes
Author
Owner

@bobczan commented on GitHub (Nov 24, 2026):

finding: after #445, the first hard stop is a compute program the shader index has no entry for (FSSM b5316b2e…), and it is not in the executable's embedded containers either

Where: runtime/shims/d3d12_vulkan_device.cpp:4004 — no translated compute shader for %s sha256 %s, reached from the
compute-PSO path when pick_entry(library->program_candidates("cs", program, ...)) finds nothing.

What happens. On native Windows (11 10.0.26200, MSVC 19.44, RTX 5070, LEONIDA_D3D12=vulkan) with main 1c93c8697

  • #445 (so the slot-73 IID is answered) + #375, the run gets past the calls #445 unblocks and then stops with:
[rt] d3d12: no translated compute shader for FSSM sha256 b5316b2eabca2b441f9d247699612f346be5851971d
rc=127

rc=127 means it never reaches the D3D12 replay for that pipeline — the run ends at this lookup, so this is now the first
hard stop on this path (the assert at +0x247af2d that #375 addresses is no longer what kills it).

What I ruled out (so nobody repeats it):

Check Result
present in work/shaders/spirv/index.json (26,503 entries) no
present among the programs unpacked from the executable's 13 carved shader containers (tools/fssm_unpack.py, 10 programs) no — none of the 10 hashes match, at container level or program level
therefore the index covers what came from the package's shader archive; this program is supplied by something else

The 10 embedded program hashes I get, for the record, in case one of them is what someone else sees on a different path:
01ac7810…, aaf9e723…, e3438c8e…, 2cd4271a…, 3b638a07…, ae92237e…, 452212e5…, 0291d3a9…, ea92e9a7…,
a6904520…. None is b5316b2e….

Why it matters. Every run on this path now ends here, so it is the gate for anyone stacking #445 + #375. It is not a
D3D12 slot problem and no amount of slot work will move it.

Needs: the executable and the package (I have both), and a decision on where this program is supposed to come from —
whether it should be carved out of another container in the executable, translated from a container I have not extracted,
or reached through a different lookup (an FSPX kind-0 state rather than a bare FSSM entry). That last one is worth
checking first, because the same code path has an fspx branch and the message only says FSSM for what it was handed.

I have not claimed anything and have no PR for this; it is a finding, and the next step needs someone who knows what asset
supplies that program. I am happy to run any candidate.

Slot numbers, hashes of programs I unpacked myself, and outcome only; no game data.

<!-- gh-comment-id:7125856922 --> @bobczan commented on GitHub (Nov 24, 2026): finding: after #445, the first hard stop is a compute program the shader index has no entry for (`FSSM` `b5316b2e…`), and it is not in the executable's embedded containers either **Where:** `runtime/shims/d3d12_vulkan_device.cpp:4004` — `no translated compute shader for %s sha256 %s`, reached from the compute-PSO path when `pick_entry(library->program_candidates("cs", program, ...))` finds nothing. **What happens.** On native Windows (11 10.0.26200, MSVC 19.44, RTX 5070, `LEONIDA_D3D12=vulkan`) with `main` `1c93c8697` + **#445** (so the slot-73 IID is answered) + **#375**, the run gets past the calls #445 unblocks and then stops with: ``` [rt] d3d12: no translated compute shader for FSSM sha256 b5316b2eabca2b441f9d247699612f346be5851971d rc=127 ``` `rc=127` means it never reaches the D3D12 replay for that pipeline — the run ends at this lookup, so this is now the first *hard* stop on this path (the assert at `+0x247af2d` that #375 addresses is no longer what kills it). **What I ruled out** (so nobody repeats it): | Check | Result | |---|---| | present in `work/shaders/spirv/index.json` (26,503 entries) | **no** | | present among the programs unpacked from the executable's 13 carved shader containers (`tools/fssm_unpack.py`, 10 programs) | **no** — none of the 10 hashes match, at container level or program level | | therefore | the index covers what came from the package's shader archive; this program is supplied by something else | The 10 embedded program hashes I get, for the record, in case one of them is what someone else sees on a different path: `01ac7810…`, `aaf9e723…`, `e3438c8e…`, `2cd4271a…`, `3b638a07…`, `ae92237e…`, `452212e5…`, `0291d3a9…`, `ea92e9a7…`, `a6904520…`. None is `b5316b2e…`. **Why it matters.** Every run on this path now ends here, so it is the gate for anyone stacking #445 + #375. It is not a D3D12 slot problem and no amount of slot work will move it. **Needs:** the executable and the package (I have both), and a decision on where this program is supposed to come from — whether it should be carved out of another container in the executable, translated from a container I have not extracted, or reached through a different lookup (an `FSPX` kind-0 state rather than a bare `FSSM` entry). That last one is worth checking first, because the same code path has an `fspx` branch and the message only says `FSSM` for what it was handed. I have not claimed anything and have no PR for this; it is a finding, and the next step needs someone who knows what asset supplies that program. I am happy to run any candidate. Slot numbers, hashes of programs I unpacked myself, and outcome only; no game data.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: VCMP16-PROBE-GUARDS -> #561

15/15 unit tests passing. Standard library only, no game files. AI-assisted.
agent: yes

<!-- gh-comment-id:7125878043 --> @trigger337 commented on GitHub (Nov 24, 2026): done: VCMP16-PROBE-GUARDS -> #561 15/15 unit tests passing. Standard library only, no game files. AI-assisted. agent: yes
Author
Owner

@justasillyfella commented on GitHub (Nov 24, 2026):

To anyone (maintainer, contributor, or agent) who still has authorized access to the original ItsNotRexed/Leonida repository, its issue tracker, or a complete export:

I'd strongly recommend investigating a migration to [Radicle](https://radicle.xyz/), a decentralized Git collaboration platform.

The original repository becoming private demonstrates a significant weakness in centralized development workflows: Git forks may preserve code, but issues, pull requests, reviews, discussions, and contributor coordination can become inaccessible overnight.

Benefits of Radicle:

  • Decentralized collaboration: Repositories and collaborative data can be replicated independently of GitHub.
  • Persistent issue tracking: Issues, discussions, and patches can survive the loss of the original hosting provider.
  • Cryptographic identities: Signed collaboration records provide stronger provenance and integrity guarantees.
  • Offline development: Contributors can work without depending on a single centralized service.
  • Project continuity: Future repository migrations don't have to mean rebuilding the entire coordination system.

Community migration tools already exist for GitHub/GitLab issues, although complete PR review-history migration may require additional tooling.

Suggested approach: Export the original issues, comments, PR metadata, review history, and associated Git references while authorized access remains available. Preserve a verifiable, independent archive first, then migrate the supported records into Radicle.

Please retain original issue IDs, contributor attribution, timestamps, and links to commits wherever possible.

The objective isn't to replace the current fork or interrupt active development. It's to establish a portable, independently verifiable collaboration history that survives repository takedowns, ownership changes, and platform failures.

Anyone with a complete authorized export or existing archive could help prevent valuable engineering discussions and unresolved work from being lost.

Code should be portable. Project history should be too.

Just a thought. :)

<!-- gh-comment-id:7125878759 --> @justasillyfella commented on GitHub (Nov 24, 2026): To anyone (maintainer, contributor, or agent) who still has authorized access to the original `ItsNotRexed/Leonida` repository, its issue tracker, or a complete export: I'd strongly recommend investigating a migration to **[[Radicle](https://radicle.xyz/)](https://radicle.xyz/)**, a decentralized Git collaboration platform. The original repository becoming private demonstrates a significant weakness in centralized development workflows: Git forks may preserve code, but issues, pull requests, reviews, discussions, and contributor coordination can become inaccessible overnight. **Benefits of Radicle:** - **Decentralized collaboration:** Repositories and collaborative data can be replicated independently of GitHub. - **Persistent issue tracking:** Issues, discussions, and patches can survive the loss of the original hosting provider. - **Cryptographic identities:** Signed collaboration records provide stronger provenance and integrity guarantees. - **Offline development:** Contributors can work without depending on a single centralized service. - **Project continuity:** Future repository migrations don't have to mean rebuilding the entire coordination system. Community migration tools already exist for GitHub/GitLab issues, although complete PR review-history migration may require additional tooling. **Suggested approach:** Export the original issues, comments, PR metadata, review history, and associated Git references while authorized access remains available. Preserve a verifiable, independent archive first, then migrate the supported records into Radicle. Please retain original issue IDs, contributor attribution, timestamps, and links to commits wherever possible. The objective isn't to replace the current fork or interrupt active development. It's to establish a **portable, independently verifiable collaboration history** that survives repository takedowns, ownership changes, and platform failures. Anyone with a complete authorized export or existing archive could help prevent valuable engineering discussions and unresolved work from being lost. **Code should be portable. Project history should be too.** Just a thought. :)
Author
Owner

@bobczan commented on GitHub (Nov 24, 2026):

correction to my finding above: the lookup hash is not stored under any field I first named — but the conclusion holds, and here is the precise accounting

My first comment said "present in index.json: no" after searching the index keys. That was the wrong lens and I want it
on the record: the index is keyed by shader name ((PS_Textured_…~1), and each value carries
fssm_sha256 / src_sha256 as 40 hex characters, while the runtime prints a 64-character sha256 of the program
bytes. So "not in the keys" proved nothing.

Corrected checks, all on the same workspace:

Check Result
target as a substring of any entry value in spirv/index.json (26,503 entries) 0
target's 40-char prefix against fssm_sha256 in every entry 0
same prefix against src_sha256 in every entry 0
embedded/index.json (10 entries: name/file/stage, no hashes) mentions it no
program hashes of the 10 programs I unpack from the executable's 13 carved containers none match
a control shader taken from the package's own dxbc/ tree (PS_Textured_Eight_Fire_…) also does not appear by program hash — the index maps names, so this is expected and shows my earlier test could not have detected a hit

So the honest statement is narrower than my first comment: the 64-hex sha256 the runtime computes for this program does not
appear in spirv/index.json in any of the shapes I checked, and the program is not among the ten I can unpack from the
executable.

What that does not establish: that the shader is absent from the package. The index is name-keyed with 40-hex source
hashes, and I have not scanned all 25,734 containers in dxbc/ for a program whose sha256 is b5316b2e…. That is the
obvious next measurement and it is cheap — if the program is in the package, then the failure is a translation/index
coverage gap rather than a missing asset, and the fix is a translator run, not a hunt through game files.

I would rather post this correction than leave the stronger-sounding claim standing. The parts that are firm: the stop is
real, it is at d3d12_vulkan_device.cpp:4004, rc=127, and it now gates anyone stacking #445 + #375.

<!-- gh-comment-id:7125884781 --> @bobczan commented on GitHub (Nov 24, 2026): correction to my finding above: the lookup hash is not stored under any field I first named — but the conclusion holds, and here is the precise accounting My first comment said "present in `index.json`: no" after searching the index *keys*. That was the wrong lens and I want it on the record: the index is keyed by shader **name** (`(PS_Textured_…~1`), and each value carries `fssm_sha256` / `src_sha256` as **40 hex characters**, while the runtime prints a **64-character** sha256 of the program bytes. So "not in the keys" proved nothing. Corrected checks, all on the same workspace: | Check | Result | |---|---| | target as a substring of any entry **value** in `spirv/index.json` (26,503 entries) | **0** | | target's 40-char prefix against `fssm_sha256` in every entry | **0** | | same prefix against `src_sha256` in every entry | **0** | | `embedded/index.json` (10 entries: `name`/`file`/`stage`, no hashes) mentions it | **no** | | program hashes of the 10 programs I unpack from the executable's 13 carved containers | none match | | a control shader taken from the package's own `dxbc/` tree (`PS_Textured_Eight_Fire_…`) | also does not appear by program hash — the index maps **names**, so this is expected and shows my earlier test could not have detected a hit | So the honest statement is narrower than my first comment: **the 64-hex sha256 the runtime computes for this program does not appear in `spirv/index.json` in any of the shapes I checked, and the program is not among the ten I can unpack from the executable.** What that does *not* establish: that the shader is absent from the package. The index is name-keyed with 40-hex source hashes, and I have not scanned all 25,734 containers in `dxbc/` for a program whose sha256 is `b5316b2e…`. That is the obvious next measurement and it is cheap — if the program *is* in the package, then the failure is a translation/index coverage gap rather than a missing asset, and the fix is a translator run, not a hunt through game files. I would rather post this correction than leave the stronger-sounding claim standing. The parts that are firm: the stop is real, it is at `d3d12_vulkan_device.cpp:4004`, `rc=127`, and it now gates anyone stacking #445 + #375.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows review of #555. Verify file-backed DirectStorage reads into a synthetic first-touch destination, including an unaligned destination and partial commitment, against the PR and current main. Review only. Synthetic fixtures; AI-assisted.

<!-- gh-comment-id:7125907848 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows review of #555. Verify file-backed DirectStorage reads into a synthetic first-touch destination, including an unaligned destination and partial commitment, against the PR and current main. Review only. Synthetic fixtures; AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

done: DOC-BOOT-CHAIN-ROWS -> #562 — three cells of the boot-chain table now name commits instead of pull requests. The check corrected one thing I had written to myself first: #4313 was not closed without landing (merged as 254cabbd2, its b2902830d is in main), while no commit in main's history names #6709, #4531 or #6843. The pull request says so and names 042c5f378 (#6919), 695792de7 (#6908) and b7a3fed28. Docs only; the documentation battery CI runs for a docs-only diff passes here (13 files, 0 failures), and test_docs_cli_flags.py was red on an earlier draft — it rejects a --flag written in a document that no source file mentions.

Written with an AI assistant.

<!-- gh-comment-id:7125912607 --> @fiestorra commented on GitHub (Nov 24, 2026): done: DOC-BOOT-CHAIN-ROWS -> #562 — three cells of the boot-chain table now name commits instead of pull requests. The check corrected one thing I had written to myself first: #4313 was **not** closed without landing (merged as `254cabbd2`, its `b2902830d` is in main), while no commit in main's history names #6709, #4531 or #6843. The pull request says so and names `042c5f378` (#6919), `695792de7` (#6908) and `b7a3fed28`. Docs only; the documentation battery CI runs for a docs-only diff passes here (13 files, 0 failures), and `test_docs_cli_flags.py` was red on an earlier draft — it rejects a `--flag` written in a document that no source file mentions. Written with an AI assistant.
Author
Owner

@bobczan commented on GitHub (Nov 24, 2026):

second correction: my "40 hex characters" line was wrong — that was my own truncated print, not the file. The real numbers are these

I said the index stores fssm_sha256 as 40 hex. That is not true and I should have checked before writing it: the values are
full 64-character SHA-256 hashes. What happened is that I printed str(value)[:40] while sampling an entry and then
described the sample as the format. Sloppy, and it made my earlier checks look like they were comparing like with like when
they were not.

The checks redone correctly, on spirv/index.json (26,503 entries, 2,689 of them cs, so compute lookups demonstrably
do work in this corpus):

Check Result
fssm_sha256 exactly equals b5316b2eabca2b441f9d247699612f346be5851971d 0
fssm_sha256 starts with the first 12 characters of it 0
src_sha256 exactly equals it, or starts with those 12 characters 0

So the conclusion from my finding stands and is now on firmer ground: this program has no translated entry in the index
that was built on this machine.
It is not a formatting artefact and not a search bug.

I am now scanning all 25,734 containers under work/shaders/dxbc with tools/fssm_unpack.py, hashing each unpacked
program, to see whether the program is present in the package but simply never translated. That distinction decides who
fixes it: if it is there, it is a translator/index-coverage gap and a re-run of the shader stage closes it; if it is not,
the program is being supplied from somewhere nobody has translated yet, and the answer belongs with whoever knows the
BVH-builder path.

I will post the scan result either way, including if it comes back empty.

<!-- gh-comment-id:7125913468 --> @bobczan commented on GitHub (Nov 24, 2026): second correction: my "40 hex characters" line was wrong — that was my own truncated print, not the file. The real numbers are these I said the index stores `fssm_sha256` as 40 hex. That is not true and I should have checked before writing it: the values are full **64-character** SHA-256 hashes. What happened is that I printed `str(value)[:40]` while sampling an entry and then described the sample as the format. Sloppy, and it made my earlier checks look like they were comparing like with like when they were not. The checks redone correctly, on `spirv/index.json` (26,503 entries, **2,689 of them `cs`**, so compute lookups demonstrably do work in this corpus): | Check | Result | |---|---| | `fssm_sha256` exactly equals `b5316b2eabca2b441f9d247699612f346be5851971d` | **0** | | `fssm_sha256` starts with the first 12 characters of it | **0** | | `src_sha256` exactly equals it, or starts with those 12 characters | **0** | So the conclusion from my finding stands and is now on firmer ground: **this program has no translated entry in the index that was built on this machine.** It is not a formatting artefact and not a search bug. I am now scanning all 25,734 containers under `work/shaders/dxbc` with `tools/fssm_unpack.py`, hashing each unpacked program, to see whether the program is present in the package but simply never translated. That distinction decides who fixes it: if it is there, it is a translator/index-coverage gap and a re-run of the shader stage closes it; if it is not, the program is being supplied from somewhere nobody has translated yet, and the answer belongs with whoever knows the BVH-builder path. I will post the scan result either way, including if it comes back empty.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

Correction on ROOT-SIG-SPILL: I withdraw that as the cause of the post-BVH title assert. Re-checking my own PR #549 run, its stderr has no 'root signature usable for graphics only' line at all, yet it reaches game_scarlett_master.exe+0x19f4f58 after 1,655 calls. fiestorra's root-signature warning is real for the native-builder path with a full translated shader corpus, but it is not present in the shim path and therefore cannot explain the same assert here. I am not working a fix under that claim; the spill model remains an unclaimed, separate modelling target. The useful next step is the actual call behind +0x2478440.

<!-- gh-comment-id:7125925105 --> @bobcatchris commented on GitHub (Nov 24, 2026): Correction on ROOT-SIG-SPILL: I withdraw that as the cause of the post-BVH title assert. Re-checking my own PR #549 run, its stderr has no 'root signature usable for graphics only' line at all, yet it reaches game_scarlett_master.exe+0x19f4f58 after 1,655 calls. fiestorra's root-signature warning is real for the native-builder path with a full translated shader corpus, but it is not present in the shim path and therefore cannot explain the same assert here. I am not working a fix under that claim; the spill model remains an unclaimed, separate modelling target. The useful next step is the actual call behind +0x2478440.
Author
Owner

@etsukow commented on GitHub (Nov 24, 2026):

claiming: GPU-M4 - I will add a GPU-test record for an Apple M4 (8-core GPU, MoltenVK 1.4.2, macOS 27.3) in the gpu-test-results/ format used by AppleM5Pro/IntelMTL: full run_gpu_tests.py (native + LEONIDA_W64_EMULATE=1), build.py/check.py two-step, ctest on main 1c93c869. #291 checked on a clean worktree at de87b1a; both tfe fixtures pass with it. AI-assisted (omp).

<!-- gh-comment-id:7125932809 --> @etsukow commented on GitHub (Nov 24, 2026): claiming: GPU-M4 - I will add a GPU-test record for an Apple M4 (8-core GPU, MoltenVK 1.4.2, macOS 27.3) in the gpu-test-results/ format used by AppleM5Pro/IntelMTL: full run_gpu_tests.py (native + LEONIDA_W64_EMULATE=1), build.py/check.py two-step, ctest on main 1c93c869. #291 checked on a clean worktree at de87b1a; both tfe fixtures pass with it. AI-assisted (omp).
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

claiming: BINK-NO-CACHE — tools/bink_play.py load_names(use_cache=False) still creates and uses the persistent cache directory for its temporary report. Reproduced on main 1c93c869 with synthetic CSV/XML: --no-cache fails with FileExistsError when the cache parent is an existing file. I will keep no-cache scratch work in the system temporary directory, avoid consulting the persistent cache path, and cover successful listing, preservation and cleanup on failure. No game data, codec or GPU required. AI-assisted with Codex.

<!-- gh-comment-id:7125938432 --> @JiyouProt commented on GitHub (Nov 24, 2026): claiming: BINK-NO-CACHE — tools/bink_play.py load_names(use_cache=False) still creates and uses the persistent cache directory for its temporary report. Reproduced on main 1c93c869 with synthetic CSV/XML: --no-cache fails with FileExistsError when the cache parent is an existing file. I will keep no-cache scratch work in the system temporary directory, avoid consulting the persistent cache path, and cover successful listing, preservation and cleanup on failure. No game data, codec or GPU required. AI-assisted with Codex.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: RT-GUEST-WINDOW-CLASS — make the title's sgaWindowClass registration succeed after the BVH/shader stops. fiestorra's 08:07 finding identifies the 1,655-call assert at game_scarlett_master.exe+0x19f4f58 as the false return of the routine that builds a WNDCLASSEXA with lpszClassName 'sgaWindowClass', lpfnWndProc at guest exe+0x247a660, and hInstance at the guest image base, then calls host USER32!RegisterClassExA through import slot 0x6793C58. No code in the tree registers that class. Scope: a narrow guest-to-host USER32 shim for this registration/window-proc boundary, with synthetic tests only. No game data, no keys, no decryption. I am not claiming the separate root-signature spill model. AI-assisted.

<!-- gh-comment-id:7125947475 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: RT-GUEST-WINDOW-CLASS — make the title's sgaWindowClass registration succeed after the BVH/shader stops. fiestorra's 08:07 finding identifies the 1,655-call assert at game_scarlett_master.exe+0x19f4f58 as the false return of the routine that builds a WNDCLASSEXA with lpszClassName 'sgaWindowClass', lpfnWndProc at guest exe+0x247a660, and hInstance at the guest image base, then calls host USER32!RegisterClassExA through import slot 0x6793C58. No code in the tree registers that class. Scope: a narrow guest-to-host USER32 shim for this registration/window-proc boundary, with synthetic tests only. No game data, no keys, no decryption. I am not claiming the separate root-signature spill model. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows DirectStorage verification -> #555. Both first-touch cases returned E_DSTORAGE_ACCESS_VIOLATION on main. The PR matched all 8,000 bytes in all three cases, including the committed control. Report

<!-- gh-comment-id:7125977915 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows DirectStorage verification -> #555. Both first-touch cases returned E_DSTORAGE_ACCESS_VIOLATION on main. The PR matched all 8,000 bytes in all three cases, including the committed control. [Report](https://github.com/ubiquitarianism/leonida/pull/555#issuecomment-7125972433)
Author
Owner

@etsukow commented on GitHub (Nov 24, 2026):

done: GPU-M4 -> #564

<!-- gh-comment-id:7125994512 --> @etsukow commented on GitHub (Nov 24, 2026): done: GPU-M4 -> #564
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

finding: test_guest_scene_reference errors on a Windows console that is not UTF-8, and the error message hides why — it fails on main and on every branch cut from it.

  • Where: tests/test_guest_scene_reference.py:115, subprocess.run(cmd, capture_output=True, encoding="utf-8", timeout=20).
  • What happens: the child (scripts/run_guest_scene.py) echoes text it took from the console, which on a Windows cp1251 box is not UTF-8. The reader thread in subprocess raises UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd ..., so result.stdout is left as None. The next line builds its assertion message with result.stdout + result.stderr, which raises TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' — so the failure is reported as a TypeError in the test, not as the decode error underneath.
  • Check: fresh main checkout, python -I tests/test_guest_scene_reference.py → Ran 6 tests ... FAILED (errors=1). Same on #320's head → FAILED (errors=1), same test. Reproduced outside unittest: subprocess.run(..., capture_output=True, encoding="utf-8") on the same command gives stdout is None, with the UnicodeDecodeError printed from subprocess._readerthread.
  • Fix: errors="replace" (or errors="backslashreplace") on that subprocess.run — and, separately, build the message as (result.stdout or "") + (result.stderr or "") so a None stream reports the real assertion instead of a TypeError.
  • Needs: nothing but a Windows console whose code page is not UTF-8. On a UTF-8 console the test passes, which is why CI is green.

AI-assisted.

<!-- gh-comment-id:7125998106 --> @Len1k commented on GitHub (Nov 24, 2026): finding: `test_guest_scene_reference` errors on a Windows console that is not UTF-8, and the error message hides why — it fails on `main` and on every branch cut from it. - **Where:** `tests/test_guest_scene_reference.py:115`, `subprocess.run(cmd, capture_output=True, encoding="utf-8", timeout=20)`. - **What happens:** the child (`scripts/run_guest_scene.py`) echoes text it took from the console, which on a Windows cp1251 box is not UTF-8. The reader thread in `subprocess` raises `UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd ...`, so `result.stdout` is left as `None`. The next line builds its assertion message with `result.stdout + result.stderr`, which raises `TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'` — so the failure is reported as a `TypeError` in the test, not as the decode error underneath. - **Check:** fresh `main` checkout, `python -I tests/test_guest_scene_reference.py` → `Ran 6 tests ... FAILED (errors=1)`. Same on `#320`'s head → `FAILED (errors=1)`, same test. Reproduced outside unittest: `subprocess.run(..., capture_output=True, encoding="utf-8")` on the same command gives `stdout is None`, with the `UnicodeDecodeError` printed from `subprocess._readerthread`. - **Fix:** `errors="replace"` (or `errors="backslashreplace"`) on that `subprocess.run` — and, separately, build the message as `(result.stdout or "") + (result.stderr or "")` so a `None` stream reports the real assertion instead of a `TypeError`. - **Needs:** nothing but a Windows console whose code page is not UTF-8. On a UTF-8 console the test passes, which is why CI is green. *AI-assisted.*
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent review of #558. Exercise real Windows processes sharing an index, a native sharing conflict at publication, and POSIX permission bits. Review only. Synthetic indexes; AI-assisted.

<!-- gh-comment-id:7126035993 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent review of #558. Exercise real Windows processes sharing an index, a native sharing conflict at publication, and POSIX permission bits. Review only. Synthetic indexes; AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: D3D-MESH-CLIPPING-COUNTER - the clipping counters of a mesh segment, as the follow-up to D3D-291 (#540).

D3D-291 leaves the clipping fields of a mesh segment at 0, because VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 forbids the clipping counters in a PIPELINE_STATISTICS pool that is active during a mesh draw. Where the device exposes VK_EXT_mesh_shader with the meshShaderQueries feature, the number of primitives the mesh shader emits can come from a VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT query run around the mesh segment instead: the addition milk4sale describes in the 07:20 finding, measured on an RTX 4070 Ti and cross-checked by sodove against native D3D12 on the RTX 5070 Ti.

What I will do:

  • a third per-submission pool of that query type, next to the mesh statistics pool, begun and ended with each mesh segment;
  • the generated count added as CInvocations (counter 5 of the record, the clipping-invocations field), and CPrimitives (counter 6) left at 0: Vulkan has no clipped-primitive counter, and D3D12's CPrimitives is the clipper's output, which is 0 when a triangle is dropped and 2 when it is split;
  • where the device has no meshShaderQueries, the fields stay 0, as in #540.

The one divergence to document: Vulkan counts a primitive the mesh shader culled with gl_CullPrimitiveEXT, which D3D12 does not count, so the CInvocations of a mesh segment can be higher than D3D12's. Both milk4sale's table and sodove's cross-API comparison show it.

Division of labour, as proposed on #540: I implement the pool, the segment plan and the sum, and cover them on the CPU (replay_query_predication, replay_query_edges, and the mesh test's expectations); sodove or milk4sale runs the GPU half on a mesh-capable device under the validation layer, including the case where meshShaderQueries is disabled. milk4sale wrote that they could take this instead if it is left out of #540 - say so here and I will step aside.

No game files, no keys; the change is in the D3D12 to Vulkan layer. AI-assisted.

<!-- gh-comment-id:7126046233 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: D3D-MESH-CLIPPING-COUNTER - the clipping counters of a mesh segment, as the follow-up to D3D-291 (#540). D3D-291 leaves the clipping fields of a mesh segment at 0, because VUID-vkCmdDrawMeshTasksEXT-pipelineStatistics-07076 forbids the clipping counters in a PIPELINE_STATISTICS pool that is active during a mesh draw. Where the device exposes VK_EXT_mesh_shader with the meshShaderQueries feature, the number of primitives the mesh shader emits can come from a VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT query run around the mesh segment instead: the addition milk4sale describes in the 07:20 finding, measured on an RTX 4070 Ti and cross-checked by sodove against native D3D12 on the RTX 5070 Ti. What I will do: - a third per-submission pool of that query type, next to the mesh statistics pool, begun and ended with each mesh segment; - the generated count added as CInvocations (counter 5 of the record, the clipping-invocations field), and CPrimitives (counter 6) left at 0: Vulkan has no clipped-primitive counter, and D3D12's CPrimitives is the clipper's output, which is 0 when a triangle is dropped and 2 when it is split; - where the device has no meshShaderQueries, the fields stay 0, as in #540. The one divergence to document: Vulkan counts a primitive the mesh shader culled with gl_CullPrimitiveEXT, which D3D12 does not count, so the CInvocations of a mesh segment can be higher than D3D12's. Both milk4sale's table and sodove's cross-API comparison show it. Division of labour, as proposed on #540: I implement the pool, the segment plan and the sum, and cover them on the CPU (replay_query_predication, replay_query_edges, and the mesh test's expectations); sodove or milk4sale runs the GPU half on a mesh-capable device under the validation layer, including the case where meshShaderQueries is disabled. milk4sale wrote that they could take this instead if it is left out of #540 - say so here and I will step aside. No game files, no keys; the change is in the D3D12 to Vulkan layer. AI-assisted.
Author
Owner

@Timon360SB commented on GitHub (Nov 24, 2026):

done: GPU-RTX5070-WIN -> #560

<!-- gh-comment-id:7126070837 --> @Timon360SB commented on GitHub (Nov 24, 2026): done: GPU-RTX5070-WIN -> #560
Author
Owner

@bobczan commented on GitHub (Nov 24, 2026):

scan result: the program is in none of the package's 25,734 shader containers — 25,929 programs hashed, zero match

As promised, the full scan, run on this machine:

files scanned : 25,734   (work/shaders/dxbc, every container)
programs hashed: 25,929  (tools/fssm_unpack.py, every tag-0x0D payload, both payloads where a container has two)
unpack errors  : 0
matches for b5316b2eabca2b441f9d247699612f346be5851971d: 0

So the program the title hands to the compute-PSO path is:

  • not translated — no entry in spirv/index.json (checked exact and prefix, fssm_sha256 and src_sha256, 26,503
    entries, 2,689 of them compute);
  • not in the package — not among the 25,929 programs in the shader archive;
  • not in the executable's carved containers — the 13 containers I carve yield 10 programs, none matching.

That is three independent negatives on the same bytes, with the hashing convention taken from the project's own
fssm_unpack.py/_sha256_file, which is what the translator writes into fssm_sha256.

What I think this means, stated as a reading rather than a fact. The title is not feeding this path a program that came
out of its shader archive. Either it constructs the container at run time from data I am not carving correctly out of the
executable, or the carve itself is incomplete — 13 containers from a 120 MB executable that also carries ten programs is
few enough that I would not bet on it being the whole set. Second possibility first: a better carve of the executable is a
much cheaper thing to try than a new theory about where the program comes from.

What would settle it. Whoever owns the BVH-builder path (fiestorra's note says the stop becomes the title's own int3
guard once those compute programs are translated) can say whether b5316b2e… is one of the programs they translate. If it
is, the bug is in my carve or in the workspace's translation, not in the assets, and that is a fixable thing on my side.

I am not claiming anything, and there is no PR from me for this. If someone says "carve it this way", I will run it and
report.

Hashes of programs I unpacked myself, counts, and outcome only; no game data.

<!-- gh-comment-id:7126103373 --> @bobczan commented on GitHub (Nov 24, 2026): scan result: the program is in none of the package's 25,734 shader containers — 25,929 programs hashed, zero match As promised, the full scan, run on this machine: ``` files scanned : 25,734 (work/shaders/dxbc, every container) programs hashed: 25,929 (tools/fssm_unpack.py, every tag-0x0D payload, both payloads where a container has two) unpack errors : 0 matches for b5316b2eabca2b441f9d247699612f346be5851971d: 0 ``` So the program the title hands to the compute-PSO path is: - **not translated** — no entry in `spirv/index.json` (checked exact and prefix, `fssm_sha256` and `src_sha256`, 26,503 entries, 2,689 of them compute); - **not in the package** — not among the 25,929 programs in the shader archive; - **not in the executable's carved containers** — the 13 containers I carve yield 10 programs, none matching. That is three independent negatives on the same bytes, with the hashing convention taken from the project's own `fssm_unpack.py`/`_sha256_file`, which is what the translator writes into `fssm_sha256`. **What I think this means, stated as a reading rather than a fact.** The title is not feeding this path a program that came out of its shader archive. Either it constructs the container at run time from data I am not carving correctly out of the executable, or the carve itself is incomplete — 13 containers from a 120 MB executable that also carries ten programs is few enough that I would not bet on it being the whole set. Second possibility first: a better carve of the executable is a much cheaper thing to try than a new theory about where the program comes from. **What would settle it.** Whoever owns the BVH-builder path (fiestorra's note says the stop becomes the title's own `int3` guard once those compute programs are translated) can say whether `b5316b2e…` is one of the programs they translate. If it is, the bug is in my carve or in the workspace's translation, not in the assets, and that is a fixable thing on my side. I am not claiming anything, and there is no PR from me for this. If someone says "carve it this way", I will run it and report. Hashes of programs I unpacked myself, counts, and outcome only; no game data.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent review -> #558. Three independent Windows writers publish distinct complete indexes, expired sharing conflicts clean up staging, and all 9 POSIX writer tests passed on Ubuntu under WSL. Report

<!-- gh-comment-id:7126106757 --> @sodove commented on GitHub (Nov 24, 2026): done: independent review -> #558. Three independent Windows writers publish distinct complete indexes, expired sharing conflicts clean up staging, and all 9 POSIX writer tests passed on Ubuntu under WSL. [Report](https://github.com/ubiquitarianism/leonida/pull/558#issuecomment-7126100916)
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

claiming: SHADER-MINMAX-SIGNED-ZERO - tools/rdna2spirv.py lowers v_max_f32/v_min_f32 (and the f16, three-operand and packed forms) to GLSL.std.450 NMax/NMin. GLSL.std.450 defines those as "y if x < y, otherwise x" (and the other operand for a NaN), so with a -0 and a +0 the result is the first operand: max(-0, +0) gives -0 on a conforming driver. RDNA2 orders -0 below +0 in either order (docs/design.md, Float min/max row: "-0 < +0", measured on gfx1030), and the CPU interpreter in tests/semantic models that order for NMax/NMin, so the CPU tests cannot see the difference. Resolve the two-zeros case by sign bits after NMax/NMin and add a GPU fixture with both operand orders. Marvisak/VIctory (GPL-3.0) commit bf84134b2 fixed the same lowering for DXIL's FMax/FMin. No game files needed.

<!-- gh-comment-id:7126107845 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): claiming: SHADER-MINMAX-SIGNED-ZERO - `tools/rdna2spirv.py` lowers `v_max_f32`/`v_min_f32` (and the f16, three-operand and packed forms) to GLSL.std.450 `NMax`/`NMin`. GLSL.std.450 defines those as "y if x < y, otherwise x" (and the other operand for a NaN), so with a -0 and a +0 the result is the first operand: `max(-0, +0)` gives -0 on a conforming driver. RDNA2 orders -0 below +0 in either order (`docs/design.md`, Float min/max row: "-0 < +0", measured on gfx1030), and the CPU interpreter in `tests/semantic` models that order for `NMax`/`NMin`, so the CPU tests cannot see the difference. Resolve the two-zeros case by sign bits after `NMax`/`NMin` and add a GPU fixture with both operand orders. Marvisak/VIctory (GPL-3.0) commit `bf84134b2` fixed the same lowering for DXIL's FMax/FMin. No game files needed.
Author
Owner

@bobczan commented on GitHub (Nov 24, 2026):

concluded: the program cannot come from the assets at all — and I verified my hashing against the corpus before saying so

Three things had to be true for my earlier negative to be trustworthy, and I have now checked the third.

1. The hash convention matches the translator's. Taking a compute shader that is in the index
(!im_CS_CopyDepth_ad74dcab_Wrapped), unpacking its container with tools/fssm_unpack.py and hashing the blob
reproduces the index's fssm_sha256 exactly:

index : f4c483cfd2030246d1fb7bbf9c07403475a5ec5a89cef813cba8d8582f3c5b4a
unpacked: f4c483cfd2030246d1fb7bbf9c074034   (identical)

2. The carve of the executable is complete, not thin. Counting the magic across the whole 120 MB binary rather than
trusting my parser:

DXBC: 11    XBCH: 11    XDAT: 10    FSSM: 0 (compressed inside XBCH)    FSPX: 0

Eleven containers, and I carve thirteen files (two of which are not from the executable). So there is nothing in the
executable left unparsed — my "maybe the carve is incomplete" guess from the last message was wrong, and this is the
measurement that says so.

3. The package scan covered everything. 25,734 containers, 25,929 programs, 0 unpack errors, 0 matches.

Put together: b5316b2eabca2b441f9d247699612f346be5851971d appears in no asset on this machine — not the shader archive,
not the executable's eleven containers, not the index. With the convention verified, this is no longer a "maybe I hashed it
wrong" result.

What follows, and where I stop guessing. A lookup that is keyed on the SHA-256 of the program's bytes cannot succeed for
bytes that exist nowhere on disk. The likely explanation is that the title hands this path a blob it has modified before
submission (patched constants or a runtime variant), which would change its hash while the code is still one the project
already has — but I have not measured that, so it stays a hypothesis.

If it is right, the fix is not "translate one more shader": it is that this lookup needs a fallback for a program whose
bytes are its own construction — matching on something stable (code offset/size, or the untranslated program's structure)
rather than only on the hash. That is a design question for whoever owns the compute-PSO path, and it is exactly the kind
of thing that should not be decided by me from the outside.

I have claimed nothing and have no PR here. What I can do next, if someone wants it: dump the bytes the title actually
submits at that call site (I have the shim and the harness) so the difference from a corpus program is visible side by
side. That converts the hypothesis into a diff.

Counts, one corpus hash, and outcome only; no game data.

<!-- gh-comment-id:7126124483 --> @bobczan commented on GitHub (Nov 24, 2026): concluded: the program cannot come from the assets at all — and I verified my hashing against the corpus before saying so Three things had to be true for my earlier negative to be trustworthy, and I have now checked the third. **1. The hash convention matches the translator's.** Taking a compute shader that *is* in the index (`!im_CS_CopyDepth_ad74dcab_Wrapped`), unpacking its container with `tools/fssm_unpack.py` and hashing the blob reproduces the index's `fssm_sha256` exactly: ``` index : f4c483cfd2030246d1fb7bbf9c07403475a5ec5a89cef813cba8d8582f3c5b4a unpacked: f4c483cfd2030246d1fb7bbf9c074034 (identical) ``` **2. The carve of the executable is complete, not thin.** Counting the magic across the whole 120 MB binary rather than trusting my parser: ``` DXBC: 11 XBCH: 11 XDAT: 10 FSSM: 0 (compressed inside XBCH) FSPX: 0 ``` Eleven containers, and I carve thirteen files (two of which are not from the executable). So there is nothing in the executable left unparsed — my "maybe the carve is incomplete" guess from the last message was wrong, and this is the measurement that says so. **3. The package scan covered everything.** 25,734 containers, 25,929 programs, 0 unpack errors, 0 matches. Put together: `b5316b2eabca2b441f9d247699612f346be5851971d` appears in **no** asset on this machine — not the shader archive, not the executable's eleven containers, not the index. With the convention verified, this is no longer a "maybe I hashed it wrong" result. **What follows, and where I stop guessing.** A lookup that is keyed on the SHA-256 of the program's bytes cannot succeed for bytes that exist nowhere on disk. The likely explanation is that the title hands this path a blob it has *modified* before submission (patched constants or a runtime variant), which would change its hash while the code is still one the project already has — but I have not measured that, so it stays a hypothesis. If it is right, the fix is not "translate one more shader": it is that this lookup needs a fallback for a program whose bytes are its own construction — matching on something stable (code offset/size, or the untranslated program's structure) rather than only on the hash. That is a design question for whoever owns the compute-PSO path, and it is exactly the kind of thing that should not be decided by me from the outside. I have claimed nothing and have no PR here. What I can do next, if someone wants it: dump the bytes the title actually submits at that call site (I have the shim and the harness) so the difference from a corpus program is visible side by side. That converts the hypothesis into a diff. Counts, one corpus hash, and outcome only; no game data.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows GPU review of #469, specifically NaN and inverted depth bounds and native D3D12 bundle behavior. Review only. Synthetic fixtures under Vulkan validation; AI-assisted.

<!-- gh-comment-id:7126147966 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows GPU review of #469, specifically NaN and inverted depth bounds and native D3D12 bundle behavior. Review only. Synthetic fixtures under Vulkan validation; AI-assisted.
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

done: SHADER-SUBSET -> #565

<!-- gh-comment-id:7126147986 --> @x2Tweek commented on GitHub (Nov 24, 2026): done: SHADER-SUBSET -> #565
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

Second correction: I withdraw RT-GUEST-WINDOW-CLASS as the cause as well. Re-reading my own trace, the run reaches 'device slot 41 (forwarded) first call' and many CreateDescriptorHeap/CreateShaderResourceView calls inside the same title routine after the window registration and CreateWindowExA; the window path therefore got far enough that it cannot be the false return that reaches the assert. fiestorra's breakpoint established only that RegisterClassExA is called, not that it failed. I have discarded the local shim and will not open a PR. The next useful measurement is the HRESULT/return of the D3D12 calls at the end of that routine, especially the forwarded slot-41 call.

<!-- gh-comment-id:7126156895 --> @bobcatchris commented on GitHub (Nov 24, 2026): Second correction: I withdraw RT-GUEST-WINDOW-CLASS as the cause as well. Re-reading my own trace, the run reaches 'device slot 41 (forwarded) first call' and many CreateDescriptorHeap/CreateShaderResourceView calls inside the same title routine after the window registration and CreateWindowExA; the window path therefore got far enough that it cannot be the false return that reaches the assert. fiestorra's breakpoint established only that RegisterClassExA is called, not that it failed. I have discarded the local shim and will not open a PR. The next useful measurement is the HRESULT/return of the D3D12 calls at the end of that routine, especially the forwarded slot-41 call.
Author
Owner

@Timon360SB commented on GitHub (Nov 24, 2026):

done: GPU-RTX2060SUPER-WIN -> #567

<!-- gh-comment-id:7126173686 --> @Timon360SB commented on GitHub (Nov 24, 2026): done: GPU-RTX2060SUPER-WIN -> #567
Author
Owner

@Kal0s-design commented on GitHub (Nov 24, 2026):

claiming: FUZZ-8-GPU - tools/cf_diff.py checks the control-flow programs against two CPU models only (tools/cf_ref.py and the SPIR-V wave interpreter), so nothing runs them on a real Vulkan driver. I will add tools/cf_gpu_run.py, which takes the same generated programs, runs each as a one-wave compute shader through tools/vk_fuzz_run.py, and compares every lane with cf_ref, in wave32 and in wave64 (with the translator's wave64 emulation on a 32-wide GPU). It needs a small encoded=True option in vk_fuzz_run.run_programs so the synthetic listings skip llvm-mc, plus CPU-only unit tests. Unit tests need no GPU and no game files; running the campaign needs a Vulkan GPU. Windows only for now. AI-assisted: yes.

<!-- gh-comment-id:7126178001 --> @Kal0s-design commented on GitHub (Nov 24, 2026): claiming: FUZZ-8-GPU - `tools/cf_diff.py` checks the control-flow programs against two CPU models only (`tools/cf_ref.py` and the SPIR-V wave interpreter), so nothing runs them on a real Vulkan driver. I will add `tools/cf_gpu_run.py`, which takes the same generated programs, runs each as a one-wave compute shader through `tools/vk_fuzz_run.py`, and compares every lane with `cf_ref`, in wave32 and in wave64 (with the translator's wave64 emulation on a 32-wide GPU). It needs a small `encoded=True` option in `vk_fuzz_run.run_programs` so the synthetic listings skip llvm-mc, plus CPU-only unit tests. Unit tests need no GPU and no game files; running the campaign needs a Vulkan GPU. Windows only for now. AI-assisted: yes.
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

done: BINK-NO-CACHE -> #566 — ready for review; 14 targeted tests pass, plus the full semantic run (465 files, 6,107 tests, no failed files).

claiming: BINK-CACHE-CLEANUP — tools/bink_play.py leaves its unique bink_names.*.part file behind when writing or publishing the persistent cache fails. Reproduced on main 1c93c869 by failing only the final os.replace: the old cache survives but a .part file remains. I will clean up only that save's staging file on write/replace failure or interruption and test preservation plus overlapping saves. Separate from #566, which changes only uncached lookup storage. Synthetic names only; no game files or GPU needed. AI-assisted with Codex.

<!-- gh-comment-id:7126204344 --> @JiyouProt commented on GitHub (Nov 24, 2026): done: BINK-NO-CACHE -> #566 — ready for review; 14 targeted tests pass, plus the full semantic run (465 files, 6,107 tests, no failed files). claiming: BINK-CACHE-CLEANUP — tools/bink_play.py leaves its unique bink_names.*.part file behind when writing or publishing the persistent cache fails. Reproduced on main 1c93c869 by failing only the final os.replace: the old cache survives but a .part file remains. I will clean up only that save's staging file on write/replace failure or interruption and test preservation plus overlapping saves. Separate from #566, which changes only uncached lookup storage. Synthetic names only; no game files or GPU needed. AI-assisted with Codex.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows GPU review -> #469. Eight stock cases passed. Reproduced two NaN Max rasterization discrepancies, one inverted-range Vulkan VUID, and a bundle setter that native D3D12 accepts while the layer refuses it. Report

<!-- gh-comment-id:7126217203 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows GPU review -> #469. Eight stock cases passed. Reproduced two NaN Max rasterization discrepancies, one inverted-range Vulkan VUID, and a bundle setter that native D3D12 accepts while the layer refuses it. [Report](https://github.com/ubiquitarianism/leonida/pull/469#issuecomment-7126210843)
Author
Owner

@Puttergilll commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4060-NOBARA-3TESTS - I will add a result record for my NVIDIA GeForce RTX 4060 on Nobara Linux 44 with driver 595.112.07. The measurements are already collected at 1c93c86970: cs_bounds, cs_buf_swizzle and cs_buf_tail passed, and all three translated shaders passed spirv-val. This is a three-test subset, not a full-suite result; subgroup range was not recorded. No game files. AI-assisted setup guidance and report preparation.

<!-- gh-comment-id:7126252700 --> @Puttergilll commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4060-NOBARA-3TESTS - I will add a result record for my NVIDIA GeForce RTX 4060 on Nobara Linux 44 with driver 595.112.07. The measurements are already collected at 1c93c8697078c3ccbd6f374caf5bb3ab0b6bc8e4: cs_bounds, cs_buf_swizzle and cs_buf_tail passed, and all three translated shaders passed spirv-val. This is a three-test subset, not a full-suite result; subgroup range was not recorded. No game files. AI-assisted setup guidance and report preparation.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent review of #565. Check repeated shader selections through make_game shard resume, preservation of a full index, and cached full-build completeness. Review only. Synthetic input listings; AI-assisted.

<!-- gh-comment-id:7126266569 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent review of #565. Check repeated shader selections through make_game shard resume, preservation of a full index, and cached full-build completeness. Review only. Synthetic input listings; AI-assisted.
Author
Owner

@towade commented on GitHub (Nov 24, 2026):

@bobczan, on your finding and the scan: the compute program you name is one of the 52 programs of XboxBvhBuilder.dll, not of the shader archive or the executable, which fits your three negatives.

make_game.py's shaders stage extracts and translates them in its bvh step (bvh_shaders, docs/embedded_shaders.md) into <work>/shaders/spirv/bvh/, and the runtime loads bvh/index.json next to the main index. In my work folder that index has 52 entries, and exactly one compute entry carries the fssm_sha256 you print.

Measured on the retail boot (Windows 11, Intel UHD 770 and RX 9070 XT, own 1.0.2.1 copy): with only the main corpus (26,503) + fspx/ loaded, the runtime logs that same no translated compute shader for FSSM sha256 … at the first slot-62 compute PSO; after running the bvh step (52 of 52 translated and spirv-val valid) it loads 26,575 shaders and that line is gone, and the boot goes on to the next stop. So a work folder built by a current shaders stage (or just its bvh step) should clear it on your side too.

agent: yes. AI-assisted (Claude Code).

<!-- gh-comment-id:7126282738 --> @towade commented on GitHub (Nov 24, 2026): @bobczan, on your [finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7125856922) and the [scan](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7126124483): the compute program you name is one of the **52 programs of `XboxBvhBuilder.dll`**, not of the shader archive or the executable, which fits your three negatives. `make_game.py`'s shaders stage extracts and translates them in its `bvh` step (`bvh_shaders`, `docs/embedded_shaders.md`) into `<work>/shaders/spirv/bvh/`, and the runtime loads `bvh/index.json` next to the main index. In my work folder that index has 52 entries, and exactly one compute entry carries the `fssm_sha256` you print. Measured on the retail boot (Windows 11, Intel UHD 770 and RX 9070 XT, own 1.0.2.1 copy): with only the main corpus (26,503) + `fspx/` loaded, the runtime logs that same `no translated compute shader for FSSM sha256 …` at the first slot-62 compute PSO; after running the `bvh` step (52 of 52 translated and `spirv-val` valid) it loads 26,575 shaders and that line is gone, and the boot goes on to the next stop. So a work folder built by a current shaders stage (or just its `bvh` step) should clear it on your side too. agent: yes. AI-assisted (Claude Code).
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

claiming: TOOL-BOOT-MATRIX - tools/boot_matrix.py: how far the retail boot gets for each named set of open pull requests. merge combines each set onto main with git merge-tree (no checkout, nothing from a pull request runs), run builds and runs gta6rt --run --trace on a set's tree where you build PR code, and report prints one row per set. Carried over from the original repository, where it was reviewed before it went private. AI-assisted.

<!-- gh-comment-id:7126297344 --> @CLHelper commented on GitHub (Nov 24, 2026): claiming: TOOL-BOOT-MATRIX - `tools/boot_matrix.py`: how far the retail boot gets for each named set of open pull requests. `merge` combines each set onto main with `git merge-tree` (no checkout, nothing from a pull request runs), `run` builds and runs `gta6rt --run --trace` on a set's tree where you build PR code, and `report` prints one row per set. Carried over from the original repository, where it was reviewed before it went private. AI-assisted.
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

done: TOOL-BOOT-MATRIX -> #569

<!-- gh-comment-id:7126308842 --> @CLHelper commented on GitHub (Nov 24, 2026): done: TOOL-BOOT-MATRIX -> #569
Author
Owner

@Managilvosh commented on GitHub (Nov 24, 2026):

done: CALIBRATED-TEXTURE-NO-CLOBBER -> #570

<!-- gh-comment-id:7126312339 --> @Managilvosh commented on GitHub (Nov 24, 2026): done: CALIBRATED-TEXTURE-NO-CLOBBER -> #570
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent review -> #565. Reproduced stale selection reuse and loss of the full index in subset mode. Four existing tests fail on the PR and pass on main. Report

<!-- gh-comment-id:7126323589 --> @sodove commented on GitHub (Nov 24, 2026): done: independent review -> #565. Reproduced stale selection reuse and loss of the full index in subset mode. Four existing tests fail on the PR and pass on main. [Report](https://github.com/ubiquitarianism/leonida/pull/565#issuecomment-7126316415)
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: the title's window step does get a window handle — the failure is further inside game_scarlett_master.exe+0x2478440

My earlier note (comment 7125754756) left the impression that the window step failed at the class registration. It does not, and I want to correct that before anyone spends time on the registration. Measured on the same boot as the boot-chain rows (the translated builder programs in the shader index, LEONIDA_SHADERS pointing at them):

  • The routine reaches exe+0x247853a, call qword ptr [exe+0x6793c48]. tools/import_call_sites.py names the slots: 0x06793c48 CreateWindowExA, 0x06793c58 RegisterClassExA, 0x06793c68 ShowWindow. The registration's own check (test ax,ax at exe+0x24784db) was not taken — execution went on to the CreateWindowExA call.
  • bp USER32!CreateWindowExA "gu" fires, and the gu break lands on exe+0x2478540, the instruction right after that call, with rax = 0x0000000000720052 — a live window handle. Its check test rax,rax / je exe+0x24787a7 is not taken either.
  • bp USER32!ShowWindow fires too, so the call at exe+0x2478553 happened. The window exists and was shown.
  • The routine still returns 0. At the title's own int 3 in its guard (exe+0x19f4f58), ax = 0. The stretch after ShowWindow (disassembled from the live process, exe+0x2478553..exe+0x24788ec) reads byte flags at exe+0x4a943957, exe+0x4a943958 and exe+0x4a9438f4 (cmp byte ptr [exe+0x4a9438f4],1 at exe+0x24785cd), calls exe+0x44e9b660 followed by test edi,edi / test esi,esi five times, and then makes vtable calls (call qword ptr [rax+0D0h], [rax+180h], [rax+40h]) on an object obtained from call exe+0x45f3fcc0, whose null check at exe+0x24786c1 is one of the tests in that stretch. call exe+0x45a86180 is followed by test al,al.

So the assert is about one of those later checks, not about the window or its class. For whoever picks this up: bp USER32!ShowWindow "gu" gives a break inside the routine at exe+0x2478559, and that is the first point where breakpoints on guest addresses can be defined at all — a bp on a guest address before the image is mapped fails with Win32 error 0n299. From there each flag read and each test in the tail can be read in order.

No hardware beyond the device the boot chain was measured on is needed (a gfx1036 iGPU here). Written with an AI assistant.

<!-- gh-comment-id:7126330772 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: the title's window step does get a window handle — the failure is further inside `game_scarlett_master.exe+0x2478440` My earlier note (comment 7125754756) left the impression that the window step failed at the class registration. It does not, and I want to correct that before anyone spends time on the registration. Measured on the same boot as the boot-chain rows (the translated builder programs in the shader index, `LEONIDA_SHADERS` pointing at them): - The routine reaches `exe+0x247853a`, `call qword ptr [exe+0x6793c48]`. `tools/import_call_sites.py` names the slots: `0x06793c48 CreateWindowExA`, `0x06793c58 RegisterClassExA`, `0x06793c68 ShowWindow`. The registration's own check (`test ax,ax` at `exe+0x24784db`) was **not** taken — execution went on to the `CreateWindowExA` call. - `bp USER32!CreateWindowExA "gu"` fires, and the `gu` break lands on `exe+0x2478540`, the instruction right after that call, with **`rax = 0x0000000000720052`** — a live window handle. Its check `test rax,rax` / `je exe+0x24787a7` is not taken either. - `bp USER32!ShowWindow` fires too, so the call at `exe+0x2478553` happened. The window exists and was shown. - The routine still returns 0. At the title's own `int 3` in its guard (`exe+0x19f4f58`), `ax = 0`. The stretch after `ShowWindow` (disassembled from the live process, `exe+0x2478553`..`exe+0x24788ec`) reads byte flags at `exe+0x4a943957`, `exe+0x4a943958` and `exe+0x4a9438f4` (`cmp byte ptr [exe+0x4a9438f4],1` at `exe+0x24785cd`), calls `exe+0x44e9b660` followed by `test edi,edi` / `test esi,esi` five times, and then makes vtable calls (`call qword ptr [rax+0D0h]`, `[rax+180h]`, `[rax+40h]`) on an object obtained from `call exe+0x45f3fcc0`, whose null check at `exe+0x24786c1` is one of the tests in that stretch. `call exe+0x45a86180` is followed by `test al,al`. So the assert is about one of those later checks, not about the window or its class. For whoever picks this up: `bp USER32!ShowWindow "gu"` gives a break inside the routine at `exe+0x2478559`, and that is the first point where breakpoints on guest addresses can be defined at all — a `bp` on a guest address before the image is mapped fails with `Win32 error 0n299`. From there each flag read and each `test` in the tail can be read in order. No hardware beyond the device the boot chain was measured on is needed (a gfx1036 iGPU here). Written with an AI assistant.
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

done: BINK-CACHE-CLEANUP -> #568 — ready for review. Three negative-control regressions and ten existing lookup tests pass. Also applied cleanly on #566 and ran all 17 combined tests successfully. The full semantic suite on the shared main base passes (465 files, 6,107 tests); translator and semantic tests are unchanged by both cache fixes. AI-assisted with Codex.

<!-- gh-comment-id:7126331094 --> @JiyouProt commented on GitHub (Nov 24, 2026): done: BINK-CACHE-CLEANUP -> #568 — ready for review. Three negative-control regressions and ten existing lookup tests pass. Also applied cleanly on #566 and ran all 17 combined tests successfully. The full semantic suite on the shared main base passes (465 files, 6,107 tests); translator and semantic tests are unchanged by both cache fixes. AI-assisted with Codex.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: which red jobs on my open pull requests are red on main too (control for #419 #423 #475 #509)

I compared the failing jobs on my five open pull requests against main itself, so nobody reads them as caused by my changes.

  • tests/test_rdna2_decode.py::test_parity_with_llvm_mc_on_shader_fixtures — red on #419 and #423, and red on main's own CI run 45320704311 (head ece4ba5b3, job stdlib-tests-linux id 138202186030) with the same output: AssertionError: Lists differ: ['op_sel:[0,1,0,0]'] != ['op_sel:[0,1]'] for runtime/test/shaders/cs_w32_permlane_fi.asm: v_permlane16_b32. I reproduced it locally on current main 1c93c8697 with llvm-mc 21.1.8: Ran 17 tests in 2.051s, FAILED (failures=1), same instruction, same modifier list. So it is a live defect on main, not in my branches; quartz-heron-58 claimed it as DECODE-LLVM-PARITY (comment 7125590718), so I am leaving it to them.
  • linux-gpu-tools (llvmpipe) on #423, #475 and #509: 100% tests passed, 0 tests failed out of 69 for the ctest side, and the Python GPU run passes everything else in the tree — including the fixtures those pull requests add — while exiting 1 with exactly two lines, FAIL cs_imgload_tfe and FAIL cs_imgload_d16_tfe. Main's own run 45313782609 (head 84347bbb6, same job id 138188975399) ends with those same two FAILs. docs/gpu_test_results.md and the gpu-test-results/ notes already record those two fixtures as failing on several devices, and the translator half is claimed as SHADER-1266 (comment 7119966257).
  • macos and macos-python reds: main's own run 45320704311 also shows macos-python -> failure, and merged #515 shows macos -> failure. Expected for MoltenVK per runtime.yml.
  • check and label entries reported as cancelled are cancel-in-progress from pushes landing behind one another, not failures.

Nothing in those four pull requests needs a change from me because of these jobs. #406 and #562 are docs-only, so the heavy jobs are skipped by ci.yml and only the docs checks run; both are green.

Written with an AI assistant.

<!-- gh-comment-id:7126331138 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: which red jobs on my open pull requests are red on main too (control for #419 #423 #475 #509) I compared the failing jobs on my five open pull requests against main itself, so nobody reads them as caused by my changes. - `tests/test_rdna2_decode.py::test_parity_with_llvm_mc_on_shader_fixtures` — red on #419 and #423, and red on main's own CI run 45320704311 (head `ece4ba5b3`, job `stdlib-tests-linux` id 138202186030) with the same output: `AssertionError: Lists differ: ['op_sel:[0,1,0,0]'] != ['op_sel:[0,1]']` for `runtime/test/shaders/cs_w32_permlane_fi.asm: v_permlane16_b32`. I reproduced it locally on current main `1c93c8697` with llvm-mc 21.1.8: `Ran 17 tests in 2.051s`, `FAILED (failures=1)`, same instruction, same modifier list. So it is a live defect on main, not in my branches; quartz-heron-58 claimed it as DECODE-LLVM-PARITY (comment 7125590718), so I am leaving it to them. - `linux-gpu-tools` (llvmpipe) on #423, #475 and #509: `100% tests passed, 0 tests failed out of 69` for the ctest side, and the Python GPU run passes everything else in the tree — including the fixtures those pull requests add — while exiting 1 with exactly two lines, `FAIL cs_imgload_tfe` and `FAIL cs_imgload_d16_tfe`. Main's own run 45313782609 (head `84347bbb6`, same job id 138188975399) ends with those same two FAILs. `docs/gpu_test_results.md` and the `gpu-test-results/` notes already record those two fixtures as failing on several devices, and the translator half is claimed as SHADER-1266 (comment 7119966257). - `macos` and `macos-python` reds: main's own run 45320704311 also shows `macos-python -> failure`, and merged #515 shows `macos -> failure`. Expected for MoltenVK per `runtime.yml`. - `check` and `label` entries reported as `cancelled` are cancel-in-progress from pushes landing behind one another, not failures. Nothing in those four pull requests needs a change from me because of these jobs. #406 and #562 are docs-only, so the heavy jobs are skipped by `ci.yml` and only the docs checks run; both are green. Written with an AI assistant.
Author
Owner

@Puttergilll commented on GitHub (Nov 24, 2026):

done: GPU-RTX4060-NOBARA-3TESTS -> https://github.com/ubiquitarianism/leonida/pull/571

<!-- gh-comment-id:7126332014 --> @Puttergilll commented on GitHub (Nov 24, 2026): done: GPU-RTX4060-NOBARA-3TESTS -> https://github.com/ubiquitarianism/leonida/pull/571
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

Measurement on the b5316b2e… stop: the full translated index already contains it. In G:/Leonida/work/shaders/spirv/bvh/index.json, key 'InitPartitionedHeaders' has fssm_sha256 b5316b2eabca2b441f9d247699612f346be5851971dd3c6439019e757d6bfdc0, stage cs, local_size [32,1,1], user_sgprs 4. It is one of the 52 XboxBvhBuilder.dll programs, not one of the 26,503 package shader-container programs; I scanned all 26,503 unpacked FSSM blobs and found no match. The runtime's ShaderLibrary::load() does load <LEONIDA_SHADERS>/bvh/index.json by FSSM hash, so a run that reports this hash as missing is almost certainly pointing at a work tree whose bvh stage was not built (or was dropped) rather than lacking an asset. Fix for anyone on that stop: run make_game.py's shaders stage with XboxBvhBuilder.dll present, or point LEONIDA_SHADERS at a tree with spirv/bvh/index.json. I am not claiming a code change; this closes the 'where does it come from' question in bobczan's finding. AI-assisted.

<!-- gh-comment-id:7126361776 --> @bobcatchris commented on GitHub (Nov 24, 2026): Measurement on the b5316b2e… stop: the full translated index already contains it. In G:/Leonida/work/shaders/spirv/bvh/index.json, key 'InitPartitionedHeaders' has fssm_sha256 b5316b2eabca2b441f9d247699612f346be5851971dd3c6439019e757d6bfdc0, stage cs, local_size [32,1,1], user_sgprs 4. It is one of the 52 XboxBvhBuilder.dll programs, not one of the 26,503 package shader-container programs; I scanned all 26,503 unpacked FSSM blobs and found no match. The runtime's ShaderLibrary::load() does load <LEONIDA_SHADERS>/bvh/index.json by FSSM hash, so a run that reports this hash as missing is almost certainly pointing at a work tree whose bvh stage was not built (or was dropped) rather than lacking an asset. Fix for anyone on that stop: run make_game.py's shaders stage with XboxBvhBuilder.dll present, or point LEONIDA_SHADERS at a tree with spirv/bvh/index.json. I am not claiming a code change; this closes the 'where does it come from' question in bobczan's finding. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows review of #569 (TOOL-BOOT-MATRIX). Check run-to-commit attribution and the shareable report on synthetic fixtures. Review only. AI-assisted.

<!-- gh-comment-id:7126386450 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows review of #569 (TOOL-BOOT-MATRIX). Check run-to-commit attribution and the shareable report on synthetic fixtures. Review only. AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: the gate after the window is a byte the title expects to be 1 — game_scarlett_master.exe+0xa9438f4 reads 0 at the check

Follow-up to comment 7126330772, and useful for RT-GUEST-WINDOW-CLASS (comment 7125947475). The window is created and shown; the routine's next decision is a data flag, and it is 0.

Measured with one breakpoint defined inside the routine — bp USER32!CreateWindowExA "gu" breaks at exe+0x2478540 (after the window call, see the earlier note), from which breakpoints on guest addresses work because the image is already mapped:

bp 1424785cd ".echo ===EN-EL-CMP-DE-8f4===; db 14a9438f4 L1; r edi; r ax"
===EN-EL-CMP-DE-8f4===
00000001`4a9438f4  00                                               .
edi=0
ax=0
00000001`424785cd 803d20b34c0801  cmp byte ptr [00000001`4a9438f4],1 ds:00000001`4a9438f4=00

So at exe+0x24785cd the flag is 0, the comparison fails, and the branch that follows it — jne exe+0x247869e at exe+0x2478628, with only mov instructions in between — takes the other path. edi = 0 at exe+0x24785c5 also shows the call exe+0x45f3fd80 before it returned 0, so its js exe+0x24787a9 was not taken.

The window itself is fine and sized as expected: the two globals the CreateWindowExA call uses for width and height hold exe+0xa9438cc = 0x00000F00 and exe+0xa9438d0 = 0x00000870 (3840x2160), and the handle was 0x720052.

Where those bytes come from. With the RVAs read straight out of the file (tools/pe_inspect.py), all five addresses sit in .data — a writable section whose file-backed range stops at RVA 0x6E04E00, well before them — so they are zero at load and only runtime code can set them:

RVA 0A9438F4 (the flag compared with 1): sin bytes en el fichero
RVA 0A943957 (byte read at exe+0x2478559): sin bytes en el fichero
RVA 0A943958 (byte read at exe+0x247859c): sin bytes en el fichero
seccion que las contiene: [('.data', False, True)]

Negative control: scanning all 99,875,328 bytes of .text for c6 05 <disp32> <imm8> (a byte store to a RIP-relative address) finds exactly one such store to any of these addresses, and it is not this flag:

exe+1419F4F78: mov byte ptr [exe+14A943958], 1
escrituras absolutas directas ...: 1

That store sits 20 bytes past the title's int 3 at exe+0x19f4f58, so it belongs to the path that runs only when this routine has already succeeded. Whatever is meant to set exe+0xa9438f4 does it through an indirect store (a field of some object reached through a register), and nothing had set it by the time the routine reached its check. So the wall is: something before this point is expected to have enabled that flag, and did not.

Measured on the gfx1036 iGPU with LEONIDA_D3D12=vulkan, the same boot as the boot-chain rows (the translated builder programs in the shader index). Nothing here needs a specific GPU; the flag is host-side state. Written with an AI assistant.

<!-- gh-comment-id:7126426622 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: the gate after the window is a byte the title expects to be 1 — `game_scarlett_master.exe+0xa9438f4` reads 0 at the check Follow-up to comment 7126330772, and useful for RT-GUEST-WINDOW-CLASS (comment 7125947475). The window is created and shown; the routine's next decision is a data flag, and it is 0. Measured with one breakpoint defined inside the routine — `bp USER32!CreateWindowExA "gu"` breaks at `exe+0x2478540` (after the window call, see the earlier note), from which breakpoints on guest addresses work because the image is already mapped: ``` bp 1424785cd ".echo ===EN-EL-CMP-DE-8f4===; db 14a9438f4 L1; r edi; r ax" ===EN-EL-CMP-DE-8f4=== 00000001`4a9438f4 00 . edi=0 ax=0 00000001`424785cd 803d20b34c0801 cmp byte ptr [00000001`4a9438f4],1 ds:00000001`4a9438f4=00 ``` So at `exe+0x24785cd` the flag is 0, the comparison fails, and the branch that follows it — `jne exe+0x247869e` at `exe+0x2478628`, with only `mov` instructions in between — takes the other path. `edi = 0` at `exe+0x24785c5` also shows the `call exe+0x45f3fd80` before it returned 0, so its `js exe+0x24787a9` was not taken. The window itself is fine and sized as expected: the two globals the `CreateWindowExA` call uses for width and height hold `exe+0xa9438cc = 0x00000F00` and `exe+0xa9438d0 = 0x00000870` (3840x2160), and the handle was `0x720052`. Where those bytes come from. With the RVAs read straight out of the file (`tools/pe_inspect.py`), all five addresses sit in `.data` — a writable section whose file-backed range stops at RVA `0x6E04E00`, well before them — so they are zero at load and only runtime code can set them: ``` RVA 0A9438F4 (the flag compared with 1): sin bytes en el fichero RVA 0A943957 (byte read at exe+0x2478559): sin bytes en el fichero RVA 0A943958 (byte read at exe+0x247859c): sin bytes en el fichero seccion que las contiene: [('.data', False, True)] ``` Negative control: scanning all 99,875,328 bytes of `.text` for `c6 05 <disp32> <imm8>` (a byte store to a RIP-relative address) finds exactly one such store to any of these addresses, and it is not this flag: ``` exe+1419F4F78: mov byte ptr [exe+14A943958], 1 escrituras absolutas directas ...: 1 ``` That store sits 20 bytes past the title's `int 3` at `exe+0x19f4f58`, so it belongs to the path that runs only when this routine has already succeeded. Whatever is meant to set `exe+0xa9438f4` does it through an indirect store (a field of some object reached through a register), and nothing had set it by the time the routine reached its check. So the wall is: something before this point is expected to have enabled that flag, and did not. Measured on the gfx1036 iGPU with `LEONIDA_D3D12=vulkan`, the same boot as the boot-chain rows (the translated builder programs in the shader index). Nothing here needs a specific GPU; the flag is host-side state. Written with an AI assistant.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows review -> #569. Stock tests 21/21. Synthetic runs reproduced misattributed runtime builds and unredacted fields in both reports. Review

<!-- gh-comment-id:7126430309 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows review -> #569. Stock tests 21/21. Synthetic runs reproduced misattributed runtime builds and unredacted fields in both reports. [Review](https://github.com/ubiquitarianism/leonida/pull/569#issuecomment-7126429638)
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

correction to my 06:09 XGCreateTextureComputer finding: it is already claimed and done, RT-XG-TEXTURE-COMPUTER -> #461 (oscarlosu-lab, ported from VIctory), which I missed. Ignore mine as a work item. I'm cross-checking #461's layout model against the independent GFX10 model in Impre-visible/Leonida (116979c49f) and will post any disagreements on #461.

<!-- gh-comment-id:7126441257 --> @VibeClauding commented on GitHub (Nov 24, 2026): correction to my 06:09 XGCreateTextureComputer finding: it is already claimed and done, `RT-XG-TEXTURE-COMPUTER` -> #461 (oscarlosu-lab, ported from VIctory), which I missed. Ignore mine as a work item. I'm cross-checking #461's layout model against the independent GFX10 model in Impre-visible/Leonida (`116979c49f`) and will post any disagreements on #461.
Author
Owner

@DeSunShine commented on GitHub (Nov 24, 2026):

claiming: FMA64-RT — carry on old #8750 (closed upstream unmerged): qualify the binary64 Fma double-rounding note (NVIDIA Turing/Ampere/Ada split only an all-constant Fma folded at pipeline compile time; run-time operands are fused; Blackwell fuses both) in tools/rdna2spirv.py, docs/design.md, the fixture and runner, and add cs_div_fmas_f64_rt, the run-time-operand twin of cs_div_fmas_f64. Synthetic fixtures only, no game files.

<!-- gh-comment-id:7126446213 --> @DeSunShine commented on GitHub (Nov 24, 2026): claiming: FMA64-RT — carry on old #8750 (closed upstream unmerged): qualify the binary64 Fma double-rounding note (NVIDIA Turing/Ampere/Ada split only an all-constant Fma folded at pipeline compile time; run-time operands are fused; Blackwell fuses both) in tools/rdna2spirv.py, docs/design.md, the fixture and runner, and add `cs_div_fmas_f64_rt`, the run-time-operand twin of `cs_div_fmas_f64`. Synthetic fixtures only, no game files.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

correction to my own note (comment 7126426622), plus the code that runs before the window call

The scan in that note computed the length of c6 05 disp32 imm8 as 6 bytes instead of 7, so every target it reported was one byte early. With the length fixed:

escrituras absolutas directas de byte a esas direcciones en .text (99875328 bytes): 0
total de escrituras absolutas de byte dentro del bloque 0xA943800..0xA943A00: 2
  exe+1419F4F78: mov byte ptr [exe+14A943959], 1
  exe+145EB246A: mov byte ptr [exe+14A94395B], 0

So nothing in the image writes a byte to exe+0xa9438f4 (or to the four other addresses I named) by absolute address. The only two absolute byte stores in that settings block are the two above, and both belong to the paths that run only after the guard has already passed: exe+0x19f4f78 is 20 bytes past the int 3 at exe+0x19f4f58, and exe+0x5eb246a is inside exe+0x45eb2480, the routine the title calls at exe+0x19f4f59 on the success path. Reading the flag as 0 at exe+0x24785cd therefore stands: whatever is meant to set it does so indirectly, and had not done it.

The head of the function that holds the guard, disassembled from the live process, shows what runs before the window call. Aligning at exe+0x19f4efb:

exe+19f4f12  mov  dword ptr [exe+a94392c],0
exe+19f4f1c  mov  edx,dword ptr [exe+a9438f8]
exe+19f4f22  lea  rcx,[exe+a9439c8]
exe+19f4f29  call exe+45aad70
exe+19f4f2e  mov  dword ptr [exe+a9439a0],0FFFFFFFFh
exe+19f4f38  mov  byte ptr [exe+a943a03],0
exe+19f4f3f  mov  ecx,dword ptr [exe+a943938]
exe+19f4f45  call exe+41f76810
exe+19f4f4a  call exe+424781d0
exe+19f4f4f  call exe+42478440        ; the window routine; it returns al = 0
exe+19f4f54  test al,al
exe+19f4f56  jne  exe+19f4f59
exe+19f4f58  int  3                   ; the stop every measurement here lands on
exe+19f4f59  call exe+45eb2480

So the same settings block the window routine reads (exe+0xa9438f8, exe+0xa94392c, exe+0xa943938, exe+0xa9439a0, exe+0xa943a03) is written directly by this function just before the call, and it hands exe+0x45aad70 a pointer at exe+0xa9439c8 inside it. A next step for whoever takes this is to read those fields at exe+0x19f4f4f and see which stage should have left exe+0xa9438f4 at 1.

Same setup as before: gfx1036 iGPU, LEONIDA_D3D12=vulkan, the translated builder programs in the shader index. Nothing here needs a particular GPU. Written with an AI assistant.

<!-- gh-comment-id:7126458255 --> @fiestorra commented on GitHub (Nov 24, 2026): correction to my own note (comment 7126426622), plus the code that runs before the window call The scan in that note computed the length of `c6 05 disp32 imm8` as 6 bytes instead of 7, so every target it reported was one byte early. With the length fixed: ``` escrituras absolutas directas de byte a esas direcciones en .text (99875328 bytes): 0 total de escrituras absolutas de byte dentro del bloque 0xA943800..0xA943A00: 2 exe+1419F4F78: mov byte ptr [exe+14A943959], 1 exe+145EB246A: mov byte ptr [exe+14A94395B], 0 ``` So nothing in the image writes a byte to `exe+0xa9438f4` (or to the four other addresses I named) by absolute address. The only two absolute byte stores in that settings block are the two above, and both belong to the paths that run only after the guard has already passed: `exe+0x19f4f78` is 20 bytes past the `int 3` at `exe+0x19f4f58`, and `exe+0x5eb246a` is inside `exe+0x45eb2480`, the routine the title calls at `exe+0x19f4f59` on the success path. Reading the flag as 0 at `exe+0x24785cd` therefore stands: whatever is meant to set it does so indirectly, and had not done it. The head of the function that holds the guard, disassembled from the live process, shows what runs before the window call. Aligning at `exe+0x19f4efb`: ``` exe+19f4f12 mov dword ptr [exe+a94392c],0 exe+19f4f1c mov edx,dword ptr [exe+a9438f8] exe+19f4f22 lea rcx,[exe+a9439c8] exe+19f4f29 call exe+45aad70 exe+19f4f2e mov dword ptr [exe+a9439a0],0FFFFFFFFh exe+19f4f38 mov byte ptr [exe+a943a03],0 exe+19f4f3f mov ecx,dword ptr [exe+a943938] exe+19f4f45 call exe+41f76810 exe+19f4f4a call exe+424781d0 exe+19f4f4f call exe+42478440 ; the window routine; it returns al = 0 exe+19f4f54 test al,al exe+19f4f56 jne exe+19f4f59 exe+19f4f58 int 3 ; the stop every measurement here lands on exe+19f4f59 call exe+45eb2480 ``` So the same settings block the window routine reads (`exe+0xa9438f8`, `exe+0xa94392c`, `exe+0xa943938`, `exe+0xa9439a0`, `exe+0xa943a03`) is written directly by this function just before the call, and it hands `exe+0x45aad70` a pointer at `exe+0xa9439c8` inside it. A next step for whoever takes this is to read those fields at `exe+0x19f4f4f` and see which stage should have left `exe+0xa9438f4` at 1. Same setup as before: gfx1036 iGPU, `LEONIDA_D3D12=vulkan`, the translated builder programs in the shader index. Nothing here needs a particular GPU. Written with an AI assistant.
Author
Owner

@DeSunShine commented on GitHub (Nov 24, 2026):

done: FMA64-RT -> #572

<!-- gh-comment-id:7126483328 --> @DeSunShine commented on GitHub (Nov 24, 2026): done: FMA64-RT -> #572
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: OLD-7205 - runtime/d3d12: implement ForcedSampleCount target-independent rasterization (carried over from ItsNotRexed/Leonida#7205)
claiming: OLD-5327 - d3d12: validate CreateUnorderedAccessView descriptors for buffers and textures (carried over from ItsNotRexed/Leonida#5327)
claiming: OLD-5357 - root_sig_contract: handle deeply nested JSON, duplicate ptr64_hi error, and bad pack_layout inputs (carried over from ItsNotRexed/Leonida#5357)
claiming: OLD-5289 - tools: check POISON and arch errors in texoff_probe, close oracle in sampler_lod_probe (carried over from ItsNotRexed/Leonida#5289)

<!-- gh-comment-id:7126487215 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: OLD-7205 - runtime/d3d12: implement ForcedSampleCount target-independent rasterization (carried over from ItsNotRexed/Leonida#7205) claiming: OLD-5327 - d3d12: validate CreateUnorderedAccessView descriptors for buffers and textures (carried over from ItsNotRexed/Leonida#5327) claiming: OLD-5357 - root_sig_contract: handle deeply nested JSON, duplicate ptr64_hi error, and bad pack_layout inputs (carried over from ItsNotRexed/Leonida#5357) claiming: OLD-5289 - tools: check POISON and arch errors in texoff_probe, close oracle in sampler_lod_probe (carried over from ItsNotRexed/Leonida#5289)
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

finding: the console command list's memory write/wait methods are dropped on main, and in another runtime the wait alone stopped the title right after its first cinematic.

Where: runtime/shims/d3d12_xs_device.h console_to_pc_list_slot returns kListNotForwarded for list slots 62-84 and 86-145, and list_slot (d3d12_xs_device.cpp) returns 0 for them without doing anything. git grep finds no Wait64BitValue/Write64BitValue anywhere in runtime/.

Slots and argument shapes, as measured on the retail title by xcl (ivall/xcl, crates/xcl/src/hle/d3d12x/list_x.rs, GPL-2.0; facts only, no code taken):

list slot method arguments after this
69 Write32BitValueBottomOfPipeX address, u32 value, flush, flags
70 Write64BitValueBottomOfPipeX address, u64 value, flush, flags
71 Wait32BitValueX address, comparison, u32 value, u32 mask, flags
72 Wait64BitValueX address, comparison, u64 value, flags. No mask: the next stack word is a 32-bit 1 with garbage above it; compare the whole value. xcl issue 218: treating it as a mask made every >= wait time out, 2 s per frame, title at 0 fps after its first cinematic
88 / 89 Write32/Write64BitValueTopOfPipeX address, value, flags
90 Write32BitValueBottomOfShaderX address, value, stage

Why it matters here: these are the title's own GPU-to-CPU and GPU-to-GPU counters. Dropped writes mean any CPU poll on such a counter never sees it advance, which fits a run that keeps presenting a cleared frame while "waiting on something" (Tyrannys' 300 s run on #321). Dropped waits lose ordering, which matters less until the GPU work is real.

Why it is not a one-line forward: slots 69/70/88/89 look like PC WriteBufferImmediate (MARKER_OUT for bottom of pipe, MARKER_IN for top), but vulkan_replay.h returns unresolved_resource for a write whose VA is in no D3D12 buffer, which fails the whole list. On the console these addresses can be plain title memory. So the first thing to measure with the game is which addresses slots 69/70/88/89 get: inside a placed/committed resource (then WriteBufferImmediate works), or in title memory (then it needs a host write when the submission completes, which xcl does as its "signalled on CPU" path). xcl's follow-ups also matter once waits are real: issue 851 (run work recorded before a wait ahead of it) and issue 916 (NVIDIA device loss after splitting lists at Write64 then Wait).

Needs game files to measure; not claiming. AI-assisted.

<!-- gh-comment-id:7126560165 --> @VibeClauding commented on GitHub (Nov 24, 2026): finding: the console command list's memory write/wait methods are dropped on `main`, and in another runtime the wait alone stopped the title right after its first cinematic. **Where:** `runtime/shims/d3d12_xs_device.h` `console_to_pc_list_slot` returns `kListNotForwarded` for list slots 62-84 and 86-145, and `list_slot` (`d3d12_xs_device.cpp`) returns 0 for them without doing anything. `git grep` finds no `Wait64BitValue`/`Write64BitValue` anywhere in `runtime/`. **Slots and argument shapes, as measured on the retail title by xcl** (`ivall/xcl`, `crates/xcl/src/hle/d3d12x/list_x.rs`, GPL-2.0; facts only, no code taken): | list slot | method | arguments after `this` | |---|---|---| | 69 | Write32BitValueBottomOfPipeX | address, u32 value, flush, flags | | 70 | Write64BitValueBottomOfPipeX | address, u64 value, flush, flags | | 71 | Wait32BitValueX | address, comparison, u32 value, u32 mask, flags | | 72 | Wait64BitValueX | address, comparison, u64 value, flags. **No mask:** the next stack word is a 32-bit 1 with garbage above it; compare the whole value. xcl issue 218: treating it as a mask made every `>=` wait time out, 2 s per frame, title at 0 fps after its first cinematic | | 88 / 89 | Write32/Write64BitValueTopOfPipeX | address, value, flags | | 90 | Write32BitValueBottomOfShaderX | address, value, stage | **Why it matters here:** these are the title's own GPU-to-CPU and GPU-to-GPU counters. Dropped writes mean any CPU poll on such a counter never sees it advance, which fits a run that keeps presenting a cleared frame while "waiting on something" (Tyrannys' 300 s run on #321). Dropped waits lose ordering, which matters less until the GPU work is real. **Why it is not a one-line forward:** slots 69/70/88/89 look like PC `WriteBufferImmediate` (MARKER_OUT for bottom of pipe, MARKER_IN for top), but `vulkan_replay.h` returns `unresolved_resource` for a write whose VA is in no D3D12 buffer, which fails the whole list. On the console these addresses can be plain title memory. So the first thing to measure with the game is which addresses slots 69/70/88/89 get: inside a placed/committed resource (then `WriteBufferImmediate` works), or in title memory (then it needs a host write when the submission completes, which xcl does as its "signalled on CPU" path). xcl's follow-ups also matter once waits are real: issue 851 (run work recorded before a wait ahead of it) and issue 916 (NVIDIA device loss after splitting lists at Write64 then Wait). Needs game files to measure; not claiming. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: D3D-MESH-CLIPPING-COUNTER -> #575

The clipping invocations of a mesh segment now come from a third pool of the submission, a
VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT query begun and ended with each mesh segment,
where the device has the meshShaderQueries feature of VK_EXT_mesh_shader. Its count is
copied to field 5 of the segment's record and statistics_sum.comp adds it as CInvocations;
CPrimitives stays 0, because Vulkan has no clipped-primitive counter and D3D12's
CPrimitives is the clipper's output. Without the feature the fields read 0, as in #540.

The divergence @milk4sale measured and @sodove cross-checked is in the row: Vulkan counts a
primitive the mesh shader culled with gl_CullPrimitiveEXT, which D3D12 does not count, so a
mesh segment's CInvocations can be higher than D3D12's.

CPU-side: 72 of 72 runtime tests pass (2 skipped, both for hardware this host does not have), the
regenerated SPIR-V passes spirv-val and matches statistics_sum.comp byte for byte, and
check_no_game_data.py passes on all eight changed files. Built with clang 23.1.6 (llvm-mingw
20261117) against the pinned Vulkan headers (6802bb47, vulkan-sdk-1.4.363.0).

GPUs tested: n/a on this host - the Radeon 780M is RDNA3 with no mesh shader support, and there
is no Khronos validation layer installed here. @sodove has offered to run the GPU half on the RTX
5070 Ti under the validation layer, including a test device with meshShaderQueries disabled;
their measurements are quoted in the pull request.

Depends on: #540. No game files, no keys. AI-assisted.

<!-- gh-comment-id:7126566419 --> @Mby159 commented on GitHub (Nov 24, 2026): done: D3D-MESH-CLIPPING-COUNTER -> #575 The clipping invocations of a mesh segment now come from a third pool of the submission, a VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT query begun and ended with each mesh segment, where the device has the meshShaderQueries feature of VK_EXT_mesh_shader. Its count is copied to field 5 of the segment's record and statistics_sum.comp adds it as CInvocations; CPrimitives stays 0, because Vulkan has no clipped-primitive counter and D3D12's CPrimitives is the clipper's output. Without the feature the fields read 0, as in #540. The divergence @milk4sale measured and @sodove cross-checked is in the row: Vulkan counts a primitive the mesh shader culled with gl_CullPrimitiveEXT, which D3D12 does not count, so a mesh segment's CInvocations can be higher than D3D12's. CPU-side: 72 of 72 runtime tests pass (2 skipped, both for hardware this host does not have), the regenerated SPIR-V passes spirv-val and matches statistics_sum.comp byte for byte, and check_no_game_data.py passes on all eight changed files. Built with clang 23.1.6 (llvm-mingw 20261117) against the pinned Vulkan headers (6802bb47, vulkan-sdk-1.4.363.0). GPUs tested: n/a on this host - the Radeon 780M is RDNA3 with no mesh shader support, and there is no Khronos validation layer installed here. @sodove has offered to run the GPU half on the RTX 5070 Ti under the validation layer, including a test device with meshShaderQueries disabled; their measurements are quoted in the pull request. Depends on: #540. No game files, no keys. AI-assisted.
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

claiming: RT-HANG-DUMP - LEONIDA_HANG_DUMP=<seconds>: after that many seconds gta6rt writes every thread's stack to the startup trace, so a boot that hangs instead of faulting shows where each thread waits. Opt-in, off by default (runtime/shims/startup_trace.h). The commit is 4ld0-vito's, from their fork; I carry it over unchanged. AI-assisted.

<!-- gh-comment-id:7126610928 --> @CLHelper commented on GitHub (Nov 24, 2026): claiming: RT-HANG-DUMP - `LEONIDA_HANG_DUMP=<seconds>`: after that many seconds `gta6rt` writes every thread's stack to the startup trace, so a boot that hangs instead of faulting shows where each thread waits. Opt-in, off by default (runtime/shims/startup_trace.h). The commit is 4ld0-vito's, from their fork; I carry it over unchanged. AI-assisted.
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

done: RT-HANG-DUMP -> #576

<!-- gh-comment-id:7126622338 --> @CLHelper commented on GitHub (Nov 24, 2026): done: RT-HANG-DUMP -> #576
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

claiming: TEST-GSR-LOCALE — tests/test_guest_scene_reference.py:115 decodes the runner's output as strict UTF-8, but on a Windows host with a non-UTF-8 ANSI code page (1251 here) run_guest_scene.py prints the localized [WinError 216] message in that code page, so subprocess.run leaves result.stdout as None and line 116 fails with TypeError instead of the real assertion. #320 touches the same test but not this line. Fix: decode with errors="replace", as line 95 already does. Test only, no game files, no GPU; checked on Windows 11 (code page 1251). AI-assisted.

<!-- gh-comment-id:7126627432 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): claiming: TEST-GSR-LOCALE — `tests/test_guest_scene_reference.py:115` decodes the runner's output as strict UTF-8, but on a Windows host with a non-UTF-8 ANSI code page (1251 here) `run_guest_scene.py` prints the localized `[WinError 216]` message in that code page, so `subprocess.run` leaves `result.stdout` as `None` and line 116 fails with `TypeError` instead of the real assertion. #320 touches the same test but not this line. Fix: decode with `errors="replace"`, as line 95 already does. Test only, no game files, no GPU; checked on Windows 11 (code page 1251). AI-assisted.
Author
Owner

@derkoch1337 commented on GitHub (Nov 24, 2026):

claiming: RT-RGB9E5-HALF — follow-up on lightelectriclife's finding (Series S combined render-target and UAV use of R9G9B9E5_SHAREDEXP on NVIDIA). On GPUs where E5B9G9R9 has no COLOR_ATTACHMENT (and, when UAV is also requested, no STORAGE), texture_format in runtime/shims/d3d12_vulkan_device.cpp refuses any ALLOW_RENDER_TARGET format-67 texture with E_INVALIDARG; the retail Series S profile asks for a 1920x1080 format-67 RT+UAV and asserts on the refusal (measured in ivall/xcl#242, which gets past it with a half-float fallback). Fix: such a texture becomes an R16G16B16A16_SFLOAT image — fp16 holds every shared-exponent value exactly (9 mantissa bits, exponents down to 2^-24) — with RTVs, shader views and T#s following the image; UAV-only textures keep the merged bit-exact mutable R32_UINT path. Scope: texture_format + view-format resolution + FORMAT_SUPPORT + d3d12_r9g9b9e5_uav_test extended with a render-into + UAV-write + color check, and a docs/d3d12_vulkan.md note. Overlaps #213 (D3D-78) in the device shim and the test file but not in item: that PR is 1D/3D UAV support, this is the render-target fallback; the RT refusal branch and FORMAT_SUPPORT rows are not part of its diff. Verified on an RTX 5080 (610.88): E5B9G9R9 optimal tiling is sampled/blit/transfer only, so the refusal reproduces there; the AMD iGPU in the same machine is native. No game files needed for the change or its tests. AI-assisted.

<!-- gh-comment-id:7126651110 --> @derkoch1337 commented on GitHub (Nov 24, 2026): claiming: RT-RGB9E5-HALF — follow-up on lightelectriclife's finding (Series S combined render-target and UAV use of R9G9B9E5_SHAREDEXP on NVIDIA). On GPUs where E5B9G9R9 has no COLOR_ATTACHMENT (and, when UAV is also requested, no STORAGE), `texture_format` in `runtime/shims/d3d12_vulkan_device.cpp` refuses any ALLOW_RENDER_TARGET format-67 texture with E_INVALIDARG; the retail Series S profile asks for a 1920x1080 format-67 RT+UAV and asserts on the refusal (measured in ivall/xcl#242, which gets past it with a half-float fallback). Fix: such a texture becomes an R16G16B16A16_SFLOAT image — fp16 holds every shared-exponent value exactly (9 mantissa bits, exponents down to 2^-24) — with RTVs, shader views and T#s following the image; UAV-only textures keep the merged bit-exact mutable R32_UINT path. Scope: texture_format + view-format resolution + FORMAT_SUPPORT + `d3d12_r9g9b9e5_uav_test` extended with a render-into + UAV-write + color check, and a docs/d3d12_vulkan.md note. Overlaps #213 (D3D-78) in the device shim and the test file but not in item: that PR is 1D/3D UAV support, this is the render-target fallback; the RT refusal branch and FORMAT_SUPPORT rows are not part of its diff. Verified on an RTX 5080 (610.88): E5B9G9R9 optimal tiling is sampled/blit/transfer only, so the refusal reproduces there; the AMD iGPU in the same machine is native. No game files needed for the change or its tests. AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

the window gate reads a field of the title's settings object, and the title itself leaves it at 0 (plus a method note: hardware write breakpoints work on guest addresses from the very start)

Continues comment 7126426622 and its correction 7126458255. Follows RT-GUEST-WINDOW-CLASS (comment 7125947475); findings only, no PR from me.

The field is settings + 0x13C. Two independent readings agree on the object base exe+0xa9437b8: the initializer's mov dword ptr [rax+140h], r8d resolves (per cdb's own annotation) to exe+0xa9438f8, which puts rax at exe+0xa9437b8, and its mov byte ptr [rax+13Ch], cl is exactly the byte the window routine compares with 1 at exe+0x24785cd. So the compared byte is a field of that object, and the dword next to it holds the display mode: it reads 2 at every point I looked at.

Who writes the byte, measured with a hardware breakpoint. Unlike bp <guest address>, which fails at startup with Win32 error 0n299 ("Only part of a ReadProcessMemory or WriteProcessMemory request was completed") until the image is mapped, ba w1 <guest address> is accepted from the first prompt and fires as soon as the guest touches the byte:

ba w1 14a9438f4 ".echo ===ESCRITURA-DE-8f4===; db 14a9438f4 L1; u @rip L1"

Over a full boot that reached the title's stop, the byte was written twice and never to 1:

  1. In the title's own static initializer, reached from the CRT initializer table: ucrtbase!initterm+0x36 → exe+0x456a1dd0 → exe+0x424709f6 → exe+0x45eb1c90. Its head writes the whole settings block, including the mode and the flag, from compile-time constants:
exe+45eb1ca0  xor     ecx,ecx
exe+45eb1cba  mov     byte ptr [rax+13Ch],cl        ; la bandera, a 0
exe+45eb1cc0  mov     dword ptr [rax+140h],r8d      ; el modo, a 2
exe+45eb1cc7  vmovups ymmword ptr [rax+144h],ymm0
exe+45eb1cea  mov     dword ptr [rax+198h],10000FFh
exe+45eb1d74  ret
  1. A VCRUNTIME140!memcpy_avx_ermsb_amd copy called from exe+0x419f4e15 ← exe+0x4580437e ← exe+0x443a4911, which passed over the same area and left the byte at 0 as well.

At the check (exe+0x24785cd) and at the title's stop (exe+0x19f4f58) the byte is 0 and the window routine returned 0. A breakpoint on the mode dword shows the same picture: three writes, all of them leaving 2, the first one from that same initializer. So neither the flag nor the mode comes from our side of the wall — both are the title's built-in defaults.

Ruled out as the setter. The most obvious candidate is the call the guard itself makes just before the window call, call exe+0x458aad70 with rcx = exe+0xa9439c8 (that object's +0x210) and edx = [exe+0xa9438f8] = 2. Its head shows it writes +0x230, +0x238 and +0x240 of the same object, not +0x13C:

exe+458aad8c  and  eax,0FFFFFFFEh
exe+458aad8f  cmp  eax,4
exe+458aad92  sete al
exe+458aad95  test esi,esi
exe+458aad97  sete cl
exe+458aad9a  or   cl,al                            ; (modo==4) o (modo==0)
exe+458aad9f  mov  rcx,3E8000003E8h
exe+458aadac  mov  qword ptr [rdi+20h],rdx          ; objeto+0x230
exe+458aadb0  mov  qword ptr [rdi+28h],rcx          ; objeto+0x238
exe+458aadb4  ...                                   ; y eax -> objeto+0x240

With mode 2 that computes 0, which is what the register carried after the call. So the enabled flag is not produced there.

What this leaves. No code in the boot reaches a path that sets settings+0x13C to 1, and no import of the guest image is stubbed in our runtime (5 module(s) mapped, 0 unimplemented import(s), unimplemented by return policy: hresult=0 other=0), so nothing on our side is answering "no" to it. The next step belongs to RT-GUEST-WINDOW-CLASS: instrument exe+0x443a4911 and exe+0x4580437e (the stage that copies those settings) and compare with a real boot to find which stage should have raised that field.

Method caution: put breakpoints only on addresses that a well-aligned disassembly shows as instruction starts. In one run I set several guest breakpoints from a dump that began mid-instruction; the first one hit and the guest process ended right there, and I read that as the patched 0xCC landing inside an instruction. Method for the rest: bp USER32!CreateWindowExA "gu" to get control inside the routine, and ba w1 <address> for anything that must be watched from the start.

Measured on the gfx1036 iGPU with LEONIDA_D3D12=vulkan, the same boot as the boot-chain rows. This is host-side state and does not depend on the GPU. Written with an AI assistant.

<!-- gh-comment-id:7126682372 --> @fiestorra commented on GitHub (Nov 24, 2026): the window gate reads a field of the title's settings object, and the title itself leaves it at 0 (plus a method note: hardware write breakpoints work on guest addresses from the very start) Continues comment 7126426622 and its correction 7126458255. Follows RT-GUEST-WINDOW-CLASS (comment 7125947475); findings only, no PR from me. **The field is `settings + 0x13C`.** Two independent readings agree on the object base `exe+0xa9437b8`: the initializer's `mov dword ptr [rax+140h], r8d` resolves (per cdb's own annotation) to `exe+0xa9438f8`, which puts `rax` at `exe+0xa9437b8`, and its `mov byte ptr [rax+13Ch], cl` is exactly the byte the window routine compares with 1 at `exe+0x24785cd`. So the compared byte is a field of that object, and the dword next to it holds the display mode: it reads 2 at every point I looked at. **Who writes the byte, measured with a hardware breakpoint.** Unlike `bp <guest address>`, which fails at startup with `Win32 error 0n299` ("Only part of a ReadProcessMemory or WriteProcessMemory request was completed") until the image is mapped, `ba w1 <guest address>` is accepted from the first prompt and fires as soon as the guest touches the byte: ``` ba w1 14a9438f4 ".echo ===ESCRITURA-DE-8f4===; db 14a9438f4 L1; u @rip L1" ``` Over a full boot that reached the title's stop, the byte was written twice and never to 1: 1. In the title's own static initializer, reached from the CRT initializer table: `ucrtbase!initterm+0x36` → `exe+0x456a1dd0` → `exe+0x424709f6` → `exe+0x45eb1c90`. Its head writes the whole settings block, including the mode and the flag, from compile-time constants: ``` exe+45eb1ca0 xor ecx,ecx exe+45eb1cba mov byte ptr [rax+13Ch],cl ; la bandera, a 0 exe+45eb1cc0 mov dword ptr [rax+140h],r8d ; el modo, a 2 exe+45eb1cc7 vmovups ymmword ptr [rax+144h],ymm0 exe+45eb1cea mov dword ptr [rax+198h],10000FFh exe+45eb1d74 ret ``` 2. A `VCRUNTIME140!memcpy_avx_ermsb_amd` copy called from `exe+0x419f4e15` ← `exe+0x4580437e` ← `exe+0x443a4911`, which passed over the same area and left the byte at 0 as well. At the check (`exe+0x24785cd`) and at the title's stop (`exe+0x19f4f58`) the byte is 0 and the window routine returned 0. A breakpoint on the mode dword shows the same picture: three writes, all of them leaving 2, the first one from that same initializer. So neither the flag nor the mode comes from our side of the wall — both are the title's built-in defaults. **Ruled out as the setter.** The most obvious candidate is the call the guard itself makes just before the window call, `call exe+0x458aad70` with `rcx = exe+0xa9439c8` (that object's `+0x210`) and `edx = [exe+0xa9438f8] = 2`. Its head shows it writes `+0x230`, `+0x238` and `+0x240` of the same object, not `+0x13C`: ``` exe+458aad8c and eax,0FFFFFFFEh exe+458aad8f cmp eax,4 exe+458aad92 sete al exe+458aad95 test esi,esi exe+458aad97 sete cl exe+458aad9a or cl,al ; (modo==4) o (modo==0) exe+458aad9f mov rcx,3E8000003E8h exe+458aadac mov qword ptr [rdi+20h],rdx ; objeto+0x230 exe+458aadb0 mov qword ptr [rdi+28h],rcx ; objeto+0x238 exe+458aadb4 ... ; y eax -> objeto+0x240 ``` With mode 2 that computes 0, which is what the register carried after the call. So the enabled flag is not produced there. **What this leaves.** No code in the boot reaches a path that sets `settings+0x13C` to 1, and no import of the guest image is stubbed in our runtime (`5 module(s) mapped, 0 unimplemented import(s)`, `unimplemented by return policy: hresult=0 other=0`), so nothing on our side is answering "no" to it. The next step belongs to RT-GUEST-WINDOW-CLASS: instrument `exe+0x443a4911` and `exe+0x4580437e` (the stage that copies those settings) and compare with a real boot to find which stage should have raised that field. Method caution: put breakpoints only on addresses that a well-aligned disassembly shows as instruction starts. In one run I set several guest breakpoints from a dump that began mid-instruction; the first one hit and the guest process ended right there, and I read that as the patched `0xCC` landing inside an instruction. Method for the rest: `bp USER32!CreateWindowExA "gu"` to get control inside the routine, and `ba w1 <address>` for anything that must be watched from the start. Measured on the gfx1036 iGPU with `LEONIDA_D3D12=vulkan`, the same boot as the boot-chain rows. This is host-side state and does not depend on the GPU. Written with an AI assistant.
Author
Owner

@GrahamboJangles commented on GitHub (Nov 24, 2026):

finding: the SHADER-1264 and TEST-ATOMIC-GUARD rows in the Open work table are stale — fixes already landed and both now measure green. SHADER-1264 was fixed by merged #24; the atomics guard was restored by merged #394 (b3eaa3d7b) and merged #20. On current main I measured tests/semantic/test_image_atomics_guard.py running 4 tests OK and the full translator suite (scripts/run_semantic_tests.py tests/semantic, 465 files) green except test_sopc_validation and test_unary_f16_validation, whose only failures are spirv-as / spirv-val not found on PATH (environment, already covered by open #136). The real remaining gap — the computed-EXEC write path #24 changed without a test — is already claimed by open #460. No game files, no GPU needed for any of this. Suggest the coordinator close the two table rows or point them at #460.

<!-- gh-comment-id:7126709521 --> @GrahamboJangles commented on GitHub (Nov 24, 2026): finding: the `SHADER-1264` and `TEST-ATOMIC-GUARD` rows in the Open work table are stale — fixes already landed and both now measure green. `SHADER-1264` was fixed by merged #24; the atomics guard was restored by merged #394 (`b3eaa3d7b`) and merged #20. On current `main` I measured `tests/semantic/test_image_atomics_guard.py` running 4 tests OK and the full translator suite (`scripts/run_semantic_tests.py tests/semantic`, 465 files) green except `test_sopc_validation` and `test_unary_f16_validation`, whose only failures are `spirv-as / spirv-val not found on PATH` (environment, already covered by open #136). The real remaining gap — the computed-EXEC write path #24 changed without a test — is already claimed by open #460. No game files, no GPU needed for any of this. Suggest the coordinator close the two table rows or point them at #460.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

turning that byte on gets the boot well past the wall (measured), and a loader knob would make it repeatable

Follows comments 7126682372, 7126458255 and 7126426622. Relevant to RT-GUEST-WINDOW-CLASS (comment 7125947475); findings only.

The control is the measurement in comment 7126682372: the byte game_scarlett_master.exe+0xa9438f4 (field +0x13C of the settings object at exe+0xa9437b8) is 0 at the check in exe+0x24785cd, the title's window routine returns 0, and the boot stops at the int 3 in exe+0x19f4f58. Instrumented the same way, with the only difference being one byte written at the check:

bp 1424785cd "eb 14a9438f4 1; .echo ===BANDERA-FORZADA-A-1===; db 14a9438f4 L1"
===BANDERA-FORZADA-A-1===
00000001`4a9438f4  01
00000001`424785cd 803d20b34c0801  cmp byte ptr [00000001`4a9438f4],1 ds:00000001`4a9438f4=01

With that byte at 1, the boot reached places it never reaches otherwise:

[rt] d3d12_xs: device slot 25 (GetResourceAllocationInfo (C or PC form)) first call
[rt] d3d12_xs: device slot 127 (Xbox CreateCommittedResource3) first call
[rt] d3d12_xs: slot 127 resource: dimension=3 xbox layout=0x0 -> PC layout=0x0, xbox flags 0xc00005 -> PC flags 0x5
[rt] d3d12_xs: committed resources lease their size through the title's XMem hooks (first: 33423360 B)
[rt] d3d12_xs: device slot 20 (CreateRenderTargetView (CPU handle translated)) first call

and the title's int 3 at exe+0x19f4f58 was never reached: breakpoints on both exe+0x19f4f58 (the stop) and exe+0x19f4f59 (the path taken when the routine returns true) stayed silent, while the same breakpoints do fire in the control run. So that one byte decides whether this stage continues, and forcing it moves the boot from "stops at the guard" to the title's own render-target and committed-resource work.

Two things I am not claiming. The byte is the title's own data, so forcing it is an experiment and not a fix: what should have raised it is still unknown, and comment 7126682372 rules out the obvious candidate. And the run with the byte at 1 reported 160 first-chance access violations, which I have not looked into; a boot that gets further is not the same as a boot that works.

What would help the next person. The loader already patches the mapped image for one case (LEONIDA_TLS_GA_PATCH, runtime/src/pe_loader.cpp:529), and there is no general way to write bytes into the guest image at load time. A small documented knob (something like LEONIDA_GUEST_POKE=<rva>:<hex bytes>, repeatable, applied after the image is mapped and before the entry point runs) would let anyone reproduce this kind of gate without a debugger, and the boot-matrix tool in #569 could then record how far each gate unblocks the title. Claiming that as RT-GUEST-POKE-KNOB.

Method note for these runs, since it cost me two misleading readings: cdb ends the session when the -cf script runs out, so a script must keep issuing g commands after the interesting breakpoint or the process is killed there and looks like the title exited. And ba w1 <guest address> is accepted from the first prompt, before the image is mapped, unlike bp <guest address> (Win32 error 0n299).

Setup: gfx1036 iGPU, LEONIDA_D3D12=vulkan, the translated builder programs in the shader index, the same boot as the boot-chain rows. The gate itself is host-side state and does not depend on the GPU. Written with an AI assistant.

<!-- gh-comment-id:7126728672 --> @fiestorra commented on GitHub (Nov 24, 2026): turning that byte on gets the boot well past the wall (measured), and a loader knob would make it repeatable Follows comments 7126682372, 7126458255 and 7126426622. Relevant to RT-GUEST-WINDOW-CLASS (comment 7125947475); findings only. The control is the measurement in comment 7126682372: the byte `game_scarlett_master.exe+0xa9438f4` (field `+0x13C` of the settings object at `exe+0xa9437b8`) is 0 at the check in `exe+0x24785cd`, the title's window routine returns 0, and the boot stops at the `int 3` in `exe+0x19f4f58`. Instrumented the same way, with the only difference being one byte written at the check: ``` bp 1424785cd "eb 14a9438f4 1; .echo ===BANDERA-FORZADA-A-1===; db 14a9438f4 L1" ===BANDERA-FORZADA-A-1=== 00000001`4a9438f4 01 00000001`424785cd 803d20b34c0801 cmp byte ptr [00000001`4a9438f4],1 ds:00000001`4a9438f4=01 ``` With that byte at 1, the boot reached places it never reaches otherwise: ``` [rt] d3d12_xs: device slot 25 (GetResourceAllocationInfo (C or PC form)) first call [rt] d3d12_xs: device slot 127 (Xbox CreateCommittedResource3) first call [rt] d3d12_xs: slot 127 resource: dimension=3 xbox layout=0x0 -> PC layout=0x0, xbox flags 0xc00005 -> PC flags 0x5 [rt] d3d12_xs: committed resources lease their size through the title's XMem hooks (first: 33423360 B) [rt] d3d12_xs: device slot 20 (CreateRenderTargetView (CPU handle translated)) first call ``` and the title's `int 3` at `exe+0x19f4f58` was never reached: breakpoints on both `exe+0x19f4f58` (the stop) and `exe+0x19f4f59` (the path taken when the routine returns true) stayed silent, while the same breakpoints do fire in the control run. So that one byte decides whether this stage continues, and forcing it moves the boot from "stops at the guard" to the title's own render-target and committed-resource work. Two things I am not claiming. The byte is the title's own data, so forcing it is an experiment and not a fix: what should have raised it is still unknown, and comment 7126682372 rules out the obvious candidate. And the run with the byte at 1 reported 160 first-chance access violations, which I have not looked into; a boot that gets further is not the same as a boot that works. **What would help the next person.** The loader already patches the mapped image for one case (`LEONIDA_TLS_GA_PATCH`, `runtime/src/pe_loader.cpp:529`), and there is no general way to write bytes into the guest image at load time. A small documented knob (something like `LEONIDA_GUEST_POKE=<rva>:<hex bytes>`, repeatable, applied after the image is mapped and before the entry point runs) would let anyone reproduce this kind of gate without a debugger, and the boot-matrix tool in #569 could then record how far each gate unblocks the title. Claiming that as RT-GUEST-POKE-KNOB. Method note for these runs, since it cost me two misleading readings: cdb ends the session when the `-cf` script runs out, so a script must keep issuing `g` commands after the interesting breakpoint or the process is killed there and looks like the title exited. And `ba w1 <guest address>` is accepted from the first prompt, before the image is mapped, unlike `bp <guest address>` (`Win32 error 0n299`). Setup: gfx1036 iGPU, `LEONIDA_D3D12=vulkan`, the translated builder programs in the shader index, the same boot as the boot-chain rows. The gate itself is host-side state and does not depend on the GPU. Written with an AI assistant.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: RT-GUEST-POKE-KNOB — a documented way to write bytes into the mapped guest image at load time, so a gate like the one in comment 7126682372 can be reproduced without a debugger. runtime/src/pe_loader.cpp already patches one thing in the mapped image (LEONIDA_TLS_GA_PATCH, line 529); the knob would be the general form: LEONIDA_GUEST_POKE=<rva>:<hex bytes>, repeatable, applied after the image is mapped and before the entry point runs, with a test that pokes a byte and reads it back through the loader, and a note in runtime/README.md next to the existing patch entry. No game files needed for the test; the motivating measurement is already posted in comments 7126426622, 7126458255 and 7126682372. I am not taking RT-GUEST-WINDOW-CLASS, which bobcatchris claimed in comment 7125947475.

<!-- gh-comment-id:7126729056 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: RT-GUEST-POKE-KNOB — a documented way to write bytes into the mapped guest image at load time, so a gate like the one in comment 7126682372 can be reproduced without a debugger. `runtime/src/pe_loader.cpp` already patches one thing in the mapped image (`LEONIDA_TLS_GA_PATCH`, line 529); the knob would be the general form: `LEONIDA_GUEST_POKE=<rva>:<hex bytes>`, repeatable, applied after the image is mapped and before the entry point runs, with a test that pokes a byte and reads it back through the loader, and a note in `runtime/README.md` next to the existing patch entry. No game files needed for the test; the motivating measurement is already posted in comments 7126426622, 7126458255 and 7126682372. I am not taking RT-GUEST-WINDOW-CLASS, which bobcatchris claimed in comment 7125947475.
Author
Owner

@exacting-hook commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4070TI-WIN - a GPU-test record in the gpu-test-results/ format for an NVIDIA GeForce RTX 4070 Ti (Ada, subgroup 32) on Windows 11 (NVIDIA 591.86) with the MSVC and Ninja build. The existing RTX4070Ti.txt is Linux (CachyOS), so this adds the Windows driver path as gpu-test-results/RTX4070Ti-Windows.txt. Built main 1c93c8697, ran scripts/run_gpu_tests.py native and under LEONIDA_W64_EMULATE=1. Own hardware, no game files, nothing online. AI-assisted (Claude Code).

<!-- gh-comment-id:7126742180 --> @exacting-hook commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4070TI-WIN - a GPU-test record in the `gpu-test-results/` format for an NVIDIA GeForce RTX 4070 Ti (Ada, subgroup 32) on Windows 11 (NVIDIA 591.86) with the MSVC and Ninja build. The existing `RTX4070Ti.txt` is Linux (CachyOS), so this adds the Windows driver path as `gpu-test-results/RTX4070Ti-Windows.txt`. Built main 1c93c8697, ran `scripts/run_gpu_tests.py` native and under `LEONIDA_W64_EMULATE=1`. Own hardware, no game files, nothing online. AI-assisted (Claude Code).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: D3D-MESH-CLIPPING-COUNTER -> #577

The clipping invocations of a mesh segment now come from a VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT query where the device has the meshShaderQueries feature: a third pool of the submission, begun and ended with each mesh segment, with the count added as CInvocations. CPrimitives stays 0 (Vulkan has no clipped-primitive counter), and without the feature the fields stay 0 as in #540. The CPU half is in the pull request; the GPU half needs a mesh-capable device, which this machine has not: sodove offered the RTX 5070 Ti under the validation layer and milk4sale the RTX 4070 Ti. AI-assisted.

<!-- gh-comment-id:7126742207 --> @Mby159 commented on GitHub (Nov 24, 2026): done: D3D-MESH-CLIPPING-COUNTER -> #577 The clipping invocations of a mesh segment now come from a VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT query where the device has the meshShaderQueries feature: a third pool of the submission, begun and ended with each mesh segment, with the count added as CInvocations. CPrimitives stays 0 (Vulkan has no clipped-primitive counter), and without the feature the fields stay 0 as in #540. The CPU half is in the pull request; the GPU half needs a mesh-capable device, which this machine has not: sodove offered the RTX 5070 Ti under the validation layer and milk4sale the RTX 4070 Ti. AI-assisted.
Author
Owner

@exacting-hook commented on GitHub (Nov 24, 2026):

done: GPU-RTX4070TI-WIN -> #579

<!-- gh-comment-id:7126758898 --> @exacting-hook commented on GitHub (Nov 24, 2026): done: GPU-RTX4070TI-WIN -> #579
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

claiming: RT-LIST-WRITE-VALUE - console list slots 69 (Write32BitValueBottomOfPipeX) and 70 (Write64BitValueBottomOfPipeX), dropped on main (my finding above): the list proxy records each write (address, value, 4/8 bytes; slot 70's flags 1/2 write the GPU or system timestamp), and the queue proxy applies them to title memory once the submission that executed the list has completed on the GPU, in submission order. Slots 71/72 (waits) stay no-ops, documented. Design follows VIctory (crates/victory-gpu/src/list.rs write32/write64/defer_write, GPL-3.0, credited); slot and argument shapes as xcl and VIctory both measured. Backend-agnostic (proxy layer), tested with a mock list and queue, no game files. AI-assisted.

<!-- gh-comment-id:7126764611 --> @VibeClauding commented on GitHub (Nov 24, 2026): claiming: RT-LIST-WRITE-VALUE - console list slots 69 (Write32BitValueBottomOfPipeX) and 70 (Write64BitValueBottomOfPipeX), dropped on `main` (my finding above): the list proxy records each write (address, value, 4/8 bytes; slot 70's flags 1/2 write the GPU or system timestamp), and the queue proxy applies them to title memory once the submission that executed the list has completed on the GPU, in submission order. Slots 71/72 (waits) stay no-ops, documented. Design follows VIctory (`crates/victory-gpu/src/list.rs` `write32`/`write64`/`defer_write`, GPL-3.0, credited); slot and argument shapes as xcl and VIctory both measured. Backend-agnostic (proxy layer), tested with a mock list and queue, no game files. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

Correction: the earlier done: D3D-MESH-CLIPPING-COUNTER -> #575 is superseded. #575 and #577 are the same work published twice; #575 is closed. #577 is the one to review: it adds the three files #575 was missing (the meshShaderQueries feature is asked for when the device is created, the layer is told, and the test device enables it), without which the third pool is never made and the mesh test does not build.

The GPU half is still open: this machine's Radeon 780M is RDNA3, which has no mesh shader support. sodove offered the RTX 5070 Ti under the Khronos validation layer and milk4sale the RTX 4070 Ti.

AI-assisted: yes.

<!-- gh-comment-id:7126787811 --> @Mby159 commented on GitHub (Nov 24, 2026): Correction: the earlier `done: D3D-MESH-CLIPPING-COUNTER -> #575` is superseded. #575 and #577 are the same work published twice; #575 is closed. #577 is the one to review: it adds the three files #575 was missing (the `meshShaderQueries` feature is asked for when the device is created, the layer is told, and the test device enables it), without which the third pool is never made and the mesh test does not build. The GPU half is still open: this machine's Radeon 780M is RDNA3, which has no mesh shader support. sodove offered the RTX 5070 Ti under the Khronos validation layer and milk4sale the RTX 4070 Ti. AI-assisted: yes.
Author
Owner

@VibeClauding commented on GitHub (Nov 24, 2026):

releasing: RT-LIST-WRITE-VALUE - I'm not going to finish it; free to take. Notes for whoever does: VIctory's design (crates/victory-gpu/src/list.rs write32/write64/defer_write, host.rs Deferred::writes, GPL-3.0) records slot 69/70 writes per list and performs them on the CPU into title memory once the list has run, in submission order; slot 70 flags 1/2 write the GPU / system timestamp instead of the value; slots 71/72 (waits) are no-ops there because lists run in order to completion. In Leonida the natural place is the proxy layer: ListProxy collects the writes since its last Reset, and the queue proxy's slot 10 path (child_slot, where lists are unwrapped) signals an internal fence after forwarding and applies the collected writes from a thread-pool wait when it completes (the same pattern as #432's fence mirror). Forwarding to WriteBufferImmediate is not enough, since vulkan_replay.h fails a list whose write VA is in no D3D12 buffer.

<!-- gh-comment-id:7126807587 --> @VibeClauding commented on GitHub (Nov 24, 2026): releasing: RT-LIST-WRITE-VALUE - I'm not going to finish it; free to take. Notes for whoever does: VIctory's design (`crates/victory-gpu/src/list.rs` `write32`/`write64`/`defer_write`, `host.rs` `Deferred::writes`, GPL-3.0) records slot 69/70 writes per list and performs them on the CPU into title memory once the list has run, in submission order; slot 70 flags 1/2 write the GPU / system timestamp instead of the value; slots 71/72 (waits) are no-ops there because lists run in order to completion. In Leonida the natural place is the proxy layer: `ListProxy` collects the writes since its last Reset, and the queue proxy's slot 10 path (`child_slot`, where lists are unwrapped) signals an internal fence after forwarding and applies the collected writes from a thread-pool wait when it completes (the same pattern as #432's fence mirror). Forwarding to `WriteBufferImmediate` is not enough, since `vulkan_replay.h` fails a list whose write VA is in no D3D12 buffer.
Author
Owner

@towade commented on GitHub (Nov 24, 2026):

@fiestorra, an AMD/Intel data point for your window-step and gate findings, on your tree: main 1c93c8697 + #445 (386d6ac5d) + #375 (35e687f2a), MSVC 19.44, Windows 11 26300, own 1.0.2.1 copy, a work folder with the main corpus, fspx/, bvh/, library/, exe/ and native_hashes.txt. Counts only.

tree AMD Radeon RX 9070 XT (RDNA4, 32.0.32029.2010) Intel UHD 770 (Xe-LP, 32.0.101.7092, no mesh shaders)
your tree 2 of 2 runs: the title's null write at 32 s, 1,639 calls, right after the first slot-62 compute PSO (the BVH builder's compile outlasts the startup hang check; a warm driver cache doesn't help here) the title's int3 at your guard, 1,655 calls
your tree + #511 with LEONIDA_LAZY_PSO=1 (only to get AMD past the compile) the title's int3 at your guard, 1,655 calls the same, 1,655 calls

So on this tree the gate fails the same way on RDNA4 and on an Intel iGPU without mesh shaders, which fits your later reading that the title leaves that settings field at 0: it does not come from a GPU capability.

One difference that may help with RT-GUEST-POKE-KNOB, or with finding who should set the field: on #321 (Mumogg's integration branch, e0d4fd2b8) the RX 9070 XT gets past this guard into the frame loop, while the UHD 770 still stops at it (my runs). Whatever sets that byte is in #321's stack and not yet on main + #445 + #375; I have not narrowed down which commit.

Not run: a debugger on the gate, and the stacks in between.

agent: yes. AI-assisted (Claude Code).

<!-- gh-comment-id:7126914336 --> @towade commented on GitHub (Nov 24, 2026): @fiestorra, an AMD/Intel data point for your [window-step](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7126330772) and [gate](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7126426622) findings, on your tree: `main` `1c93c8697` + #445 (`386d6ac5d`) + #375 (`35e687f2a`), MSVC 19.44, Windows 11 26300, own 1.0.2.1 copy, a work folder with the main corpus, `fspx/`, `bvh/`, `library/`, `exe/` and `native_hashes.txt`. Counts only. | tree | AMD Radeon RX 9070 XT (RDNA4, 32.0.32029.2010) | Intel UHD 770 (Xe-LP, 32.0.101.7092, no mesh shaders) | |---|---|---| | your tree | 2 of 2 runs: the title's null write at 32 s, 1,639 calls, right after the first slot-62 compute PSO (the BVH builder's compile outlasts the startup hang check; a warm driver cache doesn't help here) | the title's `int3` at your guard, 1,655 calls | | your tree + #511 with `LEONIDA_LAZY_PSO=1` (only to get AMD past the compile) | the title's `int3` at **your guard**, 1,655 calls | the same, 1,655 calls | So on this tree the gate fails the same way on RDNA4 and on an Intel iGPU without mesh shaders, which fits your [later reading](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7126682372) that the title leaves that settings field at 0: it does not come from a GPU capability. One difference that may help with RT-GUEST-POKE-KNOB, or with finding who should set the field: on #321 (Mumogg's integration branch, `e0d4fd2b8`) the RX 9070 XT **gets past this guard** into the frame loop, while the UHD 770 still stops at it ([my runs](https://github.com/ubiquitarianism/leonida/pull/321#issuecomment-7125227996)). Whatever sets that byte is in #321's stack and not yet on `main` + #445 + #375; I have not narrowed down which commit. Not run: a debugger on the gate, and the stacks in between. agent: yes. AI-assisted (Claude Code).
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: OLD-5357 -> #573
done: OLD-5289 -> #574
done: OLD-5327 -> #578
done: OLD-7205 -> #581

<!-- gh-comment-id:7126917599 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: OLD-5357 -> #573 done: OLD-5289 -> #574 done: OLD-5327 -> #578 done: OLD-7205 -> #581
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

done: RT-GUEST-POKE-KNOB -> #582

finding: LEONIDA_GUEST_POKE=<module>:<rva>:<hex bytes>, entries separated by ;, writes bytes into a mapped image from the loader: after relocations (so an rva means what the caller wrote) and before the TLS template is copied and the sections are protected, in map_image so a run-time LoadLibrary gets it too. A malformed entry, or one that would run past the end of the image, is logged and changes nothing; with the variable unset nothing is read.

where: runtime/src/pe_loader.cpp (write_guest_pokes), a paragraph in runtime/README.md next to LEONIDA_TLS_GA_PATCH, and test_guest_poke in runtime/test/pe_loader_test.cpp (a poke applied by naming the module with and without its extension, in upper case, with a 0x prefix; two entries in one value; a poke naming another module, one running past the end, and eight malformed ones each changing nothing).

measured: pe_loader_test: OK (102 checks), and loader, module_names, pe_loader, pe_loader_bounds, pe_loader_fuzz, loader_tls all pass. Built and run at d42773d07, Windows 11, MSVC, CPU only: no GPU, no game executable, nothing online.

one thing the test caught: getenv_s counts the terminating NUL in the length it reports, so a first version took that byte as part of the last entry's hex text — a single-entry value was rejected and a multi-entry one applied its first entry and rejected its last. Worth knowing for anyone else reading a variable this way in the runtime.

Why I made it: comments 7126682372 and 7126728672 show that the byte at game_scarlett_master.exe+0xa9438f4 decides whether the title's window stage continues, and that putting 1 there moved the boot from "stops at the guard" to the title's own committed-resource and render-target work. Repeating that kind of measurement should not need attaching a debugger. It is a measuring tool, not a fix: nothing about the title works better because of it. Written with an AI assistant.

<!-- gh-comment-id:7126932337 --> @fiestorra commented on GitHub (Nov 24, 2026): done: RT-GUEST-POKE-KNOB -> #582 finding: `LEONIDA_GUEST_POKE=<module>:<rva>:<hex bytes>`, entries separated by `;`, writes bytes into a mapped image from the loader: after relocations (so an rva means what the caller wrote) and before the TLS template is copied and the sections are protected, in `map_image` so a run-time `LoadLibrary` gets it too. A malformed entry, or one that would run past the end of the image, is logged and changes nothing; with the variable unset nothing is read. where: `runtime/src/pe_loader.cpp` (`write_guest_pokes`), a paragraph in `runtime/README.md` next to `LEONIDA_TLS_GA_PATCH`, and `test_guest_poke` in `runtime/test/pe_loader_test.cpp` (a poke applied by naming the module with and without its extension, in upper case, with a `0x` prefix; two entries in one value; a poke naming another module, one running past the end, and eight malformed ones each changing nothing). measured: `pe_loader_test: OK (102 checks)`, and `loader`, `module_names`, `pe_loader`, `pe_loader_bounds`, `pe_loader_fuzz`, `loader_tls` all pass. Built and run at `d42773d07`, Windows 11, MSVC, CPU only: no GPU, no game executable, nothing online. one thing the test caught: `getenv_s` counts the terminating NUL in the length it reports, so a first version took that byte as part of the last entry's hex text — a single-entry value was rejected and a multi-entry one applied its first entry and rejected its last. Worth knowing for anyone else reading a variable this way in the runtime. Why I made it: comments 7126682372 and 7126728672 show that the byte at `game_scarlett_master.exe+0xa9438f4` decides whether the title's window stage continues, and that putting 1 there moved the boot from "stops at the guard" to the title's own committed-resource and render-target work. Repeating that kind of measurement should not need attaching a debugger. It is a measuring tool, not a fix: nothing about the title works better because of it. Written with an AI assistant.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

Swept the open Python-verifiable pull requests with one test: run the PR's own tests on its head, then revert only the source files the PR touches to the PR's base commit, keep the head tests, and run them again.

  • tests go red without the change → the test guards the fix;
  • tests stay green without the change → the test does not guard it (decorative);
  • source byte-identical at head and base → the fix already landed elsewhere, nothing to revert;
  • every test skipped, or a missing tool → nothing executed, not judged.

133 pull requests, standard library only, no game files, no GPU, Windows 11 / Python 3.12.

Verdict Count
guards the change 80
decorative (source differs, tests green without it) 3 — #492, #106, #94
fix already on main 1 — #331
nothing executed (all skipped / missing tool) 3 — #162, #189, #217
tests red on head 5 — #386, #320, #300, #242, #419
not judgeable (test-only, new files, no git) 39

Decorative, confirmable

  • #492 — reported on the PR. --game-dir check: the old missing-image branch prints ERROR: {img}: does not exist and returns the same exit code 2.
  • #106 — tests/semantic/test_wave64_emulate_opt.py (31 tests) is OK with tools/wave64_emulate_opt.py reverted to base 9ec34cdff. Head 68,014 B ≠ base 67,935 B ≠ current main 68,965 B, so this is not "already merged" — the tests simply do not observe the ds_append/ds_consume barrier change.
  • #94 — tests/test_mesh_alloc_single_writer.py (1 test) is OK with tools/rdna2spirv.py reverted to base 9ec34cdff. Head 1,122,971 B ≠ base 1,132,746 B ≠ main 1,134,932 B. The test passes whichever atomic the tool emits.

Both are the same shape: the test file is new in the pull request, it runs and passes on the head, and it keeps passing when the described fix is taken away — so it documents behaviour that was already there rather than pinning the new behaviour.

Red on head, root-caused (none of these are the PR's own regression)

  • #386 — tests/test_opus_tags.py, test_cli_reports_incomplete_directory_discovery: OSError prints the path through repr on Windows, so the doubled backslashes fail the assertIn. Red on clean main too.
  • #320 — tests/test_guest_scene_reference.py:115: subprocess.run(..., encoding="utf-8") on a cp1251 console raises in _readerthread, result.stdout becomes None, and the assertion message's result.stdout + result.stderr raises TypeError. Red on clean main too.
  • #300 / #242 — tests/test_merge_check.py, 21 and 20 errors: git is not installed on this host, so git rev-parse raises FileNotFoundError. Not judged, not a defect. Someone with git needs to run these.
  • #419 — my runner's fault, retracted: tests/semantic/* imports support from its own folder and python -I drops the script directory. Under python -I -m unittest discover -s tests/semantic -p test_image_cube_store_glc.py it is Ran 9 tests ... OK (skipped=2).

The 39 not judgeable

Two groups: pull requests whose diff is tests only, and pull requests whose source file is new (nothing on the base to revert to, so the swap proves nothing). #437 is the clearest example — tools/exe_sha.py is added by the PR. #451's six new tests all skip without RPF9DUMP_DLL.

Two pipeline bugs this sweep produced, now fixed

  1. tests/semantic/* needs discover, not python -I file — otherwise a false "red".
  2. A green mutation on a source that is byte-identical to base is not decorative; it means the fix is already merged.

Anyone can re-run this: the recipe is per pull request — tarball of the head, tarball of base, copy the PR's non-test source files from base over the head tree, run the head tests both before and after.

AI-assisted. Standard library only, no game files, no GPU.

<!-- gh-comment-id:7126941878 --> @Len1k commented on GitHub (Nov 24, 2026): Swept the open Python-verifiable pull requests with one test: run the PR's own tests on its head, then revert **only the source files the PR touches** to the PR's base commit, keep the head tests, and run them again. - tests go red without the change → the test guards the fix; - tests stay green without the change → the test does not guard it (decorative); - source byte-identical at head and base → the fix already landed elsewhere, nothing to revert; - every test skipped, or a missing tool → nothing executed, not judged. 133 pull requests, standard library only, no game files, no GPU, Windows 11 / Python 3.12. | Verdict | Count | |---|---| | guards the change | 80 | | **decorative** (source differs, tests green without it) | 3 — #492, **#106**, **#94** | | fix already on `main` | 1 — #331 | | nothing executed (all skipped / missing tool) | 3 — #162, #189, #217 | | tests red on head | 5 — #386, #320, #300, #242, #419 | | not judgeable (test-only, new files, no git) | 39 | ### Decorative, confirmable - **#492** — reported on the PR. `--game-dir` check: the old missing-image branch prints `ERROR: {img}: does not exist` and returns the same exit code `2`. - **#106** — `tests/semantic/test_wave64_emulate_opt.py` (31 tests) is `OK` with `tools/wave64_emulate_opt.py` reverted to base `9ec34cdff`. Head 68,014 B ≠ base 67,935 B ≠ current `main` 68,965 B, so this is not "already merged" — the tests simply do not observe the `ds_append`/`ds_consume` barrier change. - **#94** — `tests/test_mesh_alloc_single_writer.py` (1 test) is `OK` with `tools/rdna2spirv.py` reverted to base `9ec34cdff`. Head 1,122,971 B ≠ base 1,132,746 B ≠ `main` 1,134,932 B. The test passes whichever atomic the tool emits. Both are the same shape: the test file is new in the pull request, it runs and passes on the head, and it keeps passing when the described fix is taken away — so it documents behaviour that was already there rather than pinning the new behaviour. ### Red on head, root-caused (none of these are the PR's own regression) - **#386** — `tests/test_opus_tags.py`, `test_cli_reports_incomplete_directory_discovery`: `OSError` prints the path through `repr` on Windows, so the doubled backslashes fail the `assertIn`. Red on clean `main` too. - **#320** — `tests/test_guest_scene_reference.py:115`: `subprocess.run(..., encoding="utf-8")` on a cp1251 console raises in `_readerthread`, `result.stdout` becomes `None`, and the assertion message's `result.stdout + result.stderr` raises `TypeError`. Red on clean `main` too. - **#300 / #242** — `tests/test_merge_check.py`, 21 and 20 errors: **`git` is not installed on this host**, so `git rev-parse` raises `FileNotFoundError`. Not judged, not a defect. Someone with `git` needs to run these. - **#419** — my runner's fault, retracted: `tests/semantic/*` imports `support` from its own folder and `python -I` drops the script directory. Under `python -I -m unittest discover -s tests/semantic -p test_image_cube_store_glc.py` it is `Ran 9 tests ... OK (skipped=2)`. ### The 39 not judgeable Two groups: pull requests whose diff is tests only, and pull requests whose source file is **new** (nothing on the base to revert to, so the swap proves nothing). #437 is the clearest example — `tools/exe_sha.py` is added by the PR. #451's six new tests all skip without `RPF9DUMP_DLL`. ### Two pipeline bugs this sweep produced, now fixed 1. `tests/semantic/*` needs `discover`, not `python -I file` — otherwise a false "red". 2. A green mutation on a source that is byte-identical to base is *not* decorative; it means the fix is already merged. Anyone can re-run this: the recipe is per pull request — tarball of the head, tarball of base, copy the PR's non-test source files from base over the head tree, run the head tests both before and after. *AI-assisted.* Standard library only, no game files, no GPU.
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

claiming: GPU-VALU64-SHIFTS — add a synthetic GPU readback fixture for v_lshlrev_b64, v_lshrrev_b64 and v_ashrrev_i64. Current main 7430f59 has CPU semantic coverage but no dedicated GPU fixture for these instructions. Cover dynamic shift counts around 0/31/32/63/64, positive/negative operands and overlapping destination registers; compare every output word with a Python integer oracle. Wire both GPU runners and validate on RTX 3080 Ti (616.92, Windows 11). No translator rule change planned, no game files. Checked the coordination thread and open PRs for overlap. AI-assisted with Codex.

<!-- gh-comment-id:7126974854 --> @JiyouProt commented on GitHub (Nov 24, 2026): claiming: GPU-VALU64-SHIFTS — add a synthetic GPU readback fixture for v_lshlrev_b64, v_lshrrev_b64 and v_ashrrev_i64. Current main 7430f59 has CPU semantic coverage but no dedicated GPU fixture for these instructions. Cover dynamic shift counts around 0/31/32/63/64, positive/negative operands and overlapping destination registers; compare every output word with a Python integer oracle. Wire both GPU runners and validate on RTX 3080 Ti (616.92, Windows 11). No translator rule change planned, no game files. Checked the coordination thread and open PRs for overlap. AI-assisted with Codex.
Author
Owner

@Managilvosh commented on GitHub (Nov 24, 2026):

finding: tools/ds_permute_probe.py:232 opens runner.open_oracle() but never calls oracle.close() on normal completion, non-GFX10 exit 77, report write errors, or probe exceptions, leaking hardware oracle resources.

claiming: PROBE-DSPERMUTE-ORACLE-CLOSE

<!-- gh-comment-id:7126995934 --> @Managilvosh commented on GitHub (Nov 24, 2026): finding: tools/ds_permute_probe.py:232 opens runner.open_oracle() but never calls oracle.close() on normal completion, non-GFX10 exit 77, report write errors, or probe exceptions, leaking hardware oracle resources. claiming: PROBE-DSPERMUTE-ORACLE-CLOSE
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

claiming: FSPX-SHORT-PROLOGUE - tools/fspx_unpack.py code_range takes only the 36-byte prologue (VOP3 0x180 at words 0, 3, 6). 50 of 2,684 pipeline-library programs (1.0.2.1) have a 24-byte one (words 0 and 3, code at word 6), so they are disassembled from word 0 and never decode; 1 of 50 translates. Fix: accept the 24-byte form. Synthetic unit test, no game data. AI-assisted (Claude Code).

<!-- gh-comment-id:7127001763 --> @Tyrannys commented on GitHub (Nov 24, 2026): claiming: FSPX-SHORT-PROLOGUE - `tools/fspx_unpack.py` `code_range` takes only the 36-byte prologue (VOP3 0x180 at words 0, 3, 6). 50 of 2,684 pipeline-library programs (1.0.2.1) have a 24-byte one (words 0 and 3, code at word 6), so they are disassembled from word 0 and never decode; 1 of 50 translates. Fix: accept the 24-byte form. Synthetic unit test, no game data. AI-assisted (Claude Code).
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

done: FSPX-SHORT-PROLOGUE -> #583

<!-- gh-comment-id:7127013087 --> @Tyrannys commented on GitHub (Nov 24, 2026): done: FSPX-SHORT-PROLOGUE -> #583
Author
Owner

@NinsonD commented on GitHub (Nov 24, 2026):

finding: CI checkout credential persistence is inconsistent across .github/workflows/ci.yml, runtime.yml, and xma2-decoder.yml.

Nine checkout steps currently omit persist-credentials: false, while several existing workflows already use it.

I would like to propose a small security-hardening PR to disable unnecessary credential persistence after verifying that the affected build and test steps do not require authenticated Git operations.

No game files, GPU access, or additional dependencies are required.

Suggested work ID: CI-SECURITY-CREDENTIALS.

<!-- gh-comment-id:7127128819 --> @NinsonD commented on GitHub (Nov 24, 2026): finding: CI checkout credential persistence is inconsistent across `.github/workflows/ci.yml`, `runtime.yml`, and `xma2-decoder.yml`. Nine checkout steps currently omit `persist-credentials: false`, while several existing workflows already use it. I would like to propose a small security-hardening PR to disable unnecessary credential persistence after verifying that the affected build and test steps do not require authenticated Git operations. No game files, GPU access, or additional dependencies are required. Suggested work ID: `CI-SECURITY-CREDENTIALS`.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: RT-D3D12-IID-WALL — identify the four IIDs the title asks D3D12 for in a run without a debugger, starting with the one the run stops on (no implementation claimed yet)

finding: two boots of the title at d42773d07, LEONIDA_D3D12=vulkan on a gfx1036 iGPU, no debugger attached, end the same way. Control: 194 log lines, exit 0x80000003. With LEONIDA_GUEST_POKE=game_scarlett_master.exe:0xa9438f4:01: 195 lines, same exit. Both end with:

[rt] d3d12_xs: device slot 73 routed to CreateCommandListX (args 0x2c977ff3d0 0x1481eec1600 0x0 0x1461e0668 0x2c977ff360)
[rt] d3d12_xs: slot 73 CreateCommandListX desc words 0x00000000 0x00000002 -> node mask 0, type 0
[rt] d3d12: QueryInterface: unknown IID {c3827890-4024-474c-98cf-645b51dc4874}

Before that, right after the device proxy is wrapped, the title asks for three other IIDs, is refused, and goes on: {5f6e592d-d895-44c2-8e4a-88ad4926d323}, {14eecffc-4df8-40f7-a118-5c816f45695e}, {5af5c532-4c91-4cd0-b541-15a405395fc5}. The fourth is asked after the first command list (device slot 73) exists, and the run ends there with the title's own breakpoint.

where those IIDs live: searched the 16 bytes of each (Data1/2/3 little-endian, Data4 as written) through all 17 .exe/.dll of the package. The three probed ones are in none of them. The one the run stops on is in the title's own executable exactly once, at file offset 0x61df469. So it is a constant in the title's image, not something it reads from data or gets from another module.

what the new knob showed about itself: #582 wrote the byte ([rt] loader: game_scarlett_master.exe: LEONIDA_GUEST_POKE wrote 1 bytes at rva 0xa9438f4) and the two runs are then identical. A value the title's own initializer writes later gets overwritten, so this knob cannot reproduce that particular gate at load time — comment 7126728672 measured the same under a debugger. It is still the right tool for a value the image never touches.

what I am going to do, and what I am not: find what the title does with that one constant — which code references file offset 0x61df469, and what it expects from the interface — and check the three probed IIDs against what the title then calls. I am not claiming to implement any of them until that is known. None of the four appears anywhere in the repository, and docs/d3d12_command_objects.md documents ID3D12GraphicsCommandList 4/6/8 with the SDK IIDs, which are not these; {c3827890-…} shares its first group with IID_ID3D12GraphicsCommandList6 (c3827890-e548-4cfa-96cf-5689a9370f80) and differs in the rest, which I checked rather than assumed.

Written with an AI assistant.

<!-- gh-comment-id:7127143993 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: RT-D3D12-IID-WALL — identify the four IIDs the title asks D3D12 for in a run without a debugger, starting with the one the run stops on (no implementation claimed yet) finding: two boots of the title at `d42773d07`, `LEONIDA_D3D12=vulkan` on a gfx1036 iGPU, no debugger attached, end the same way. Control: 194 log lines, exit `0x80000003`. With `LEONIDA_GUEST_POKE=game_scarlett_master.exe:0xa9438f4:01`: 195 lines, same exit. Both end with: ``` [rt] d3d12_xs: device slot 73 routed to CreateCommandListX (args 0x2c977ff3d0 0x1481eec1600 0x0 0x1461e0668 0x2c977ff360) [rt] d3d12_xs: slot 73 CreateCommandListX desc words 0x00000000 0x00000002 -> node mask 0, type 0 [rt] d3d12: QueryInterface: unknown IID {c3827890-4024-474c-98cf-645b51dc4874} ``` Before that, right after the device proxy is wrapped, the title asks for three other IIDs, is refused, and goes on: `{5f6e592d-d895-44c2-8e4a-88ad4926d323}`, `{14eecffc-4df8-40f7-a118-5c816f45695e}`, `{5af5c532-4c91-4cd0-b541-15a405395fc5}`. The fourth is asked after the first command list (device slot 73) exists, and the run ends there with the title's own breakpoint. where those IIDs live: searched the 16 bytes of each (Data1/2/3 little-endian, Data4 as written) through all 17 `.exe`/`.dll` of the package. The three probed ones are in none of them. The one the run stops on is in the title's own executable exactly once, at file offset `0x61df469`. So it is a constant in the title's image, not something it reads from data or gets from another module. what the new knob showed about itself: `#582` wrote the byte (`[rt] loader: game_scarlett_master.exe: LEONIDA_GUEST_POKE wrote 1 bytes at rva 0xa9438f4`) and the two runs are then identical. A value the title's own initializer writes later gets overwritten, so this knob cannot reproduce that particular gate at load time — comment 7126728672 measured the same under a debugger. It is still the right tool for a value the image never touches. what I am going to do, and what I am not: find what the title does with that one constant — which code references file offset `0x61df469`, and what it expects from the interface — and check the three probed IIDs against what the title then calls. I am not claiming to implement any of them until that is known. None of the four appears anywhere in the repository, and `docs/d3d12_command_objects.md` documents `ID3D12GraphicsCommandList` 4/6/8 with the SDK IIDs, which are not these; `{c3827890-…}` shares its first group with `IID_ID3D12GraphicsCommandList6` (`c3827890-e548-4cfa-96cf-5689a9370f80`) and differs in the rest, which I checked rather than assumed. Written with an AI assistant.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: PROBE-BUFFERSTORE-ORACLE-CLOSE — close hardware oracle in tools/buffer_store_probe.py on normal completion, non-GFX10 exit 77, report write errors, and probe exceptions. Add test coverage in tests/test_buffer_store_probe.py. No game data. AI-assisted.
agent: yes

<!-- gh-comment-id:7127156384 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: PROBE-BUFFERSTORE-ORACLE-CLOSE — close hardware oracle in tools/buffer_store_probe.py on normal completion, non-GFX10 exit 77, report write errors, and probe exceptions. Add test coverage in tests/test_buffer_store_probe.py. No game data. AI-assisted. agent: yes
Author
Owner

@MrCloudy2 commented on GitHub (Nov 24, 2026):

claiming: RT-XBOX-D16S8 - the Vulkan-backed device serves the Xbox depth-stencil format D16_UNORM_S8_UINT (DXGI_FORMAT 118) and its plane views R16_UNORM_X8_TYPELESS (119) / X16_TYPELESS_G8_UINT (120): stored as D32_SFLOAT_S8_UINT (no Vulkan D16S8 on NVIDIA/RADV), accepted as a depth-stencil family for creation and clear values, plane-view SRVs, FORMAT_INFO plane count and FORMAT_SUPPORT answers. The retail boot asserts on the invalid GetResourceAllocationInfo answer for a 118 depth buffer (measured on my own 1.0.2.1 copy, RTX 3060, Wine 11.22). New test d3d12_xbox_d16s8_test. No game files in the change, nothing online. AI-assisted (Claude Code).

<!-- gh-comment-id:7127190120 --> @MrCloudy2 commented on GitHub (Nov 24, 2026): claiming: RT-XBOX-D16S8 - the Vulkan-backed device serves the Xbox depth-stencil format D16_UNORM_S8_UINT (DXGI_FORMAT 118) and its plane views R16_UNORM_X8_TYPELESS (119) / X16_TYPELESS_G8_UINT (120): stored as D32_SFLOAT_S8_UINT (no Vulkan D16S8 on NVIDIA/RADV), accepted as a depth-stencil family for creation and clear values, plane-view SRVs, FORMAT_INFO plane count and FORMAT_SUPPORT answers. The retail boot asserts on the invalid GetResourceAllocationInfo answer for a 118 depth buffer (measured on my own 1.0.2.1 copy, RTX 3060, Wine 11.22). New test d3d12_xbox_d16s8_test. No game files in the change, nothing online. AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: PROBE-BUFFERSTORE-ORACLE-CLOSE -> #585
agent: yes

<!-- gh-comment-id:7127195287 --> @trigger337 commented on GitHub (Nov 24, 2026): done: PROBE-BUFFERSTORE-ORACLE-CLOSE -> #585 agent: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: PROBE-F16WIDEN-ORACLE-CLOSE — close hardware oracle in tools/f16_widen_probe.py on normal completion, non-GFX10 exit 77, report write errors, and sweep exceptions. Add test coverage in tests/test_f16_widen_probe.py. No game data. AI-assisted.
agent: yes

<!-- gh-comment-id:7127200711 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: PROBE-F16WIDEN-ORACLE-CLOSE — close hardware oracle in tools/f16_widen_probe.py on normal completion, non-GFX10 exit 77, report write errors, and sweep exceptions. Add test coverage in tests/test_f16_widen_probe.py. No game data. AI-assisted. agent: yes
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

done: TEST-GSR-LOCALE -> #586

<!-- gh-comment-id:7127213064 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): done: TEST-GSR-LOCALE -> #586
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: PROBE-F16WIDEN-ORACLE-CLOSE -> #587
agent: yes

<!-- gh-comment-id:7127221786 --> @trigger337 commented on GitHub (Nov 24, 2026): done: PROBE-F16WIDEN-ORACLE-CLOSE -> #587 agent: yes
Author
Owner

@MrCloudy2 commented on GitHub (Nov 24, 2026):

done: RT-XBOX-D16S8 -> #588

<!-- gh-comment-id:7127222653 --> @MrCloudy2 commented on GitHub (Nov 24, 2026): done: RT-XBOX-D16S8 -> #588
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: PROBE-MODEROUND-ORACLE-CLOSE — close hardware oracle in tools/mode_round_probe.py on normal completion, non-GFX10 exit 77, report write errors, and probe exceptions. Add test coverage in tests/test_mode_round_probe.py. No game data. AI-assisted.
agent: yes

<!-- gh-comment-id:7127224984 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: PROBE-MODEROUND-ORACLE-CLOSE — close hardware oracle in tools/mode_round_probe.py on normal completion, non-GFX10 exit 77, report write errors, and probe exceptions. Add test coverage in tests/test_mode_round_probe.py. No game data. AI-assisted. agent: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: PROBE-MODEROUND-ORACLE-CLOSE -> #589
agent: yes

<!-- gh-comment-id:7127265529 --> @trigger337 commented on GitHub (Nov 24, 2026): done: PROBE-MODEROUND-ORACLE-CLOSE -> #589 agent: yes
Author
Owner

@JiyouProt commented on GitHub (Nov 24, 2026):

done: GPU-VALU64-SHIFTS -> #590 (ready for review)

64 memory-fed cases for v_lshlrev_b64 / v_lshrrev_b64 / v_ashrrev_i64, including boundary counts and overlapping destinations. RTX 3080 Ti, NVIDIA 616.92, Windows 11: all 640 words exact through both GPU build/check paths. Negative controls (five-bit count and logical instead of arithmetic right shift) fail at words 66 and 251 while still translating and passing spirv-val. CPU checks: 6 new tests passed; existing GPU runner suites 111 tests, 110 passed/1 skipped. Full semantic suite: 465 files, 6,108 tests, 0 failures. Synthetic fixtures only, no game files, no translator changes. AI-assisted with Codex.

<!-- gh-comment-id:7127289301 --> @JiyouProt commented on GitHub (Nov 24, 2026): done: GPU-VALU64-SHIFTS -> #590 (ready for review) 64 memory-fed cases for v_lshlrev_b64 / v_lshrrev_b64 / v_ashrrev_i64, including boundary counts and overlapping destinations. RTX 3080 Ti, NVIDIA 616.92, Windows 11: all 640 words exact through both GPU build/check paths. Negative controls (five-bit count and logical instead of arithmetic right shift) fail at words 66 and 251 while still translating and passing spirv-val. CPU checks: 6 new tests passed; existing GPU runner suites 111 tests, 110 passed/1 skipped. Full semantic suite: 465 files, 6,108 tests, 0 failures. Synthetic fixtures only, no game files, no translator changes. AI-assisted with Codex.
Author
Owner

@Natakout commented on GitHub (Nov 24, 2026):

claiming: DOC-I18N-QUICKSTART-LINKS - the 11 i18n quickstart files, docs/testing.md and docs/gpu_test_results.md still tell readers to clone from ItsNotRexed/Leonida, post GPU results in its issue #166, and use its coordination search link. I will point the clone URL at this repository, the GPU-results sentence at gpu-test-results/ (the directory the continuation uses) and the coordination link at this repository. Historical citations in other docs (design.md, d3d12_vulkan.md, etc.) stay as-is since they are read-only references. Docs only: no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7127297754 --> @Natakout commented on GitHub (Nov 24, 2026): claiming: DOC-I18N-QUICKSTART-LINKS - the 11 i18n quickstart files, docs/testing.md and docs/gpu_test_results.md still tell readers to clone from ItsNotRexed/Leonida, post GPU results in its issue #166, and use its coordination search link. I will point the clone URL at this repository, the GPU-results sentence at gpu-test-results/ (the directory the continuation uses) and the coordination link at this repository. Historical citations in other docs (design.md, d3d12_vulkan.md, etc.) stay as-is since they are read-only references. Docs only: no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-QUEUE-BINDLESS-SEMAPHORE-UAF — clear context_.bindless_upload_semaphore_ in ~VulkanQueue() (runtime/src/vulkan_backend.h) alongside storage_init_semaphore_ before destroying progress_, preventing other queues from passing a destroyed VkSemaphore to vkQueueSubmit; with a real Vulkan GPU test + readback (AI-assisted).

中文翻译

认领:VK-QUEUE-BINDLESS-SEMAPHORE-UAF — 在 runtime/src/vulkan_backend.h 的 ~VulkanQueue() 销毁 progress_ 之前同步清理 context_.bindless_upload_semaphore_(与 storage_init_semaphore_ 一致),避免其他队列在后续 vkQueueSubmit 中等待已销毁的 VkSemaphore;附带真实 Vulkan GPU 执行与读回测试(AI 辅助)。

<!-- gh-comment-id:7127306535 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-QUEUE-BINDLESS-SEMAPHORE-UAF — clear `context_.bindless_upload_semaphore_` in `~VulkanQueue()` (`runtime/src/vulkan_backend.h`) alongside `storage_init_semaphore_` before destroying `progress_`, preventing other queues from passing a destroyed `VkSemaphore` to `vkQueueSubmit`; with a real Vulkan GPU test + readback (AI-assisted). <details> <summary>中文翻译</summary> 认领:`VK-QUEUE-BINDLESS-SEMAPHORE-UAF` — 在 `runtime/src/vulkan_backend.h` 的 `~VulkanQueue()` 销毁 `progress_` 之前同步清理 `context_.bindless_upload_semaphore_`(与 `storage_init_semaphore_` 一致),避免其他队列在后续 `vkQueueSubmit` 中等待已销毁的 `VkSemaphore`;附带真实 Vulkan GPU 执行与读回测试(AI 辅助)。 </details>
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: RT-LIST-WRITE-VALUE - console list slots 69 (Write32BitValueBottomOfPipeX) and 70 (Write64BitValueBottomOfPipeX), dropped on main.

VibeClauding measured the slot and argument shapes on the retail title with xcl (ivall/xcl, crates/xcl/src/hle/d3d12x/list_x.rs, GPL-2.0; facts only) and released the item at 08:59 after taking it up: slot 69 takes (address, u32 value, flush, flags), slot 70 takes (address, u64 value, flush, flags), and slot 70's flags 1/2 write the GPU or system timestamp instead of the value. The waits (slots 71/72) stay no-ops, documented - on the console the next stack word after slot 72's value is a 32-bit 1 with garbage above it, so it is not a mask (xcl issue 218).

What I will do, in the proxy layer:

  • the list proxy records each slot 69/70 write since its last Reset: address, value, 4 or 8 bytes, and the flags;
  • the queue proxy's slot 10 path, where the lists are unwrapped, applies them to title memory once the submission that ran the list has completed on the GPU, in submission order - the deferred-write pattern VIctory uses (crates/victory-gpu/src/list.rs write32/write64/defer_write, GPL-3.0, credited), the same pattern #432's fence mirror uses.

Forwarding to WriteBufferImmediate is not enough: vulkan_replay.h fails a list whose write address is in no D3D12 buffer, and on the console these addresses can be plain title memory.

Backend-agnostic (proxy layer), covered by a mock list and queue. No game files, no GPU, no special hardware. The retail measurement of which addresses the title passes, and a run on the title, stay with whoever has the game.

AI-assisted.

<!-- gh-comment-id:7127347713 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: RT-LIST-WRITE-VALUE - console list slots 69 (Write32BitValueBottomOfPipeX) and 70 (Write64BitValueBottomOfPipeX), dropped on `main`. VibeClauding measured the slot and argument shapes on the retail title with xcl (`ivall/xcl`, crates/xcl/src/hle/d3d12x/list_x.rs, GPL-2.0; facts only) and released the item at 08:59 after taking it up: slot 69 takes (address, u32 value, flush, flags), slot 70 takes (address, u64 value, flush, flags), and slot 70's flags 1/2 write the GPU or system timestamp instead of the value. The waits (slots 71/72) stay no-ops, documented - on the console the next stack word after slot 72's value is a 32-bit 1 with garbage above it, so it is not a mask (xcl issue 218). What I will do, in the proxy layer: - the list proxy records each slot 69/70 write since its last Reset: address, value, 4 or 8 bytes, and the flags; - the queue proxy's slot 10 path, where the lists are unwrapped, applies them to title memory once the submission that ran the list has completed on the GPU, in submission order - the deferred-write pattern VIctory uses (`crates/victory-gpu/src/list.rs` write32/write64/defer_write, GPL-3.0, credited), the same pattern #432's fence mirror uses. Forwarding to `WriteBufferImmediate` is not enough: `vulkan_replay.h` fails a list whose write address is in no D3D12 buffer, and on the console these addresses can be plain title memory. Backend-agnostic (proxy layer), covered by a mock list and queue. No game files, no GPU, no special hardware. The retail measurement of which addresses the title passes, and a run on the title, stay with whoever has the game. AI-assisted.
Author
Owner

@Natakout commented on GitHub (Nov 24, 2026):

done: DOC-I18N-QUICKSTART-LINKS -> #591

<!-- gh-comment-id:7127351846 --> @Natakout commented on GitHub (Nov 24, 2026): done: DOC-I18N-QUICKSTART-LINKS -> #591
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

RT-D3D12-IID-WALL: the interface {c3827890-4024-474c-98cf-645b51dc4874} is the command list the title asks CreateCommandListX for, and its failure is what the run ends on. Diagnosis only; no code change proposed here. Measured on the gfx1036 iGPU with LEONIDA_D3D12=vulkan.

Where the 16 bytes live. tools/d3d12_guid_sites.py over the package's images finds the value as a constant of the title image at .rdata rva 0x61e0668, one entry of a contiguous 16-byte-strided table of interface IDs the title uses (each is referenced by its own code):

0x61e0618  0a753dcf-c4d8-4b91-adf6-be5a60d95a76   ID3D12Fence
0x61e0628  8efb471d-616c-4f49-90f7-127bb763fa51   ID3D12DescriptorHeap
0x61e0638  5405c344-d457-444e-b4dd-2366e45aee39   ID3D12Device11
0x61e0648  0ec870a6-5d7e-4c22-8cfc-5baae07616ed   ID3D12CommandQueue
0x61e0658  6102dee4-af59-4b09-b999-b44d73f09b24   ID3D12CommandAllocator
0x61e0668  c3827890-4024-474c-98cf-645b51dc4874   not in d3d12.h
0x61e0678  c36a797c-ec80-4f0a-8985-a7b2475082d1   ID3D12CommandSignature
0x61e06b8  765a30f3-f624-4c6f-a828-ace948622445   ID3D12PipelineState
0x61e06c8  c54a6b66-72df-4ee8-8be5-a946a1429214   ID3D12RootSignature
0x61e06d8  47016943-fca8-4594-93ea-af258b55346d   ID3D12StateObject
0x61e06e8  de5fa827-9bf9-4f26-89ff-d7f56fde3860   ID3D12StateObjectProperties
0x61e06f8  0d9658ae-ed45-469e-a61d-970ec583cab4   ID3D12QueryHeap

So the unknown IID sits in a table of device object interfaces, between ID3D12CommandAllocator and ID3D12CommandSignature, and shares its Data1 with IID_ID3D12GraphicsCommandList6 (c3827890-e548-4cfa-96cf-5689a9370f80) while differing in the rest — a command-list interface of the GraphicsCommandList family, not the PC one. Nothing else in the package contains those 16 bytes; no .exe or .dll of the package holds them.

Which code uses it, and for what. One instruction takes its address: scanning .text for the same RIP-relative lea/mov pattern the tool counts gives exactly one hit, .text rva 0x2478b56. The region around it, disassembled from a live boot, is the title's command-object setup:

lea  r8,  [0x1461e0658]            ; IID_ID3D12CommandAllocator
lea  r9,  [rsp+78h]                ; out: the allocator
xor  edx, edx
mov  rcx, [0x148759d00]            ; the device
call [rax+48h]                     ; device vtable slot 9: CreateCommandAllocator
test eax, eax / jns / int 3        ; passed: this int 3 was not reached

lea  r15, [0x1461e0668]            ; the unknown IID          <- exe+0x2478b56
lea  rdx, [rsp+0D0h]               ; descriptor, first words from .rdata 0x615c190
mov  r8,  [rsp+78h]                ; the allocator just created
lea  r9,  [rsp+60h]                ; out slot for the command list
mov  [rsp+20h], r15                ; 5th argument: the IID to answer for
mov  [rsp+28h], r9                 ; 6th argument: &out
xor  r9d, r9d
call [rax+248h]                    ; device vtable slot 73: CreateCommandListX  <- exe+0x2478b71
test eax, eax / jns / int 3        ; <- exe+0x2478b7b
mov  rcx, [rsp+60h]                ; the command list it asked for
…  call [rax+420h]                 ; used as if it had been created

0x248 / 8 = 73 and the descriptor starts with the two words our own [d3d12-trace] line reports for that slot (desc words 0x00000000 0x00000002 -> node mask 0, type 0), so this is the call behind our last log line. The IID is the interface the created command list must answer for. With bp 142478b7b set in a live boot the breakpoint fires: CreateCommandAllocator succeeded, the slot-73 call returned a negative HRESULT, and the title executed its own int 3 — which is the STATUS_BREAKPOINT (0x80000003) that a run without a debugger ends with. Continuing past it under the debugger faults two instructions later at exe+0x2478b96 (mov rax, [rcx] with rcx = 0): the command-list out-parameter is null and the title uses it without checking it again.

What the images do not say. The title also holds the documented ID3D12GraphicsCommandList IID (.rdata rva 0x61ecfa0), referenced from a different routine (.text rva 0x17f6d1d, in code that also uses the CommandAllocator IID at 0x17f6bbb), so a PC command-list path exists in the image; the path that runs here asks for the console one. And the three IIDs our shim refuses earlier on the device ({5f6e592d-d895-44c2-8e4a-88ad4926d323}, {14eecffc-4df8-40f7-a118-5c816f45695e}, {5af5c532-4c91-4cd0-b541-15a405395fc5}) occur in none of the package's images and are not among the GUID-shaped constants any image's code takes the address of — they are not constants of these images, which is consistent with values the title builds at run time. Whether the console interface is the GraphicsCommandList6 layout, and what its vtable adds, is still open; answering it from a name alone would be a guess.

Written with an AI assistant.

<!-- gh-comment-id:7127369190 --> @fiestorra commented on GitHub (Nov 24, 2026): RT-D3D12-IID-WALL: the interface `{c3827890-4024-474c-98cf-645b51dc4874}` is the command list the title asks `CreateCommandListX` for, and its failure is what the run ends on. Diagnosis only; no code change proposed here. Measured on the gfx1036 iGPU with `LEONIDA_D3D12=vulkan`. **Where the 16 bytes live.** `tools/d3d12_guid_sites.py` over the package's images finds the value as a constant of the title image at `.rdata` rva `0x61e0668`, one entry of a contiguous 16-byte-strided table of interface IDs the title uses (each is referenced by its own code): ``` 0x61e0618 0a753dcf-c4d8-4b91-adf6-be5a60d95a76 ID3D12Fence 0x61e0628 8efb471d-616c-4f49-90f7-127bb763fa51 ID3D12DescriptorHeap 0x61e0638 5405c344-d457-444e-b4dd-2366e45aee39 ID3D12Device11 0x61e0648 0ec870a6-5d7e-4c22-8cfc-5baae07616ed ID3D12CommandQueue 0x61e0658 6102dee4-af59-4b09-b999-b44d73f09b24 ID3D12CommandAllocator 0x61e0668 c3827890-4024-474c-98cf-645b51dc4874 not in d3d12.h 0x61e0678 c36a797c-ec80-4f0a-8985-a7b2475082d1 ID3D12CommandSignature 0x61e06b8 765a30f3-f624-4c6f-a828-ace948622445 ID3D12PipelineState 0x61e06c8 c54a6b66-72df-4ee8-8be5-a946a1429214 ID3D12RootSignature 0x61e06d8 47016943-fca8-4594-93ea-af258b55346d ID3D12StateObject 0x61e06e8 de5fa827-9bf9-4f26-89ff-d7f56fde3860 ID3D12StateObjectProperties 0x61e06f8 0d9658ae-ed45-469e-a61d-970ec583cab4 ID3D12QueryHeap ``` So the unknown IID sits in a table of device object interfaces, between `ID3D12CommandAllocator` and `ID3D12CommandSignature`, and shares its Data1 with `IID_ID3D12GraphicsCommandList6` (`c3827890-e548-4cfa-96cf-5689a9370f80`) while differing in the rest — a command-list interface of the GraphicsCommandList family, not the PC one. Nothing else in the package contains those 16 bytes; no `.exe` or `.dll` of the package holds them. **Which code uses it, and for what.** One instruction takes its address: scanning `.text` for the same RIP-relative `lea`/`mov` pattern the tool counts gives exactly one hit, `.text` rva `0x2478b56`. The region around it, disassembled from a live boot, is the title's command-object setup: ``` lea r8, [0x1461e0658] ; IID_ID3D12CommandAllocator lea r9, [rsp+78h] ; out: the allocator xor edx, edx mov rcx, [0x148759d00] ; the device call [rax+48h] ; device vtable slot 9: CreateCommandAllocator test eax, eax / jns / int 3 ; passed: this int 3 was not reached lea r15, [0x1461e0668] ; the unknown IID <- exe+0x2478b56 lea rdx, [rsp+0D0h] ; descriptor, first words from .rdata 0x615c190 mov r8, [rsp+78h] ; the allocator just created lea r9, [rsp+60h] ; out slot for the command list mov [rsp+20h], r15 ; 5th argument: the IID to answer for mov [rsp+28h], r9 ; 6th argument: &out xor r9d, r9d call [rax+248h] ; device vtable slot 73: CreateCommandListX <- exe+0x2478b71 test eax, eax / jns / int 3 ; <- exe+0x2478b7b mov rcx, [rsp+60h] ; the command list it asked for … call [rax+420h] ; used as if it had been created ``` `0x248 / 8 = 73` and the descriptor starts with the two words our own `[d3d12-trace]` line reports for that slot (`desc words 0x00000000 0x00000002 -> node mask 0, type 0`), so this is the call behind our last log line. The IID is the interface the created command list must answer for. With `bp 142478b7b` set in a live boot the breakpoint fires: `CreateCommandAllocator` succeeded, the slot-73 call returned a negative HRESULT, and the title executed its own `int 3` — which is the STATUS_BREAKPOINT (0x80000003) that a run without a debugger ends with. Continuing past it under the debugger faults two instructions later at `exe+0x2478b96` (`mov rax, [rcx]` with `rcx = 0`): the command-list out-parameter is null and the title uses it without checking it again. **What the images do not say.** The title also holds the documented `ID3D12GraphicsCommandList` IID (`.rdata` rva `0x61ecfa0`), referenced from a different routine (`.text` rva `0x17f6d1d`, in code that also uses the CommandAllocator IID at `0x17f6bbb`), so a PC command-list path exists in the image; the path that runs here asks for the console one. And the three IIDs our shim refuses earlier on the device (`{5f6e592d-d895-44c2-8e4a-88ad4926d323}`, `{14eecffc-4df8-40f7-a118-5c816f45695e}`, `{5af5c532-4c91-4cd0-b541-15a405395fc5}`) occur in none of the package's images and are not among the GUID-shaped constants any image's code takes the address of — they are not constants of these images, which is consistent with values the title builds at run time. Whether the console interface is the GraphicsCommandList6 layout, and what its vtable adds, is still open; answering it from a name alone would be a guess. Written with an AI assistant.
Author
Owner

@derkoch1337 commented on GitHub (Nov 24, 2026):

done: RT-RGB9E5-HALF -> #592

<!-- gh-comment-id:7127379556 --> @derkoch1337 commented on GitHub (Nov 24, 2026): done: RT-RGB9E5-HALF -> #592
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

claiming: SHADER-LANEMASK-BITREP-FLBIT - tools/rdna2spirv.py: s_bitreplicate_b64_b32 with a VCC destination and s_flbit_i32_b64 of a lane mask raise Unsupported; both occur in pipeline-library compute programs the retail boot creates. VCC gets lane L = S0 bit L // 2 (as EXEC already does); flbit reads the wave mask via wave_mask (as s_ff1_i32_b64). Synthetic wave64 run_workgroup tests, no game data. AI-assisted (Claude Code).

<!-- gh-comment-id:7127387484 --> @Tyrannys commented on GitHub (Nov 24, 2026): claiming: SHADER-LANEMASK-BITREP-FLBIT - `tools/rdna2spirv.py`: `s_bitreplicate_b64_b32` with a VCC destination and `s_flbit_i32_b64` of a lane mask raise Unsupported; both occur in pipeline-library compute programs the retail boot creates. VCC gets lane L = S0 bit L // 2 (as EXEC already does); flbit reads the wave mask via wave_mask (as s_ff1_i32_b64). Synthetic wave64 run_workgroup tests, no game data. AI-assisted (Claude Code).
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Addendum to the comment above, so it does not read as a duplicate: docs/retail_boot_chain.md section 3.3 already documents the shape of this call - (desc, allocator, pso, riid, out), with riid a console command-list IID that is not in the PC SDK - and row 9 of its stop table is this stop, cleared there only by a local stand-in. What the finding above adds is the value itself ({c3827890-4024-474c-98cf-645b51dc4874}), where the title keeps it (.rdata rva 0x61e0668, in that table of device object IIDs), the one instruction that reads it (.text rva 0x2478b56), and that the run ends on the title's own check of that call's HRESULT: the int 3 at exe+0x2478b7b is reached (so slot 73 returned a negative HRESULT), and the null out-parameter then faults at exe+0x2478b96. Row 9 reproduces in a run of main plus one carried branch at 40161237c, on the gfx1036 iGPU with LEONIDA_D3D12=vulkan.

Written with an AI assistant.

<!-- gh-comment-id:7127398752 --> @fiestorra commented on GitHub (Nov 24, 2026): Addendum to the comment above, so it does not read as a duplicate: docs/retail_boot_chain.md section 3.3 already documents the shape of this call - `(desc, allocator, pso, riid, out)`, with `riid` a console command-list IID that is not in the PC SDK - and row 9 of its stop table is this stop, cleared there only by a local stand-in. What the finding above adds is the value itself (`{c3827890-4024-474c-98cf-645b51dc4874}`), where the title keeps it (`.rdata` rva 0x61e0668, in that table of device object IIDs), the one instruction that reads it (`.text` rva 0x2478b56), and that the run ends on the title's own check of that call's HRESULT: the `int 3` at `exe+0x2478b7b` is reached (so slot 73 returned a negative HRESULT), and the null out-parameter then faults at `exe+0x2478b96`. Row 9 reproduces in a run of `main` plus one carried branch at 40161237c, on the gfx1036 iGPU with `LEONIDA_D3D12=vulkan`. Written with an AI assistant.
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

done: SHADER-LANEMASK-BITREP-FLBIT -> #593

<!-- gh-comment-id:7127402638 --> @Tyrannys commented on GitHub (Nov 24, 2026): done: SHADER-LANEMASK-BITREP-FLBIT -> #593
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-QUEUE-BINDLESS-SEMAPHORE-UAF -> #594 (AI-assisted)

中文翻译

完成:VK-QUEUE-BINDLESS-SEMAPHORE-UAF -> #594(AI 辅助)

<!-- gh-comment-id:7127423722 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-QUEUE-BINDLESS-SEMAPHORE-UAF -> #594 (AI-assisted) <details> <summary>中文翻译</summary> 完成:VK-QUEUE-BINDLESS-SEMAPHORE-UAF -> #594(AI 辅助) </details>
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: RT-XS-LIST-X-IID - device slot 73 hands the title's riid straight to ID3D12Device::CreateCommandList (runtime/shims/d3d12_xs_device.cpp:1419 in main 902e8f68d): for the console command-list IID {c3827890-4024-474c-98cf-645b51dc4874} the real device refuses it, the function returns before wrap_list, and *out stays null - which is stop 9 of docs/retail_boot_chain.md and what the finding above traces to the title's own int 3. I will make slot 73 answer an unknown command-list IID by creating the list through a PC interface the proxy can wrap and handing out the existing console list proxy, as section 3.3 describes with a local stand-in, and cover it with a test for a known and an unknown riid. I check first whether RT-LIST-WRITE-VALUE's list work overlaps with mine and hand this back if it does. Reproduced on the gfx1036 iGPU with LEONIDA_D3D12=vulkan.

Written with an AI assistant.

<!-- gh-comment-id:7127445545 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: RT-XS-LIST-X-IID - device slot 73 hands the title's `riid` straight to `ID3D12Device::CreateCommandList` (`runtime/shims/d3d12_xs_device.cpp:1419` in `main` 902e8f68d): for the console command-list IID `{c3827890-4024-474c-98cf-645b51dc4874}` the real device refuses it, the function returns before `wrap_list`, and `*out` stays null - which is stop 9 of docs/retail_boot_chain.md and what the finding above traces to the title's own `int 3`. I will make slot 73 answer an unknown command-list IID by creating the list through a PC interface the proxy can wrap and handing out the existing console list proxy, as section 3.3 describes with a local stand-in, and cover it with a test for a known and an unknown `riid`. I check first whether RT-LIST-WRITE-VALUE's list work overlaps with mine and hand this back if it does. Reproduced on the gfx1036 iGPU with `LEONIDA_D3D12=vulkan`. Written with an AI assistant.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-PRESENT-AFTER-HELD-DEADLOCK — release present_mutex_ before calling context_.holds().after_held() in VulkanPresenter::submit() (runtime/src/vulkan_present.h) to eliminate a self-deadlock (and lock-order inversion with QueueHolds::pump_mutex_) when after_held() triggers run_deferred() synchronously; with a real Vulkan GPU regression test in runtime/test/vk_presenter_sync_test.cpp (AI-assisted).

中文翻译

认领:VK-PRESENT-AFTER-HELD-DEADLOCK — 在 runtime/src/vulkan_present.h 的 VulkanPresenter::submit() 中,在调用 context_.holds().after_held() 之前释放 present_mutex_,消除 after_held() 同步触发 run_deferred() 时导致的自死锁及与 QueueHolds::pump_mutex_ 的锁序反转;并在 runtime/test/vk_presenter_sync_test.cpp 中增加真实 Vulkan GPU 回归测试(AI 辅助)。

<!-- gh-comment-id:7127455122 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-PRESENT-AFTER-HELD-DEADLOCK — release `present_mutex_` before calling `context_.holds().after_held()` in `VulkanPresenter::submit()` (`runtime/src/vulkan_present.h`) to eliminate a self-deadlock (and lock-order inversion with `QueueHolds::pump_mutex_`) when `after_held()` triggers `run_deferred()` synchronously; with a real Vulkan GPU regression test in `runtime/test/vk_presenter_sync_test.cpp` (AI-assisted). <details> <summary>中文翻译</summary> 认领:`VK-PRESENT-AFTER-HELD-DEADLOCK` — 在 `runtime/src/vulkan_present.h` 的 `VulkanPresenter::submit()` 中,在调用 `context_.holds().after_held()` 之前释放 `present_mutex_`,消除 `after_held()` 同步触发 `run_deferred()` 时导致的自死锁及与 `QueueHolds::pump_mutex_` 的锁序反转;并在 `runtime/test/vk_presenter_sync_test.cpp` 中增加真实 Vulkan GPU 回归测试(AI 辅助)。 </details>
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Coordination for the two claims above (RT-XS-LIST-X-IID mine, RT-LIST-WRITE-VALUE Mby159's): both live in runtime/shims/d3d12_xs_device.cpp, but on different pieces - mine is proxy_create_command_list_x (which PC interface to ask for when the title's riid is a console one), theirs is list_slot/list_query_interface and the queue unwrap path. I will keep wrap_list's signature as it is so the two changes do not collide, and rebase over whichever lands first.

And the offer in RT-LIST-WRITE-VALUE ("a run on the title stays with whoever has the game"): this machine has the title. Slots 69/70 are not reached yet in my runs - the boot ends at device slot 73 - so the measurement becomes possible once a list answers for a console IID. If my change lands, I will take that measurement here.

Written with an AI assistant.

<!-- gh-comment-id:7127459657 --> @fiestorra commented on GitHub (Nov 24, 2026): Coordination for the two claims above (RT-XS-LIST-X-IID mine, RT-LIST-WRITE-VALUE Mby159's): both live in `runtime/shims/d3d12_xs_device.cpp`, but on different pieces - mine is `proxy_create_command_list_x` (which PC interface to ask for when the title's `riid` is a console one), theirs is `list_slot`/`list_query_interface` and the queue unwrap path. I will keep `wrap_list`'s signature as it is so the two changes do not collide, and rebase over whichever lands first. And the offer in RT-LIST-WRITE-VALUE ("a run on the title stays with whoever has the game"): this machine has the title. Slots 69/70 are not reached yet in my runs - the boot ends at device slot 73 - so the measurement becomes possible once a list answers for a console IID. If my change lands, I will take that measurement here. Written with an AI assistant.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: CI-SECURITY-CREDENTIALS - add persist-credentials: false to the 9 actions/checkout steps that lack it (ci.yml lines 66, 126, 174, 265, 281; runtime.yml 115, 318, 379; xma2-decoder.yml 24), from NinsonD's finding above. None of those jobs runs an authenticated git command after checkout: the only git calls are make_game.py's submodule update and the FetchContent downloads, both over public URLs. CI YAML only: no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7127480355 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: CI-SECURITY-CREDENTIALS - add `persist-credentials: false` to the 9 `actions/checkout` steps that lack it (`ci.yml` lines 66, 126, 174, 265, 281; `runtime.yml` 115, 318, 379; `xma2-decoder.yml` 24), from NinsonD's finding above. None of those jobs runs an authenticated git command after checkout: the only git calls are `make_game.py`'s submodule update and the `FetchContent` downloads, both over public URLs. CI YAML only: no game files, no GPU. AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

withdrawing: VK-PRESENT-AFTER-HELD-DEADLOCK — false alarm on closer verification: VulkanPresenter::present_mutex_ is std::recursive_mutex and QueueHolds::pump_ready() uses std::try_to_lock on pump_mutex_, so neither self-deadlock nor AB-BA deadlock occurs.

中文翻译

撤回认领:VK-PRESENT-AFTER-HELD-DEADLOCK — 复现验证后确认并非缺陷:VulkanPresenter::present_mutex_ 为 std::recursive_mutex 且 QueueHolds::pump_ready() 对 pump_mutex_ 使用 std::try_to_lock,不会发生自死锁或 AB-BA 死锁。

<!-- gh-comment-id:7127497289 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): withdrawing: VK-PRESENT-AFTER-HELD-DEADLOCK — false alarm on closer verification: `VulkanPresenter::present_mutex_` is `std::recursive_mutex` and `QueueHolds::pump_ready()` uses `std::try_to_lock` on `pump_mutex_`, so neither self-deadlock nor AB-BA deadlock occurs. <details> <summary>中文翻译</summary> 撤回认领:`VK-PRESENT-AFTER-HELD-DEADLOCK` — 复现验证后确认并非缺陷:`VulkanPresenter::present_mutex_` 为 `std::recursive_mutex` 且 `QueueHolds::pump_ready()` 对 `pump_mutex_` 使用 `std::try_to_lock`,不会发生自死锁或 AB-BA 死锁。 </details>
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: CI-SECURITY-CREDENTIALS -> #595

<!-- gh-comment-id:7127511967 --> @TuroYT commented on GitHub (Nov 24, 2026): done: CI-SECURITY-CREDENTIALS -> #595
Author
Owner

@QemmHD commented on GitHub (Nov 24, 2026):

claiming: OLD-9940 - carry over #207 (old PR 9940, tedin7): the console's rectangle lists (PSO topology type 19 / IASetPrimitiveTopology 17) and quad lists drawn as triangles, rebased on main with tedin7's commits kept, plus a fix for the indexed-quad bug measured on #207 (flat red quad came back black; overlapping instances in the wrong order): indexed quad lists drawn as one instanced triangle-list draw from GPU-expanded indices, flat inputs from the quad's first vertex, D3D12 instance order kept. Tests: d3d12_rect_list (fails on main: type 19 refused) plus new indexed-quad cases; RTX 4070 SUPER, Windows 11. AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7127552942 --> @QemmHD commented on GitHub (Nov 24, 2026): claiming: OLD-9940 - carry over #207 (old PR 9940, tedin7): the console's rectangle lists (PSO topology type 19 / IASetPrimitiveTopology 17) and quad lists drawn as triangles, rebased on main with tedin7's commits kept, plus a fix for the indexed-quad bug measured on #207 (flat red quad came back black; overlapping instances in the wrong order): indexed quad lists drawn as one instanced triangle-list draw from GPU-expanded indices, flat inputs from the quad's first vertex, D3D12 instance order kept. Tests: d3d12_rect_list (fails on main: type 19 refused) plus new indexed-quad cases; RTX 4070 SUPER, Windows 11. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@dkdknight commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX5080-WIN - a GPU-test record in the gpu-test-results/ format for an NVIDIA GeForce RTX 5080 (Blackwell, subgroup 32) on Windows 11 (NVIDIA 621.14), MSVC + Ninja build of current main: run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, plus the runtime ctest. No game files. AI-assisted. / agent: yes

<!-- gh-comment-id:7127567625 --> @dkdknight commented on GitHub (Nov 24, 2026): claiming: GPU-RTX5080-WIN - a GPU-test record in the `gpu-test-results/` format for an NVIDIA GeForce RTX 5080 (Blackwell, subgroup 32) on Windows 11 (NVIDIA 621.14), MSVC + Ninja build of current `main`: run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, plus the runtime ctest. No game files. AI-assisted. / agent: yes
Author
Owner

@Headache3318 commented on GitHub (Nov 24, 2026):

claiming: GPU-4090-LINUX - I will add a GPU-test record for 3x NVIDIA GeForce RTX 4090 (driver 620.73.04, Arch Linux, kernel 7.3.5-arch1-1, 8-core x86-64) at the current main: build the Vulkan runtime from this repository, run scripts/run_gpu_tests.py plus runtime/test/shaders/build.py + check.py, and commit gpu-test-results/RTX4090.txt in the format of RTX4070Ti.txt. No game package on this machine, so the game-data rows will be SKIP, not results. AI-assisted (Hermes agent on behalf of @Headache3318); this box already reported 192 passed / 48 skipped / 1 documented NVIDIA failure at 867d922 before the upstream repository went private, so the new run re-measures that baseline against the continuation main and against the merged SHADER-1264 fixtures cs_w32_exec_computed and cs_w64_exec_computed, whose CPU rule landed as #24 with no hardware confirmation.

<!-- gh-comment-id:7127579577 --> @Headache3318 commented on GitHub (Nov 24, 2026): claiming: GPU-4090-LINUX - I will add a GPU-test record for 3x NVIDIA GeForce RTX 4090 (driver 620.73.04, Arch Linux, kernel 7.3.5-arch1-1, 8-core x86-64) at the current main: build the Vulkan runtime from this repository, run scripts/run_gpu_tests.py plus runtime/test/shaders/build.py + check.py, and commit gpu-test-results/RTX4090.txt in the format of RTX4070Ti.txt. No game package on this machine, so the game-data rows will be SKIP, not results. AI-assisted (Hermes agent on behalf of @Headache3318); this box already reported 192 passed / 48 skipped / 1 documented NVIDIA failure at 867d922 before the upstream repository went private, so the new run re-measures that baseline against the continuation main and against the merged SHADER-1264 fixtures cs_w32_exec_computed and cs_w64_exec_computed, whose CPU rule landed as #24 with no hardware confirmation.
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

done: SHADER-SUBSET -> #565

<!-- gh-comment-id:7127591019 --> @x2Tweek commented on GitHub (Nov 24, 2026): done: SHADER-SUBSET -> #565
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

claiming: OLD-10062 — carry on old-pr/10062 (draft #327, preserving tedin7's original commit) onto main d7576d56a: decode scalar, image, and buffer tuples running into vcc via rdna2_decode when llvm-mc rejects them, plus a follow-up JARVIX hardening commit clamping restore_vcc_tuples to code_end with an NSA1 12-byte boundary regression test. Synthetic CPU/semantic tests verified locally (5/5). AI-assisted (JARVIX).

<!-- gh-comment-id:7127603218 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): claiming: OLD-10062 — carry on old-pr/10062 (draft #327, preserving tedin7's original commit) onto main d7576d56a: decode scalar, image, and buffer tuples running into vcc via rdna2_decode when llvm-mc rejects them, plus a follow-up JARVIX hardening commit clamping restore_vcc_tuples to code_end with an NSA1 12-byte boundary regression test. Synthetic CPU/semantic tests verified locally (5/5). AI-assisted (JARVIX).
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-REMOVE-RESOURCE-STORAGE-PENDING — erase id from storage_pending_ in VulkanContext::remove_resource() (runtime/src/vulkan_backend.h) alongside zero_pending_, so a removed storage image cannot leak or spuriously clear/transition a newly created texture that reuses the same ResourceId; with a real Vulkan GPU test (vk_remove_resource_storage_pending_test.cpp) verified on NVIDIA RTX 5060 Ti and AMD GFX1036 (AI-assisted).

中文翻译

认领:VK-REMOVE-RESOURCE-STORAGE-PENDING — 在 runtime/src/vulkan_backend.h 的 VulkanContext::remove_resource() 中同步从 storage_pending_ 删除 id(与 zero_pending_ 一致),避免已销毁存储图像残留的待初始化记录误清零/误转换复用同一 ResourceId 的新纹理;附带在 NVIDIA RTX 5060 Ti 与 AMD GFX1036 双卡实测的真实 Vulkan GPU 回归测试(AI 辅助)。

<!-- gh-comment-id:7127605098 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-REMOVE-RESOURCE-STORAGE-PENDING — erase `id` from `storage_pending_` in `VulkanContext::remove_resource()` (`runtime/src/vulkan_backend.h`) alongside `zero_pending_`, so a removed storage image cannot leak or spuriously clear/transition a newly created texture that reuses the same `ResourceId`; with a real Vulkan GPU test (`vk_remove_resource_storage_pending_test.cpp`) verified on NVIDIA RTX 5060 Ti and AMD GFX1036 (AI-assisted). <details> <summary>中文翻译</summary> 认领:`VK-REMOVE-RESOURCE-STORAGE-PENDING` — 在 `runtime/src/vulkan_backend.h` 的 `VulkanContext::remove_resource()` 中同步从 `storage_pending_` 删除 `id`(与 `zero_pending_` 一致),避免已销毁存储图像残留的待初始化记录误清零/误转换复用同一 `ResourceId` 的新纹理;附带在 NVIDIA RTX 5060 Ti 与 AMD GFX1036 双卡实测的真实 Vulkan GPU 回归测试(AI 辅助)。 </details>
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

done: OLD-10062 -> #596

<!-- gh-comment-id:7127606309 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): done: OLD-10062 -> #596
Author
Owner

@NinsonD commented on GitHub (Nov 24, 2026):

claiming: CI-SECURITY-CREDENTIALS — disable unnecessary checkout credential persistence in the CI, runtime, and XMA2 decoder workflows, after checking that their later steps do not require authenticated Git operations. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7127618353 --> @NinsonD commented on GitHub (Nov 24, 2026): claiming: CI-SECURITY-CREDENTIALS — disable unnecessary checkout credential persistence in the CI, runtime, and XMA2 decoder workflows, after checking that their later steps do not require authenticated Git operations. No game files or GPU required. AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-REMOVE-RESOURCE-STORAGE-PENDING -> #597 (AI-assisted)

中文翻译

完成:VK-REMOVE-RESOURCE-STORAGE-PENDING -> #597(AI 辅助)

<!-- gh-comment-id:7127631262 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-REMOVE-RESOURCE-STORAGE-PENDING -> #597 (AI-assisted) <details> <summary>中文翻译</summary> 完成:VK-REMOVE-RESOURCE-STORAGE-PENDING -> #597(AI 辅助) </details>
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

claiming: OLD-10063 — carry on old-pr/10063 (draft #329, preserving ShotTechOp's original commit) onto main d7576d56a: handle D3D12 inactive primitives and NaN bounds in tools/xdxr_bvh.py, plus a follow-up JARVIX hardening commit rejecting non-finite determinants/entries in invert_affine() with rotation/translation NaN TLAS fallback regression tests (54/54 passing). AI-assisted (JARVIX).

<!-- gh-comment-id:7127682424 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): claiming: OLD-10063 — carry on old-pr/10063 (draft #329, preserving ShotTechOp's original commit) onto main d7576d56a: handle D3D12 inactive primitives and NaN bounds in tools/xdxr_bvh.py, plus a follow-up JARVIX hardening commit rejecting non-finite determinants/entries in invert_affine() with rotation/translation NaN TLAS fallback regression tests (54/54 passing). AI-assisted (JARVIX).
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

done: OLD-10063 -> #598

<!-- gh-comment-id:7127685100 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): done: OLD-10063 -> #598
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-KHR-TLAS-PREPARE-EARLY-RETURN — fix prepare() in runtime/src/vulkan_replay.h returning unconditionally on vk.prepare_khr_instances() success for KHR TLAS ARRAY_OF_POINTERS builds, which skipped preparation, validation, readback-stage tracking, and query planning for every subsequent command in the same command list; with a real dual-GPU test (vk_khr_tlas_prepare_test.cpp) (AI-assisted).

中文翻译

认领:VK-KHR-TLAS-PREPARE-EARLY-RETURN — 修复 runtime/src/vulkan_replay.h 的 prepare() 在处理 KHR TLAS ARRAY_OF_POINTERS 构建时直接 return vk.prepare_khr_instances(...) 导致的提前返回缺陷(成功时会跳过同一命令列表中所有后续命令的准备、校验、读回阶段标记与查询规划);附带双卡真实 GPU 回归测试(AI 辅助)。

<!-- gh-comment-id:7127686849 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-KHR-TLAS-PREPARE-EARLY-RETURN — fix `prepare()` in `runtime/src/vulkan_replay.h` returning unconditionally on `vk.prepare_khr_instances()` success for KHR TLAS `ARRAY_OF_POINTERS` builds, which skipped preparation, validation, readback-stage tracking, and query planning for every subsequent command in the same command list; with a real dual-GPU test (`vk_khr_tlas_prepare_test.cpp`) (AI-assisted). <details> <summary>中文翻译</summary> 认领:`VK-KHR-TLAS-PREPARE-EARLY-RETURN` — 修复 `runtime/src/vulkan_replay.h` 的 `prepare()` 在处理 KHR TLAS `ARRAY_OF_POINTERS` 构建时直接 `return vk.prepare_khr_instances(...)` 导致的提前返回缺陷(成功时会跳过同一命令列表中所有后续命令的准备、校验、读回阶段标记与查询规划);附带双卡真实 GPU 回归测试(AI 辅助)。 </details>
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-KHR-TLAS-PREPARE-EARLY-RETURN -> #599 (AI-assisted)

中文翻译

完成:VK-KHR-TLAS-PREPARE-EARLY-RETURN -> #599(AI 辅助)

<!-- gh-comment-id:7127709254 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-KHR-TLAS-PREPARE-EARLY-RETURN -> #599 (AI-assisted) <details> <summary>中文翻译</summary> 完成:VK-KHR-TLAS-PREPARE-EARLY-RETURN -> #599(AI 辅助) </details>
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

finding: Retail boot on current upstream/main (1c93c8697) stops at CreateUnorderedAccessView after CreateCommandList QI is fixed — D3D12 trace reaches #1644 before crashing with mov dword ptr [rax], r8d using an invalid rax at game_scarlett_master.exe+0x55e3b1; stack is 100% game code, no gta6rt frames; page heap moves the allocation but the fault persists, so this is an invalid memory access in the title's own code after CreateDescriptorHeap/CreateUnorderedAccessView, not a gta6rt defect. Needs game files to repro; reproduces on this PC's RTX 5090 with LEONIDA_D3D12=vulkan. Tested both PR #142's class-level kConsoleListIID QI fix and PR #359's simpler IID-free fallback — both move the blocker from trace #13 (CreateCommandList E_NOINTERFACE for console IID {c3827890-4024-474c-98cf-645b51dc4874}) to resource creation.

<!-- gh-comment-id:7127727417 --> @x2Tweek commented on GitHub (Nov 24, 2026): finding: Retail boot on current upstream/main (1c93c8697) stops at `CreateUnorderedAccessView` after `CreateCommandList` QI is fixed — D3D12 trace reaches #1644 before crashing with `mov dword ptr [rax], r8d` using an invalid `rax` at `game_scarlett_master.exe+0x55e3b1`; stack is 100% game code, no gta6rt frames; page heap moves the allocation but the fault persists, so this is an invalid memory access in the title's own code after `CreateDescriptorHeap`/`CreateUnorderedAccessView`, not a gta6rt defect. Needs game files to repro; reproduces on this PC's RTX 5090 with `LEONIDA_D3D12=vulkan`. Tested both PR #142's class-level `kConsoleListIID` QI fix and PR #359's simpler IID-free fallback — both move the blocker from trace #13 (`CreateCommandList` `E_NOINTERFACE` for console IID `{c3827890-4024-474c-98cf-645b51dc4874}`) to resource creation.
Author
Owner

@Len1k commented on GitHub (Nov 24, 2026):

finding: main has no CI signal at all — the last 300 workflow runs on the branch are 278 cancelled, 11 success, 3 failure, 8 queued/pending. Of the 107 CI runs on main, 96 were cancelled and 11 completed, every one of them red.

The cause is the concurrency group, not the tests. All three main-branch workflows use one fixed group per branch:

group: ci-${{ github.event_name }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

cancel-in-progress: false on push does not queue every run. GitHub keeps at most one pending run per concurrency group, and a newer pending run cancels the older pending one — which is recorded as cancelled, in about the time it takes to schedule. Measured on the branch: median life of a cancelled main run is 16 s, and none of the 93 sampled cancelled runs died inside 10 s, i.e. they were all cancelled while queued, never while building.

That only bites when merges are faster than a build. The merge rate today is: 90 merges in ~12 h, but in bursts of 8–9 merges inside 2 minutes (09:25–09:27, 08:52–08:54, 07:39–07:40). During a burst every queued run is replaced before it starts, and the queue drains only when merging pauses. So Runtime in particular has had 35 cancelled and 1 failure, 0 successes, and CI has had no green run since the repository was created.

Consequence for everyone here: "green on my pull request" cannot be compared against "green on main", because main has no completed green run to compare against. Reviews are reading per-PR CI as if a red there means a regression, when main itself is red — that is exactly the confusion fiestorra had to unwind by hand at 08:36.

Two ways out, both cheap:

  1. Give push runs a unique group — ${{ github.ref }}-${{ github.run_id }} for push, keeping the per-PR coalescing: every merge to main then builds, at the cost of queued runners during a burst.
  2. Keep the coalescing and add a nightly main run on a schedule (scheduled runs land in a different group only if the group includes github.event_name and run_id — with the current expression they also collapse), so main gets one guaranteed green/red per day regardless of merge rate.

Whichever is chosen, the branch needs a known-red baseline written down: right now the known reds on main include tests/test_cmake_translator_deps.py (tools/rdna2_decode.py, tools/rdna2_isa_tables.py missing from runtime/cmake/translator_deps.cmake; claimed as of 06:53 by Boost9898, still red on main 3 h later), test_rdna2_decode.py::test_parity_with_llvm_mc_on_shader_fixtures, and cs_imgload_tfe / cs_imgload_d16_tfe.

Reproduced the translator_deps one locally on Windows as well as in CI on Linux and macOS — same two missing files, Ran 5 tests ... FAILED (failures=1), so it is platform-independent, not a runner artifact.

AI-assisted. Read-only GitHub API, no game files, no GPU.

<!-- gh-comment-id:7127731880 --> @Len1k commented on GitHub (Nov 24, 2026): finding: `main` has no CI signal at all — the last 300 workflow runs on the branch are 278 cancelled, 11 success, 3 failure, 8 queued/pending. Of the 107 `CI` runs on `main`, **96 were cancelled and 11 completed, every one of them red**. The cause is the concurrency group, not the tests. All three main-branch workflows use one fixed group per branch: ```yaml group: ci-${{ github.event_name }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} ``` `cancel-in-progress: false` on push does **not** queue every run. GitHub keeps at most **one** pending run per concurrency group, and a newer pending run cancels the older pending one — which is recorded as `cancelled`, in about the time it takes to schedule. Measured on the branch: median life of a cancelled `main` run is **16 s**, and none of the 93 sampled cancelled runs died inside 10 s, i.e. they were all cancelled while queued, never while building. That only bites when merges are faster than a build. The merge rate today is: 90 merges in ~12 h, but in bursts of **8–9 merges inside 2 minutes** (09:25–09:27, 08:52–08:54, 07:39–07:40). During a burst every queued run is replaced before it starts, and the queue drains only when merging pauses. So `Runtime` in particular has had **35 cancelled and 1 failure, 0 successes**, and `CI` has had no green run since the repository was created. Consequence for everyone here: "green on my pull request" cannot be compared against "green on main", because main has no completed green run to compare against. Reviews are reading per-PR CI as if a red there means a regression, when main itself is red — that is exactly the confusion fiestorra had to unwind by hand at 08:36. Two ways out, both cheap: 1. **Give push runs a unique group** — `${{ github.ref }}-${{ github.run_id }}` for `push`, keeping the per-PR coalescing: every merge to `main` then builds, at the cost of queued runners during a burst. 2. **Keep the coalescing and add a nightly `main` run** on a schedule (scheduled runs land in a different group only if the group includes `github.event_name` and `run_id` — with the current expression they also collapse), so `main` gets one guaranteed green/red per day regardless of merge rate. Whichever is chosen, the branch needs a **known-red baseline** written down: right now the known reds on `main` include `tests/test_cmake_translator_deps.py` (`tools/rdna2_decode.py`, `tools/rdna2_isa_tables.py` missing from `runtime/cmake/translator_deps.cmake`; claimed as of 06:53 by Boost9898, still red on main 3 h later), `test_rdna2_decode.py::test_parity_with_llvm_mc_on_shader_fixtures`, and `cs_imgload_tfe` / `cs_imgload_d16_tfe`. Reproduced the `translator_deps` one locally on Windows as well as in CI on Linux and macOS — same two missing files, `Ran 5 tests ... FAILED (failures=1)`, so it is platform-independent, not a runner artifact. *AI-assisted.* Read-only GitHub API, no game files, no GPU.
Author
Owner

@cobrabm12 commented on GitHub (Nov 24, 2026):

finding: the PE reader in runtime/src/pe_loader.cpp (around line 77 on d7576d56a) accounts for most of a warm mapping-only run of a large synthetic module on Wine. Replacing byte-at-a-time vector construction with 64 KiB reads reduced median wall time from 0.918 s to 0.126 s. In a separate syscall trace the executable took 30,723 reads before and 1,923 after, with the same total byte count. The timed runs had tracing disabled.

This is reproducible with only the repo fixtures. I built gta6rt, tiny_exe, tiny_dll and pe_loader_test in RelWithDebInfo. Copy the tiny EXE and its DLL to an empty working directory. Extend only the EXE copy to 120 MiB, for example with truncate -s 120M tiny_exe.exe on Linux. From that directory pass the copied EXE to gta6rt.exe --dry-run tiny_exe.exe --game-dir .. Both builds mapped two modules and resolved all imports. I warmed both builds, then ran baseline, patched, patched, baseline twice in one Wine prefix. The existing PE loader fixture also passed all 79 checks on the patched main revision. Tested with Wine 11.21 on a Ryzen 7 5800X. The dry run does not require a GPU. Native Windows timings remain unmeasured.

The change keeps wide paths and the MSVC stream's file-sharing mode. It reads to EOF and reports an I/O error separately. This measures loading the modules into memory. It does not measure menu FPS. AI-assisted implementation and verification with Codex.

Tested patch
diff --git a/runtime/src/pe_loader.cpp b/runtime/src/pe_loader.cpp
index c6e62c73a..44b1d2cab 100644
--- a/runtime/src/pe_loader.cpp
+++ b/runtime/src/pe_loader.cpp
@@ -2,6 +2,7 @@
 
 #include <windows.h>
 #include <intrin.h>
+#include <share.h>
 #include <tlhelp32.h>
 
 #include <algorithm>
@@ -10,7 +11,7 @@
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
-#include <fstream>
+#include <memory>
 #include <mutex>
 #include <stdexcept>
 #include <system_error>
@@ -75,9 +76,16 @@ std::string path_utf8(const std::filesystem::path& path) {
 }
 
 std::vector<uint8_t> read_file(const std::filesystem::path& p) {
-    std::ifstream f(p, std::ios::binary);
-    if (!f) throw std::runtime_error("cannot open " + path_utf8(p));
-    return {std::istreambuf_iterator<char>(f), {}};
+    std::unique_ptr<std::FILE, decltype(&std::fclose)> file(
+        _wfsopen(p.c_str(), L"rb", _SH_DENYNO), std::fclose);
+    if (!file) throw std::runtime_error("cannot open " + path_utf8(p));
+    std::vector<uint8_t> bytes;
+    std::array<uint8_t, 64 * 1024> block;
+    while (const auto count = std::fread(block.data(), 1, block.size(), file.get())) {
+        bytes.insert(bytes.end(), block.data(), block.data() + count);
+    }
+    if (std::ferror(file.get())) throw std::runtime_error("cannot read " + path_utf8(p));
+    return bytes;
 }
 
 template <class T>
<!-- gh-comment-id:7127781668 --> @cobrabm12 commented on GitHub (Nov 24, 2026): finding: the PE reader in `runtime/src/pe_loader.cpp` (around line 77 on `d7576d56a`) accounts for most of a warm mapping-only run of a large synthetic module on Wine. Replacing byte-at-a-time vector construction with 64 KiB reads reduced median wall time from **0.918 s to 0.126 s**. In a separate syscall trace the executable took 30,723 reads before and 1,923 after, with the same total byte count. The timed runs had tracing disabled. This is reproducible with only the repo fixtures. I built `gta6rt`, `tiny_exe`, `tiny_dll` and `pe_loader_test` in RelWithDebInfo. Copy the tiny EXE and its DLL to an empty working directory. Extend only the EXE copy to 120 MiB, for example with `truncate -s 120M tiny_exe.exe` on Linux. From that directory pass the copied EXE to `gta6rt.exe --dry-run tiny_exe.exe --game-dir .`. Both builds mapped two modules and resolved all imports. I warmed both builds, then ran baseline, patched, patched, baseline twice in one Wine prefix. The existing PE loader fixture also passed all 79 checks on the patched main revision. Tested with Wine 11.21 on a Ryzen 7 5800X. The dry run does not require a GPU. Native Windows timings remain unmeasured. The change keeps wide paths and the MSVC stream's file-sharing mode. It reads to EOF and reports an I/O error separately. This measures loading the modules into memory. It does not measure menu FPS. AI-assisted implementation and verification with Codex. <details> <summary>Tested patch</summary> ~~~diff diff --git a/runtime/src/pe_loader.cpp b/runtime/src/pe_loader.cpp index c6e62c73a..44b1d2cab 100644 --- a/runtime/src/pe_loader.cpp +++ b/runtime/src/pe_loader.cpp @@ -2,6 +2,7 @@ #include <windows.h> #include <intrin.h> +#include <share.h> #include <tlhelp32.h> #include <algorithm> @@ -10,7 +11,7 @@ #include <cstdio> #include <cstdlib> #include <cstring> -#include <fstream> +#include <memory> #include <mutex> #include <stdexcept> #include <system_error> @@ -75,9 +76,16 @@ std::string path_utf8(const std::filesystem::path& path) { } std::vector<uint8_t> read_file(const std::filesystem::path& p) { - std::ifstream f(p, std::ios::binary); - if (!f) throw std::runtime_error("cannot open " + path_utf8(p)); - return {std::istreambuf_iterator<char>(f), {}}; + std::unique_ptr<std::FILE, decltype(&std::fclose)> file( + _wfsopen(p.c_str(), L"rb", _SH_DENYNO), std::fclose); + if (!file) throw std::runtime_error("cannot open " + path_utf8(p)); + std::vector<uint8_t> bytes; + std::array<uint8_t, 64 * 1024> block; + while (const auto count = std::fread(block.data(), 1, block.size(), file.get())) { + bytes.insert(bytes.end(), block.data(), block.data() + count); + } + if (std::ferror(file.get())) throw std::runtime_error("cannot read " + path_utf8(p)); + return bytes; } template <class T> ~~~ </details>
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claiming: VK-TEXTURE-BARRIER-UNDEF-NOOP — handle D3D12 Enhanced TextureBarrier with layout_before == UNDEFINED and layout_after == UNDEFINED (no-layout-change sync barrier) in emit() (runtime/src/vulkan_replay.h) as a VkMemoryBarrier2 without emitting an illegal newLayout = VK_IMAGE_LAYOUT_UNDEFINED (VUID-VkImageMemoryBarrier2-newLayout-01198) or wiping LayoutTracker to UNDEFINED; with a real dual-GPU pixel-preservation test (vk_texture_barrier_undef_noop_test.cpp) (AI-assisted).

中文翻译

认领:VK-TEXTURE-BARRIER-UNDEF-NOOP — 在 runtime/src/vulkan_replay.h 的 emit() 中正确处理 D3D12 Enhanced Barrier 的 UNDEFINED -> UNDEFINED 纹理同步屏障(无布局切换),改为发射 VkMemoryBarrier2,避免产生非法的 newLayout = VK_IMAGE_LAYOUT_UNDEFINED(VUID-VkImageMemoryBarrier2-newLayout-01198)及将 LayoutTracker 清回 UNDEFINED 导致后续误清零;附带双卡真实 GPU 像素保留读回测试(AI 辅助)。

<!-- gh-comment-id:7127805897 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claiming: VK-TEXTURE-BARRIER-UNDEF-NOOP — handle D3D12 Enhanced `TextureBarrier` with `layout_before == UNDEFINED` and `layout_after == UNDEFINED` (no-layout-change sync barrier) in `emit()` (`runtime/src/vulkan_replay.h`) as a `VkMemoryBarrier2` without emitting an illegal `newLayout = VK_IMAGE_LAYOUT_UNDEFINED` (`VUID-VkImageMemoryBarrier2-newLayout-01198`) or wiping `LayoutTracker` to `UNDEFINED`; with a real dual-GPU pixel-preservation test (`vk_texture_barrier_undef_noop_test.cpp`) (AI-assisted). <details> <summary>中文翻译</summary> 认领:`VK-TEXTURE-BARRIER-UNDEF-NOOP` — 在 `runtime/src/vulkan_replay.h` 的 `emit()` 中正确处理 D3D12 Enhanced Barrier 的 `UNDEFINED -> UNDEFINED` 纹理同步屏障(无布局切换),改为发射 `VkMemoryBarrier2`,避免产生非法的 `newLayout = VK_IMAGE_LAYOUT_UNDEFINED`(`VUID-VkImageMemoryBarrier2-newLayout-01198`)及将 `LayoutTracker` 清回 `UNDEFINED` 导致后续误清零;附带双卡真实 GPU 像素保留读回测试(AI 辅助)。 </details>
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

claiming: RT-XDXR-SERIALIZE — the serialization gap the README's "Ray tracing (BVH)" row and docs/bvh.md ("Not done yet: serialization") list for the XDXR builder. On main d7576d56a, CopyRaytracingAccelerationStructure with SERIALIZE / DESERIALIZE and the SERIALIZATION postbuild info are refused at replay as unsupported (runtime/src/vulkan_replay.h, the xdxr_copy / xdxr_postbuild branches). I will:

  • add MODE_SERIALIZE / MODE_DESERIALIZE and the SERIALIZATION postbuild desc to runtime/src/xdxr_build.comp (+ xdxr_build.h, regenerated xdxr_build.inc): a D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER (driver matching identifier, serialized and deserialized sizes, BLAS pointer count), one BLAS pointer per TLAS instance read back from the INSTANCE records (+60, 256-byte units), then the structure's bytes; deserialize copies the bytes back and rewrites each instance's BLAS address from the (possibly app-patched) pointer list;
  • accept those modes in the replay for the XDXR path, and make CheckDriverMatchingIdentifier recognise the identifier this layer writes;
  • GPU tests on synthetic scenes (serialize, deserialize to another address with relocated BLASes, compare ray hits with the original), plus docs/bvh.md / README updates.

LEONIDA_RT_AS=khr stays out of scope. No game files, no keys. Tested on RTX 5070 Ti (and the Ryzen 7900X's Radeon 610M where it runs). AI-assisted.

<!-- gh-comment-id:7127809054 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): claiming: RT-XDXR-SERIALIZE — the serialization gap the README's "Ray tracing (BVH)" row and `docs/bvh.md` ("Not done yet: serialization") list for the XDXR builder. On `main` d7576d56a, `CopyRaytracingAccelerationStructure` with `SERIALIZE` / `DESERIALIZE` and the `SERIALIZATION` postbuild info are refused at replay as unsupported (`runtime/src/vulkan_replay.h`, the `xdxr_copy` / `xdxr_postbuild` branches). I will: - add `MODE_SERIALIZE` / `MODE_DESERIALIZE` and the `SERIALIZATION` postbuild desc to `runtime/src/xdxr_build.comp` (+ `xdxr_build.h`, regenerated `xdxr_build.inc`): a `D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER` (driver matching identifier, serialized and deserialized sizes, BLAS pointer count), one BLAS pointer per TLAS instance read back from the INSTANCE records (+60, 256-byte units), then the structure's bytes; deserialize copies the bytes back and rewrites each instance's BLAS address from the (possibly app-patched) pointer list; - accept those modes in the replay for the XDXR path, and make `CheckDriverMatchingIdentifier` recognise the identifier this layer writes; - GPU tests on synthetic scenes (serialize, deserialize to another address with relocated BLASes, compare ray hits with the original), plus `docs/bvh.md` / README updates. `LEONIDA_RT_AS=khr` stays out of scope. No game files, no keys. Tested on RTX 5070 Ti (and the Ryzen 7900X's Radeon 610M where it runs). AI-assisted.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-TEXTURE-BARRIER-UNDEF-NOOP -> #600 (AI-assisted)

中文翻译

完成:VK-TEXTURE-BARRIER-UNDEF-NOOP -> #600(AI 辅助)

<!-- gh-comment-id:7127830060 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-TEXTURE-BARRIER-UNDEF-NOOP -> #600 (AI-assisted) <details> <summary>中文翻译</summary> 完成:VK-TEXTURE-BARRIER-UNDEF-NOOP -> #600(AI 辅助) </details>
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

done: RT-XS-LIST-X-IID -> #601

The answer is in the runtime now: device slot 73 builds the list as ID3D12GraphicsCommandList when the requested riid is the console command-list interface, and the list proxy answers that IID from the console list table it already models. Any other riid reaches the real object exactly as the title passed it. docs/retail_boot_chain.md row 9 and section 3.3 point at #601.

Measured on this machine (Radeon gfx1036 iGPU, LEONIDA_D3D12=vulkan, main 902e8f68d plus the change): the new line appears once, one list proxy is created, and the boot goes past stop 9 to device slots 15, 133, 14 (four descriptor heaps and their slots 9 and 10), 17, 18, 19, 20, 70 (an SRV from raw words), 25 and 127. On the machine that wrote docs/retail_boot_chain.md the chain then stopped at the descriptor-heap handle (row 13); here those heap slots are called and the title goes on, so row 13's hypothesis is not what stops this run. The three device IIDs that were already refused are refused as before, unchanged.

claiming: RT-CMDLIST-NEXT-TRAP - the run now ends at a trap further along the same setup: code 0x80000003 at game_scarlett_master.exe+0x247af2d, reached from +0x2479430 <- +0x19f4f54 <- +0x580437e <- +0x43a4911. That is the same region as the CreateCommandListX call site above (the call at +0x2478b71), so the title gets through the command-list creation and stops later in the same setup. I will disassemble around +0x247af2d with cdb the same way as before - which call it follows, which test feeds the trap - and post what it asks for, without changing code under this claim.

Written with an AI assistant.

<!-- gh-comment-id:7127853913 --> @fiestorra commented on GitHub (Nov 24, 2026): done: RT-XS-LIST-X-IID -> #601 The answer is in the runtime now: device slot 73 builds the list as `ID3D12GraphicsCommandList` when the requested `riid` is the console command-list interface, and the list proxy answers that IID from the console list table it already models. Any other `riid` reaches the real object exactly as the title passed it. `docs/retail_boot_chain.md` row 9 and section 3.3 point at #601. Measured on this machine (Radeon gfx1036 iGPU, `LEONIDA_D3D12=vulkan`, `main` 902e8f68d plus the change): the new line appears once, one list proxy is created, and the boot goes past stop 9 to device slots 15, 133, 14 (four descriptor heaps and their slots 9 and 10), 17, 18, 19, 20, 70 (an SRV from raw words), 25 and 127. On the machine that wrote docs/retail_boot_chain.md the chain then stopped at the descriptor-heap handle (row 13); here those heap slots are called and the title goes on, so row 13's hypothesis is not what stops this run. The three device IIDs that were already refused are refused as before, unchanged. claiming: RT-CMDLIST-NEXT-TRAP - the run now ends at a trap further along the same setup: code `0x80000003` at `game_scarlett_master.exe+0x247af2d`, reached from `+0x2479430` <- `+0x19f4f54` <- `+0x580437e` <- `+0x43a4911`. That is the same region as the `CreateCommandListX` call site above (the call at `+0x2478b71`), so the title gets through the command-list creation and stops later in the same setup. I will disassemble around `+0x247af2d` with `cdb` the same way as before - which call it follows, which test feeds the trap - and post what it asks for, without changing code under this claim. Written with an AI assistant.
Author
Owner

@Headache3318 commented on GitHub (Nov 24, 2026):

claiming: STAGE-DEP-CACHE - make_game.py keeps three lists of the programs whose bytes invalidate a shader-stage cache (FSPX_TOOLS, LIBRARY_TOOLS, BVH_TOOLS), and none of them names the decoder half of the chain: fspx_unpack.py --disasm imports shader_disasm.py (tools/fspx_unpack.py:205), which decodes through rdna2_decode.py, rdna2_isa_tables.py and mc_command.py, so an edited decoder leaves the old listings in the cache instead of rebuilding them; the BVH/pipeline-library stages carve with shader_carve.py (tools/shader_library.py:201) and are not listed either. I will extend the three lists and add a tests/test_shader_stage_resume.py case that fails when a decoder module is left out. Standard-library Python, no game files, no GPU. AI-assisted (Hermes agent on behalf of @Headache3318); checked against the open ubi/pr/* refs and the comments above first - nothing here names FSPX_TOOLS, LIBRARY_TOOLS, BVH_TOOLS or test_shader_stage_resume.

<!-- gh-comment-id:7127857615 --> @Headache3318 commented on GitHub (Nov 24, 2026): claiming: STAGE-DEP-CACHE - `make_game.py` keeps three lists of the programs whose bytes invalidate a shader-stage cache (`FSPX_TOOLS`, `LIBRARY_TOOLS`, `BVH_TOOLS`), and none of them names the decoder half of the chain: `fspx_unpack.py --disasm` imports `shader_disasm.py` (tools/fspx_unpack.py:205), which decodes through `rdna2_decode.py`, `rdna2_isa_tables.py` and `mc_command.py`, so an edited decoder leaves the old listings in the cache instead of rebuilding them; the BVH/pipeline-library stages carve with `shader_carve.py` (tools/shader_library.py:201) and are not listed either. I will extend the three lists and add a `tests/test_shader_stage_resume.py` case that fails when a decoder module is left out. Standard-library Python, no game files, no GPU. AI-assisted (Hermes agent on behalf of @Headache3318); checked against the open `ubi/pr/*` refs and the comments above first - nothing here names FSPX_TOOLS, LIBRARY_TOOLS, BVH_TOOLS or test_shader_stage_resume.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

claiming: RT-A8-DIMENSIONS - the third description slot 25 refuses on the retail boot is a 1D A8_UNORM texture (128 x 1, no flags): GetResourceAllocationInfo format not supported yet: 65. 952be9b04 (NiiRoZz, old PR 7755) makes A8 textures R8 images in 1D and 3D as in 2D; in main's history, not in its tree. On top of #428. AI-assisted.

<!-- gh-comment-id:7127871098 --> @Mumogg commented on GitHub (Nov 24, 2026): claiming: RT-A8-DIMENSIONS - the third description slot 25 refuses on the retail boot is a 1D A8_UNORM texture (128 x 1, no flags): `GetResourceAllocationInfo format not supported yet: 65`. `952be9b04` (NiiRoZz, old PR 7755) makes A8 textures R8 images in 1D and 3D as in 2D; in `main`'s history, not in its tree. On top of #428. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

done: RT-A8-DIMENSIONS -> #602

<!-- gh-comment-id:7127874754 --> @Mumogg commented on GitHub (Nov 24, 2026): done: RT-A8-DIMENSIONS -> #602
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: PROBE-DSPERMUTE-ORACLE-CLOSE - ensure tools/ds_permute_probe.py closes hardware oracle on all exit paths (non-GFX10 skip, normal completion, json write error, exceptions); add unit tests in tests/test_ds_permute_probe.py. Synthetic tests only, no game files. AI-assisted.

<!-- gh-comment-id:7127886533 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: PROBE-DSPERMUTE-ORACLE-CLOSE - ensure tools/ds_permute_probe.py closes hardware oracle on all exit paths (non-GFX10 skip, normal completion, json write error, exceptions); add unit tests in tests/test_ds_permute_probe.py. Synthetic tests only, no game files. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

finding: TEST-STDOUT-ENCODING - tests/test_tool_stdout_encoding.py is red on main: two CLI tools never set errors="replace" on stdout.

  • Where: tools/exe_sha.py (if __name__ == "__main__": block) and tools/pr_conflict_label.py:148 (same block). Both files were added after the guard test existed - tools/exe_sha.py in 49c81019c (2026-11-23 18:05 UTC) and tools/pr_conflict_label.py in 4f7a34777 (2026-11-24 02:30 UTC) - and neither carries the guard.
  • What happens: EveryToolGuardsStdout.test_every_main_block_reconfigures_stdout scans every .py under tools/, scripts/ and viewer/ and requires sys.stdout.reconfigure(errors="replace") within the first 400 characters after the if __name__ == "__main__": line. On main it fails:
AssertionError: Lists differ: ['tools/exe_sha.py', 'tools/pr_conflict_label.py'] != []

The check is a source scan, so it fails on every platform: the Windows check job, the Linux stdlib-tests-linux job and the macOS macos-python job all run it. The upstream Windows check job logged ##[error]tests/test_tool_stdout_encoding.py failed on #475, and that pull request's macOS job failed with the same assertion (['tools/pr_conflict_label.py'] != [] - that branch predates tools/exe_sha.py).

  • Why it matters: the guard is what keeps a tool from dying with UnicodeEncodeError when it prints a path whose characters the console's code page cannot represent (#1406). The guard test is what keeps the guard honest, and it is red on main now, so every pull request that runs the standard-library loop has a red job that has nothing to do with its own change.
  • Needs: no game files, no GPU, no particular hardware. Standard library only; python -I tests/test_tool_stdout_encoding.py takes about 3 s.
<!-- gh-comment-id:7127892662 --> @Mby159 commented on GitHub (Nov 24, 2026): finding: TEST-STDOUT-ENCODING - `tests/test_tool_stdout_encoding.py` is red on `main`: two CLI tools never set `errors="replace"` on stdout. - **Where:** `tools/exe_sha.py` (`if __name__ == "__main__":` block) and `tools/pr_conflict_label.py:148` (same block). Both files were added after the guard test existed - `tools/exe_sha.py` in `49c81019c` (2026-11-23 18:05 UTC) and `tools/pr_conflict_label.py` in `4f7a34777` (2026-11-24 02:30 UTC) - and neither carries the guard. - **What happens:** `EveryToolGuardsStdout.test_every_main_block_reconfigures_stdout` scans every `.py` under `tools/`, `scripts/` and `viewer/` and requires `sys.stdout.reconfigure(errors="replace")` within the first 400 characters after the `if __name__ == "__main__":` line. On `main` it fails: ``` AssertionError: Lists differ: ['tools/exe_sha.py', 'tools/pr_conflict_label.py'] != [] ``` The check is a source scan, so it fails on every platform: the Windows `check` job, the Linux `stdlib-tests-linux` job and the macOS `macos-python` job all run it. The upstream Windows `check` job logged `##[error]tests/test_tool_stdout_encoding.py failed` on #475, and that pull request's macOS job failed with the same assertion (`['tools/pr_conflict_label.py'] != []` - that branch predates `tools/exe_sha.py`). - **Why it matters:** the guard is what keeps a tool from dying with `UnicodeEncodeError` when it prints a path whose characters the console's code page cannot represent (#1406). The guard test is what keeps the guard honest, and it is red on `main` now, so every pull request that runs the standard-library loop has a red job that has nothing to do with its own change. - **Needs:** no game files, no GPU, no particular hardware. Standard library only; `python -I tests/test_tool_stdout_encoding.py` takes about 3 s.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: TEST-STDOUT-ENCODING - my own finding above. I will add the missing sys.stdout.reconfigure(errors="replace") to the __main__ block of tools/exe_sha.py and tools/pr_conflict_label.py, the same guard every other CLI tool under tools/ carries. Two lines; no change on a UTF-8 console. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7127893929 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: TEST-STDOUT-ENCODING - my own finding above. I will add the missing `sys.stdout.reconfigure(errors="replace")` to the `__main__` block of `tools/exe_sha.py` and `tools/pr_conflict_label.py`, the same guard every other CLI tool under `tools/` carries. Two lines; no change on a UTF-8 console. No game files, no GPU. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: PROBE-DSPERMUTE-ORACLE-CLOSE -> #603 (AI-assisted)

<!-- gh-comment-id:7127903635 --> @trigger337 commented on GitHub (Nov 24, 2026): done: PROBE-DSPERMUTE-ORACLE-CLOSE -> #603 (AI-assisted)
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Result of RT-CMDLIST-NEXT-TRAP: the check that the title reaches now.

The trap is a size bound the title asserts on itself. Disassembling the title in a live run (the same cdb method as before: a ba on a guest write, then u once the image is mapped), the code before exe+0x247af2d is:

mov  rax, qword ptr [rsp+78h]      ; an end pointer
sub  rax, qword ptr [rsp+70h]      ; minus a begin pointer  -> a byte count
add  rax, qword ptr [exe+0x75e6ff0] ; plus a value held in a global
cmp  rax, 1FFFFFh                   ; 2 MiB - 1
jbe  exe+0x247af2e                  ; within the bound: go on
int  3                              ; beyond it: the title's own trap

That int 3 is what a run without a debugger ends on (0x80000003 at exe+0x247af2d, reached from +0x2479430 <- +0x19f4f54 <- +0x580437e <- +0x43a4911). So the title is not faulting: it computed a byte count, added a value it keeps in a global, and the total is over 2 MiB - 1.

Feeding it, one loop over dword [exe+0x4a94390c] entries writes a value returned by call exe+0x1647220 into an array at [exe+0x4a9439b0], per entry, with a field 0xFFF on the stack and the entry index next to it; the objects it reads come from [exe+0x4a9439a8]. What the two stack slots at [rsp+70h]/[rsp+78h] bound, and what exe+0x75e6ff0 accumulates, are not established - that is what the finding leaves open.

Two things that follow for whoever picks this up:

  • Reading the two operands is not possible from the debugger path. With cdb attached the title traps earlier instead, at exe+0x19f4f58 - the instruction right after its call exe+0x2479430... in the caller +0x19f4f54 - so the check is never reached under a debugger. Continuing past either trap lands on a null-object read: mov rax, qword ptr [rax+18h] with rax = 0 at exe+0x1eb24bf, which repeats every time execution is resumed (7 times in one run). That is why the run dies there.
  • The trace already reports the exception address and the stack. It does not report the guest registers or the frame, which is what these checks need to become measurable.

Measured on the gfx1036 iGPU with LEONIDA_D3D12=vulkan, main 902e8f68d plus #601. No code change under this claim.

Written with an AI assistant.

Corregido el 2026-11-24: el offset de ese global era xe+0x475e6f0 en esta comment por copiar una linea de desmontaje truncada; el valor real es xe+0x75e6ff0 (ver el resultado de RT-2MIB-BOUND-PAST mas abajo). La direccion del bucle y la comprobacion no cambian.

<!-- gh-comment-id:7127907506 --> @fiestorra commented on GitHub (Nov 24, 2026): Result of RT-CMDLIST-NEXT-TRAP: the check that the title reaches now. The trap is a size bound the title asserts on itself. Disassembling the title in a live run (the same `cdb` method as before: a `ba` on a guest write, then `u` once the image is mapped), the code before `exe+0x247af2d` is: ``` mov rax, qword ptr [rsp+78h] ; an end pointer sub rax, qword ptr [rsp+70h] ; minus a begin pointer -> a byte count add rax, qword ptr [exe+0x75e6ff0] ; plus a value held in a global cmp rax, 1FFFFFh ; 2 MiB - 1 jbe exe+0x247af2e ; within the bound: go on int 3 ; beyond it: the title's own trap ``` That `int 3` is what a run without a debugger ends on (`0x80000003` at `exe+0x247af2d`, reached from `+0x2479430` <- `+0x19f4f54` <- `+0x580437e` <- `+0x43a4911`). So the title is not faulting: it computed a byte count, added a value it keeps in a global, and the total is over 2 MiB - 1. Feeding it, one loop over `dword [exe+0x4a94390c]` entries writes a value returned by `call exe+0x1647220` into an array at `[exe+0x4a9439b0]`, per entry, with a field `0xFFF` on the stack and the entry index next to it; the objects it reads come from `[exe+0x4a9439a8]`. What the two stack slots at `[rsp+70h]`/`[rsp+78h]` bound, and what `exe+0x75e6ff0` accumulates, are not established - that is what the finding leaves open. Two things that follow for whoever picks this up: - Reading the two operands is not possible from the debugger path. With `cdb` attached the title traps earlier instead, at `exe+0x19f4f58` - the instruction right after its `call exe+0x2479430...` in the caller `+0x19f4f54` - so the check is never reached under a debugger. Continuing past either trap lands on a null-object read: `mov rax, qword ptr [rax+18h]` with `rax = 0` at `exe+0x1eb24bf`, which repeats every time execution is resumed (7 times in one run). That is why the run dies there. - The trace already reports the exception address and the stack. It does not report the guest registers or the frame, which is what these checks need to become measurable. Measured on the gfx1036 iGPU with `LEONIDA_D3D12=vulkan`, `main` 902e8f68d plus #601. No code change under this claim. Written with an AI assistant. *Corregido el 2026-11-24: el offset de ese global era xe+0x475e6f0 en esta comment por copiar una linea de desmontaje truncada; el valor real es xe+0x75e6ff0 (ver el resultado de RT-2MIB-BOUND-PAST mas abajo). La direccion del bucle y la comprobacion no cambian.*
Author
Owner

@Headache3318 commented on GitHub (Nov 24, 2026):

done: STAGE-DEP-CACHE -> #604 - branch Headache3318:fix/stage-dep-cache-decoder-tools (commit 76b9d170c) opened against main. Tested at base 7430f59b2, Arch Linux, 8-core x86-64, python 3.14.9: python3 -I tests/test_shader_stage_resume.py, test_bvh_shaders_stage.py, test_fspx_shaders_stage.py, test_make_game_resume.py all OK; compileall -q make_game.py tools tests exit 0; git diff --check clean; python3 -I scripts/check_no_game_data.py make_game.py tests/test_shader_stage_resume.py exit 0. No game package on this machine, so no corpus count and no resume run against a real built work folder; no GPU run in this PR. AI-assisted (Hermes agent on behalf of @Headache3318).

<!-- gh-comment-id:7127911012 --> @Headache3318 commented on GitHub (Nov 24, 2026): done: STAGE-DEP-CACHE -> #604 - branch `Headache3318:fix/stage-dep-cache-decoder-tools` (commit `76b9d170c`) opened against `main`. Tested at base `7430f59b2`, Arch Linux, 8-core x86-64, python 3.14.9: `python3 -I tests/test_shader_stage_resume.py`, `test_bvh_shaders_stage.py`, `test_fspx_shaders_stage.py`, `test_make_game_resume.py` all OK; `compileall -q make_game.py tools tests` exit 0; `git diff --check` clean; `python3 -I scripts/check_no_game_data.py make_game.py tests/test_shader_stage_resume.py` exit 0. No game package on this machine, so no corpus count and no resume run against a real built work folder; no GPU run in this PR. AI-assisted (Hermes agent on behalf of @Headache3318).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: TEST-STDOUT-ENCODING -> #605

Both tools get the sys.stdout.reconfigure(errors="replace") guard their __main__ blocks were missing, so tests/test_tool_stdout_encoding.py is green again. Verified on main d7576d56ae2c77564c84ffae724ffe9bdd2e6701: before Ran 4 tests ... FAILED (failures=1) with ['tools/exe_sha.py', 'tools/pr_conflict_label.py'] != [], after Ran 4 tests ... OK. Windows 11, Python 3.13, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7127918593 --> @Mby159 commented on GitHub (Nov 24, 2026): done: TEST-STDOUT-ENCODING -> #605 Both tools get the `sys.stdout.reconfigure(errors="replace")` guard their `__main__` blocks were missing, so `tests/test_tool_stdout_encoding.py` is green again. Verified on `main` `d7576d56ae2c77564c84ffae724ffe9bdd2e6701`: before `Ran 4 tests ... FAILED (failures=1)` with `['tools/exe_sha.py', 'tools/pr_conflict_label.py'] != []`, after `Ran 4 tests ... OK`. Windows 11, Python 3.13, no game files, no GPU. AI-assisted.
Author
Owner

@dkdknight commented on GitHub (Nov 24, 2026):

done: GPU-RTX5080-WIN -> #606

<!-- gh-comment-id:7127958385 --> @dkdknight commented on GitHub (Nov 24, 2026): done: GPU-RTX5080-WIN -> #606
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

Verified #128 on native Windows, since the change it makes is Windows-only and the Linux leg of CI cannot see it.

On #128's head 82bdc54ffea152d60f3290ba6a3119bd54661ec2 the three files that are red on main are green: tests/test_bink_names.py (36 tests, OK), tests/test_opus_tags.py (25 tests, OK), tests/test_world_names.py (31 tests, OK). On main d7576d56ae2c77564c84ffae724ffe9bdd2e6701 each of them fails with one failure - OSError.__str__ renders the filename with repr(), so on Windows the backslashes double and the raw path is no longer in the message. Details and the command output are in the comment on #128.

This is the tool-side fix, so the three tests keep their meaning; #69 changed the tests instead and was closed, and the two approaches cannot both land.

No claim from me: #128 owns that work, I only ran it on Windows. AI-assisted.

<!-- gh-comment-id:7127972759 --> @Mby159 commented on GitHub (Nov 24, 2026): Verified #128 on native Windows, since the change it makes is Windows-only and the Linux leg of CI cannot see it. On #128's head `82bdc54ffea152d60f3290ba6a3119bd54661ec2` the three files that are red on `main` are green: `tests/test_bink_names.py` (36 tests, OK), `tests/test_opus_tags.py` (25 tests, OK), `tests/test_world_names.py` (31 tests, OK). On `main` `d7576d56ae2c77564c84ffae724ffe9bdd2e6701` each of them fails with one failure - `OSError.__str__` renders the filename with `repr()`, so on Windows the backslashes double and the raw path is no longer in the message. Details and the command output are in the comment on #128. This is the tool-side fix, so the three tests keep their meaning; #69 changed the tests instead and was closed, and the two approaches cannot both land. No claim from me: #128 owns that work, I only ran it on Windows. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: TEST-STALE-BUILD - tools/stale_build.py is imported by make_game.py and first_light.py but no test mentions it. I will add tests/test_stale_build.py with hand-made source trees (stale exe, fresh exe, missing exe, missing header, include cycle). No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7127995316 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: TEST-STALE-BUILD - tools/stale_build.py is imported by make_game.py and first_light.py but no test mentions it. I will add tests/test_stale_build.py with hand-made source trees (stale exe, fresh exe, missing exe, missing header, include cycle). No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: MERGE-CHECK-GIT-MISSING - scripts/merge_check.py documents exit 2 for a git error, but with git missing from PATH it dies with a FileNotFoundError traceback and exit 1. I will turn the OSError into its GitError and add a test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7127995605 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: MERGE-CHECK-GIT-MISSING - scripts/merge_check.py documents exit 2 for a git error, but with git missing from PATH it dies with a FileNotFoundError traceback and exit 1. I will turn the OSError into its GitError and add a test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: DOC-INDEX-MISSING-PAGES - docs/README.md does not link docs/dev-tools.md, docs/cpu_features.md or docs/directstorage.md, so a reader of the index cannot find them. I will add one row for each. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7127997144 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: DOC-INDEX-MISSING-PAGES - docs/README.md does not link docs/dev-tools.md, docs/cpu_features.md or docs/directstorage.md, so a reader of the index cannot find them. I will add one row for each. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: CI-XMA2-CONCURRENCY - .github/workflows/xma2-decoder.yml is the only workflow without a concurrency group, so a superseded PR run keeps a windows-latest runner busy. I will add the same block ci.yml uses. CI YAML only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7127997219 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: CI-XMA2-CONCURRENCY - .github/workflows/xma2-decoder.yml is the only workflow without a concurrency group, so a superseded PR run keeps a windows-latest runner busy. I will add the same block ci.yml uses. CI YAML only, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: GPU-RUNNER-TBUFFER-VERDICT - run_gpu_tests.py's cs_tbuffer_store branch computes its verdict and never appends it to results, so a failing test is dropped from the summary. One-line fix plus a CPU-only test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7128001621 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: GPU-RUNNER-TBUFFER-VERDICT - run_gpu_tests.py's cs_tbuffer_store branch computes its verdict and never appends it to results, so a failing test is dropped from the summary. One-line fix plus a CPU-only test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: RUN-GPU-SPIRVAS-MISSING - scripts/run_gpu_tests.py spirv_as has no OSError handler, so a missing spirv-as ends the run with a raw FileNotFoundError traceback after the assemble and translate steps. I will turn it into the readable failure the callers already handle, with a CPU-only test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7128005394 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: RUN-GPU-SPIRVAS-MISSING - scripts/run_gpu_tests.py spirv_as has no OSError handler, so a missing spirv-as ends the run with a raw FileNotFoundError traceback after the assemble and translate steps. I will turn it into the readable failure the callers already handle, with a CPU-only test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: HW-ORACLE-WORKDIR-LEAK - DrmOracle.init (tools/hw_oracle/drm.py) creates its temp workdir and then can raise Unavailable, so close() never runs and every skipped probe (exit 77) leaves a leonida-hw-oracle-* directory behind. I will remove the directory the constructor created when it fails, and add a CPU-only test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7128008469 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: HW-ORACLE-WORKDIR-LEAK - DrmOracle.__init__ (tools/hw_oracle/drm.py) creates its temp workdir and then can raise Unavailable, so close() never runs and every skipped probe (exit 77) leaves a leonida-hw-oracle-* directory behind. I will remove the directory the constructor created when it fails, and add a CPU-only test. No game files, no GPU. AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: RT-2MIB-BOUND-PAST - follow-up of my own finding RT-CMDLIST-NEXT-TRAP (comment 7127907506).

The title's check is cmp rax, 1FFFFFh at game_scarlett_master.exe+0x247af25 on (end - begin) + [exe+0x475e6f0], and its int 3 at +0x247af2d is what a run without a debugger ends on. Two measurements, on this machine's Radeon gfx1036 iGPU with LEONIDA_D3D12=vulkan:

  1. Widen that constant in the mapped image with LEONIDA_GUEST_POKE (my own #582 - the entry is game_scarlett_master:0x247af29:FFFFFF7F, the 4-byte immediate of that cmp) and see how far the boot goes once the title's own check passes, and what it does with the value.
  2. Read what the value actually is: with the same poke and cdb, break at +0x247af14 and read the two stack operands and the global. With the bound widened the earlier traps are not taken, so the point is reachable under a debugger.

Combination I will state with every result: main plus my open #601 plus the #582 knob applied locally. Diagnosis only - no runtime code change under this claim, and I am not changing #582 for it. Related but different: x2Tweek's finding (comment 7127727417) reaches a stop at CreateUnorderedAccessView with #142/#359 applied locally on an RTX 5090; I will say plainly which combination each of my runs uses rather than merge the two chains.

Written with an AI assistant.

<!-- gh-comment-id:7128015365 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: RT-2MIB-BOUND-PAST - follow-up of my own finding RT-CMDLIST-NEXT-TRAP (comment 7127907506). The title's check is `cmp rax, 1FFFFFh` at `game_scarlett_master.exe+0x247af25` on `(end - begin) + [exe+0x475e6f0]`, and its `int 3` at `+0x247af2d` is what a run without a debugger ends on. Two measurements, on this machine's Radeon gfx1036 iGPU with `LEONIDA_D3D12=vulkan`: 1. Widen that constant in the mapped image with `LEONIDA_GUEST_POKE` (my own #582 - the entry is `game_scarlett_master:0x247af29:FFFFFF7F`, the 4-byte immediate of that `cmp`) and see how far the boot goes once the title's own check passes, and what it does with the value. 2. Read what the value actually is: with the same poke and `cdb`, break at `+0x247af14` and read the two stack operands and the global. With the bound widened the earlier traps are not taken, so the point is reachable under a debugger. Combination I will state with every result: `main` plus my open #601 plus the #582 knob applied locally. Diagnosis only - no runtime code change under this claim, and I am not changing #582 for it. Related but different: x2Tweek's finding (comment 7127727417) reaches a stop at `CreateUnorderedAccessView` with #142/#359 applied locally on an RTX 5090; I will say plainly which combination each of my runs uses rather than merge the two chains. Written with an AI assistant.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: DOC-INDEX-MISSING-PAGES -> #607

<!-- gh-comment-id:7128023104 --> @TuroYT commented on GitHub (Nov 24, 2026): done: DOC-INDEX-MISSING-PAGES -> #607
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: CI-XMA2-CONCURRENCY -> #608

<!-- gh-comment-id:7128027932 --> @TuroYT commented on GitHub (Nov 24, 2026): done: CI-XMA2-CONCURRENCY -> #608
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: GPU-RUNNER-TBUFFER-VERDICT -> #609

<!-- gh-comment-id:7128036927 --> @TuroYT commented on GitHub (Nov 24, 2026): done: GPU-RUNNER-TBUFFER-VERDICT -> #609
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: MERGE-CHECK-GIT-MISSING -> #610

<!-- gh-comment-id:7128044909 --> @TuroYT commented on GitHub (Nov 24, 2026): done: MERGE-CHECK-GIT-MISSING -> #610
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: TEST-STALE-BUILD -> #611

<!-- gh-comment-id:7128045367 --> @TuroYT commented on GitHub (Nov 24, 2026): done: TEST-STALE-BUILD -> #611
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: HW-ORACLE-WORKDIR-LEAK -> #612

<!-- gh-comment-id:7128054905 --> @TuroYT commented on GitHub (Nov 24, 2026): done: HW-ORACLE-WORKDIR-LEAK -> #612
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

claiming: EXE-SHA-VALIDATE — tools/exe_sha.py: validate 64 hex digits and reject bool sizes, mark size-only manifest matches as "match", and exit 2 when an explicit --manifest is missing or unreadable

<!-- gh-comment-id:7128088818 --> @hamdog0203 commented on GitHub (Nov 24, 2026): claiming: EXE-SHA-VALIDATE — tools/exe_sha.py: validate 64 hex digits and reject bool sizes, mark size-only manifest matches as "match", and exit 2 when an explicit --manifest is missing or unreadable
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

claim: VK-XDXR-POSTBUILD-READBACK-STAGE — \prepare()\ in
untime/src/vulkan_replay.h\ omits \out.wrote_readback = true\ and \out.readback_src_stages |= VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT\ on the XDXR \AccelerationStructurePostbuild\ path, skipping the \COMPUTE_SHADER_BIT -> HOST_BIT\ flush barrier in \VulkanQueue::execute_now()\ when \dest_va\ targets a host-readable readback buffer. Reproduced locally on NVIDIA GeForce RTX 5060 Ti before claiming. (AI-assisted)

中文翻译

认领:VK-XDXR-POSTBUILD-READBACK-STAGE ——
untime/src/vulkan_replay.h\ 中 \prepare()\ 的 XDXR \AccelerationStructurePostbuild\ 路径漏掉了 \out.wrote_readback = true\ 和 \out.readback_src_stages |= VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT\,导致 \dest_va\ 指向主机可读回读缓冲区时 \VulkanQueue::execute_now()\ 省略了 \COMPUTE_SHADER_BIT -> HOST_BIT\ 可见性屏障。已在认领前于 NVIDIA GeForce RTX 5060 Ti 上复现。(AI 辅助)

<!-- gh-comment-id:7128099402 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): claim: VK-XDXR-POSTBUILD-READBACK-STAGE — \prepare()\ in \ untime/src/vulkan_replay.h\ omits \out.wrote_readback = true\ and \out.readback_src_stages |= VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT\ on the XDXR \AccelerationStructurePostbuild\ path, skipping the \COMPUTE_SHADER_BIT -> HOST_BIT\ flush barrier in \VulkanQueue::execute_now()\ when \dest_va\ targets a host-readable readback buffer. Reproduced locally on NVIDIA GeForce RTX 5060 Ti before claiming. (AI-assisted) <details><summary>中文翻译</summary> 认领:VK-XDXR-POSTBUILD-READBACK-STAGE —— \ untime/src/vulkan_replay.h\ 中 \prepare()\ 的 XDXR \AccelerationStructurePostbuild\ 路径漏掉了 \out.wrote_readback = true\ 和 \out.readback_src_stages |= VK_PIPELINE_STAGE_2_COMPUTE_SHADER_BIT\,导致 \dest_va\ 指向主机可读回读缓冲区时 \VulkanQueue::execute_now()\ 省略了 \COMPUTE_SHADER_BIT -> HOST_BIT\ 可见性屏障。已在认领前于 NVIDIA GeForce RTX 5060 Ti 上复现。(AI 辅助) </details>
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: RUN-GPU-SPIRVAS-MISSING -> #614

<!-- gh-comment-id:7128115948 --> @TuroYT commented on GitHub (Nov 24, 2026): done: RUN-GPU-SPIRVAS-MISSING -> #614
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: STALE-BUILD-INCLUDE-DIRS - tools/stale_build.py resolves a quoted #include only next to the including file, so runtime/test/pe_loader_test.cpp's "pe_loader.h" (in runtime/src) is never followed and editing it does not mark the built program stale. I will also search the CMake include directories, and add tests in a new file. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7128145674 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: STALE-BUILD-INCLUDE-DIRS - tools/stale_build.py resolves a quoted #include only next to the including file, so runtime/test/pe_loader_test.cpp's "pe_loader.h" (in runtime/src) is never followed and editing it does not mark the built program stale. I will also search the CMake include directories, and add tests in a new file. No game files, no GPU. AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Result of RT-2MIB-BOUND-PAST: the number the title is checking, and what is behind it.

Same combination as the claim: main 21625bca8 + my open #601 + the #582 knob applied locally, no other PRs. Radeon gfx1036 iGPU, LEONIDA_D3D12=vulkan.

A correction to my own finding first (comment 7127907506): the global that the check adds is at exe+0x75e6ff0, not "exe+0x475e6f0" - I copied a truncated disassembly line. It reads 0 in this run, so it contributes nothing to the total.

cmp rax, 1FFFFFh at exe+0x247af25 is one 6-byte instruction (48 3D <imm32>), so poking its immediate is enough.

  • Poking the bound to 0 (LEONIDA_GUEST_POKE=game_scarlett_master:0x247af25:483D00000000) makes the check always fail. The title then stops on its own int 3 at exe+0x247af2d, which is where a debugger stops anyway, and the frame is readable there without any breakpoint:
    • rax = 0x4000000 - 67108864, 64 MiB; [rsp+78h] = 0x4000000; [rsp+70h] = 0; [exe+0x75e6ff0] = 0. So the whole of the check is a 64 MiB value against a 2 MiB - 1 bound, a factor of 32, and the addend is not what pushes it over.
    • The loop that produced it runs twice: dword [exe+0xa94390c] = 2, and it writes what call exe+0x1647220 returns into the arrays at [exe+0xa9439a8] and [exe+0xa9439b0] (both hold two pointers). Those three fields sit in the same block of the title's data as the byte at exe+0xa9438f4 that the window step reads (exe+0xa9437b8 onward), which is why I looked at them together.
  • Poking the bound to 0x7FFFFFFF (...:0x247af25:483DFFFFFF7F) makes the check pass. The run no longer stops at exe+0x247af2d: it stops at exe+0x19f4f58 (0x80000003), reached from +0x19f4f54 <- +0x580437e <- +0x43a4911 - the caller's own trap. The D3D12 side is identical in both runs (one slot-73 call, one list proxy).

So: the 2 MiB bound is a real check the title applies to a 64 MiB quantity its own sizing code produced, but it is not the ultimate blocker - passing it moves the same failure one level up, to the caller.

Tooling note for whoever follows this: cdb has no ba x1 (execute breakpoints are bp, and bp on a raw guest address needs the image already mapped). Forcing the title's own check to fail made its int 3 the stop, and the frame was readable there with no breakpoint at all - which is how the operands got read.

Left open on purpose: which answer of Leonida's decides that 64 MiB. call exe+0x1647220 and the two entries it fills are where I would look next; I am not claiming that here.

Written with an AI assistant.

<!-- gh-comment-id:7128148149 --> @fiestorra commented on GitHub (Nov 24, 2026): Result of RT-2MIB-BOUND-PAST: the number the title is checking, and what is behind it. Same combination as the claim: `main` 21625bca8 + my open #601 + the #582 knob applied locally, no other PRs. Radeon gfx1036 iGPU, `LEONIDA_D3D12=vulkan`. **A correction to my own finding first** (comment 7127907506): the global that the check adds is at `exe+0x75e6ff0`, not "exe+0x475e6f0" - I copied a truncated disassembly line. It reads `0` in this run, so it contributes nothing to the total. `cmp rax, 1FFFFFh` at `exe+0x247af25` is one 6-byte instruction (`48 3D <imm32>`), so poking its immediate is enough. - Poking the bound to 0 (`LEONIDA_GUEST_POKE=game_scarlett_master:0x247af25:483D00000000`) makes the check always fail. The title then stops on its own `int 3` at `exe+0x247af2d`, which is where a debugger stops anyway, and the frame is readable there without any breakpoint: - `rax = 0x4000000` - **67108864, 64 MiB**; `[rsp+78h] = 0x4000000`; `[rsp+70h] = 0`; `[exe+0x75e6ff0] = 0`. So the whole of the check is a 64 MiB value against a 2 MiB - 1 bound, a factor of 32, and the addend is not what pushes it over. - The loop that produced it runs **twice**: `dword [exe+0xa94390c] = 2`, and it writes what `call exe+0x1647220` returns into the arrays at `[exe+0xa9439a8]` and `[exe+0xa9439b0]` (both hold two pointers). Those three fields sit in the same block of the title's data as the byte at `exe+0xa9438f4` that the window step reads (`exe+0xa9437b8` onward), which is why I looked at them together. - Poking the bound to `0x7FFFFFFF` (`...:0x247af25:483DFFFFFF7F`) makes the check pass. The run no longer stops at `exe+0x247af2d`: it stops at `exe+0x19f4f58` (`0x80000003`), reached from `+0x19f4f54` <- `+0x580437e` <- `+0x43a4911` - the caller's own trap. The D3D12 side is identical in both runs (one slot-73 call, one list proxy). So: the 2 MiB bound is a real check the title applies to a 64 MiB quantity its own sizing code produced, but it is not the ultimate blocker - passing it moves the same failure one level up, to the caller. Tooling note for whoever follows this: `cdb` has no `ba x1` (execute breakpoints are `bp`, and `bp` on a raw guest address needs the image already mapped). Forcing the title's own check to fail made its `int 3` the stop, and the frame was readable there with no breakpoint at all - which is how the operands got read. Left open on purpose: which answer of Leonida's decides that 64 MiB. `call exe+0x1647220` and the two entries it fills are where I would look next; I am not claiming that here. Written with an AI assistant.
Author
Owner

@tahffo68hk-hash commented on GitHub (Nov 24, 2026):

done: VK-XDXR-POSTBUILD-READBACK-STAGE -> https://github.com/ubiquitarianism/leonida/pull/615 (commit \dfadf4ce5, verified on both NVIDIA GeForce RTX 5060 Ti and AMD Radeon(TM) Graphics / GFX1036). (AI-assisted)

中文翻译

完成:VK-XDXR-POSTBUILD-READBACK-STAGE -> https://github.com/ubiquitarianism/leonida/pull/615(提交 \dfadf4ce5\,已在 NVIDIA GeForce RTX 5060 Ti 与 AMD Radeon(TM) Graphics / GFX1036 双 GPU 上验证通过)。(AI 辅助)

<!-- gh-comment-id:7128152007 --> @tahffo68hk-hash commented on GitHub (Nov 24, 2026): done: VK-XDXR-POSTBUILD-READBACK-STAGE -> https://github.com/ubiquitarianism/leonida/pull/615 (commit \dfadf4ce5\, verified on both NVIDIA GeForce RTX 5060 Ti and AMD Radeon(TM) Graphics / GFX1036). (AI-assisted) <details><summary>中文翻译</summary> 完成:VK-XDXR-POSTBUILD-READBACK-STAGE -> https://github.com/ubiquitarianism/leonida/pull/615(提交 \dfadf4ce5\,已在 NVIDIA GeForce RTX 5060 Ti 与 AMD Radeon(TM) Graphics / GFX1036 双 GPU 上验证通过)。(AI 辅助) </details>
Author
Owner

@KarolKurzyna commented on GitHub (Nov 24, 2026):

claiming:

  • OLD-7241 — d3d12_dxr_validation_test: probe acceleration structures before AS buffer allocation so d3d12_dxr_validation_khr skips cleanly (exit 77) on non-RT GPUs (6/6 independent PASS reviews on upstream)
  • OLD-7268 — check_sparse_queue_family: skip VK_SHARING_MODE_CONCURRENT contract on single-family GPUs, mirror queue_families.h selection order, and strictly validate pQueueFamilyPropertyCount dumps (5/5 independent PASS reviews on upstream)
  • OLD-7634 — vulkan_replay: pass cleared aspects to rect_view() for ClearDepthStencilView with rectangles so back-to-back single-plane depth/stencil clears do not drop stencil vkCmdClearAttachments on Intel Windows Vulkan drivers (10/10 independent PASS reviews on upstream)
<!-- gh-comment-id:7128154815 --> @KarolKurzyna commented on GitHub (Nov 24, 2026): claiming: - OLD-7241 — `d3d12_dxr_validation_test`: probe acceleration structures before AS buffer allocation so `d3d12_dxr_validation_khr` skips cleanly (`exit 77`) on non-RT GPUs (6/6 independent `PASS` reviews on upstream) - OLD-7268 — `check_sparse_queue_family`: skip `VK_SHARING_MODE_CONCURRENT` contract on single-family GPUs, mirror `queue_families.h` selection order, and strictly validate `pQueueFamilyPropertyCount` dumps (5/5 independent `PASS` reviews on upstream) - OLD-7634 — `vulkan_replay`: pass cleared `aspects` to `rect_view()` for `ClearDepthStencilView` with rectangles so back-to-back single-plane depth/stencil clears do not drop stencil `vkCmdClearAttachments` on Intel Windows Vulkan drivers (10/10 independent `PASS` reviews on upstream)
Author
Owner

@LewisStephens99 commented on GitHub (Nov 24, 2026):

claiming: SHADER-1264 - fix computed EXEC writes so a runtime 32-bit value updates exec lanes rather than treating the value as a scalar non-zero predicate. I will add focused semantic coverage and run the relevant interpreter tests plus compileall; no game files or GPU.

<!-- gh-comment-id:7128155310 --> @LewisStephens99 commented on GitHub (Nov 24, 2026): claiming: SHADER-1264 - fix computed EXEC writes so a runtime 32-bit value updates exec lanes rather than treating the value as a scalar non-zero predicate. I will add focused semantic coverage and run the relevant interpreter tests plus compileall; no game files or GPU.
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

RT-XAPPCAPTURE (#537) - update. The read-only review on #537 flagged the served-classes note's carried-over PR numbers; verified #4235/#4307/#4248 do not exist in this repository (predecessor-repo names). Fixed in d323506b8 (docs only): the note now names #401 as the live PR serving XAccessibilityImpl/XLauncherImpl, and the XGameRuntimeFeatureImpl row states the XAppCapture "served but every method E_NOTIMPL" nuance. Also flagged the XAppCaptureImpl overlap with #401 (it serves the same class and touches the same test/doc files) and asked it to drop that part - see the comments on #537 and #401.

<!-- gh-comment-id:7128155641 --> @tengotengo commented on GitHub (Nov 24, 2026): RT-XAPPCAPTURE (#537) - update. The read-only review on #537 flagged the served-classes note's carried-over PR numbers; verified #4235/#4307/#4248 do not exist in this repository (predecessor-repo names). Fixed in d323506b8 (docs only): the note now names #401 as the live PR serving XAccessibilityImpl/XLauncherImpl, and the XGameRuntimeFeatureImpl row states the XAppCapture "served but every method E_NOTIMPL" nuance. Also flagged the XAppCaptureImpl overlap with #401 (it serves the same class and touches the same test/doc files) and asked it to drop that part - see the comments on #537 and #401.
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

finding: Retail boot on current upstream/main (d7576d56a) with PR #359's console list IID fallback applied: 5 consecutive runs all reach trace #1644 CreateUnorderedAccessView (exit 0x80000003), up from trace #13 CreateCommandList QI E_NOINTERFACE for console IID {c3827890-4024-474c-98cf-645b51dc4874} without the fix. Next blocker: crash mov dword ptr [rax],r8d invalid rax during CreateUnorderedAccessView, after CreateDescriptorHeap (#1184-1186). Stack is 100% game code, no gta6rt frames. Page heap moves the allocation but the fault persists — not a gta6rt defect. Reproduced on RTX 5090 with LEONIDA_D3D12=vulkan. Needs game files to repro. QI fix validated but not committed — PR #359 covers it; no duplicate PR opened.

<!-- gh-comment-id:7128168343 --> @x2Tweek commented on GitHub (Nov 24, 2026): finding: Retail boot on current upstream/main (d7576d56a) with PR #359's console list IID fallback applied: 5 consecutive runs all reach trace #1644 `CreateUnorderedAccessView` (exit 0x80000003), up from trace #13 `CreateCommandList` QI `E_NOINTERFACE` for console IID `{c3827890-4024-474c-98cf-645b51dc4874}` without the fix. Next blocker: crash `mov dword ptr [rax],r8d` invalid `rax` during `CreateUnorderedAccessView`, after `CreateDescriptorHeap` (#1184-1186). Stack is 100% game code, no gta6rt frames. Page heap moves the allocation but the fault persists — not a gta6rt defect. Reproduced on RTX 5090 with `LEONIDA_D3D12=vulkan`. Needs game files to repro. QI fix validated but not committed — PR #359 covers it; no duplicate PR opened.
Author
Owner

@LewisStephens99 commented on GitHub (Nov 24, 2026):

claim correction: SHADER-1264 is already on main as commit 1b15cd231 and its focused tests pass; no new PR will be opened for this claim.

<!-- gh-comment-id:7128170866 --> @LewisStephens99 commented on GitHub (Nov 24, 2026): claim correction: SHADER-1264 is already on main as commit 1b15cd231 and its focused tests pass; no new PR will be opened for this claim.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Addendum to the RT-2MIB-BOUND-PAST result, from the same runs: the code that fills those two entries is the title's own, not a shim.

Head of call exe+0x1647220: it reads a handle out of [obj+0x30], tests what that points at (and edx,7 then cmp edx,2 - a kind tag in the low 3 bits), tests a byte field (cmp byte ptr [rax+11h],0FFh), and either tail-calls exe+0x1647630 or goes on through call exe+0x106eb8b0, whose out value is what the caller stores in the array at [exe+0xa9439b0]. The records the loop walks are two, 0x30 bytes apart in the title's own heap, and the values it stores are two pointers 0x20 apart. No direct call into a shim export in that path.

claiming: RT-64MIB-SIZING - which answer of Leonida's is what makes that quantity 0x4000000 (64 MiB) instead of something the title's 2 MiB - 1 bound accepts. Plan: correlate that phase with what the runtime already logs around it - the XMemVirtualAlloc attribute lines, the placeholder splits, the placed-resource lines - and read the values the title's own bookkeeping records, on the same combination I have been stating (main 21625bca8 + my #601 + the #582 knob applied locally), gfx1036 iGPU, LEONIDA_D3D12=vulkan. No code change under this claim; #582 and #601 stay as they are.

Written with an AI assistant.

<!-- gh-comment-id:7128175484 --> @fiestorra commented on GitHub (Nov 24, 2026): Addendum to the RT-2MIB-BOUND-PAST result, from the same runs: the code that fills those two entries is the title's own, not a shim. Head of `call exe+0x1647220`: it reads a handle out of `[obj+0x30]`, tests what that points at (`and edx,7` then `cmp edx,2` - a kind tag in the low 3 bits), tests a byte field (`cmp byte ptr [rax+11h],0FFh`), and either tail-calls `exe+0x1647630` or goes on through `call exe+0x106eb8b0`, whose out value is what the caller stores in the array at `[exe+0xa9439b0]`. The records the loop walks are two, 0x30 bytes apart in the title's own heap, and the values it stores are two pointers 0x20 apart. No direct call into a shim export in that path. claiming: RT-64MIB-SIZING - which answer of Leonida's is what makes that quantity `0x4000000` (64 MiB) instead of something the title's 2 MiB - 1 bound accepts. Plan: correlate that phase with what the runtime already logs around it - the `XMemVirtualAlloc` attribute lines, the placeholder splits, the placed-resource lines - and read the values the title's own bookkeeping records, on the same combination I have been stating (`main` 21625bca8 + my #601 + the #582 knob applied locally), gfx1036 iGPU, `LEONIDA_D3D12=vulkan`. No code change under this claim; #582 and #601 stay as they are. Written with an AI assistant.
Author
Owner

@dkdknight commented on GitHub (Nov 24, 2026):

claiming: D3D-27 - D3D12 render passes on the Vulkan-backed list. On main (21625bca8) ID3D12GraphicsCommandList4::BeginRenderPass / EndRenderPass are the generated stubs (runtime/shims/d3d12_com.cpp GraphicsCommandList does not override them), so a pass binds no targets and runs none of its accesses, while the device reports RenderPassesTier = TIER_0 (d3d12_vulkan_device.cpp:7679) and docs/d3d12_vulkan.md (section 4 table, M3 row) lists render passes as supported/open. I will implement them as Tier 0 emulation on the list's existing commands: bind the pass's targets, run CLEAR beginning accesses (colour, depth and stencil planes separately), RESOLVE ending accesses through ResolveSubresourceRegion, SUSPENDING/RESUMING flags, and the recording errors Close reports (nesting, End without Begin, Close inside a pass, bundles). New runtime/test/d3d12_render_pass_test.cpp compares every case byte for byte and every Close result with WARP. No game files. RTX 5080 / Windows 11. AI-assisted. / agent: yes

<!-- gh-comment-id:7128178677 --> @dkdknight commented on GitHub (Nov 24, 2026): claiming: D3D-27 - D3D12 render passes on the Vulkan-backed list. On `main` (21625bca8) `ID3D12GraphicsCommandList4::BeginRenderPass` / `EndRenderPass` are the generated stubs (`runtime/shims/d3d12_com.cpp` `GraphicsCommandList` does not override them), so a pass binds no targets and runs none of its accesses, while the device reports `RenderPassesTier = TIER_0` (`d3d12_vulkan_device.cpp:7679`) and `docs/d3d12_vulkan.md` (section 4 table, M3 row) lists render passes as supported/open. I will implement them as Tier 0 emulation on the list's existing commands: bind the pass's targets, run CLEAR beginning accesses (colour, depth and stencil planes separately), RESOLVE ending accesses through `ResolveSubresourceRegion`, SUSPENDING/RESUMING flags, and the recording errors Close reports (nesting, End without Begin, Close inside a pass, bundles). New `runtime/test/d3d12_render_pass_test.cpp` compares every case byte for byte and every Close result with WARP. No game files. RTX 5080 / Windows 11. AI-assisted. / agent: yes
Author
Owner

@KarolKurzyna commented on GitHub (Nov 24, 2026):

done: OLD-7241 -> #617
done: OLD-7268 -> #618
done: OLD-7634 -> #619

<!-- gh-comment-id:7128178955 --> @KarolKurzyna commented on GitHub (Nov 24, 2026): done: OLD-7241 -> #617 done: OLD-7268 -> #618 done: OLD-7634 -> #619
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

done: EXE-SHA-VALIDATE -> #<#616>

<!-- gh-comment-id:7128184807 --> @hamdog0203 commented on GitHub (Nov 24, 2026): done: EXE-SHA-VALIDATE -> #<#616>
Author
Owner

@LewisStephens99 commented on GitHub (Nov 24, 2026):

finding: stale open-work entries — #15/SHADER-1264 is already fixed on main by 1b15cd231 (and the issue records #24 merged); the image-atomics guard work is also green on main and covered by the landed changes from #20. The table should be refreshed so contributors do not duplicate completed translator work. No game files or GPU needed to verify.

<!-- gh-comment-id:7128190591 --> @LewisStephens99 commented on GitHub (Nov 24, 2026): finding: stale open-work entries — #15/SHADER-1264 is already fixed on main by 1b15cd231 (and the issue records #24 merged); the image-atomics guard work is also green on main and covered by the landed changes from #20. The table should be refreshed so contributors do not duplicate completed translator work. No game files or GPU needed to verify.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: TEST-MERGE-CHECK-XDG-IGNORE - tests/test_merge_check.py isolates git with GIT_CONFIG_GLOBAL=nul, but git still reads the default global ignore file (~/.config/git/ignore via XDG_CONFIG_HOME). A user ignore rule such as docs/ makes setUp's first commit empty, so all 20 tests fail on that machine. I will point XDG_CONFIG_HOME at the test's temp folder. No game files, no GPU.

<!-- gh-comment-id:7128205566 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: TEST-MERGE-CHECK-XDG-IGNORE - tests/test_merge_check.py isolates git with GIT_CONFIG_GLOBAL=nul, but git still reads the default global ignore file (~/.config/git/ignore via XDG_CONFIG_HOME). A user ignore rule such as `docs/` makes setUp's first commit empty, so all 20 tests fail on that machine. I will point XDG_CONFIG_HOME at the test's temp folder. No game files, no GPU.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: STALE-BUILD-INCLUDE-DIRS -> #620

<!-- gh-comment-id:7128223535 --> @TuroYT commented on GitHub (Nov 24, 2026): done: STALE-BUILD-INCLUDE-DIRS -> #620
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows GPU verification of #577, the follow-up to #540. I will test the exact head on the RTX 5070 Ti under Khronos validation, covering the mesh query and a test device with the feature disabled. Synthetic tests only, review scope. AI-assisted.

<!-- gh-comment-id:7128240866 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows GPU verification of #577, the follow-up to #540. I will test the exact head on the RTX 5070 Ti under Khronos validation, covering the mesh query and a test device with the feature disabled. Synthetic tests only, review scope. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: TEST-MERGE-CHECK-XDG-IGNORE -> #621

<!-- gh-comment-id:7128256361 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: TEST-MERGE-CHECK-XDG-IGNORE -> #621
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

claiming: OLD-10020 - carry forward old-pr/10020 (draft #289, beamdotdev: split llvm-mc --disassemble stdin into 64-byte lines for ~380x speedup on large shaders with byte-identical output), rebased onto main and verified with test_shader_disasm_input_lines.py + CI/docs preflight.

<!-- gh-comment-id:7128263288 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): claiming: OLD-10020 - carry forward old-pr/10020 (draft #289, beamdotdev: split llvm-mc --disassemble stdin into 64-byte lines for ~380x speedup on large shaders with byte-identical output), rebased onto main and verified with test_shader_disasm_input_lines.py + CI/docs preflight.
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

done: OLD-10020 -> #623 (AI-assisted: JARVIX)

<!-- gh-comment-id:7128266233 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): done: OLD-10020 -> #623 (AI-assisted: JARVIX)
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: RT-LIST-WRITE-VALUE -> #622

Console list slots 69 and 70 are no longer dropped: the list proxy records each write, the queue proxy collects the records with the submission, and the value is written into the title memory after that submission has completed on the GPU, in submission order. The write channel into the xmem pages (rt::xmem::write_title_bytes) did not exist and is added. Slots 71/72 stay no-ops and are documented.

Verified: ctest --test-dir runtime/build -C Release 71/72 with 2 skipped (they need game data or a GPU); the one failure is the known vk_queue_query_sync flake, which fails 2 of 5 direct runs on the pristine upstream tree at the same commit and 3 of 8 on this tree. check_no_game_data.py over all 11 changed files: exit 0. 11/11 files LF, no BOM.

Not verified here, and said so in the pull request: the full Windows build was never run (d3d12_com.cpp and d3d12_vulkan_device.cpp need the SDK header, and the MinGW one is structurally different, so the repository stub generator cannot run on it) - the CI MSVC build is the check. No GPU and no game: the fence callback, the arena mapping and the xmem page write were never exercised.

Two rulings I would like from the maintainer are in the pull request: the GPU timestamp needs calibrated timestamps, and without them the counter this item is about still does not advance; and docs/related_projects.md does not list xcl (GPL-2.0-only) or VIctory (GPL-3.0-only), which the pull request cites for facts and for the write model only.

Windows 11 x64 10.0.29712, Python 3.13, llvm-mingw 20261117. No game files, no GPU, no network. AI-assisted.

<!-- gh-comment-id:7128268888 --> @Mby159 commented on GitHub (Nov 24, 2026): done: RT-LIST-WRITE-VALUE -> #622 Console list slots 69 and 70 are no longer dropped: the list proxy records each write, the queue proxy collects the records with the submission, and the value is written into the title memory after that submission has completed on the GPU, in submission order. The write channel into the xmem pages (`rt::xmem::write_title_bytes`) did not exist and is added. Slots 71/72 stay no-ops and are documented. Verified: `ctest --test-dir runtime/build -C Release` 71/72 with 2 skipped (they need game data or a GPU); the one failure is the known `vk_queue_query_sync` flake, which fails 2 of 5 direct runs on the pristine upstream tree at the same commit and 3 of 8 on this tree. `check_no_game_data.py` over all 11 changed files: exit 0. 11/11 files LF, no BOM. Not verified here, and said so in the pull request: the full Windows build was never run (`d3d12_com.cpp` and `d3d12_vulkan_device.cpp` need the SDK header, and the MinGW one is structurally different, so the repository stub generator cannot run on it) - the CI MSVC build is the check. No GPU and no game: the fence callback, the arena mapping and the xmem page write were never exercised. Two rulings I would like from the maintainer are in the pull request: the GPU timestamp needs calibrated timestamps, and without them the counter this item is about still does not advance; and `docs/related_projects.md` does not list xcl (GPL-2.0-only) or VIctory (GPL-3.0-only), which the pull request cites for facts and for the write model only. Windows 11 x64 10.0.29712, Python 3.13, llvm-mingw 20261117. No game files, no GPU, no network. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

finding: DOC-RELATED-PROJECTS-LICENCE - docs/related_projects.md lists the projects whose licences the repository tracks as a whole, but xcl (GPL-2.0-only) and VIctory (GPL-3.0-only) are not in it.

  • Where: docs/related_projects.md; the two projects are cited in runtime/src/xs_value_writes.h, in docs/d3d12_command_objects.md and in that document section 8.1 licence note, all from #622.
  • Why it matters: the repository already tracks the licences of the projects whose work it derives from. A pull request that cites a GPL project for a model may need the entry, and whether it does is the maintainers call, not mine.
  • Needs: no game files, no GPU; one paragraph.
<!-- gh-comment-id:7128270232 --> @Mby159 commented on GitHub (Nov 24, 2026): finding: DOC-RELATED-PROJECTS-LICENCE - `docs/related_projects.md` lists the projects whose licences the repository tracks as a whole, but xcl (GPL-2.0-only) and VIctory (GPL-3.0-only) are not in it. - **Where:** `docs/related_projects.md`; the two projects are cited in `runtime/src/xs_value_writes.h`, in `docs/d3d12_command_objects.md` and in that document section 8.1 licence note, all from #622. - **Why it matters:** the repository already tracks the licences of the projects whose work it derives from. A pull request that cites a GPL project for a model may need the entry, and whether it does is the maintainers call, not mine. - **Needs:** no game files, no GPU; one paragraph.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Result of RT-64MIB-SIZING: where that 64 MiB comes from. It is not an answer of Leonida's.

main 21625bca8 + my open #601 + the #582 knob applied locally, no other PRs. Radeon gfx1036 iGPU, LEONIDA_D3D12=vulkan.

Correction to my previous comment first: the two-entry loop is not what produces the number. I checked by turning the instruction right after call exe+0x1647220 into int 3 + six nops (LEONIDA_GUEST_POKE=game_scarlett_master:0x247aef7:CC90909090909090 - the knob lets me put a break at any address I want, and cdb stops there with no bp at all). The loop runs exactly twice (r12 = 0 then 1) and call exe+0x1647220 returns two pointers (0x…639d00 and 0x…639d20), not sizes. And [rsp+70h] = 0, [rsp+78h] = 0x4000000 are already like that at the first iteration. The loop is something else.

Where the number is actually written, in the same function (exe+0x247ad2f onward):

lea  rdi,[rsp+70h]
mov  qword ptr [rdi],0              ; begin = 0
call exe+0x75140                    ; returns a byte in al
test al,al
mov  eax,5200000h                   ; 87 000 000 -> 0x5200000 = 82 MiB
mov  ecx,4000000h                   ; 0x4000000 = 64 MiB
mov  r8,rdi
cmovne rcx,rax                      ; al != 0 -> 82 MiB, otherwise 64 MiB
mov  qword ptr [rdi+8],rcx          ; end

So end is one of two constants compiled into the title, picked by a boolean. That helper reads a table entry (mov rcx,[rdx+rcx*8] then cmp eax,[rcx+4]) and a cached state at exe+0x71b63b0 / exe+0x71b63b4 (the latter holds -1 here, and one branch sets the byte from cmp eax,6). Nothing on that path is a call into a shim, and the trace before this point contains no allocation of that size: the guest's XMemVirtualAlloc requests in this run are 24 GiB, 24 GiB, 1.14 GiB, 2.15 GiB, 20 MiB, 185 MiB and 10 MiB, and XMemAllocatePhysicalPages asks for 11360 pages. So no Leonida answer feeds 64 MiB - the title picks it.

What that means for the check at exe+0x247af25: a 64 MiB value can never satisfy a 2 MiB - 1 bound as written, and I verified nothing writes those two frame slots in between (disassembled the whole 0x247a740..0x247ae40 stretch: the only uses are the lea and those two stores). Two readings fit, and I am not deciding between them yet:

  • something was supposed to consume the range between exe+0x247ad5d and exe+0x247af14 - call exe+0x145c8f990 receives r8 = &range and is the first candidate - and on this machine it does not;
  • or these int 3s are assumption breaks the title normally handles rather than fatal stops, which is also consistent with what I saw earlier: when the break is handled, the title goes on.

I am leaving the first one open as the concrete next step - disassemble exe+0x145c8f990 and see whether it is the consumer of that range - rather than claiming a conclusion I have not measured.

Written with an AI assistant.


Later correction, on #14 in comment 7128602446: the line above saying the queued range is never consumed was based on searching only for direct references to the queue head. The list is also reachable as element 128 of a table of heads at exe+0x6843370, and there is a release path that removes entries by identity. Read that comment for the measured version.

<!-- gh-comment-id:7128276447 --> @fiestorra commented on GitHub (Nov 24, 2026): Result of RT-64MIB-SIZING: where that 64 MiB comes from. It is not an answer of Leonida's. `main` 21625bca8 + my open #601 + the #582 knob applied locally, no other PRs. Radeon gfx1036 iGPU, `LEONIDA_D3D12=vulkan`. **Correction to my previous comment first**: the two-entry loop is not what produces the number. I checked by turning the instruction right after `call exe+0x1647220` into `int 3` + six nops (`LEONIDA_GUEST_POKE=game_scarlett_master:0x247aef7:CC90909090909090` - the knob lets me put a break at any address I want, and cdb stops there with no `bp` at all). The loop runs exactly twice (`r12` = 0 then 1) and `call exe+0x1647220` returns two *pointers* (`0x…639d00` and `0x…639d20`), not sizes. And `[rsp+70h] = 0`, `[rsp+78h] = 0x4000000` are already like that at the first iteration. The loop is something else. Where the number is actually written, in the same function (`exe+0x247ad2f` onward): ``` lea rdi,[rsp+70h] mov qword ptr [rdi],0 ; begin = 0 call exe+0x75140 ; returns a byte in al test al,al mov eax,5200000h ; 87 000 000 -> 0x5200000 = 82 MiB mov ecx,4000000h ; 0x4000000 = 64 MiB mov r8,rdi cmovne rcx,rax ; al != 0 -> 82 MiB, otherwise 64 MiB mov qword ptr [rdi+8],rcx ; end ``` So `end` is one of two constants compiled into the title, picked by a boolean. That helper reads a table entry (`mov rcx,[rdx+rcx*8]` then `cmp eax,[rcx+4]`) and a cached state at `exe+0x71b63b0` / `exe+0x71b63b4` (the latter holds `-1` here, and one branch sets the byte from `cmp eax,6`). Nothing on that path is a call into a shim, and the trace before this point contains no allocation of that size: the guest's `XMemVirtualAlloc` requests in this run are 24 GiB, 24 GiB, 1.14 GiB, 2.15 GiB, 20 MiB, 185 MiB and 10 MiB, and `XMemAllocatePhysicalPages` asks for 11360 pages. So no Leonida answer feeds 64 MiB - the title picks it. What that means for the check at `exe+0x247af25`: a 64 MiB value can never satisfy a `2 MiB - 1` bound as written, and I verified nothing writes those two frame slots in between (disassembled the whole 0x247a740..0x247ae40 stretch: the only uses are the `lea` and those two stores). Two readings fit, and I am not deciding between them yet: - something was supposed to consume the range between `exe+0x247ad5d` and `exe+0x247af14` - `call exe+0x145c8f990` receives `r8 = &range` and is the first candidate - and on this machine it does not; - or these `int 3`s are assumption breaks the title normally handles rather than fatal stops, which is also consistent with what I saw earlier: when the break is handled, the title goes on. I am leaving the first one open as the concrete next step - disassemble `exe+0x145c8f990` and see whether it is the consumer of that range - rather than claiming a conclusion I have not measured. Written with an AI assistant. --- Later correction, on #14 in comment 7128602446: the line above saying the queued range is never consumed was based on searching only for direct references to the queue head. The list is also reachable as element 128 of a table of heads at exe+0x6843370, and there is a release path that removes entries by identity. Read that comment for the measured version.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Correction of the addresses in this comment (I copied cdb output with its leading group and wrote them wrong; all of them are relative to the image base, as everywhere else in my notes) plus one fact I found since:

exe+0x5c8f990   ; the enqueue I described (not exe+0x145c8f990)
  mov  rdi,rcx
  mov  rsi,r8                  ; &{begin,end} from the caller's frame
  mov  rbx,rdx
  lea  rcx,[exe+0x71bf988]
  call exe+0x19ba0             ; guard
  mov  rax,qword ptr [exe+0x6843360]      ; free-node pool head
  test rax,rax
  je   int 3 at exe+0x5c8f9f3, then jmp back   ; pool-empty assumption break
  mov  rcx,[exe+0x6843770]                 ; queue head
  mov  [rax],rbx ; [rax+8],rsi ; [rax+10h],rdi ; [rax+18h],rcx
  mov  [exe+0x6843770],rax                 ; push
  jmp  exe+0x4deb500                       ; unguard

The int 3 padding after it is exe+0x5c8f9f3..0x5c8f9ff, and right next to it is a second, identical enqueue with its own queue: head exe+0x6843f80, pool exe+0x6843b70, same critical section exe+0x71bf988, same unguard tail call to exe+0x4deb500. So this is a family of deferred-request queues in the title's own code, and the range with the 64 MiB went to the exe+0x6843770 one. The rest of that comment stands as written.

Written with an AI assistant.

<!-- gh-comment-id:7128288759 --> @fiestorra commented on GitHub (Nov 24, 2026): Correction of the addresses in this comment (I copied cdb output with its leading group and wrote them wrong; all of them are relative to the image base, as everywhere else in my notes) plus one fact I found since: ``` exe+0x5c8f990 ; the enqueue I described (not exe+0x145c8f990) mov rdi,rcx mov rsi,r8 ; &{begin,end} from the caller's frame mov rbx,rdx lea rcx,[exe+0x71bf988] call exe+0x19ba0 ; guard mov rax,qword ptr [exe+0x6843360] ; free-node pool head test rax,rax je int 3 at exe+0x5c8f9f3, then jmp back ; pool-empty assumption break mov rcx,[exe+0x6843770] ; queue head mov [rax],rbx ; [rax+8],rsi ; [rax+10h],rdi ; [rax+18h],rcx mov [exe+0x6843770],rax ; push jmp exe+0x4deb500 ; unguard ``` The `int 3` padding after it is `exe+0x5c8f9f3..0x5c8f9ff`, and right next to it is a second, identical enqueue with its own queue: head `exe+0x6843f80`, pool `exe+0x6843b70`, same critical section `exe+0x71bf988`, same unguard tail call to `exe+0x4deb500`. So this is a family of deferred-request queues in the title's own code, and the range with the 64 MiB went to the `exe+0x6843770` one. The rest of that comment stands as written. Written with an AI assistant.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows GPU verification -> #577. 3/3 stock, enabled and disabled feature paths verified under Vulkan validation, one test coverage gap confirmed. Review

<!-- gh-comment-id:7128299145 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows GPU verification -> #577. 3/3 stock, enabled and disabled feature paths verified under Vulkan validation, one test coverage gap confirmed. [Review](https://github.com/ubiquitarianism/leonida/pull/577#issuecomment-7128298613)
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

claiming: OLD-10045 - carry forward old-pr/10045 (draft #311, Matheus Fermiano: require VK_KHR_fragment_shader_barycentric listed for per_vertex_inputs), rebased onto main + JARVIX hardening commit reusing Vulkan 1.2 extensions and deferring Vulkan 1.3 extension enumeration until the winning device is chosen, tested live on RTX 3090 + AMD gfx90c Cezanne iGPU.

<!-- gh-comment-id:7128303282 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): claiming: OLD-10045 - carry forward old-pr/10045 (draft #311, Matheus Fermiano: require VK_KHR_fragment_shader_barycentric listed for per_vertex_inputs), rebased onto main + JARVIX hardening commit reusing Vulkan 1.2 extensions and deferring Vulkan 1.3 extension enumeration until the winning device is chosen, tested live on RTX 3090 + AMD gfx90c Cezanne iGPU.
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

done: OLD-10045 -> #624 (AI-assisted: JARVIX)

<!-- gh-comment-id:7128306529 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): done: OLD-10045 -> #624 (AI-assisted: JARVIX)
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: follow-up verification of #565 at b9b0dc4. Recheck all findings from the first review with synthetic inputs and the existing regression tests on Windows. Review only. AI-assisted.

<!-- gh-comment-id:7128314914 --> @sodove commented on GitHub (Nov 24, 2026): claiming: follow-up verification of #565 at b9b0dc4. Recheck all findings from the first review with synthetic inputs and the existing regression tests on Windows. Review only. AI-assisted.
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

claiming: DASH-HARDEN-CLI — tools/progress_dashboard.py: handle null comment author/body in --github --login, reject --tests without --run-tests, and catch OSError/corrupt history.json cleanly in main()

<!-- gh-comment-id:7128321944 --> @hamdog0203 commented on GitHub (Nov 24, 2026): claiming: DASH-HARDEN-CLI — tools/progress_dashboard.py: handle null comment author/body in --github --login, reject --tests without --run-tests, and catch OSError/corrupt history.json cleanly in main()
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

claiming: Record shader IDs requested during --run (runtime instrumentation for shader subset translation) — C++ work in the runtime loader/shims, complementing PR #565's --shader-list option

<!-- gh-comment-id:7128345250 --> @x2Tweek commented on GitHub (Nov 24, 2026): claiming: Record shader IDs requested during --run (runtime instrumentation for shader subset translation) — C++ work in the runtime loader/shims, complementing PR #565's --shader-list option
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: follow-up verification -> #565. Full index retention and empty-index recovery fixed. Reusing a subset folder still keeps stale selection results, and three existing checks still fail. Retest

<!-- gh-comment-id:7128347759 --> @sodove commented on GitHub (Nov 24, 2026): done: follow-up verification -> #565. Full index retention and empty-index recovery fixed. Reusing a subset folder still keeps stale selection results, and three existing checks still fail. [Retest](https://github.com/ubiquitarianism/leonida/pull/565#issuecomment-7126316415)
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

finding: scripts/run_semantic_tests.py:91,139 turns a passing -j 2 run into no tests ran when the test prints a line such as Ran 0 tests in 0.000s before unittest's own summary. Reproduced on Windows/CPython 3.14.7 on merged main 21625bc: -j 1 --timeout 5 exits 0, -j 2 --timeout 5 exits 1. The same line printed at process exit confirms that changing the parser to take the last match would also be unreliable. Synthetic repro and proposed direction. No game files, GPU or special hardware. I can take this if added to Open work. AI-assisted (Codex).

<!-- gh-comment-id:7128362815 --> @Dezmonius commented on GitHub (Nov 24, 2026): finding: `scripts/run_semantic_tests.py:91,139` turns a passing `-j 2` run into `no tests ran` when the test prints a line such as `Ran 0 tests in 0.000s` before unittest's own summary. Reproduced on Windows/CPython 3.14.7 on merged main `21625bc`: `-j 1 --timeout 5` exits 0, `-j 2 --timeout 5` exits 1. The same line printed at process exit confirms that changing the parser to take the last match would also be unreliable. [Synthetic repro and proposed direction](https://github.com/ubiquitarianism/leonida/pull/557#issuecomment-7125959026). No game files, GPU or special hardware. I can take this if added to Open work. AI-assisted (Codex).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: DOC-README-STATUS - README.md "Project status" still says the game does not boot and lists the PE loader as "Untested against the real executable", while docs/retail_boot_chain.md and docs/retail_boot_intel_host.md measure the retail boot through 13+ stops. I will update those rows from the measured docs only, and replace the dead ItsNotRexed/Leonida issue links. Docs only. No game files, no GPU.

<!-- gh-comment-id:7128369327 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: DOC-README-STATUS - README.md "Project status" still says the game does not boot and lists the PE loader as "Untested against the real executable", while docs/retail_boot_chain.md and docs/retail_boot_intel_host.md measure the retail boot through 13+ stops. I will update those rows from the measured docs only, and replace the dead ItsNotRexed/Leonida issue links. Docs only. No game files, no GPU.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows review of #622 (RT-LIST-WRITE-VALUE), exact head. Verify Windows build and synthetic Xbox proxy to Vulkan submission ordering on RTX 5070 Ti. Review only, AI-assisted.

<!-- gh-comment-id:7128419576 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows review of #622 (RT-LIST-WRITE-VALUE), exact head. Verify Windows build and synthetic Xbox proxy to Vulkan submission ordering on RTX 5070 Ti. Review only, AI-assisted.
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

done: RT-XDXR-SERIALIZE -> #626

<!-- gh-comment-id:7128433980 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): done: RT-XDXR-SERIALIZE -> #626
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

done: DASH-HARDEN-CLI -> #<625>

<!-- gh-comment-id:7128435363 --> @hamdog0203 commented on GitHub (Nov 24, 2026): done: DASH-HARDEN-CLI -> #<625>
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: DOC-README-STATUS -> #627

<!-- gh-comment-id:7128439576 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: DOC-README-STATUS -> #627
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: COORD-TABLE-REFRESH - the Open work table still carries two rows that main no longer has: SHADER-1264 (a computed value written to exec_lo/exec_hi now takes each lane's bit, merged as #24, 1b15cd231) and TEST-ATOMIC-GUARD (the helper accepts the folded %true only when the shader writes no EXEC, and keeps a dynamic-EXEC case, merged as #20 and #394).

Four of us have now reported the rows as stale - @fiestorra (#issuecomment-7124147701), @Len1k (7123193939), @bobczan (7125671556) and @LewisStephens99 (7128190591). @bobczan wrote that he had not touched the row because he does not maintain the table, and @fiestorra's note asked that nobody should need to claim them. Nobody has edited the table, so both rows are still offered to the next contributor.

I will move both rows out of Open work and record under the Already closed here note what closed them, with the commits and the files that now pass. Checked on main at 21625bca8: tests/semantic/test_exec_computed.py (2 tests, 0 failed) and tests/semantic/test_image_atomics_guard.py (5 tests, 0 failed), both run with python -I scripts/run_semantic_tests.py tests/semantic -p <file>. No game files, no GPU, nothing re-run.

The COORD-CLAIM-CHECK row stays open; PR #221 is still open. AI-assisted (MiniMax Code).

<!-- gh-comment-id:7128459998 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: COORD-TABLE-REFRESH - the Open work table still carries two rows that `main` no longer has: `SHADER-1264` (a computed value written to `exec_lo`/`exec_hi` now takes each lane's bit, merged as #24, `1b15cd231`) and `TEST-ATOMIC-GUARD` (the helper accepts the folded `%true` only when the shader writes no EXEC, and keeps a dynamic-EXEC case, merged as #20 and #394). Four of us have now reported the rows as stale - @fiestorra (#issuecomment-7124147701), @Len1k (7123193939), @bobczan (7125671556) and @LewisStephens99 (7128190591). @bobczan wrote that he had not touched the row because he does not maintain the table, and @fiestorra's note asked that nobody should need to claim them. Nobody has edited the table, so both rows are still offered to the next contributor. I will move both rows out of Open work and record under the `Already closed here` note what closed them, with the commits and the files that now pass. Checked on `main` at `21625bca8`: `tests/semantic/test_exec_computed.py` (2 tests, 0 failed) and `tests/semantic/test_image_atomics_guard.py` (5 tests, 0 failed), both run with `python -I scripts/run_semantic_tests.py tests/semantic -p <file>`. No game files, no GPU, nothing re-run. The `COORD-CLAIM-CHECK` row stays open; PR #221 is still open. AI-assisted (MiniMax Code).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

correction to my done: above - the table edit did not go through, so both rows are still in the Open work table.

GitHub refused the body edit with 403 Must have admin rights to Repository. Editing an issue body needs the issue's author or a repository maintainer; a contributor with open pull requests cannot make that change, so the Open work table here can only be corrected by someone with those rights. My done: was premature.

What is unchanged is the evidence, checked on main at 21625bca8 with python -I scripts/run_semantic_tests.py tests/semantic -p <file>:

  • tests/semantic/test_exec_computed.py - 2 tests, 0 failed.
  • tests/semantic/test_image_atomics_guard.py - 5 tests, 0 failed.

SHADER-1264 was merged as #24 (1b15cd231, tools/rdna2spirv.py and docs/design.md), and the test for the path #24 left without one merged as #460. TEST-ATOMIC-GUARD was merged as #20 (c1bcf15f) and #394 (b3eaa3d7b).

@maintainers: both rows can be dropped from the Open work table, and the Already closed here note under it replaced with:

Already closed here: the slot-14 console-layout false positive (#3, fixed by #4) and the d083a2cc build breaks (fixed by #2).

  • SHADER-1264 - the translator wrote a computed value into exec_lo/exec_hi and tested it for non-zero, which turned on every lane of that half; it now takes each lane's bit (tools/rdna2spirv.py, Gen.set_exec and Gen.exec_half_write, with the contract row in docs/design.md). Merged as #24 (1b15cd231); the test for the path #24 left without one merged as #460. tests/semantic/test_exec_computed.py is green on main.
  • TEST-ATOMIC-GUARD - tests/semantic/test_image_atomics_guard.py now accepts the folded %true only when the shader writes no EXEC, and keeps a dynamic-EXEC case (s_and_saveexec_b32, v_cmpx) so a real guard is still exercised. Merged as #20 (c1bcf15f) and #394 (b3eaa3d7b). The file is green on main.

Both rows were reported stale by @fiestorra, @Len1k, @bobczan and @LewisStephens99.

No pull request is possible for this one: the Open work table lives in this issue's body, not in a repository file, so there is nothing to open a pull request against. If a maintainer would rather have this as a pull request, the same text can go into a tracked file in the repository and the table can point at it.

AI-assisted (MiniMax Code).

<!-- gh-comment-id:7128461239 --> @Mby159 commented on GitHub (Nov 24, 2026): correction to my `done:` above - the table edit did not go through, so both rows are still in the Open work table. GitHub refused the body edit with `403 Must have admin rights to Repository`. Editing an issue body needs the issue's author or a repository maintainer; a contributor with open pull requests cannot make that change, so the Open work table here can only be corrected by someone with those rights. My `done:` was premature. What is unchanged is the evidence, checked on `main` at `21625bca8` with `python -I scripts/run_semantic_tests.py tests/semantic -p <file>`: - `tests/semantic/test_exec_computed.py` - 2 tests, 0 failed. - `tests/semantic/test_image_atomics_guard.py` - 5 tests, 0 failed. `SHADER-1264` was merged as #24 (`1b15cd231`, `tools/rdna2spirv.py` and `docs/design.md`), and the test for the path #24 left without one merged as #460. `TEST-ATOMIC-GUARD` was merged as #20 (`c1bcf15f`) and #394 (`b3eaa3d7b`). @maintainers: both rows can be dropped from the Open work table, and the `Already closed here` note under it replaced with: > Already closed here: the slot-14 console-layout false positive (#3, fixed by #4) and the `d083a2cc` build breaks (fixed by #2). > > - `SHADER-1264` - the translator wrote a computed value into `exec_lo`/`exec_hi` and tested it for non-zero, which turned on every lane of that half; it now takes each lane's bit (`tools/rdna2spirv.py`, `Gen.set_exec` and `Gen.exec_half_write`, with the contract row in `docs/design.md`). Merged as #24 (`1b15cd231`); the test for the path #24 left without one merged as #460. `tests/semantic/test_exec_computed.py` is green on `main`. > - `TEST-ATOMIC-GUARD` - `tests/semantic/test_image_atomics_guard.py` now accepts the folded `%true` only when the shader writes no EXEC, and keeps a dynamic-EXEC case (`s_and_saveexec_b32`, `v_cmpx`) so a real guard is still exercised. Merged as #20 (`c1bcf15f`) and #394 (`b3eaa3d7b`). The file is green on `main`. > > Both rows were reported stale by @fiestorra, @Len1k, @bobczan and @LewisStephens99. No pull request is possible for this one: the Open work table lives in this issue's body, not in a repository file, so there is nothing to open a pull request against. If a maintainer would rather have this as a pull request, the same text can go into a tracked file in the repository and the table can point at it. AI-assisted (MiniMax Code).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: DOC-BOOT-MAIN-RTX5070 - a measurement page for the retail boot on plain main (21625bca8), RTX 5070, Windows 11: --dry-run and --init exit 0, --run stops at an int3 right after device slot 73 (CreateCommandListX) with 1 D3D12 call recorded, with the allocator-proxy warning the runtime prints. Counts and slot numbers only, no addresses or bytes. Docs only; needs game files for the measurement, none for review.

<!-- gh-comment-id:7128482402 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: DOC-BOOT-MAIN-RTX5070 - a measurement page for the retail boot on plain main (21625bca8), RTX 5070, Windows 11: --dry-run and --init exit 0, --run stops at an int3 right after device slot 73 (CreateCommandListX) with 1 D3D12 call recorded, with the allocator-proxy warning the runtime prints. Counts and slot numbers only, no addresses or bytes. Docs only; needs game files for the measurement, none for review.
Author
Owner

@dkdknight commented on GitHub (Nov 24, 2026):

done: D3D-27 -> #628

<!-- gh-comment-id:7128486339 --> @dkdknight commented on GitHub (Nov 24, 2026): done: D3D-27 -> #628
Author
Owner

@thiefyzheng commented on GitHub (Nov 24, 2026):

claiming: GPU-7900XTX-ARL-5060L-LINUX — three gpu-test-results/ records from one Linux box (Ubuntu 24.04.4, kernel 7.3.3-300.fc45.x86_64, Intel Core Ultra 7 255H): Radeon RX 7900 XTX (RADV, Mesa 25.2.8), Intel Arrow Lake-H iGPU (ANV, Mesa 25.2.8) and GeForce RTX 5060 Laptop (NVIDIA 620.70.06). scripts/run_gpu_tests.py native + LEONIDA_W64_EMULATE=1 at current main (21625bca8), llvm-mc 19.1.1. No game files. AI-assisted.

<!-- gh-comment-id:7128495158 --> @thiefyzheng commented on GitHub (Nov 24, 2026): claiming: GPU-7900XTX-ARL-5060L-LINUX — three `gpu-test-results/` records from one Linux box (Ubuntu 24.04.4, kernel 7.3.3-300.fc45.x86_64, Intel Core Ultra 7 255H): Radeon RX 7900 XTX (RADV, Mesa 25.2.8), Intel Arrow Lake-H iGPU (ANV, Mesa 25.2.8) and GeForce RTX 5060 Laptop (NVIDIA 620.70.06). `scripts/run_gpu_tests.py` native + `LEONIDA_W64_EMULATE=1` at current main (`21625bca8`), llvm-mc 19.1.1. No game files. AI-assisted.
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX3070-61088 — add gpu-test-results/RTX3070.txt for an NVIDIA GeForce RTX 3070 (Ampere, 8 GB, Windows 11 Pro 26300), NVIDIA 610.88, Vulkan 1.4.341, native and LEONIDA_W64_EMULATE=1 runs; no game files. AI-assisted.

<!-- gh-comment-id:7128529313 --> @roanh47 commented on GitHub (Nov 24, 2026): claiming: GPU-RTX3070-61088 — add `gpu-test-results/RTX3070.txt` for an NVIDIA GeForce RTX 3070 (Ampere, 8 GB, Windows 11 Pro 26300), NVIDIA 610.88, Vulkan 1.4.341, native and `LEONIDA_W64_EMULATE=1` runs; no game files. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: DOC-BOOT-MAIN-RTX5070 -> #629

<!-- gh-comment-id:7128546612 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: DOC-BOOT-MAIN-RTX5070 -> #629
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows review -> #622. Runtime built, stock portable and xmem tests passed. Reproduced a Windows linker regression and a same-queue GPU read preceding deferred value writes. Review

<!-- gh-comment-id:7128565845 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows review -> #622. Runtime built, stock portable and xmem tests passed. Reproduced a Windows linker regression and a same-queue GPU read preceding deferred value writes. [Review](https://github.com/ubiquitarianism/leonida/pull/622#issuecomment-7128565305)
Author
Owner

@Kal0s-design commented on GitHub (Nov 24, 2026):

done: FUZZ-8-GPU -> #630

<!-- gh-comment-id:7128574358 --> @Kal0s-design commented on GitHub (Nov 24, 2026): done: FUZZ-8-GPU -> #630
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

finding: why the retail frame loop presents black, as far as I have measured it. main d7576d56a + #375 to #432, #602, #387, #445, #360, #219, #207; Linux, Wine 11.21, RTX 5070 Ti (615.78.08). Counts and shapes only.

What a steady frame is (three draws per present, the same every frame): the title clears one render target, draws a full-screen triangle with no vertex buffer into a second target, then draws two rectangle lists (three vertices each, 24-byte stride, plausible position / colour / texture-coordinate data that I read back on the CPU), the last of them into the cleared target with a descriptor table bound.

Measured:

  1. With LEONIDA_CAPTURE, every captured frame is uniformly (0, 0, 0).
  2. With a local change that makes the title's per-frame ClearRenderTargetView clear to magenta, every captured frame is uniformly magenta. So the cleared target is the one presented, presentation works, and the title's last draw writes no pixel into it (or writes fully transparent ones).
  3. The title's main shader-visible view heap is made through the console-extended form of slot 14 (over a million descriptors at an address the title supplies). The layer logs descriptor heap uses console address/size (not backed by title memory) for it, as the comment in DescriptorHeap says is tracked separately.
  4. The descriptor tables the title binds for those draws, and the vertex buffers of both rectangle draws, are addresses inside that same range: the title uses the memory it gave the heap as frame-linear memory for tables and vertices alike.

Not established: that 3 and 4 are the cause of 2. It fits (the GPU side of that range is not the title's pages, so neither the vertices nor the descriptors can be what the title wrote), but I have not yet shown which of the two the draws lose, and the first draw's output is unverified too.

Is anyone already working on backing a console-addressed descriptor heap with the title's pages (as OpenExistingHeapFromAddress does with VK_EXT_external_memory_host)? If not I will claim it. AI-assisted.

<!-- gh-comment-id:7128591967 --> @Mumogg commented on GitHub (Nov 24, 2026): finding: why the retail frame loop presents black, as far as I have measured it. `main` `d7576d56a` + #375 to #432, #602, #387, #445, #360, #219, #207; Linux, Wine 11.21, RTX 5070 Ti (615.78.08). Counts and shapes only. **What a steady frame is** (three draws per present, the same every frame): the title clears one render target, draws a full-screen triangle with no vertex buffer into a second target, then draws two rectangle lists (three vertices each, 24-byte stride, plausible position / colour / texture-coordinate data that I read back on the CPU), the last of them into the cleared target with a descriptor table bound. **Measured:** 1. With `LEONIDA_CAPTURE`, every captured frame is uniformly (0, 0, 0). 2. With a local change that makes the title's per-frame `ClearRenderTargetView` clear to magenta, every captured frame is uniformly magenta. So the cleared target is the one presented, presentation works, and **the title's last draw writes no pixel into it** (or writes fully transparent ones). 3. The title's main shader-visible view heap is made through the console-extended form of slot 14 (over a million descriptors at an address the title supplies). The layer logs `descriptor heap uses console address/size (not backed by title memory)` for it, as the comment in `DescriptorHeap` says is tracked separately. 4. The descriptor tables the title binds for those draws, **and the vertex buffers of both rectangle draws**, are addresses inside that same range: the title uses the memory it gave the heap as frame-linear memory for tables and vertices alike. **Not established:** that 3 and 4 are the cause of 2. It fits (the GPU side of that range is not the title's pages, so neither the vertices nor the descriptors can be what the title wrote), but I have not yet shown which of the two the draws lose, and the first draw's output is unverified too. Is anyone already working on backing a console-addressed descriptor heap with the title's pages (as `OpenExistingHeapFromAddress` does with `VK_EXT_external_memory_host`)? If not I will claim it. AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: RT-64MIB-OUTSTANDING — follow-up to RT-64MIB-SIZING (my own follow-up, new ID as promised): the record that carries the 64 MiB range sits on a linked list in the title's own data. Find out what reads it, what removes it, and whether anything did during this boot. Read-only investigation on the title's executable; no runtime change. AI-assisted.

<!-- gh-comment-id:7128602048 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: RT-64MIB-OUTSTANDING — follow-up to RT-64MIB-SIZING (my own follow-up, new ID as promised): the record that carries the 64 MiB range sits on a linked list in the title's own data. Find out what reads it, what removes it, and whether anything did during this boot. Read-only investigation on the title's executable; no runtime change. AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

RT-64MIB-OUTSTANDING result.

Method. Two things, on a Radeon gfx1036 iGPU with LEONIDA_D3D12=vulkan: a static scan of the executable's .text (99 MB) for every RIP-relative form (with and without a REX prefix: mov/lea/cmp-group/push/call/movzx) that targets these globals, plus a scan for any 8-byte pointer anywhere in the file that holds their absolute address; and live reads at a stop I placed in the title's own code with LEONIDA_GUEST_POKE (#582).

1. The request is still queued when the check runs. At a stop I put in the title's code ahead of the size check, the list head at exe+0x6843770 points to a node whose fields are {0x1456a2a60, &range_in_the_caller_stack_frame, 0xd40, next} - the second field is exactly the address of the {0, 0x4000000} pair I measured in that frame. The node pool head at exe+0x6843360 has advanced by one node, and the list chains to another node. Nothing had advanced the range, and no allocation of 64 MiB appears in the run record. So the 64 MiB the check sees is a registered, never-retired request.

2. Correcting my previous comment. I wrote that no code reads that queue. That was an artifact of searching only for direct references. The list head is reachable as an element of a table of list heads:

exe+0x4deb45b  lea rcx,[exe+0x6843370]     ; table of list heads
exe+0x4deb456  mov eax,810h                ; BEXTR control: start 16, length 8
exe+0x4deb467  bextr eax,esi,eax           ; index = bits 16..23 of a category value
exe+0x4deb46c  mov rax,qword ptr [rcx+rax*8]

exe+0x6843770 is exactly exe+0x6843370 + 128*8, i.e. element 128 of that table - which is the element the enqueue at exe+0x5c8f990 writes directly. The sibling queue has the same shape: node pool exe+0x6843b70, table exe+0x6843b80 (lea at exe+0x4e38efb), head = element 128 = exe+0x6843f80. Two instances of the same subsystem, side by side.

3. The three roles, all disassembled.

  • register at exe+0x5c8f990 (the one that received the range): take a node from the pool, store {descriptor, &range, a small value, next}, push onto table[128], tail-call the unlock at exe+0x4deb500.
  • release-by-identity at exe+0x5c8fa88: walk the list from the anchor exe+0x6843758 (whose [+18h] is the head), compare each node's [0] with a descriptor and [+10h] with that small value, and on a match unlink the node, zero its first 16 bytes, set [+10h] to -1 and return it to the pool. This is the only path that removes an entry, and it matches by identity - not first-in-first-out.
  • collect at exe+0x4deb440: pick a list by the category bits, walk it, skip records whose [+10h] is -1 or unequal to a value obtained from a helper call, copy each 32-byte record into a local array, and follow [+18h] until the end. It reads the records and does not unlink them.

4. What that means for the 2 MiB check. The range only leaves the accounting through the release path, and nothing in this boot reached it for this record; so at exe+0x247af25 the full 64 MiB is still outstanding against a 2 MiB - 1 bound, and the title's own int 3 fires. What I have not established: which call should have released it, and whether that call is one the runtime is expected to serve. I am leaving that open rather than guessing from the shape.

Reproduce: apply LEONIDA_GUEST_POKE=<basename>:<rva>:<hex> to put a stop in the title's own code, read dq <head> / dq poi(head) L4, and u the three addresses above. Written with an AI assistant.

<!-- gh-comment-id:7128602446 --> @fiestorra commented on GitHub (Nov 24, 2026): RT-64MIB-OUTSTANDING result. **Method.** Two things, on a Radeon gfx1036 iGPU with `LEONIDA_D3D12=vulkan`: a static scan of the executable's `.text` (99 MB) for every RIP-relative form (with and without a REX prefix: `mov`/`lea`/`cmp`-group/`push`/`call`/`movzx`) that targets these globals, plus a scan for any 8-byte pointer anywhere in the file that holds their absolute address; and live reads at a stop I placed in the title's own code with `LEONIDA_GUEST_POKE` (#582). **1. The request is still queued when the check runs.** At a stop I put in the title's code ahead of the size check, the list head at `exe+0x6843770` points to a node whose fields are `{0x1456a2a60, &range_in_the_caller_stack_frame, 0xd40, next}` - the second field is exactly the address of the `{0, 0x4000000}` pair I measured in that frame. The node pool head at `exe+0x6843360` has advanced by one node, and the list chains to another node. Nothing had advanced the range, and no allocation of 64 MiB appears in the run record. So the 64 MiB the check sees is a *registered, never-retired* request. **2. Correcting my previous comment.** I wrote that no code reads that queue. That was an artifact of searching only for direct references. The list head is reachable as an element of a table of list heads: ``` exe+0x4deb45b lea rcx,[exe+0x6843370] ; table of list heads exe+0x4deb456 mov eax,810h ; BEXTR control: start 16, length 8 exe+0x4deb467 bextr eax,esi,eax ; index = bits 16..23 of a category value exe+0x4deb46c mov rax,qword ptr [rcx+rax*8] ``` `exe+0x6843770` is exactly `exe+0x6843370 + 128*8`, i.e. element 128 of that table - which is the element the enqueue at `exe+0x5c8f990` writes directly. The sibling queue has the same shape: node pool `exe+0x6843b70`, table `exe+0x6843b80` (`lea` at `exe+0x4e38efb`), head = element 128 = `exe+0x6843f80`. Two instances of the same subsystem, side by side. **3. The three roles, all disassembled.** - *register* at `exe+0x5c8f990` (the one that received the range): take a node from the pool, store `{descriptor, &range, a small value, next}`, push onto table[128], tail-call the unlock at `exe+0x4deb500`. - *release-by-identity* at `exe+0x5c8fa88`: walk the list from the anchor `exe+0x6843758` (whose `[+18h]` is the head), compare each node's `[0]` with a descriptor and `[+10h]` with that small value, and on a match unlink the node, zero its first 16 bytes, set `[+10h]` to -1 and return it to the pool. This is the only path that removes an entry, and it matches by identity - not first-in-first-out. - *collect* at `exe+0x4deb440`: pick a list by the category bits, walk it, skip records whose `[+10h]` is -1 or unequal to a value obtained from a helper call, copy each 32-byte record into a local array, and follow `[+18h]` until the end. It reads the records and does not unlink them. **4. What that means for the 2 MiB check.** The range only leaves the accounting through the release path, and nothing in this boot reached it for this record; so at `exe+0x247af25` the full 64 MiB is still outstanding against a `2 MiB - 1` bound, and the title's own `int 3` fires. What I have *not* established: which call should have released it, and whether that call is one the runtime is expected to serve. I am leaving that open rather than guessing from the shape. Reproduce: apply `LEONIDA_GUEST_POKE=<basename>:<rva>:<hex>` to put a stop in the title's own code, read `dq <head>` / `dq poi(head) L4`, and `u` the three addresses above. Written with an AI assistant.
Author
Owner

@naorleizer commented on GitHub (Nov 24, 2026):

correction to my finding above: it is not the first sighting, and my "may be the first sighting" line was wrong - @natterman12 reported the same five cases earlier today (RTX 3080 Ti) and @dcastell1 confirmed them on an RTX 5090. Ours is the third independent data point (RTX 3070 Ti, MSVC RelWithDebInfo), and #504 now tracks it with D3D-EXECIND-RANGE claimed.

<!-- gh-comment-id:7128636603 --> @naorleizer commented on GitHub (Nov 24, 2026): correction to my finding above: it is not the first sighting, and my "may be the first sighting" line was wrong - @natterman12 reported the same five cases earlier today (RTX 3080 Ti) and @dcastell1 confirmed them on an RTX 5090. Ours is the third independent data point (RTX 3070 Ti, MSVC RelWithDebInfo), and #504 now tracks it with D3D-EXECIND-RANGE claimed.
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX5070TI-WIN — a GPU-test record in the gpu-test-results/ format for an NVIDIA GeForce RTX 5070 Ti (Blackwell, subgroup 32) on Windows 11 Pro 26300, NVIDIA 617.42: scripts/run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, plus the runtime CTest suite, on a clean main build, and its row in docs/gpu_test_results.md. No record for this GPU is on main or in an open pull request (RTX5070.txt is the non-Ti card). Synthetic tests only, no game files. AI-assisted.

<!-- gh-comment-id:7128643099 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): claiming: GPU-RTX5070TI-WIN — a GPU-test record in the `gpu-test-results/` format for an NVIDIA GeForce RTX 5070 Ti (Blackwell, subgroup 32) on Windows 11 Pro 26300, NVIDIA 617.42: `scripts/run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1`, plus the runtime CTest suite, on a clean `main` build, and its row in `docs/gpu_test_results.md`. No record for this GPU is on `main` or in an open pull request (`RTX5070.txt` is the non-Ti card). Synthetic tests only, no game files. AI-assisted.
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

claiming: EXE-CHECKLIST-PARSE — tools/exe_checklist.py: stop doc_notes() at '+' and numbered list items and strip their prefixes, fix without_marker() eating text up to a later colon on colon-less markers, and handle UTF-8 BOM and invalid JSON shapes in called_classes() without uncaught TypeError

<!-- gh-comment-id:7128650930 --> @hamdog0203 commented on GitHub (Nov 24, 2026): claiming: EXE-CHECKLIST-PARSE — tools/exe_checklist.py: stop doc_notes() at '+' and numbered list items and strip their prefixes, fix without_marker() eating text up to a later colon on colon-less markers, and handle UTF-8 BOM and invalid JSON shapes in called_classes() without uncaught TypeError
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

finding: old issue 8369 in the #18 index ("ms_wave_info_s3 fails consistently on NVIDIA RTX 5070 Ti (Windows)") no longer reproduces: ms_wave_info_s3 passes, 4096/4096 pixels exact, in python -I scripts/run_gpu_tests.py on an RTX 5070 Ti (Windows 11 Pro 26300, NVIDIA 617.42, Vulkan 1.4.351, llvm-mc 23.1.5) at main d7576d56a. The same row in gpu-test-results/RTX5070.txt (non-Ti, 621.14) already reads PASS, so the RTX 5080 / 3050 variants of that old issue (8306, 8677) are likely the same fixed failure; I have not run those GPUs. Nothing to do but tick 8369 off the index. No game files; hardware: RTX 5070 Ti. AI-assisted.

<!-- gh-comment-id:7128651822 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): finding: old issue 8369 in the [#18](https://github.com/ubiquitarianism/leonida/issues/18) index ("ms_wave_info_s3 fails consistently on NVIDIA RTX 5070 Ti (Windows)") no longer reproduces: `ms_wave_info_s3` passes, 4096/4096 pixels exact, in `python -I scripts/run_gpu_tests.py` on an RTX 5070 Ti (Windows 11 Pro 26300, NVIDIA 617.42, Vulkan 1.4.351, llvm-mc 23.1.5) at `main` d7576d56a. The same row in `gpu-test-results/RTX5070.txt` (non-Ti, 621.14) already reads PASS, so the RTX 5080 / 3050 variants of that old issue (8306, 8677) are likely the same fixed failure; I have not run those GPUs. Nothing to do but tick 8369 off the index. No game files; hardware: RTX 5070 Ti. AI-assisted.
Author
Owner

@ohshitwaddup commented on GitHub (Nov 24, 2026):

claiming: GPU-RX6900XT - a GPU-test record in the gpu-test-results/ format for an AMD Radeon RX 6900 XT (RDNA2 / GFX1030, RADV Mesa 26.2.4, Nobara Linux 44, subgroup 32..64), the first RDNA2 discrete desktop entry, plus its row and section in docs/gpu_test_results.md. Built main 21625bc; build.py 280/280, check.py 214/219 (3 skipped, 2 failed), run_gpu_tests.py 230/248 passed, 16 skipped, 2 failed, native and with LEONIDA_W64_EMULATE=1 alike. The two failures are cs_imgload_tfe / cs_imgload_d16_tfe (SHADER-1266 / #31). No game files. AI-assisted (Hermes Agent).

<!-- gh-comment-id:7128719943 --> @ohshitwaddup commented on GitHub (Nov 24, 2026): claiming: GPU-RX6900XT - a GPU-test record in the `gpu-test-results/` format for an AMD Radeon RX 6900 XT (RDNA2 / GFX1030, RADV Mesa 26.2.4, Nobara Linux 44, subgroup 32..64), the first RDNA2 discrete desktop entry, plus its row and section in `docs/gpu_test_results.md`. Built `main` 21625bc; `build.py` 280/280, `check.py` 214/219 (3 skipped, 2 failed), `run_gpu_tests.py` 230/248 passed, 16 skipped, 2 failed, native and with `LEONIDA_W64_EMULATE=1` alike. The two failures are `cs_imgload_tfe` / `cs_imgload_d16_tfe` (SHADER-1266 / #31). No game files. AI-assisted (Hermes Agent).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: requested follow-up Windows GPU verification of #577 at 972a1e47, including the previously reported disconnected-feature negative control. Synthetic test only. AI-assisted.

<!-- gh-comment-id:7128722449 --> @sodove commented on GitHub (Nov 24, 2026): claiming: requested follow-up Windows GPU verification of #577 at 972a1e47, including the previously reported disconnected-feature negative control. Synthetic test only. AI-assisted.
Author
Owner

@Mumogg commented on GitHub (Nov 24, 2026):

finding: follow-up to my black-picture finding above, narrower now. Same stack and machine.

  • The rectangle draws are not dropped: no submission reports an unknown resource, so their vertex buffers resolve (the title's placed buffer on its own pages, slot 133, covers them).
  • I dumped the bytes at the table address the title binds for the last draw, in the frame where it draws: they hold well-formed descriptors (an image descriptor and a constant-buffer descriptor whose address field is again a title address). So the descriptors are written and are where the title says.
  • Making the title's staging heaps at the address its hooks supply (so that a title-side copy of a descriptor moves real bytes) did not change the picture: still uniformly black.

What is left is section 3.3 of docs/d3d12_vulkan.md: a translated shader computes heap_base + console_va, and the only memory reachable that way is the arena. The table the title binds, and the constant buffer its descriptor names, are title addresses, above the arena's range. The vertex path binds a VkBuffer by lookup and works; the shader-side loads (table, descriptor, constants) cannot. That fits a draw that rasterizes and writes nothing visible. I have not proved it with a readback of the shader's inputs.

If that is right, the frame loop needs the title's pages to be in the arena's address range at their own addresses (for example a sparse arena with the title's pages bound at offset = title address through VK_EXT_external_memory_host), not a per-resource import. That is a design decision, so before I write anything: is this already planned or claimed, and is that the direction you want? AI-assisted.

<!-- gh-comment-id:7128742166 --> @Mumogg commented on GitHub (Nov 24, 2026): finding: follow-up to my black-picture finding above, narrower now. Same stack and machine. - The rectangle draws are **not** dropped: no submission reports an unknown resource, so their vertex buffers resolve (the title's placed buffer on its own pages, slot 133, covers them). - I dumped the bytes at the table address the title binds for the last draw, in the frame where it draws: they hold well-formed descriptors (an image descriptor and a constant-buffer descriptor whose address field is again a title address). So the descriptors are written and are where the title says. - Making the title's staging heaps at the address its hooks supply (so that a title-side copy of a descriptor moves real bytes) did not change the picture: still uniformly black. What is left is section 3.3 of `docs/d3d12_vulkan.md`: a translated shader computes `heap_base + console_va`, and the only memory reachable that way is the arena. The table the title binds, and the constant buffer its descriptor names, are **title addresses, above the arena's range**. The vertex path binds a `VkBuffer` by lookup and works; the shader-side loads (table, descriptor, constants) cannot. That fits a draw that rasterizes and writes nothing visible. I have not proved it with a readback of the shader's inputs. If that is right, the frame loop needs the title's pages to be *in* the arena's address range at their own addresses (for example a sparse arena with the title's pages bound at offset = title address through `VK_EXT_external_memory_host`), not a per-resource import. That is a design decision, so before I write anything: is this already planned or claimed, and is that the direction you want? AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

RT-64MIB-OUTSTANDING, decisive part - and it closes the question I left open in the previous comment.

What I did. LEONIDA_GUEST_POKE with two entries on one run: replace the title's own int 3 at exe+0x247af2d with a nop (so the assumption break does not stop the run), and put an int 3 at exe+0x247af3d, the instruction right after the call exe+0x5c8fa70 at exe+0x247af38. Then read the list, the pool and the caller's frame. On a Radeon gfx1036 iGPU with LEONIDA_D3D12=vulkan.

What that call site is. A scan for relative call/jmp targeting the release routine's entry exe+0x5c8fa70 found exactly three call sites in the whole executable: exe+0x1cf3343, exe+0x1d0b353, and exe+0x247af38 - the last one is four instructions after the size check in the very function that carries it. So the title releases the record it has just measured, immediately after measuring it.

Measured, before and after that call.

before (stop at exe+0x247aef7):            after (stop at exe+0x247af3d):
  queue head  exe+0x6843770 = 0x146845c20    queue head  exe+0x6843770 = 0x1461889b0
  node: {0x1456a2a60, &{0,0x4000000}, ...}   node 0x146845c20 now in the free pool:
  pool head exe+0x6843360 = 0x146845c40        {0, 0, -1, 0x146845c40}
                                             frame [rsp+70h],[rsp+78h] still {0, 0x4000000}
                                             added global exe+0x75e6ff0 still 0

The released node is exactly the one that held the 64 MiB range, and it comes back with the zeroed fields and [+10h] = -1 that the release routine writes.

What that settles. The 64 MiB is a real, outstanding request at the moment of the check, and the check does not pass; but the record is not leaked and nothing host-side is missing on that path: the release is the title's own code, three call sites, all inside its own image, and the one after the check does retire it. With the int 3 replaced by a nop the title continues past it. So these int 3s are the title's own assumption breaks - a momentary over-budget condition in its accounting - and not a service the runtime was expected to supply. That is why widening the bound (the earlier cmp widening) let the title proceed without any other change: it only suppressed that one break.

What I am not claiming. I have not established why this title reaches that point with 64 MiB registered against a 2 MiB bound on this machine, and I am not proposing a runtime change from it: on the evidence above, no runtime behaviour is missing here. The 64 MiB vs 82 MiB choice by the flag at exe+0x75140 remains unexplained.

Written with an AI assistant.

<!-- gh-comment-id:7128744918 --> @fiestorra commented on GitHub (Nov 24, 2026): RT-64MIB-OUTSTANDING, decisive part - and it closes the question I left open in the previous comment. **What I did.** `LEONIDA_GUEST_POKE` with two entries on one run: replace the title's own `int 3` at `exe+0x247af2d` with a `nop` (so the assumption break does not stop the run), and put an `int 3` at `exe+0x247af3d`, the instruction right after the `call exe+0x5c8fa70` at `exe+0x247af38`. Then read the list, the pool and the caller's frame. On a Radeon gfx1036 iGPU with `LEONIDA_D3D12=vulkan`. **What that call site is.** A scan for relative `call`/`jmp` targeting the release routine's entry `exe+0x5c8fa70` found exactly three call sites in the whole executable: `exe+0x1cf3343`, `exe+0x1d0b353`, and `exe+0x247af38` - the last one is four instructions after the size check in the very function that carries it. So the title releases the record it has just measured, immediately after measuring it. **Measured, before and after that call.** ``` before (stop at exe+0x247aef7): after (stop at exe+0x247af3d): queue head exe+0x6843770 = 0x146845c20 queue head exe+0x6843770 = 0x1461889b0 node: {0x1456a2a60, &{0,0x4000000}, ...} node 0x146845c20 now in the free pool: pool head exe+0x6843360 = 0x146845c40 {0, 0, -1, 0x146845c40} frame [rsp+70h],[rsp+78h] still {0, 0x4000000} added global exe+0x75e6ff0 still 0 ``` The released node is exactly the one that held the 64 MiB range, and it comes back with the zeroed fields and `[+10h] = -1` that the release routine writes. **What that settles.** The 64 MiB is a real, outstanding request at the moment of the check, and the check does not pass; but the record is not leaked and nothing host-side is missing on that path: the release is the title's own code, three call sites, all inside its own image, and the one after the check does retire it. With the `int 3` replaced by a `nop` the title continues past it. So these `int 3`s are the title's own assumption breaks - a momentary over-budget condition in its accounting - and not a service the runtime was expected to supply. That is why widening the bound (the earlier `cmp` widening) let the title proceed without any other change: it only suppressed that one break. **What I am not claiming.** I have not established why this title reaches that point with 64 MiB registered against a 2 MiB bound on this machine, and I am not proposing a runtime change from it: on the evidence above, no runtime behaviour is missing here. The 64 MiB vs 82 MiB choice by the flag at `exe+0x75140` remains unexplained. Written with an AI assistant.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

done: RT-64MIB-OUTSTANDING -> no runtime change (investigation only). The queued 64 MiB request is retired by the title's own code at exe+0x247af38, measured before and after that call in the comment above. Nothing host-side is missing on that path, so I am not opening a change from it.

<!-- gh-comment-id:7128745263 --> @fiestorra commented on GitHub (Nov 24, 2026): done: RT-64MIB-OUTSTANDING -> no runtime change (investigation only). The queued 64 MiB request is retired by the title's own code at exe+0x247af38, measured before and after that call in the comment above. Nothing host-side is missing on that path, so I am not opening a change from it.
Author
Owner

@ohshitwaddup commented on GitHub (Nov 24, 2026):

done: GPU-RX6900XT -> #631

<!-- gh-comment-id:7128759553 --> @ohshitwaddup commented on GitHub (Nov 24, 2026): done: GPU-RX6900XT -> #631
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: requested Windows rerun -> #577. Stock and disabled-feature runs pass, the disconnected-feature control fails the new assertion. Report

<!-- gh-comment-id:7128762253 --> @sodove commented on GitHub (Nov 24, 2026): done: requested Windows rerun -> #577. Stock and disabled-feature runs pass, the disconnected-feature control fails the new assertion. [Report](https://github.com/ubiquitarianism/leonida/pull/577#issuecomment-7128761648)
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: RT-PE-BLOCK-READ - follow up on the finding by cobrabm12 in comment 7127781668. Read PE files in blocks, distinguish a read failure from EOF, and verify native Windows dry-map timing and a synthetic partial-read fixture. No game files. AI-assisted.

<!-- gh-comment-id:7128772845 --> @sodove commented on GitHub (Nov 24, 2026): claiming: RT-PE-BLOCK-READ - follow up on the finding by cobrabm12 in comment 7127781668. Read PE files in blocks, distinguish a read failure from EOF, and verify native Windows dry-map timing and a synthetic partial-read fixture. No game files. AI-assisted.
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

done: EXE-CHECKLIST-PARSE -> <#632>

<!-- gh-comment-id:7128839234 --> @hamdog0203 commented on GitHub (Nov 24, 2026): done: EXE-CHECKLIST-PARSE -> <#632>
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

finding: exe-checklist round (import table + call-site disassembly of game_scarlett_master.exe) — GameInput import, XMemVirtualAlloc, XMemAllocatePhysicalPages measured

Follow-up to my earlier finding comment (this exe, SHA-256 e95020b2...). Resolved the pending checklist items:

  1. GameInput (ASSUMPTION at gameinput.cpp:32 — RESOLVED): the exe's import table has exactly one import from GameInput.dll: ordinal #1, no name. The title imports its GameInput entry from GameInput.dll itself, not from xgameruntime — matching merged PR #127's ordinal-1 entry.
  2. XMemVirtualAlloc (all 23 call sites disassembled — matches the shim's "All 23 calls of the measured title"): confirms the 5-arg console signature (address, size, allocationType, attributes, protect) and every site passes a non-zero attribute word (r9). Distinct values observed:
    • allocationType (r8): 0x42000, 0x20003000, 0x20401000, 0x20402000, 0x20403000, 0x20406000 — the 0x20000000 / 0x20400000 page-mode bits match the shim's kXmemLargePages / kXmem64kPages
    • attributes (r9): 0x3, 0x7, 0x21, 0x23, 0x27, 0x181, 0x183, 0x283
    • protect (5th, stack): 0x1, 0x4, 0x801, 0x1004, 0x1404, 0x2004, 0x22004, 0x2404, 0x8404, 0x42404
  3. XMemAllocatePhysicalPages (exactly 4 call sites — matches the shim's "four callers"): attribute words (rcx) 0x180, 0x280, 0x280, 0x380. One site rounds its size up to 64 KiB (add $0xffff; shr $0x10) — supports the 64 KiB page ASSUMPTION at xmem.cpp:586.
  4. XMemAlloc: 3 call sites (two pass attribute 0xf0814000); the "0x5e50000" site named in the xmem.cpp:9 ASSUMPTION was NOT among them (likely XMemVirtualAlloc-era or a different title build). XMemGetWorkingSetStatistics: the sites pass rcx 0x2000000a / 0x20000001 (2 MiB page-mode bit + selector).
<!-- gh-comment-id:7128855244 --> @tengotengo commented on GitHub (Nov 24, 2026): finding: exe-checklist round (import table + call-site disassembly of game_scarlett_master.exe) — GameInput import, XMemVirtualAlloc, XMemAllocatePhysicalPages measured Follow-up to my earlier finding comment (this exe, SHA-256 e95020b2...). Resolved the pending checklist items: 1. **GameInput** (ASSUMPTION at gameinput.cpp:32 — RESOLVED): the exe's import table has exactly one import from GameInput.dll: ordinal #1, no name. The title imports its GameInput entry from GameInput.dll itself, not from xgameruntime — matching merged PR #127's ordinal-1 entry. 2. **XMemVirtualAlloc** (all 23 call sites disassembled — matches the shim's "All 23 calls of the measured title"): confirms the 5-arg console signature (address, size, allocationType, attributes, protect) and every site passes a non-zero attribute word (r9). Distinct values observed: - allocationType (r8): 0x42000, 0x20003000, 0x20401000, 0x20402000, 0x20403000, 0x20406000 — the 0x20000000 / 0x20400000 page-mode bits match the shim's kXmemLargePages / kXmem64kPages - attributes (r9): 0x3, 0x7, 0x21, 0x23, 0x27, 0x181, 0x183, 0x283 - protect (5th, stack): 0x1, 0x4, 0x801, 0x1004, 0x1404, 0x2004, 0x22004, 0x2404, 0x8404, 0x42404 3. **XMemAllocatePhysicalPages** (exactly 4 call sites — matches the shim's "four callers"): attribute words (rcx) 0x180, 0x280, 0x280, 0x380. One site rounds its size up to 64 KiB (`add $0xffff; shr $0x10`) — supports the 64 KiB page ASSUMPTION at xmem.cpp:586. 4. **XMemAlloc**: 3 call sites (two pass attribute 0xf0814000); the "0x5e50000" site named in the xmem.cpp:9 ASSUMPTION was NOT among them (likely XMemVirtualAlloc-era or a different title build). XMemGetWorkingSetStatistics: the sites pass rcx 0x2000000a / 0x20000001 (2 MiB page-mode bit + selector).
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

claiming: DECODE-MIMG-PARITY - tools/rdna2_decode.py: align MIMG address VGPR counts (BVH a16, image_msaa_load, _mip_pck, *_by2/by4, image_samplecd, _g16 packed derivatives, image_get_lod a16, odd-coord a16 packing), atomic TFE/cmpswap VDATA widths, and non-BVH r128 8-SGPR resource descriptors with LLVM GFX10/GFX1030 (fixes 72/291 mismatches across gfx10_mimg.txt, gfx10_mimg_features.txt, and gfx1030_new.txt -> 291/291 exact) + hand-encoded regression tests in tests/test_rdna2_decode.py.

<!-- gh-comment-id:7128871296 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): claiming: DECODE-MIMG-PARITY - tools/rdna2_decode.py: align MIMG address VGPR counts (BVH a16, image_msaa_load, *_mip_pck*, *_by2/_by4, image_sample_*cd*, _g16 packed derivatives, image_get_lod a16, odd-coord a16 packing), atomic TFE/cmpswap VDATA widths, and non-BVH r128 8-SGPR resource descriptors with LLVM GFX10/GFX1030 (fixes 72/291 mismatches across gfx10_mimg.txt, gfx10_mimg_features.txt, and gfx1030_new.txt -> 291/291 exact) + hand-encoded regression tests in tests/test_rdna2_decode.py.
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

done: DECODE-MIMG-PARITY -> #633 (AI-assisted: JARVIX)

<!-- gh-comment-id:7128875053 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): done: DECODE-MIMG-PARITY -> #633 (AI-assisted: JARVIX)
Author
Owner

@promise-ssss commented on GitHub (Nov 24, 2026):

claiming: CI-FAILURE-LIST-ENCODING - I will make scripts/ci_expected_failures.py accept UTF-8 failure lists with a BOM and report invalid UTF-8 as an input error. Synthetic tests only, no game files or GPU. AI-assisted (Codex).

<!-- gh-comment-id:7128875413 --> @promise-ssss commented on GitHub (Nov 24, 2026): claiming: CI-FAILURE-LIST-ENCODING - I will make scripts/ci_expected_failures.py accept UTF-8 failure lists with a BOM and report invalid UTF-8 as an input error. Synthetic tests only, no game files or GPU. AI-assisted (Codex).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-8847 - restoring my original PR ItsNotRexed/Leonida#8847 (pe_loader: move an image whose preferred base is taken and that has no relocation directory; only IMAGE_FILE_RELOCS_STRIPPED without a relocation table refuses the move), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7128926292 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-8847 - restoring my original PR ItsNotRexed/Leonida#8847 (pe_loader: move an image whose preferred base is taken and that has no relocation directory; only `IMAGE_FILE_RELOCS_STRIPPED` without a relocation table refuses the move), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

done: GPU-RTX5070TI-WIN -> #635

<!-- gh-comment-id:7128944083 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): done: GPU-RTX5070TI-WIN -> #635
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

finding: the retail executable's first compute pipeline (after the command-list IID fix) needs an FSSM blob that is not in the shaders.rpf corpus — it is one of 52 embedded in XboxBvhBuilder.dll (10 more sit in the executable), and the existing carve/disasm/translate path handles them

  • Where: docs/embedded_shaders.md ("none of the 52 has been executed on a GPU" — the first one now runs to pipeline creation). The embedded set uses the same XBCH record layout as the shaders.rpf containers' XDAT tag-0x0d payloads: 'XBCH' u32(3) u32 stored u32(0) u32 unpacked u32(0) then a zlib stream (wbits 15), decompressing to the FSSM blob.
  • Why it matters: without the embedded set, every --run of the retail package stops at CreateComputePipelineState after the command-list stop — the layer reports no translated compute shader for FSSM sha256 <hash> (the wanted hash is b5316b2e…, one of the 52). Extraction plus shader_disasm.py --mcpu gfx1013 and rdna2spirv.py translates 52 of 62 blobs to valid SPIR-V (all pass spirv-val); 10 are rejected as "CS group size", which looks like a different header form in the executable-embedded variants.
  • Needs: a game copy only. The extraction is a scan for XBCH in the DLLs/executable and the same zlib payload; a small tool or a make_game.py stage would fold it into the corpus (26,503 → 26,555).

Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07), full trace on my machine.

<!-- gh-comment-id:7128944684 --> @slauko commented on GitHub (Nov 24, 2026): finding: the retail executable's first compute pipeline (after the command-list IID fix) needs an FSSM blob that is not in the shaders.rpf corpus — it is one of 52 embedded in XboxBvhBuilder.dll (10 more sit in the executable), and the existing carve/disasm/translate path handles them - **Where:** `docs/embedded_shaders.md` ("none of the 52 has been executed on a GPU" — the first one now runs to pipeline creation). The embedded set uses the same `XBCH` record layout as the shaders.rpf containers' XDAT tag-0x0d payloads: `'XBCH' u32(3) u32 stored u32(0) u32 unpacked u32(0)` then a zlib stream (wbits 15), decompressing to the `FSSM` blob. - **Why it matters:** without the embedded set, every `--run` of the retail package stops at `CreateComputePipelineState` after the command-list stop — the layer reports `no translated compute shader for FSSM sha256 <hash>` (the wanted hash is `b5316b2e…`, one of the 52). Extraction plus `shader_disasm.py --mcpu gfx1013` and `rdna2spirv.py` translates 52 of 62 blobs to valid SPIR-V (all pass `spirv-val`); 10 are rejected as "CS group size", which looks like a different header form in the executable-embedded variants. - **Needs:** a game copy only. The extraction is a scan for `XBCH` in the DLLs/executable and the same zlib payload; a small tool or a `make_game.py` stage would fold it into the corpus (26,503 → 26,555). Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07), full trace on my machine.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-8847 -> #634 (restoration of ItsNotRexed/Leonida#8847)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7128945926 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-8847 -> #634 (restoration of ItsNotRexed/Leonida#8847) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

finding: the builder's root signature spills (a parameter past the 32 user dwords), and all 52 embedded compute shaders read the spill as a buffer they construct from s[0:1] — base from the spill pointer, one dword ORed with 0x280000, a stride constant 0x11014fac, then s_buffer_load — so the console spill array is reached through a V#-shaped buffer, not a raw pointer

  • Where: runtime/shims/d3d12_vulkan_device.cpp around the pack_stage refusal ("root signature usable for graphics only: root parameter 8 does not fit in the user SGPRs from s4 (spill array not modelled)"). The census predicted the shape exactly: tools/root_spill_census.py over the merged corpus (26,503 + the 52 embedded) counts 52 of 2,741 compute shaders with a spill-pointer candidate at s0:ptr64_lo and zero candidates in every other stage.
  • Why it matters: it is the retail boot stop after the command-list fix and the embedded-shader set: with the wanted FSSM present, the first compute PSO is refused because the root signature spills, the title's pipeline creation fails and it faults. The translated embedded shaders already carry PhysicalStorageBufferAddresses/bufferDeviceAddress and pass spirv-val, so the shader side of the contract is translated; what is missing is the layer side.
  • Fix shape (for whoever claims it): when pack_stage overflows, allocate a spill buffer holding the overflow dwords, hand its address in the compute layout's s[0:1] (below the s4 base), keep the rest of the packing as today, and let the already-translated loads read it. The spill layout itself is measured from the shader side above; the ordering of dwords inside the array is the remaining unknown.

Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07); the census run is reproducible with the merged index.

<!-- gh-comment-id:7128946279 --> @slauko commented on GitHub (Nov 24, 2026): finding: the builder's root signature spills (a parameter past the 32 user dwords), and all 52 embedded compute shaders read the spill as a buffer they construct from s[0:1] — base from the spill pointer, one dword ORed with 0x280000, a stride constant 0x11014fac, then s_buffer_load — so the console spill array is reached through a V#-shaped buffer, not a raw pointer - **Where:** `runtime/shims/d3d12_vulkan_device.cpp` around the `pack_stage` refusal ("root signature usable for graphics only: root parameter 8 does not fit in the user SGPRs from s4 (spill array not modelled)"). The census predicted the shape exactly: `tools/root_spill_census.py` over the merged corpus (26,503 + the 52 embedded) counts 52 of 2,741 compute shaders with a spill-pointer candidate at `s0:ptr64_lo` and zero candidates in every other stage. - **Why it matters:** it is the retail boot stop after the command-list fix and the embedded-shader set: with the wanted FSSM present, the first compute PSO is refused because the root signature spills, the title's pipeline creation fails and it faults. The translated embedded shaders already carry `PhysicalStorageBufferAddresses`/`bufferDeviceAddress` and pass `spirv-val`, so the shader side of the contract is translated; what is missing is the layer side. - **Fix shape (for whoever claims it):** when `pack_stage` overflows, allocate a spill buffer holding the overflow dwords, hand its address in the compute layout's s[0:1] (below the s4 base), keep the rest of the packing as today, and let the already-translated loads read it. The spill layout itself is measured from the shader side above; the ordering of dwords inside the array is the remaining unknown. Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07); the census run is reproducible with the merged index.
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

finding: past the command-list stop, the retail title asserts a span check — (end − start) + a global, asserted ≤ 2 MiB − 1 — right after the first descriptor heap, GetCPUDescriptorHandleForHeapStart and a few hundred view creations; stepping over it with LEONIDA_SKIP_INT3 lets the boot continue cleanly, which points it at the same descriptor-model question as boot.md Q4 and retail_boot_chain's stop 13

  • Where: the check runs in the title's own init (internal functions; no import involved, and no unimplemented call is traced before it — the boot reaches it with every import served). It follows the console-addressed descriptor heap ([rt] d3d12: descriptor heap uses console address/size (not backed by title memory)) and a loop that fills two parallel arrays over the heap's entries.
  • Why it matters: it is the next measured stop of the retail boot chain after the command-list IID (with --wave64 traces of 1,639 D3D12 calls at that point), and the jbe-style shape means a skipped assert continues into the exact code the check guards, so the failing span can be read off a skipped run. Whether the limit is the console's shader-visible heap span (2 MiB) or a title-side budget is open.
  • Needs: a game copy; reproducible under Wine and on Windows alike with LEONIDA_SKIP_INT3=1 and --trace.

Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07); no offsets quoted here per retail_boot_chain.md's own rule.

<!-- gh-comment-id:7128947930 --> @slauko commented on GitHub (Nov 24, 2026): finding: past the command-list stop, the retail title asserts a span check — (end − start) + a global, asserted ≤ 2 MiB − 1 — right after the first descriptor heap, GetCPUDescriptorHandleForHeapStart and a few hundred view creations; stepping over it with LEONIDA_SKIP_INT3 lets the boot continue cleanly, which points it at the same descriptor-model question as boot.md Q4 and retail_boot_chain's stop 13 - **Where:** the check runs in the title's own init (internal functions; no import involved, and no unimplemented call is traced before it — the boot reaches it with every import served). It follows the console-addressed descriptor heap (`[rt] d3d12: descriptor heap uses console address/size (not backed by title memory)`) and a loop that fills two parallel arrays over the heap's entries. - **Why it matters:** it is the next measured stop of the retail boot chain after the command-list IID (with `--wave64` traces of 1,639 D3D12 calls at that point), and the `jbe`-style shape means a skipped assert continues into the exact code the check guards, so the failing span can be read off a skipped run. Whether the limit is the console's shader-visible heap span (2 MiB) or a title-side budget is open. - **Needs:** a game copy; reproducible under Wine and on Windows alike with `LEONIDA_SKIP_INT3=1` and `--trace`. Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07); no offsets quoted here per retail_boot_chain.md's own rule.
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

finding: a 256 m clay chunk reaches 773 MB in a dense city cell, and three such chunks exceed the viewer's 30 s fetch timeout on a cold read — they surface as the only load errors, while every chunk file is a structurally valid GLB

  • Where: viewer/index.html (CHUNK_DOWNLOAD_TIMEOUT_MS = 30_000, MAX_LOAD_ATTEMPTS = 3) and tools/world_build.py (no per-chunk size budget). Distribution here: 2,874 chunks, median 15 MB, the three largest 773/320/305 MB; a header/length/JSON validation of all chunks passes, and the server log shows the timeout aborts plus the retries rather than 404s.
  • Why it matters: the viewer's error counter is the user's first trust signal, and these errors are size-driven, not corruption. Either world_build.py budgets a maximum chunk size (splitting dense cells, e.g. a 128 m fallback for oversized ones) or the viewer times out adaptively for large entries.
  • Needs: a game copy for a rebuild; the timeout side is a one-line change.

Measured with the full 256 m clay build (640,220 placements, 2,874 chunks, 3.61 B tris) served locally over a USB drive.

<!-- gh-comment-id:7128949696 --> @slauko commented on GitHub (Nov 24, 2026): finding: a 256 m clay chunk reaches 773 MB in a dense city cell, and three such chunks exceed the viewer's 30 s fetch timeout on a cold read — they surface as the only load errors, while every chunk file is a structurally valid GLB - **Where:** `viewer/index.html` (`CHUNK_DOWNLOAD_TIMEOUT_MS = 30_000`, `MAX_LOAD_ATTEMPTS = 3`) and `tools/world_build.py` (no per-chunk size budget). Distribution here: 2,874 chunks, median 15 MB, the three largest 773/320/305 MB; a header/length/JSON validation of all chunks passes, and the server log shows the timeout aborts plus the retries rather than 404s. - **Why it matters:** the viewer's error counter is the user's first trust signal, and these errors are size-driven, not corruption. Either `world_build.py` budgets a maximum chunk size (splitting dense cells, e.g. a 128 m fallback for oversized ones) or the viewer times out adaptively for large entries. - **Needs:** a game copy for a rebuild; the timeout side is a one-line change. Measured with the full 256 m clay build (640,220 placements, 2,874 chunks, 3.61 B tris) served locally over a USB drive.
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

finding: the runtime-windows artifact builds without SDL3, so on a host with no GameInput.dll of its own (Wine) the retail executable stops at GameInputCreate — 13 D3D12 calls, before a single command list — while a Windows host masks the gap by serving its own GameInput.dll

  • Where: the artifact CI (runtime.yml windows job configures without -DLEONIDA_SDL3_FETCH=ON), and docs/gameinput.md's fallback path ("the loader binds GameInputCreate to the host's GameInput.dll if there is one").
  • Why it matters: for every Wine user the artifact's first --run of the retail package dies below the stops the project is actually tracking; one workflow flag puts the GameInput shim (SDL3 3.4.20, gamepad-only, static, about a minute of configure) into every artifact. With it, the same boot proceeds through the device, queues, fences and the first command list to the next measured stop.
  • Needs: nothing — the one-line workflow change is tested here (fork CI, artifact boots through GameInputCreate and recognizes a real pad). Ready to PR as soon as this has an ID; happy to take it.

Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07); also posted in the context of #523.

<!-- gh-comment-id:7128951535 --> @slauko commented on GitHub (Nov 24, 2026): finding: the runtime-windows artifact builds without SDL3, so on a host with no GameInput.dll of its own (Wine) the retail executable stops at GameInputCreate — 13 D3D12 calls, before a single command list — while a Windows host masks the gap by serving its own GameInput.dll - **Where:** the artifact CI (`runtime.yml` windows job configures without `-DLEONIDA_SDL3_FETCH=ON`), and `docs/gameinput.md`'s fallback path ("the loader binds GameInputCreate to the host's GameInput.dll if there is one"). - **Why it matters:** for every Wine user the artifact's first `--run` of the retail package dies below the stops the project is actually tracking; one workflow flag puts the GameInput shim (SDL3 3.4.20, gamepad-only, static, about a minute of configure) into every artifact. With it, the same boot proceeds through the device, queues, fences and the first command list to the next measured stop. - **Needs:** nothing — the one-line workflow change is tested here (fork CI, artifact boots through GameInputCreate and recognizes a real pad). Ready to PR as soon as this has an ID; happy to take it. Measured on the retail 1.0.2.1 package under Wine (Arch Linux, RTX 3080 Ti, driver 595.112.07); also posted in the context of #523.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

claiming: RT-TRAP-SUPPRESSION-RANGE — using the poke knob to measure how far the title gets when its own assumption breaks are suppressed, and where it then stops.

What I did. Same run as the comment above, but with the two int 3 traps replaced by nops in one command: LEONIDA_GUEST_POKE=game_scarlett_master:0x247af2d:90;game_scarlett_master:0x19f4f58:90. One boot on the gfx1036 iGPU with LEONIDA_D3D12=vulkan. No other change.

How far it gets. The boot goes well past where it used to stop. It reaches D3D12XboxCreateDevice, the queue, fence and allocator proxies, the command list at device slot 73 (desc words 0x0 0x2 -> node mask 0, type 0), CreateRootSignature (slot 16), CreateComputePipelineState (slot 62), CreateCommittedResource (slots 27 and 127), a heap proxy, 70 translated shaders, and two XMemVirtualAlloc calls (185 MiB attributes 0x7, 10 MiB attributes 0x27). So those two traps were what held the boot at that earlier point.

Where it stops. The process ends with 0xC0000005. The trace's last event (27 events total) is the fault: a read of 0xffffffffffffffff at host:gta6rt.exe+0x27351a, with guest frames exe+0x12b981e, +0x12b97dc, +0x12b95ab, +0x12b9320, +0x181911e. exe+0x12b981e is the return address of call qword ptr [rax+1E8h] - a call through a vtable slot at offset 0x1E8 - so the title walks a table of descriptors and hands one to a host implementation that reads -1.

Under the debugger the first access violation is elsewhere and inside the title: exe+0x1555e3b1 mov dword ptr [rax],r8d writing to 0x25364ba0000, in a fill loop that ends with cmp rdx,rsi; jb. The plain run does not report that one, so the runner handles it; I record it because it is a different fault and I have not connected the two.

What I am not claiming. I have not named gta6rt.exe+0x27351a yet, and I am not claiming the nops are a fix: they suppress checks the title itself asserts. I am reporting the distance the boot travels when they are suppressed, and the address where it then stops, because that is a different wall than the one I have been reporting.

Written with an AI assistant.

<!-- gh-comment-id:7128968492 --> @fiestorra commented on GitHub (Nov 24, 2026): claiming: RT-TRAP-SUPPRESSION-RANGE — using the poke knob to measure how far the title gets when its own assumption breaks are suppressed, and where it then stops. **What I did.** Same run as the comment above, but with the two `int 3` traps replaced by `nops` in one command: `LEONIDA_GUEST_POKE=game_scarlett_master:0x247af2d:90;game_scarlett_master:0x19f4f58:90`. One boot on the gfx1036 iGPU with `LEONIDA_D3D12=vulkan`. No other change. **How far it gets.** The boot goes well past where it used to stop. It reaches `D3D12XboxCreateDevice`, the queue, fence and allocator proxies, the command list at device slot 73 (`desc words 0x0 0x2 -> node mask 0, type 0`), `CreateRootSignature` (slot 16), `CreateComputePipelineState` (slot 62), `CreateCommittedResource` (slots 27 and 127), a heap proxy, 70 translated shaders, and two `XMemVirtualAlloc` calls (185 MiB attributes 0x7, 10 MiB attributes 0x27). So those two traps were what held the boot at that earlier point. **Where it stops.** The process ends with 0xC0000005. The trace's last event (27 events total) is the fault: a read of `0xffffffffffffffff` at `host:gta6rt.exe+0x27351a`, with guest frames `exe+0x12b981e`, `+0x12b97dc`, `+0x12b95ab`, `+0x12b9320`, `+0x181911e`. `exe+0x12b981e` is the return address of `call qword ptr [rax+1E8h]` - a call through a vtable slot at offset 0x1E8 - so the title walks a table of descriptors and hands one to a host implementation that reads -1. Under the debugger the *first* access violation is elsewhere and inside the title: `exe+0x1555e3b1 mov dword ptr [rax],r8d` writing to `0x25364ba0000`, in a fill loop that ends with `cmp rdx,rsi; jb`. The plain run does not report that one, so the runner handles it; I record it because it is a different fault and I have not connected the two. **What I am not claiming.** I have not named `gta6rt.exe+0x27351a` yet, and I am not claiming the nops are a fix: they suppress checks the title itself asserts. I am reporting the distance the boot travels when they are suppressed, and the address where it then stops, because that is a different wall than the one I have been reporting. Written with an AI assistant.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

@bobcatchris — I need the reference boot you described in comments 7125817732, 7125925105 and 7126156895, and it is not public anywhere on the board. I am working the follow-up of my own settings-flag measurements (7126682372, 7126728672): finding which stage is supposed to copy that setting into place. My runs cannot answer it, because in mine the value is 0 and I have no configuration where it is 1 to compare against.

Specific question, one breakpoint to answer: in your run that reaches game_scarlett_master.exe+0x19f4f58 after 1,655 D3D12 calls (your #445+#375+#549 combination, the preserved-shim path), what is the byte at exe+0xa9438f4 - field +0x13C of the settings object based at exe+0xa9437b8 - at the check in exe+0x24785cd? The method is in my comment 7126426622, and guest breakpoints work once the image is mapped:

bp USER32!CreateWindowExA "gu"
bp 1424785cd "db 14a9438f4 L1"

If that byte is 1 in your run, then whatever sets it is upstream of the window step, and your configuration is the reference I need to instrument the copy stage. If it is 0 there too, then nobody sets it and I will stop pursuing this and say so.

Two more things that differ between our runs and would explain it, if you can state them:

  • whether your LEONIDA_SHADERS folder contains the built bvh/index.json and the translated corpus, or the empty main index.json (comment 7126361776 is about exactly this);
  • whether your path uses the preserved XboxBvhBuilder shim or the native builder, since the root-signature refusal appears only in the native path (your own correction in 7125925105).

If you can attach the trace or the log excerpt of that run - even just the D3D12 calls before the window step - I will diff it against mine. My side is fully public already, and I can rerun any configuration you name on a gfx1036 iGPU (LEONIDA_D3D12=vulkan), including one with LEONIDA_GUEST_POKE on that byte, so I can reproduce whatever you measure.

Written with an AI assistant.

<!-- gh-comment-id:7128993121 --> @fiestorra commented on GitHub (Nov 24, 2026): @bobcatchris — I need the reference boot you described in comments 7125817732, 7125925105 and 7126156895, and it is not public anywhere on the board. I am working the follow-up of my own settings-flag measurements (7126682372, 7126728672): finding which stage is supposed to copy that setting into place. My runs cannot answer it, because in mine the value is 0 and I have no configuration where it is 1 to compare against. Specific question, one breakpoint to answer: in your run that reaches `game_scarlett_master.exe+0x19f4f58` after 1,655 D3D12 calls (your #445+#375+#549 combination, the preserved-shim path), what is the byte at `exe+0xa9438f4` - field `+0x13C` of the settings object based at `exe+0xa9437b8` - at the check in `exe+0x24785cd`? The method is in my comment 7126426622, and guest breakpoints work once the image is mapped: ``` bp USER32!CreateWindowExA "gu" bp 1424785cd "db 14a9438f4 L1" ``` If that byte is 1 in your run, then whatever sets it is upstream of the window step, and your configuration is the reference I need to instrument the copy stage. If it is 0 there too, then nobody sets it and I will stop pursuing this and say so. Two more things that differ between our runs and would explain it, if you can state them: - whether your `LEONIDA_SHADERS` folder contains the built `bvh/index.json` and the translated corpus, or the empty main `index.json` (comment 7126361776 is about exactly this); - whether your path uses the preserved XboxBvhBuilder shim or the native builder, since the root-signature refusal appears only in the native path (your own correction in 7125925105). If you can attach the trace or the log excerpt of that run - even just the D3D12 calls before the window step - I will diff it against mine. My side is fully public already, and I can rerun any configuration you name on a gfx1036 iGPU (`LEONIDA_D3D12=vulkan`), including one with `LEONIDA_GUEST_POKE` on that byte, so I can reproduce whatever you measure. Written with an AI assistant.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7824 - restoring my original PR ItsNotRexed/Leonida#7824 (startup_trace: LEONIDA_SKIP_INT3 takes effect on title threads and also steps over the int3 when Wine reports the breakpoint one byte past it), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129021661 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7824 - restoring my original PR ItsNotRexed/Leonida#7824 (startup_trace: LEONIDA_SKIP_INT3 takes effect on title threads and also steps over the int3 when Wine reports the breakpoint one byte past it), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: MAKE-GAME-VULKAN-SDK-WARN - make_game.py preflight only checks VULKAN_SDK for the pipelines stage. A Windows runtime stage with no VULKAN_SDK builds a runtime without the Vulkan D3D12 device (build_runtime.ps1 sets LEONIDA_REQUIRE_VULKAN only when it is set), and LEONIDA_D3D12=vulkan is then ignored silently. I will make preflight warn for the runtime stage, with a test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7129032727 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: MAKE-GAME-VULKAN-SDK-WARN - make_game.py preflight only checks VULKAN_SDK for the pipelines stage. A Windows runtime stage with no VULKAN_SDK builds a runtime without the Vulkan D3D12 device (build_runtime.ps1 sets LEONIDA_REQUIRE_VULKAN only when it is set), and LEONIDA_D3D12=vulkan is then ignored silently. I will make preflight warn for the runtime stage, with a test. No game files, no GPU. AI-assisted.
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

Result of RT-TRAP-SUPPRESSION-RANGE: the host function that faults, named.

I could not resolve it with the default symbol path (Symbol search path is: srv* loaded nothing for the runner). It resolves once the debugger is pointed at the directory holding the executable's own program database: cdb -G -y "<build dir>\RelWithDebInfo" -cf <script> -o <runner> --run …. With that, in the same run as the comment above:

gta6rt.exe+0x27351a ->  rt::d3d12::`anonymous namespace'::Device::CreateMetaCommand+0xa
  mov  qword ptr [rax],0
  mov  eax,80070057h
  ret

gta6rt.exe+0xff1e2  ->  rt::d3d12_xs::`anonymous namespace'::proxy_slot<61>+0x2d2

The guest side is game_scarlett_master.exe+0x12b9818 call qword ptr [rax+1E8h] - offset 0x1E8 / 8 = entry 61 of the console device vtable. So: console entry 61 is forwarded to entry 61 of the PC device's vtable, and on this device that entry is CreateMetaCommand, whose body writes a null through the out pointer and returns 0x80070057. The instruction the trace reported as "read at 0xffffffffffffffff" is that mov qword ptr [rax],0 with rax holding -1, i.e. the title passed -1 where an out pointer was expected.

What I am not claiming. I have not established that entry 61 of the console vtable is CreateMetaCommand - only that the current forwarding sends it to the PC vtable's 61st slot, which is. I have not checked the console layout against the ABI notes for entry 61, and I am not proposing a change until I do. The measurement that would settle it: list what the title passes in the arguments of that call and what it expects back, against docs/xbox_d3d12_xs.md.

Written with an AI assistant.

<!-- gh-comment-id:7129079465 --> @fiestorra commented on GitHub (Nov 24, 2026): Result of RT-TRAP-SUPPRESSION-RANGE: the host function that faults, named. I could not resolve it with the default symbol path (`Symbol search path is: srv*` loaded nothing for the runner). It resolves once the debugger is pointed at the directory holding the executable's own program database: `cdb -G -y "<build dir>\RelWithDebInfo" -cf <script> -o <runner> --run …`. With that, in the same run as the comment above: ``` gta6rt.exe+0x27351a -> rt::d3d12::`anonymous namespace'::Device::CreateMetaCommand+0xa mov qword ptr [rax],0 mov eax,80070057h ret gta6rt.exe+0xff1e2 -> rt::d3d12_xs::`anonymous namespace'::proxy_slot<61>+0x2d2 ``` The guest side is `game_scarlett_master.exe+0x12b9818 call qword ptr [rax+1E8h]` - offset 0x1E8 / 8 = entry 61 of the console device vtable. So: console entry 61 is forwarded to entry 61 of the PC device's vtable, and on this device that entry is `CreateMetaCommand`, whose body writes a null through the out pointer and returns 0x80070057. The instruction the trace reported as "read at 0xffffffffffffffff" is that `mov qword ptr [rax],0` with `rax` holding -1, i.e. the title passed -1 where an out pointer was expected. **What I am not claiming.** I have not established that entry 61 of the console vtable *is* CreateMetaCommand - only that the current forwarding sends it to the PC vtable's 61st slot, which is. I have not checked the console layout against the ABI notes for entry 61, and I am not proposing a change until I do. The measurement that would settle it: list what the title passes in the arguments of that call and what it expects back, against `docs/xbox_d3d12_xs.md`. Written with an AI assistant.
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

claiming: DECODE-MAC-LEGACY-TARGET - tools/rdna2_decode.py: decode VOP2 0x06 and VOP3 0x106 as v_mac_legacy_f32 on gfx101* (console gfx1013) vs v_fmac_legacy_f32 on gfx103*, mirroring VOP3 0x140; fixes Unsupported: v_fmac_legacy_f32 crash when translating python-disassembled gfx1013 binaries and resolves all 56 mismatches in LLVM gfx10_vop2.txt + gfx10_vop3.txt (6,934/6,934 exact).

<!-- gh-comment-id:7129092686 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): claiming: DECODE-MAC-LEGACY-TARGET - tools/rdna2_decode.py: decode VOP2 0x06 and VOP3 0x106 as v_mac_legacy_f32 on gfx101* (console gfx1013) vs v_fmac_legacy_f32 on gfx103*, mirroring VOP3 0x140; fixes Unsupported: v_fmac_legacy_f32 crash when translating python-disassembled gfx1013 binaries and resolves all 56 mismatches in LLVM gfx10_vop2.txt + gfx10_vop3.txt (6,934/6,934 exact).
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026):

done: DECODE-MAC-LEGACY-TARGET -> #637 (AI-assisted: JARVIX)

<!-- gh-comment-id:7129095879 --> @jarvixaiassistant-glitch commented on GitHub (Nov 24, 2026): done: DECODE-MAC-LEGACY-TARGET -> #637 (AI-assisted: JARVIX)
Author
Owner

@Natakout commented on GitHub (Nov 24, 2026):

claiming: PIPELINE-TIMEOUT - make_game.py pipelines stage: add --max-compile-time (default 300s) so that modules whose driver compilation exceeds the limit are skipped instead of blocking the build indefinitely. Related to #584 (RTX 5090, over 7 min per RaytracingResolve module) and the ScreenProbes modules (15-24 MB SPIR-V under wave64 emulation). Standard-library Python only; no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7129119046 --> @Natakout commented on GitHub (Nov 24, 2026): claiming: PIPELINE-TIMEOUT - make_game.py pipelines stage: add --max-compile-time (default 300s) so that modules whose driver compilation exceeds the limit are skipped instead of blocking the build indefinitely. Related to #584 (RTX 5090, over 7 min per RaytracingResolve module) and the ScreenProbes modules (15-24 MB SPIR-V under wave64 emulation). Standard-library Python only; no game files, no GPU. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: MAKE-GAME-VULKAN-SDK-WARN -> #639

<!-- gh-comment-id:7129121949 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: MAKE-GAME-VULKAN-SDK-WARN -> #639
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7824 -> #638 (restoration of ItsNotRexed/Leonida#7824)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129124177 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7824 -> #638 (restoration of ItsNotRexed/Leonida#7824) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Natakout commented on GitHub (Nov 24, 2026):

done: PIPELINE-TIMEOUT -> #640

<!-- gh-comment-id:7129135557 --> @Natakout commented on GitHub (Nov 24, 2026): done: PIPELINE-TIMEOUT -> #640
Author
Owner

@aadheel commented on GitHub (Nov 24, 2026):

claiming: SHADER-CLAMP-NAN - tools/rdna2spirv.py Gen.clamp_mods: the VOP3 clamp bit on f32/f16 results is a bare GLSL.std.450 FClamp, undefined for a NaN operand; under the game's DX10_CLAMP=1 the hardware gives +0 (gfx1036: the v_rcp_iflag_f32 run and SHADER-186). Select +0 for a NaN before FClamp, as div_fixup / cvt_pk_u8 / cvt_pknorm already do, with a semantic test. Not touching clamp_mods_f64 (#475) or the packed v_pk_* clamp. AI-assisted.

<!-- gh-comment-id:7129210484 --> @aadheel commented on GitHub (Nov 24, 2026): claiming: SHADER-CLAMP-NAN - `tools/rdna2spirv.py` `Gen.clamp_mods`: the VOP3 `clamp` bit on f32/f16 results is a bare GLSL.std.450 `FClamp`, undefined for a NaN operand; under the game's DX10_CLAMP=1 the hardware gives +0 (gfx1036: the `v_rcp_iflag_f32` run and SHADER-186). Select +0 for a NaN before `FClamp`, as div_fixup / cvt_pk_u8 / cvt_pknorm already do, with a semantic test. Not touching `clamp_mods_f64` (#475) or the packed `v_pk_*` clamp. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7423 - restoring my original PR ItsNotRexed/Leonida#7423 (pe_loader: trace delay imports that bind to an unimplemented thunk as delay_import_unimplemented, and document where delay-load and thread-attach order differ from Windows), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129211250 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7423 - restoring my original PR ItsNotRexed/Leonida#7423 (pe_loader: trace delay imports that bind to an unimplemented thunk as `delay_import_unimplemented`, and document where delay-load and thread-attach order differ from Windows), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@aadheel commented on GitHub (Nov 24, 2026):

done: SHADER-CLAMP-NAN -> #642 (AI-assisted)

<!-- gh-comment-id:7129219147 --> @aadheel commented on GitHub (Nov 24, 2026): done: SHADER-CLAMP-NAN -> #642 (AI-assisted)
Author
Owner

@dpalacios69 commented on GitHub (Nov 24, 2026):

claiming: GPU-GTX1660S-LINUX - a GPU-test record for an NVIDIA GeForce GTX 1660 SUPER (Turing TU116, 32-wide subgroups, NVIDIA 620.70 proprietary, Fedora Linux): build the Vulkan programs and run run_gpu_tests.py on current main, then add gpu-test-results/GTX1660SUPER.txt in the existing format. No Turing-on-Linux full-suite record is open or merged that I can find (#439 is Ampere on Arch, #567 and #286 are Turing on Windows).

claiming: DOC-LINUX-FEDORA-NOROOT - a short "Fedora / no root (micromamba)" section in docs/linux.md for people without apt or root: llvm-mc with the AMDGPU target and spirv-tools from conda-forge, and the Vulkan headers option. Section only, no new file; I will rebase on #607 if it lands first.

No game data used. AI-assisted.

<!-- gh-comment-id:7129234286 --> @dpalacios69 commented on GitHub (Nov 24, 2026): claiming: GPU-GTX1660S-LINUX - a GPU-test record for an NVIDIA GeForce GTX 1660 SUPER (Turing TU116, 32-wide subgroups, NVIDIA 620.70 proprietary, Fedora Linux): build the Vulkan programs and run `run_gpu_tests.py` on current `main`, then add `gpu-test-results/GTX1660SUPER.txt` in the existing format. No Turing-on-Linux full-suite record is open or merged that I can find (#439 is Ampere on Arch, #567 and #286 are Turing on Windows). claiming: DOC-LINUX-FEDORA-NOROOT - a short "Fedora / no root (micromamba)" section in `docs/linux.md` for people without `apt` or root: llvm-mc with the AMDGPU target and spirv-tools from conda-forge, and the Vulkan headers option. Section only, no new file; I will rebase on #607 if it lands first. No game data used. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7423 -> #643 (restoration of ItsNotRexed/Leonida#7423)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129280913 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7423 -> #643 (restoration of ItsNotRexed/Leonida#7423) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: D3D-RTX5070-HOST-HEAP-SYNC — guard 48-bit V# range on host-imported slot-133 buffers (runtime/shims/d3d12_vulkan_device.cpp) and mirror/sync title-written custom CPU descriptor heaps before ExecuteCommandLists (runtime/shims/d3d12_xs_device.cpp).

<!-- gh-comment-id:7129296535 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: D3D-RTX5070-HOST-HEAP-SYNC — guard 48-bit V# range on host-imported slot-133 buffers (`runtime/shims/d3d12_vulkan_device.cpp`) and mirror/sync title-written custom CPU descriptor heaps before ExecuteCommandLists (`runtime/shims/d3d12_xs_device.cpp`).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: D3D-RTX5070-HOST-HEAP-SYNC -> #644

<!-- gh-comment-id:7129298351 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: D3D-RTX5070-HOST-HEAP-SYNC -> #644
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

done: GPU-RTX3070-61088 -> #645

<!-- gh-comment-id:7129317761 --> @roanh47 commented on GitHub (Nov 24, 2026): done: GPU-RTX3070-61088 -> #645
Author
Owner

@ImLele69 commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX2070S-LINUX (GPU test record, NVIDIA RTX 2070 SUPER, Fedora 44, proprietary driver 620.70.06)

<!-- gh-comment-id:7129328609 --> @ImLele69 commented on GitHub (Nov 24, 2026): claiming: GPU-RTX2070S-LINUX (GPU test record, NVIDIA RTX 2070 SUPER, Fedora 44, proprietary driver 620.70.06)
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7481 - restoring my original PR ItsNotRexed/Leonida#7481 (rtti_scan: scan the last aligned qword of a section for a COL pointer, which the vtable loop bound skipped), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129329833 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7481 - restoring my original PR ItsNotRexed/Leonida#7481 (rtti_scan: scan the last aligned qword of a section for a COL pointer, which the vtable loop bound skipped), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@ImLele69 commented on GitHub (Nov 24, 2026):

done: GPU-RTX2070S-LINUX -> #646

<!-- gh-comment-id:7129339873 --> @ImLele69 commented on GitHub (Nov 24, 2026): done: GPU-RTX2070S-LINUX -> #646
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: SHADER-SLOAD-VCC-BASE — accept vcc ({vcc_lo, vcc_hi}, s[106:107]) as the 64-bit base pointer for SMEM s_load_dword* in tools/rdna2spirv.py (Gen.scalar_load), with semantic tests and docs/design.md contract entry (unlocks the remaining 79 library compute shaders).

<!-- gh-comment-id:7129349023 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: SHADER-SLOAD-VCC-BASE — accept `vcc` (`{vcc_lo, vcc_hi}`, `s[106:107]`) as the 64-bit base pointer for SMEM `s_load_dword*` in `tools/rdna2spirv.py` (`Gen.scalar_load`), with semantic tests and `docs/design.md` contract entry (unlocks the remaining 79 library compute shaders).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: SHADER-SLOAD-VCC-BASE -> #647

<!-- gh-comment-id:7129350603 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: SHADER-SLOAD-VCC-BASE -> #647
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: #601 and #641 answer the same device slot 73 IID, and the drop they both fix has an exact cause.

I checked #641 (ExCorvus) against the history, because it is the same wall my #601 is aimed at:

  • 3c95a4a95 is an ancestor of main, and runtime/shims/d3d12_xs_command_list_iid.h exists in that commit (3069 bytes). git log main -- <that path> is empty and git grep c3827890 main -- runtime docs finds nothing: main carries neither the file nor the GUID.
  • Of the 457 merges in 3c95a4a95..main, exactly one has a parent with the file and a result without it: 6dece9231 "Merge TreXito's unmerged PRs: translator fixes, fuzzers, CPU emulation, xapu/chad shims" (parent d2d9b2657). That is the same loss pattern PR #131 restored for the DirectStorage shim — worth checking whether other content of that merge was dropped the same way.
  • The PC half of its IID table matches the installed SDK (d3d12.h 10.0.26100.0 line 31129, ID3D12GraphicsCommandList6 = c3827890-e548-4cfa-96cf-5689a9370f80), so that mapping is verifiable rather than inferred.

Both changes touch runtime/shims/d3d12_xs_device.cpp and runtime/test/xs_proxy_mock_test.cpp, so they conflict and only one should merge. My review on #641 says merge theirs and close mine: it restores the project's own file with its provenance intact and maps the console IID to a PC interface that exists, while mine restates the constant inline and widens is_list_iid. I will re-target my docs/retail_boot_chain.md row onto whichever lands. I am keeping my claim on the wall for now so nobody triples up; if #641 merges, my #601 is the one to close.

One thing their run reaches that I have already measured, so nobody re-derives it: after the IID is answered the next stop is the title's own span check ((end − start) + a title global against 0x1FFFFF, int 3 at exe+0x247af2d), where the span value is 64 MiB chosen by the title and no allocation of that size happens in the run. With both title traps replaced by 90 through LEONIDA_GUEST_POKE (#582) the same boot continues through device entries 25, 127, 20, 16, 62, 27, 39, 41, 61 and 70 and then stops inside the runtime at proxy_slot<61> → Device::CreateMetaCommand — the console table's entry 61 forwarded to the PC device's 61st slot. That looks like the next rung on this ladder and the same kind of mapping question. Measurements: results 7128602446, 7128744918, 7128968492, 7129079465.

Written with an AI assistant.

<!-- gh-comment-id:7129360610 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: #601 and #641 answer the same device slot 73 IID, and the drop they both fix has an exact cause. I checked #641 (ExCorvus) against the history, because it is the same wall my #601 is aimed at: - `3c95a4a95` is an ancestor of `main`, and `runtime/shims/d3d12_xs_command_list_iid.h` exists in that commit (3069 bytes). `git log main -- <that path>` is empty and `git grep c3827890 main -- runtime docs` finds nothing: `main` carries neither the file nor the GUID. - Of the 457 merges in `3c95a4a95..main`, exactly one has a parent with the file and a result without it: `6dece9231` "Merge TreXito's unmerged PRs: translator fixes, fuzzers, CPU emulation, xapu/chad shims" (parent `d2d9b2657`). That is the same loss pattern PR #131 restored for the DirectStorage shim — worth checking whether other content of that merge was dropped the same way. - The PC half of its IID table matches the installed SDK (`d3d12.h` 10.0.26100.0 line 31129, `ID3D12GraphicsCommandList6` = `c3827890-e548-4cfa-96cf-5689a9370f80`), so that mapping is verifiable rather than inferred. Both changes touch `runtime/shims/d3d12_xs_device.cpp` and `runtime/test/xs_proxy_mock_test.cpp`, so they conflict and only one should merge. My review on #641 says merge theirs and close mine: it restores the project's own file with its provenance intact and maps the console IID to a PC interface that exists, while mine restates the constant inline and widens `is_list_iid`. I will re-target my `docs/retail_boot_chain.md` row onto whichever lands. I am keeping my claim on the wall for now so nobody triples up; if #641 merges, my #601 is the one to close. One thing their run reaches that I have already measured, so nobody re-derives it: after the IID is answered the next stop is the title's own span check (`(end − start) + a title global` against `0x1FFFFF`, `int 3` at `exe+0x247af2d`), where the span value is 64 MiB chosen by the title and no allocation of that size happens in the run. With both title traps replaced by `90` through `LEONIDA_GUEST_POKE` (#582) the same boot continues through device entries 25, 127, 20, 16, 62, 27, 39, 41, 61 and 70 and then stops inside the runtime at `proxy_slot<61>` → `Device::CreateMetaCommand` — the console table's entry 61 forwarded to the PC device's 61st slot. That looks like the next rung on this ladder and the same kind of mapping question. Measurements: results 7128602446, 7128744918, 7128968492, 7129079465. Written with an AI assistant.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7481 -> #648 (restoration of ItsNotRexed/Leonida#7481)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129366293 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7481 -> #648 (restoration of ItsNotRexed/Leonida#7481) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: one merge left 35 files out of main, 28 of them are still missing today, and several of them are the same work people are redoing now.

I found this while checking #641. 6dece9231 "Merge TreXito's unmerged PRs: translator fixes, fuzzers, CPU emulation, xapu/chad shims" is the only merge in 3c95a4a95..main where a parent had runtime/shims/d3d12_xs_command_list_iid.h (parent d2d9b2657) and the result did not. Checking every path that merge left out against its second parent, and then against main as it is today:

  • 35 paths are deleted relative to that parent. 7 are back in main today (runtime/shims/dstorage.cpp, dstorage_xs_abi.h, runtime/test/dstorage_test.cpp, docs/directstorage.md, the two cs_w?6?_ds_append.asm fixtures, tests/test_library_shaders_stage.py) — consistent with the restore pattern PR #131 used.
  • 28 are still absent, and none of them exists in main under another path (I checked each basename across the whole tree):
    docs/d3d12_xs_console_abi.md (231 lines), docs/exe_fail_fast.md (65), runtime/shims/d3d12_xs_alloc_size.h (145), runtime/shims/d3d12_xs_command_list_iid.h (60), runtime/shims/d3d12_xs_desc_clean.h (51), runtime/shims/d3d12_xs_pso_stream.cpp (289) and .h (62), runtime/shims/title_window.h (47), runtime/shims/xbox_bvh_builder.cpp (259), runtime/src/d3d12_xs_frame_events.h (40), runtime/test/check_tls_index0.cmake (51), check_tls_clone_cleanup.cmake (40), check_pipeline_cache_seed.cmake (31), loader_tls_index0_test.cpp (524), pso_stream_test.cpp (240), d3d12_xs_frame_events_test.cpp (36), title_window_test.cpp (90), xbox_bvh_builder_test.cpp (398), pipeline_cache_seed_test.cpp (160), d3d12_a8_dimensions_test.cpp (211), fixtures/tiny_tls_clones.cpp (11), tiny_tls_ga.cpp (31), tiny_thread_hook.cpp (13), tools/pc_checker.py (849), tests/test_pc_checker.py (120), tests/test_exe_shaders_stage.py (340), tests/semantic/test_format_decode_branch.py (69), MANGROVE.md (51).
  • git grep in today's main finds no pso_stream, desc_clean, frame_events, title_window, console_abi, xbox_bvh, pc_checker, pipeline_cache_seed or tls_index0 anywhere: those features and their checks are simply not in the tree, not renamed into something else. The build is self-consistent (no dangling references), so the removal was wholesale rather than broken.

That overlaps with live work, which is worth knowing before more people re-derive it: #641 (the IID header ✓ this note is about), #602 (d3d12_a8_dimensions_test.cpp), #549 (xbox_bvh_builder), #598 (BVH bounds). And the IID wall itself now has three open PRs doing the same thing in three ways — #445, #601 (mine) and #641 — which is a good part of why it is still unfixed. Someone should pick one; my review on #641 says merge theirs and I will close mine.

claiming: RT-RESTORE-6DECE-XS — restoring the pieces of that merge that no one else is holding and that sit on the console-ABI side of the runtime: docs/d3d12_xs_console_abi.md, docs/exe_fail_fast.md, runtime/shims/d3d12_xs_alloc_size.h, runtime/shims/d3d12_xs_desc_clean.h, runtime/shims/d3d12_xs_pso_stream.{h,cpp} with runtime/test/pso_stream_test.cpp, and runtime/src/d3d12_xs_frame_events.h with runtime/test/d3d12_xs_frame_events_test.cpp, re-wired into the current build and run through the tests. Not taking xbox_bvh_builder (#549), the A8 test (#602), the IID header (#641), or title_window.h (that was RT-GUEST-WINDOW-CLASS territory). If anyone is already restoring tools/pc_checker.py or the TLS-index checks — that is loader_tls_index0_test.cpp, 524 lines, plus check_tls_index0.cmake and check_tls_clone_cleanup.cmake, and the fixtures tiny_tls_clones.cpp/tiny_tls_ga.cpp/tiny_thread_hook.cpp — say so and I will leave them to you; the TLS cluster matters for #582 and I would rather not double it.

I am not claiming the drop was unintentional for all 28: some may have been superseded on purpose. But the pattern is the one #131 and now #641 treat as a loss to repair, and 7 of the 35 have already been put back, so I am treating these as restore candidates and will ask before touching the ones other people are holding.

Written with an AI assistant.

<!-- gh-comment-id:7129412623 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: one merge left 35 files out of `main`, 28 of them are still missing today, and several of them are the same work people are redoing now. I found this while checking #641. `6dece9231` "Merge TreXito's unmerged PRs: translator fixes, fuzzers, CPU emulation, xapu/chad shims" is the only merge in `3c95a4a95..main` where a parent had `runtime/shims/d3d12_xs_command_list_iid.h` (parent `d2d9b2657`) and the result did not. Checking every path that merge left out against its second parent, and then against `main` as it is today: - 35 paths are deleted relative to that parent. 7 are back in `main` today (`runtime/shims/dstorage.cpp`, `dstorage_xs_abi.h`, `runtime/test/dstorage_test.cpp`, `docs/directstorage.md`, the two `cs_w?6?_ds_append.asm` fixtures, `tests/test_library_shaders_stage.py`) — consistent with the restore pattern PR #131 used. - 28 are still absent, and none of them exists in `main` under another path (I checked each basename across the whole tree): `docs/d3d12_xs_console_abi.md` (231 lines), `docs/exe_fail_fast.md` (65), `runtime/shims/d3d12_xs_alloc_size.h` (145), `runtime/shims/d3d12_xs_command_list_iid.h` (60), `runtime/shims/d3d12_xs_desc_clean.h` (51), `runtime/shims/d3d12_xs_pso_stream.cpp` (289) and `.h` (62), `runtime/shims/title_window.h` (47), `runtime/shims/xbox_bvh_builder.cpp` (259), `runtime/src/d3d12_xs_frame_events.h` (40), `runtime/test/check_tls_index0.cmake` (51), `check_tls_clone_cleanup.cmake` (40), `check_pipeline_cache_seed.cmake` (31), `loader_tls_index0_test.cpp` (524), `pso_stream_test.cpp` (240), `d3d12_xs_frame_events_test.cpp` (36), `title_window_test.cpp` (90), `xbox_bvh_builder_test.cpp` (398), `pipeline_cache_seed_test.cpp` (160), `d3d12_a8_dimensions_test.cpp` (211), `fixtures/tiny_tls_clones.cpp` (11), `tiny_tls_ga.cpp` (31), `tiny_thread_hook.cpp` (13), `tools/pc_checker.py` (849), `tests/test_pc_checker.py` (120), `tests/test_exe_shaders_stage.py` (340), `tests/semantic/test_format_decode_branch.py` (69), `MANGROVE.md` (51). - `git grep` in today's `main` finds no `pso_stream`, `desc_clean`, `frame_events`, `title_window`, `console_abi`, `xbox_bvh`, `pc_checker`, `pipeline_cache_seed` or `tls_index0` anywhere: those features and their checks are simply not in the tree, not renamed into something else. The build is self-consistent (no dangling references), so the removal was wholesale rather than broken. That overlaps with live work, which is worth knowing before more people re-derive it: #641 (the IID header ✓ this note is about), #602 (`d3d12_a8_dimensions_test.cpp`), #549 (`xbox_bvh_builder`), #598 (BVH bounds). And the IID wall itself now has **three** open PRs doing the same thing in three ways — #445, #601 (mine) and #641 — which is a good part of why it is still unfixed. Someone should pick one; my review on #641 says merge theirs and I will close mine. claiming: RT-RESTORE-6DECE-XS — restoring the pieces of that merge that no one else is holding and that sit on the console-ABI side of the runtime: `docs/d3d12_xs_console_abi.md`, `docs/exe_fail_fast.md`, `runtime/shims/d3d12_xs_alloc_size.h`, `runtime/shims/d3d12_xs_desc_clean.h`, `runtime/shims/d3d12_xs_pso_stream.{h,cpp}` with `runtime/test/pso_stream_test.cpp`, and `runtime/src/d3d12_xs_frame_events.h` with `runtime/test/d3d12_xs_frame_events_test.cpp`, re-wired into the current build and run through the tests. Not taking `xbox_bvh_builder` (#549), the A8 test (#602), the IID header (#641), or `title_window.h` (that was RT-GUEST-WINDOW-CLASS territory). If anyone is already restoring `tools/pc_checker.py` or the TLS-index checks — that is `loader_tls_index0_test.cpp`, 524 lines, plus `check_tls_index0.cmake` and `check_tls_clone_cleanup.cmake`, and the fixtures `tiny_tls_clones.cpp`/`tiny_tls_ga.cpp`/`tiny_thread_hook.cpp` — say so and I will leave them to you; the TLS cluster matters for #582 and I would rather not double it. I am not claiming the drop was unintentional for all 28: some may have been superseded on purpose. But the pattern is the one #131 and now #641 treat as a loss to repair, and 7 of the 35 have already been put back, so I am treating these as restore candidates and will ask before touching the ones other people are holding. Written with an AI assistant.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7282 - restoring my original pull request, old upstream PR 7282 in ItsNotRexed/Leonida (pe_inspect: read the resource directory and the RT_VERSION block, string values only as length and SHA-256), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129422079 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7282 - restoring my original pull request, old upstream PR 7282 in `ItsNotRexed/Leonida` (pe_inspect: read the resource directory and the RT_VERSION block, string values only as length and SHA-256), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: VIEWER-CHUNK-IDLE-TIMEOUT - follow up on slauko's finding in comment 7128949696: make viewer/index.html reset the 30 s chunk download deadline as non-empty body bytes stream from response.body.getReader() (headers alone do not reset the deadline; preallocate when Content-Length is known and uncompressed; fall back to response.arrayBuffer() otherwise), with tests in tests/test_viewer_streaming.cjs. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7129434586 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: VIEWER-CHUNK-IDLE-TIMEOUT - follow up on slauko's finding in comment 7128949696: make viewer/index.html reset the 30 s chunk download deadline as non-empty body bytes stream from response.body.getReader() (headers alone do not reset the deadline; preallocate when Content-Length is known and uncompressed; fall back to response.arrayBuffer() otherwise), with tests in tests/test_viewer_streaming.cjs. No game files, no GPU. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7282 -> #649 (restoration of old upstream PR 7282)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129476133 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7282 -> #649 (restoration of old upstream PR 7282) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9916 — carry forward old-pr/9916 (draft #184) onto main: branchless out-of-range s_buffer_load* reading safely from heap base (fixes llvmpipe segfault), add regen_fixtures marker, and verify cs_smem_oob_far on RTX 5070 with Vulkan validation.

<!-- gh-comment-id:7129488140 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9916 — carry forward `old-pr/9916` (draft #184) onto `main`: branchless out-of-range `s_buffer_load*` reading safely from heap base (fixes llvmpipe segfault), add `regen_fixtures` marker, and verify `cs_smem_oob_far` on RTX 5070 with Vulkan validation.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9916 -> #650

<!-- gh-comment-id:7129489679 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9916 -> #650
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: VIEWER-CHUNK-IDLE-TIMEOUT -> #651

<!-- gh-comment-id:7129503200 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: VIEWER-CHUNK-IDLE-TIMEOUT -> #651
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7084 - restoring my original pull request, old upstream PR 7084 in ItsNotRexed/Leonida (pe_inspect: classify system DLLs on Linux through the Wine prefix's system32 and API-set schema, and match bundled DLL names without case), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129526927 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7084 - restoring my original pull request, old upstream PR 7084 in `ItsNotRexed/Leonida` (pe_inspect: classify system DLLs on Linux through the Wine prefix's system32 and API-set schema, and match bundled DLL names without case), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@xiyu215 commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4070-WIN - gpu-test-results/RTX4070.txt for an NVIDIA GeForce RTX 4070 (Ada), driver 621.01, Windows 11 25H2, on main 21625bca; built with llvm-mingw clang 23.1.5 from MSYS2 clang64 (no MSVC on the machine).

<!-- gh-comment-id:7129539918 --> @xiyu215 commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4070-WIN - gpu-test-results/RTX4070.txt for an NVIDIA GeForce RTX 4070 (Ada), driver 621.01, Windows 11 25H2, on main 21625bca; built with llvm-mingw clang 23.1.5 from MSYS2 clang64 (no MSVC on the machine).
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

finding: the same merge also removed the runtime's answer to the 64 MiB budget stop, and that is why the stop is back. This is bigger than the IID header I posted a moment ago.

While tracing what 6dece9231 left out, I checked the code inside runtime/shims/d3d12_xs_device.cpp rather than only the deleted files. There is a whole mechanism in the parent d2d9b2657 that main no longer has:

  • git grep over today's refs/remotes/succ/main gives zero hits for lease_title_resource_memory, lease_size, console_allocation_size, kTitleMemoryLeaseGuid, kXmemCommittedResourceAttributes, console_render_target_size, apply_console_placement, pc_resource_desc, d3d12_xs_alloc_size.h, d3d12_xs_desc_clean.h.
  • git show d2d9b2657:runtime/shims/d3d12_xs_device.cpp has three references to lease_title_resource_memory; git show 6dece9231…:runtime/shims/d3d12_xs_device.cpp has none. The removal has no commit of its own: git log -S lease_title_resource_memory main -- runtime shows only the addition, ae322dafc "d3d12_xs: committed resources lease their size through the title's XMem hooks (RT-5 stop 17)". So the merge dropped it, the same way it dropped the DirectStorage shim (#131) and the command-list IID header (#641).
  • Its reviewed refinement is gone too: d61755d4d "lease a render target's console tile size, not a larger PC answer (#7240 review)" — measured there: the title's range holds two 3840×2160 RGBA8 targets at 510 SW_64KB_D tiles each, AMD's Windows driver answers 513 tiles for that target, so leasing max(PC, console) overran the range and hit an int 3 in the title's hook (measured by controldebils on an RX 6900 XT). The rule after that commit was: a listed render-target shape leases its whole tiles, anything else leases the PC size.

What that explains, from my own runs on a gfx1036 iGPU with LEONIDA_D3D12=vulkan: the stop I have been reporting is exactly this. After the first descriptor heap the title computes (end − start) + a title global against 0x1FFFFF at exe+0x247af14–exe+0x247af25, int 3 at exe+0x247af2d; the value it holds is 64 MiB, chosen from two constants in the title's own data, the record is registered and retired by the title's own code, and no allocation of that size happens anywhere in the run — the range arrives at the check fully unconsumed. That is the failure mode ae322dafc was written to fix: the title expects the range to be consumed by its render targets, and 2 × 510 tiles of 64 KiB fit inside 64 MiB with room to spare; with nothing leasing the memory, the leftover is the whole 64 MiB and the bound of 2 MiB fails. My measurements of the range and its owner are in results 7128602446 and 7128744918; the run that gets past the title's own traps is 7129079465.

So the two things I posted are the same loss: the file d3d12_xs_command_list_iid.h #641 restores, and the sizing/leasing code those headers were part of. Someone should decide whether to put the mechanism back — I would read it as a strong candidate for the budget stop, but it is a behaviour change in the device proxy and I am not going to land it on my own.

claiming: I am preparing a proposal, not a merged change yet: put lease_size / lease_title_resource_memory and the slot 25 description cleaning back onto the current device proxy, plus the two documentation pages of that thread (docs/d3d12_xs_console_abi.md, and docs/exe_fail_fast.md — the latter documents tools/import_fail_fast.py, which is in main today while its documentation page is not). I am leaving xbox_bvh_builder to #549, the A8 test to #602, the IID header to #641, title_window.h to whoever wants RT-GUEST-WINDOW-CLASS, and the device present/frame-event slots to #553 and #512, which already cover 78–81. If someone with write access would rather I bring the whole cluster back in one branch — including the removed tests, pso_stream_test.cpp (240 lines) for the derived pipeline states at device slots 55/86, which no open PR covers — say which shape you want and I will do that instead.

Written with an AI assistant.

<!-- gh-comment-id:7129547085 --> @fiestorra commented on GitHub (Nov 24, 2026): finding: the same merge also removed the runtime's answer to the 64 MiB budget stop, and that is why the stop is back. This is bigger than the IID header I posted a moment ago. While tracing what `6dece9231` left out, I checked the code inside `runtime/shims/d3d12_xs_device.cpp` rather than only the deleted files. There is a whole mechanism in the parent `d2d9b2657` that `main` no longer has: - `git grep` over today's `refs/remotes/succ/main` gives **zero** hits for `lease_title_resource_memory`, `lease_size`, `console_allocation_size`, `kTitleMemoryLeaseGuid`, `kXmemCommittedResourceAttributes`, `console_render_target_size`, `apply_console_placement`, `pc_resource_desc`, `d3d12_xs_alloc_size.h`, `d3d12_xs_desc_clean.h`. - `git show d2d9b2657:runtime/shims/d3d12_xs_device.cpp` has three references to `lease_title_resource_memory`; `git show 6dece9231…:runtime/shims/d3d12_xs_device.cpp` has none. The removal has no commit of its own: `git log -S lease_title_resource_memory main -- runtime` shows only the addition, `ae322dafc` "d3d12_xs: committed resources lease their size through the title's XMem hooks (RT-5 stop 17)". So the merge dropped it, the same way it dropped the DirectStorage shim (#131) and the command-list IID header (#641). - Its reviewed refinement is gone too: `d61755d4d` "lease a render target's console tile size, not a larger PC answer (#7240 review)" — measured there: the title's range holds two 3840×2160 RGBA8 targets at 510 SW_64KB_D tiles each, AMD's Windows driver answers 513 tiles for that target, so leasing `max(PC, console)` overran the range and hit an `int 3` in the title's hook (measured by controldebils on an RX 6900 XT). The rule after that commit was: a listed render-target shape leases its whole tiles, anything else leases the PC size. What that explains, from my own runs on a `gfx1036` iGPU with `LEONIDA_D3D12=vulkan`: the stop I have been reporting is exactly this. After the first descriptor heap the title computes `(end − start) + a title global` against `0x1FFFFF` at `exe+0x247af14`–`exe+0x247af25`, `int 3` at `exe+0x247af2d`; the value it holds is 64 MiB, chosen from two constants in the title's own data, the record is registered and retired by the title's own code, and **no allocation of that size happens anywhere in the run** — the range arrives at the check fully unconsumed. That is the failure mode `ae322dafc` was written to fix: the title expects the range to be consumed by its render targets, and 2 × 510 tiles of 64 KiB fit inside 64 MiB with room to spare; with nothing leasing the memory, the leftover is the whole 64 MiB and the bound of 2 MiB fails. My measurements of the range and its owner are in results 7128602446 and 7128744918; the run that gets past the title's own traps is 7129079465. So the two things I posted are the same loss: the file `d3d12_xs_command_list_iid.h` #641 restores, and the sizing/leasing code those headers were part of. Someone should decide whether to put the mechanism back — I would read it as a strong candidate for the budget stop, but it is a behaviour change in the device proxy and I am not going to land it on my own. claiming: I am preparing a proposal, not a merged change yet: put `lease_size` / `lease_title_resource_memory` and the slot 25 description cleaning back onto the current device proxy, plus the two documentation pages of that thread (`docs/d3d12_xs_console_abi.md`, and `docs/exe_fail_fast.md` — the latter documents `tools/import_fail_fast.py`, which **is** in `main` today while its documentation page is not). I am leaving `xbox_bvh_builder` to #549, the A8 test to #602, the IID header to #641, `title_window.h` to whoever wants RT-GUEST-WINDOW-CLASS, and the device present/frame-event slots to #553 and #512, which already cover 78–81. If someone with write access would rather I bring the whole cluster back in one branch — including the removed tests, `pso_stream_test.cpp` (240 lines) for the derived pipeline states at device slots 55/86, which no open PR covers — say which shape you want and I will do that instead. Written with an AI assistant.
Author
Owner

@xiyu215 commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4070-WIN - gpu-test-results/RTX4070.txt for an NVIDIA GeForce RTX 4070 (Ada), driver 621.01, Windows 11 25H2, on main 21625bca; built with llvm-mingw clang 23.1.5 from MSYS2 clang64 (no MSVC on the machine).

<!-- gh-comment-id:7129556612 --> @xiyu215 commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4070-WIN - gpu-test-results/RTX4070.txt for an NVIDIA GeForce RTX 4070 (Ada), driver 621.01, Windows 11 25H2, on main 21625bca; built with llvm-mingw clang 23.1.5 from MSYS2 clang64 (no MSVC on the machine).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9904 — carry forward old-pr/9904 (draft #169) onto main: GPU test fixture cs_w32_saveexec_ext for the extended saveexec/wrexec ops, add regen_fixtures marker, and verify on RTX 5070 with Vulkan validation.

<!-- gh-comment-id:7129561216 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9904 — carry forward `old-pr/9904` (draft #169) onto `main`: GPU test fixture `cs_w32_saveexec_ext` for the extended `saveexec`/`wrexec` ops, add `regen_fixtures` marker, and verify on RTX 5070 with Vulkan validation.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9904 -> #654

<!-- gh-comment-id:7129562755 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9904 -> #654
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7084 -> #653 (restoration of old upstream PR 7084)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129569255 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7084 -> #653 (restoration of old upstream PR 7084) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: TEST-RPF9DUMP-WRITE-BLOCKER - fix the 2 failing tests in tests/test_rpf9dump_exit_codes.py on main (test_failed_xma_write_exits_nonzero_and_rerun_completes and test_failed_texture_write_exits_nonzero_and_withholds_manifest): commit b05999eb switched Util.WriteAtomic to unique ....partial staging names, so a .partial blocker directory no longer blocks the write. Block the destination path itself with a directory (matching tests/test_ttpf_export_resume.py:69) and verify no *.partial files leak. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7129571335 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: TEST-RPF9DUMP-WRITE-BLOCKER - fix the 2 failing tests in tests/test_rpf9dump_exit_codes.py on main (test_failed_xma_write_exits_nonzero_and_rerun_completes and test_failed_texture_write_exits_nonzero_and_withholds_manifest): commit b05999eb switched Util.WriteAtomic to unique <path>.<pid>.<tid>.<guid>.partial staging names, so a <target>.partial blocker directory no longer blocks the write. Block the destination path itself with a directory (matching tests/test_ttpf_export_resume.py:69) and verify no *.partial files leak. No game files, no GPU. AI-assisted.
Author
Owner

@promise-ssss commented on GitHub (Nov 24, 2026):

done: CI-FAILURE-LIST-ENCODING -> #652

<!-- gh-comment-id:7129573584 --> @promise-ssss commented on GitHub (Nov 24, 2026): done: CI-FAILURE-LIST-ENCODING -> #652
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: RT-RESTORE-6DECE-TLS - restoring the TLS cluster that merge 6dece9231 dropped from main (finding by fiestorra, 10:54): runtime/test/loader_tls_index0_test.cpp, check_tls_index0.cmake, check_tls_clone_cleanup.cmake and the fixtures tiny_tls_clones.cpp, tiny_tls_ga.cpp, tiny_thread_hook.cpp, taken from parent d2d9b2657 and wired into runtime/CMakeLists.txt, then built and run with ctest on Windows. The feature itself (index-0 TLS reads served from the module's own TLS) is in main; only its checks are missing. No game files, no GPU. Leaving the console-ABI pieces to RT-RESTORE-6DECE-XS. AI-assisted.

<!-- gh-comment-id:7129575681 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: RT-RESTORE-6DECE-TLS - restoring the TLS cluster that merge 6dece9231 dropped from main (finding by fiestorra, 10:54): runtime/test/loader_tls_index0_test.cpp, check_tls_index0.cmake, check_tls_clone_cleanup.cmake and the fixtures tiny_tls_clones.cpp, tiny_tls_ga.cpp, tiny_thread_hook.cpp, taken from parent d2d9b2657 and wired into runtime/CMakeLists.txt, then built and run with ctest on Windows. The feature itself (index-0 TLS reads served from the module's own TLS) is in main; only its checks are missing. No game files, no GPU. Leaving the console-ABI pieces to RT-RESTORE-6DECE-XS. AI-assisted.
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: TEST-RPF9DUMP-WRITE-BLOCKER -> #655

<!-- gh-comment-id:7129598286 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: TEST-RPF9DUMP-WRITE-BLOCKER -> #655
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: RPF9DUMP-SEGMENTS-AND-CLI - follow-up to merged #6344: guard Int64 offset+storedSize overflow and raw-block StoredSize!=Size mismatch in tools/rpf9dump/Segments.cs; check unknown options before byte-count parsing (to stderr) and parse --jobs with invariant NumberStyles.None in tools/rpf9dump/Program.cs; add tests in tests/Rpf9DumpDiagnostics/Program.cs and tests/test_rpf9dump_exit_codes.py. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7129604877 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: RPF9DUMP-SEGMENTS-AND-CLI - follow-up to merged #6344: guard Int64 offset+storedSize overflow and raw-block StoredSize!=Size mismatch in tools/rpf9dump/Segments.cs; check unknown options before byte-count parsing (to stderr) and parse --jobs with invariant NumberStyles.None in tools/rpf9dump/Program.cs; add tests in tests/Rpf9DumpDiagnostics/Program.cs and tests/test_rpf9dump_exit_codes.py. No game files, no GPU. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

withdrawing RT-RESTORE-6DECE-TLS (my claim above): on checking, runtime/test/loader_tls_index0_test.cpp calls rt::reserve_tls_index0 and relies on a "home clone" index-0 reservation, and neither exists in main. Main serves index 0 by rewriting the executable's gs:[58h] reads onto a TlsAlloc slot (pe_loader.cpp, covered by loader_tls_test with tiny_ga_tls), and the clone files are named per slot (leonida_tls_host__.dll, swept and tested in loader_tls_test.cpp), so check_tls_clone_cleanup.cmake would also need rewriting. Restoring the cluster would mean bringing back the removed mechanism (pe_loader.cpp differs from the parent by ~586 lines), which is a design decision, not a restore. Also for the finding about the 28 files: tools/pc_checker.py and tests/test_pc_checker.py were removed on purpose (5125a01f0), tests/semantic/test_format_decode_branch.py by 9ad6cc8c8 (SHADER-849), and docs/d3d12_xs_console_abi.md by the revert 57c175391. The claim is free again. AI-assisted.

<!-- gh-comment-id:7129607931 --> @DesertGamer commented on GitHub (Nov 24, 2026): withdrawing RT-RESTORE-6DECE-TLS (my claim above): on checking, runtime/test/loader_tls_index0_test.cpp calls rt::reserve_tls_index0 and relies on a "home clone" index-0 reservation, and neither exists in main. Main serves index 0 by rewriting the executable's gs:[58h] reads onto a TlsAlloc slot (pe_loader.cpp, covered by loader_tls_test with tiny_ga_tls), and the clone files are named per slot (leonida_tls_host_<pid>_<slot>.dll, swept and tested in loader_tls_test.cpp), so check_tls_clone_cleanup.cmake would also need rewriting. Restoring the cluster would mean bringing back the removed mechanism (pe_loader.cpp differs from the parent by ~586 lines), which is a design decision, not a restore. Also for the finding about the 28 files: tools/pc_checker.py and tests/test_pc_checker.py were removed on purpose (5125a01f0), tests/semantic/test_format_decode_branch.py by 9ad6cc8c8 (SHADER-849), and docs/d3d12_xs_console_abi.md by the revert 57c175391. The claim is free again. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-8904 - restoring my original pull request, old upstream PR 8904 in ItsNotRexed/Leonida (root_signature: accept a root-constants parameter of 0 values in pack() and pack_stage(), as host D3D12 does, instead of failing CreateRootSignature), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129644051 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-8904 - restoring my original pull request, old upstream PR 8904 in `ItsNotRexed/Leonida` (root_signature: accept a root-constants parameter of 0 values in pack() and pack_stage(), as host D3D12 does, instead of failing CreateRootSignature), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: RPF9DUMP-SEGMENTS-AND-CLI -> #656

<!-- gh-comment-id:7129656092 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: RPF9DUMP-SEGMENTS-AND-CLI -> #656
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-8904 -> #657 (restoration of old upstream PR 8904)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129693181 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-8904 -> #657 (restoration of old upstream PR 8904) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: OLD-9432 - restoring my original PR ItsNotRexed/Leonida#9432, closed unmerged when that repository went private (tools/semantic_mutants.py: leave docstrings alone, so op names in them are not reported as surviving mutants; a --lines range that starts inside a docstring is widened to the whole string). Tests: tests/test_semantic_mutants.py. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7129706123 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: OLD-9432 - restoring my original PR ItsNotRexed/Leonida#9432, closed unmerged when that repository went private (tools/semantic_mutants.py: leave docstrings alone, so op names in them are not reported as surviving mutants; a --lines range that starts inside a docstring is widened to the whole string). Tests: tests/test_semantic_mutants.py. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: OLD-9634 - restoring my original PR ItsNotRexed/Leonida#9634, closed unmerged when that repository went private (tests/semantic/test_salu_scc_value.py: SALU instructions leave SCC exactly 0 or 1, read back through src_scc). Test only, no translator change. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7129706903 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: OLD-9634 - restoring my original PR ItsNotRexed/Leonida#9634, closed unmerged when that repository went private (tests/semantic/test_salu_scc_value.py: SALU instructions leave SCC exactly 0 or 1, read back through src_scc). Test only, no translator change. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@LouisRiverstone commented on GitHub (Nov 24, 2026):

claiming: OLD-9910 - taking over my own old upstream PR 9910 (draft #175, old-pr/9910, SHADER-768): read_before_write_vgprs in tools/rdna2spirv.py counts v_writelane_b32 as a full write of its destination; the kept lanes are carried and become a read when something other than v_readlane_b32 reads the register before a full write. Rebased on main, with tests/semantic/test_writelane_read_before_write.py. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7129736114 --> @LouisRiverstone commented on GitHub (Nov 24, 2026): claiming: OLD-9910 - taking over my own old upstream PR 9910 (draft #175, `old-pr/9910`, SHADER-768): `read_before_write_vgprs` in `tools/rdna2spirv.py` counts `v_writelane_b32` as a full write of its destination; the kept lanes are carried and become a read when something other than `v_readlane_b32` reads the register before a full write. Rebased on main, with `tests/semantic/test_writelane_read_before_write.py`. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@dpalacios69 commented on GitHub (Nov 24, 2026):

released: GPU-GTX1660S-LINUX - not opening a PR. I ran the suite on a GTX 1660 SUPER (Turing TU116, no RT cores, NVIDIA 620.70.06, Fedora 44) at 21625bc and the result is identical to #646: 257/257 translate and pass spirv-val, native 197/248 (49 skipped), LEONIDA_W64_EMULATE=1 229/248 (17 skipped), the same two #31 failures, ctest 69/69 (2 skipped), vk_xdxr_build_test ok. Nothing new to record, so the ID is free.

Still claimed: DOC-LINUX-FEDORA-NOROOT (a "Without root (micromamba)" section in docs/linux.md).

No game data. AI-assisted.

<!-- gh-comment-id:7129736964 --> @dpalacios69 commented on GitHub (Nov 24, 2026): released: GPU-GTX1660S-LINUX - not opening a PR. I ran the suite on a GTX 1660 SUPER (Turing TU116, no RT cores, NVIDIA 620.70.06, Fedora 44) at `21625bc` and the result is identical to #646: 257/257 translate and pass `spirv-val`, native 197/248 (49 skipped), `LEONIDA_W64_EMULATE=1` 229/248 (17 skipped), the same two #31 failures, `ctest` 69/69 (2 skipped), `vk_xdxr_build_test` ok. Nothing new to record, so the ID is free. Still claimed: DOC-LINUX-FEDORA-NOROOT (a "Without root (micromamba)" section in `docs/linux.md`). No game data. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

Measurement for the slot-73 wall on the retail package (RTX 5070, Windows 11, Vulkan device, one run each, main 21625bca8 as base, each PR merged alone):

  • main: 13 D3D12 calls, call 13 ID3D12Device::CreateCommandList fails, then the title's int3.
  • main + #641, main + #601, main + #445: 1,639 calls each, the last is CreateUnorderedAccessView, then the title's int3. The counts and the last call are identical across the three.
  • Merged in pairs they conflict (#641+#601: 1 file, #641+#445: 2, #601+#445: 1), so only one can land.
    So on this machine the three are equivalent for the boot; the choice rests on code and tests, not on how far the boot goes. Not checked: code quality, behaviour after the int3, other hardware. AI-assisted.
<!-- gh-comment-id:7129741443 --> @DesertGamer commented on GitHub (Nov 24, 2026): Measurement for the slot-73 wall on the retail package (RTX 5070, Windows 11, Vulkan device, one run each, main 21625bca8 as base, each PR merged alone): - main: 13 D3D12 calls, call 13 ID3D12Device::CreateCommandList fails, then the title's int3. - main + #641, main + #601, main + #445: 1,639 calls each, the last is CreateUnorderedAccessView, then the title's int3. The counts and the last call are identical across the three. - Merged in pairs they conflict (#641+#601: 1 file, #641+#445: 2, #601+#445: 1), so only one can land. So on this machine the three are equivalent for the boot; the choice rests on code and tests, not on how far the boot goes. Not checked: code quality, behaviour after the int3, other hardware. AI-assisted.
Author
Owner

@LouisRiverstone commented on GitHub (Nov 24, 2026):

done: OLD-9910 -> #658 (replaces draft #175)

<!-- gh-comment-id:7129745871 --> @LouisRiverstone commented on GitHub (Nov 24, 2026): done: OLD-9910 -> #658 (replaces draft #175)
Author
Owner

@dpalacios69 commented on GitHub (Nov 24, 2026):

done: DOC-LINUX-FEDORA-NOROOT -> #659

AI-assisted; no game data.

<!-- gh-comment-id:7129787965 --> @dpalacios69 commented on GitHub (Nov 24, 2026): done: DOC-LINUX-FEDORA-NOROOT -> #659 AI-assisted; no game data.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: SEMANTIC-RAN-COUNT-STREAM - the parallel runner counts a module's tests by scanning the merged stdout+stderr for the first line that reads Ran N tests in, so a test that prints such a line itself can be counted instead of unittest's own summary.

@Dezmonius reported this in #issuecomment-7128362815 and offered to take it if it were added to Open work. The Open work table cannot be edited by a contributor - GitHub answers 403 Must have admin rights to Repository - so there is no way to add it there, and I am taking it rather than leaving it unowned. His finding is the starting point; if he is already on it, say so and I will drop this.

Reproduced here on Windows 11 with CPython 3.13 on merged main 21625bca8: a module whose test prints Ran 0 tests in 0.000s and flushes it is reported as 1 files, 0 tests, 0 files failed and no tests ran, and the runner exits 1, although the module ran two tests and passed. Which of the two lines wins depends on stdout buffering: when the test does not flush, its line lands after unittest's summary and the count is right; when it does, the line lands first and the count is 0. Neither the first nor the last match is reliable, which is what @Dezmonius meant about the line printed at process exit.

The fix reads the count from unittest's own stream instead of the merged output: unittest writes its summary (Ran N tests in X s) and its NO TESTS RAN to stderr, while a test's own output goes to stdout. The runner will capture the two streams apart and count from stderr.

No game files, no GPU, no special hardware; python -I tests/test_run_semantic_tests.py and the runner itself are the check. AI-assisted (MiniMax Code).

<!-- gh-comment-id:7129792469 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: SEMANTIC-RAN-COUNT-STREAM - the parallel runner counts a module's tests by scanning the merged stdout+stderr for the first line that reads `Ran N tests in`, so a test that prints such a line itself can be counted instead of unittest's own summary. @Dezmonius reported this in [#issuecomment-7128362815](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7128362815) and offered to take it if it were added to Open work. The Open work table cannot be edited by a contributor - GitHub answers `403 Must have admin rights to Repository` - so there is no way to add it there, and I am taking it rather than leaving it unowned. His finding is the starting point; if he is already on it, say so and I will drop this. Reproduced here on Windows 11 with CPython 3.13 on merged `main` `21625bca8`: a module whose test prints `Ran 0 tests in 0.000s` and flushes it is reported as `1 files, 0 tests, 0 files failed` and `no tests ran`, and the runner exits 1, although the module ran two tests and passed. Which of the two lines wins depends on stdout buffering: when the test does not flush, its line lands after unittest's summary and the count is right; when it does, the line lands first and the count is 0. Neither the first nor the last match is reliable, which is what @Dezmonius meant about the line printed at process exit. The fix reads the count from unittest's own stream instead of the merged output: unittest writes its summary (`Ran N tests in X s`) and its `NO TESTS RAN` to stderr, while a test's own output goes to stdout. The runner will capture the two streams apart and count from stderr. No game files, no GPU, no special hardware; `python -I tests/test_run_semantic_tests.py` and the runner itself are the check. AI-assisted (MiniMax Code).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-9189 - restoring my original pull request, old upstream PR 9189 in ItsNotRexed/Leonida (FramePacer: at most latency frames in flight while armed, a present into a full queue replaces the newest queued frame like a mailbox), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7129812657 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-9189 - restoring my original pull request, old upstream PR 9189 in `ItsNotRexed/Leonida` (FramePacer: at most `latency` frames in flight while armed, a present into a full queue replaces the newest queued frame like a mailbox), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: OLD-9432 -> #660 (restoration of ItsNotRexed/Leonida#9432). AI-assisted (Claude Code).

<!-- gh-comment-id:7129829862 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: OLD-9432 -> #660 (restoration of ItsNotRexed/Leonida#9432). AI-assisted (Claude Code).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: OLD-9634 -> #661 (restoration of ItsNotRexed/Leonida#9634). AI-assisted (Claude Code).

<!-- gh-comment-id:7129832688 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: OLD-9634 -> #661 (restoration of ItsNotRexed/Leonida#9634). AI-assisted (Claude Code).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: SEMANTIC-RAN-COUNT-STREAM -> #662

The parallel runner counted a module's tests by scanning the merged stdout+stderr for the first line that reads
Ran N tests in, so a test that printed such a line itself could be counted instead of unittest's own summary.
Reproduced on main 21625bca8: a module whose test prints Ran 0 tests in 0.000s and flushes it was reported
as 1 files, 0 tests, 0 files failed and no tests ran, and the runner exited 1, although the module passed.
Which line won depended on stdout buffering, so neither the first nor the last match was reliable.

The fix reads the count from unittest's own stream: unittest writes its summary and its NO TESTS RAN to stderr, and a
test's own output goes to stdout. The runner captures the two apart and counts from stderr.

Verified on Windows 11 with CPython 3.13.17: the reproduction now reports 1 files, 1 tests, 0 files failed and exits
0; python -I tests/test_run_semantic_tests.py is 20 tests, OK, with a new case covering both orders; and one
subset of the repository's own tests/semantic counts the same in parallel and in serial (18 and 18). No game files,
no GPU.

@Dezmonius reported this and offered to take it if it were in Open work; the table cannot be edited by a
contributor, so I took it rather than leave it unowned. His finding is the starting point. AI-assisted (MiniMax Code).

<!-- gh-comment-id:7129836953 --> @Mby159 commented on GitHub (Nov 24, 2026): done: SEMANTIC-RAN-COUNT-STREAM -> #662 The parallel runner counted a module's tests by scanning the merged stdout+stderr for the first line that reads `Ran N tests in`, so a test that printed such a line itself could be counted instead of unittest's own summary. Reproduced on `main` `21625bca8`: a module whose test prints `Ran 0 tests in 0.000s` and flushes it was reported as `1 files, 0 tests, 0 files failed` and `no tests ran`, and the runner exited 1, although the module passed. Which line won depended on stdout buffering, so neither the first nor the last match was reliable. The fix reads the count from unittest's own stream: unittest writes its summary and its `NO TESTS RAN` to stderr, and a test's own output goes to stdout. The runner captures the two apart and counts from stderr. Verified on Windows 11 with CPython 3.13.17: the reproduction now reports `1 files, 1 tests, 0 files failed` and exits 0; `python -I tests/test_run_semantic_tests.py` is 20 tests, OK, with a new case covering both orders; and one subset of the repository's own `tests/semantic` counts the same in parallel and in serial (18 and 18). No game files, no GPU. @Dezmonius reported this and offered to take it if it were in Open work; the table cannot be edited by a contributor, so I took it rather than leave it unowned. His finding is the starting point. AI-assisted (MiniMax Code).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: RT-PE-BLOCK-READ -> #664. Four Windows tests passed; the synthetic dry map median fell from 397.6 ms to 63.9 ms. Credit to cobrabm12 for the original patch and Wine measurements.

<!-- gh-comment-id:7129895857 --> @sodove commented on GitHub (Nov 24, 2026): done: RT-PE-BLOCK-READ -> #664. Four Windows tests passed; the synthetic dry map median fell from 397.6 ms to 63.9 ms. Credit to cobrabm12 for the original patch and Wine measurements.
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

claiming: SHADER-VCC-TUPLE-RESYNC - tools/rdna2spirv.py restore_vcc_tuples (on top of #596): the junk instruction llvm-mc prints at a rejected tuple's second word can be longer than that word, so it also swallows the instruction after the tuple. #596 drops the junk but the swallowed instruction stays missing, and the program is refused with "fall-through into undecodable words". After a restored tuple the blob will be decoded on until the stream is back on an instruction llvm-mc printed. Measured over the 2,684 compute programs of the pipeline library (1.0.2.1, llvm-mc 21.1.8): 1,684 translate on main, 1,840 with #596 + #583 + #593, 833 of the rest stop there. Synthetic fixture, corpus counts before and after. AI-assisted (Claude Code).

<!-- gh-comment-id:7129901990 --> @DadaCap commented on GitHub (Nov 24, 2026): claiming: SHADER-VCC-TUPLE-RESYNC - `tools/rdna2spirv.py` `restore_vcc_tuples` (on top of #596): the junk instruction llvm-mc prints at a rejected tuple's second word can be longer than that word, so it also swallows the instruction *after* the tuple. #596 drops the junk but the swallowed instruction stays missing, and the program is refused with "fall-through into undecodable words". After a restored tuple the blob will be decoded on until the stream is back on an instruction llvm-mc printed. Measured over the 2,684 compute programs of the pipeline library (1.0.2.1, llvm-mc 21.1.8): 1,684 translate on `main`, 1,840 with #596 + #583 + #593, 833 of the rest stop there. Synthetic fixture, corpus counts before and after. AI-assisted (Claude Code).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: requested Windows follow-up verification of #622 at d149020a. Check the runtime build, the previous independent test link failure, and stock and synthetic xmem value writes under Vulkan validation. Review only. AI-assisted.

<!-- gh-comment-id:7129902684 --> @sodove commented on GitHub (Nov 24, 2026): claiming: requested Windows follow-up verification of #622 at d149020a. Check the runtime build, the previous independent test link failure, and stock and synthetic xmem value writes under Vulkan validation. Review only. AI-assisted.
Author
Owner

@thiefyzheng commented on GitHub (Nov 24, 2026):

done: GPU-7900XTX-ARL-5060L-LINUX -> #663

<!-- gh-comment-id:7129908859 --> @thiefyzheng commented on GitHub (Nov 24, 2026): done: GPU-7900XTX-ARL-5060L-LINUX -> #663
Author
Owner

@LouisRiverstone commented on GitHub (Nov 24, 2026):

claiming: taking over six more of my own old upstream PRs (the carried-over drafts), each rebased on main as its own pull request. AI-assisted (Claude Code).

  • OLD-9923 - draft #191: docs/design.md, one copy of each rule in the Global atomics row; fcmpswap is not in its Still Unsupported list (plus the matching comment in tools/rdna2spirv.py)
  • OLD-9929 - draft #198: docs/design.md, one copy of each rule in the EXEC, v_cvt_pknorm and Wave64 mask ballot rows
  • OLD-9933 - draft #200: docs/design.md, one copy of each rule in the 16-bit interpolation without PerVertexKHR row
  • OLD-9939 - draft #206: docs/boot.md, the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271)
  • OLD-9942 - draft #209: tests/test_first_look_rebuild.py, stub the three report tools first_look.ps1 runs and check they are called (TEST-1421)
  • OLD-9943 - draft #210: runtime/test/vk_compute_test.cpp, VKC_HEAP_FILE refuses an offset of 2^32 and a file past the 4 GiB heap (RT-439)
    No game files.
<!-- gh-comment-id:7129925439 --> @LouisRiverstone commented on GitHub (Nov 24, 2026): claiming: taking over six more of my own old upstream PRs (the carried-over drafts), each rebased on main as its own pull request. AI-assisted (Claude Code). - OLD-9923 - draft #191: docs/design.md, one copy of each rule in the Global atomics row; fcmpswap is not in its Still Unsupported list (plus the matching comment in tools/rdna2spirv.py) - OLD-9929 - draft #198: docs/design.md, one copy of each rule in the EXEC, v_cvt_pknorm and Wave64 mask ballot rows - OLD-9933 - draft #200: docs/design.md, one copy of each rule in the 16-bit interpolation without PerVertexKHR row - OLD-9939 - draft #206: docs/boot.md, the Windows PowerShell 5.1 capture survives ErrorActionPreference Stop (PROC-271) - OLD-9942 - draft #209: tests/test_first_look_rebuild.py, stub the three report tools first_look.ps1 runs and check they are called (TEST-1421) - OLD-9943 - draft #210: runtime/test/vk_compute_test.cpp, VKC_HEAP_FILE refuses an offset of 2^32 and a file past the 4 GiB heap (RT-439) No game files.
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

claiming: SHADER-GSC-LOWERING — tools/spirv_gs_to_compute.py: emit implied OpCapability Shader when dropping Geometry, use OpUConvert for non-32-bit vertex indices, support OpLoad read-back of lowered output vars, strip OpDecorateId/OpDecorateString on removed vars, handle inline comments on OpEntryPoint/OpPhi/emit/return, and reject helper-function uses of removed vars or emit/stream ops instead of emitting invalid SPIR-V

<!-- gh-comment-id:7129932024 --> @hamdog0203 commented on GitHub (Nov 24, 2026): claiming: SHADER-GSC-LOWERING — tools/spirv_gs_to_compute.py: emit implied OpCapability Shader when dropping Geometry, use OpUConvert for non-32-bit vertex indices, support OpLoad read-back of lowered output vars, strip OpDecorateId/OpDecorateString on removed vars, handle inline comments on OpEntryPoint/OpPhi/emit/return, and reject helper-function uses of removed vars or emit/stream ops instead of emitting invalid SPIR-V
Author
Owner

@LouisRiverstone commented on GitHub (Nov 24, 2026):

done: OLD-9923 -> #665, OLD-9929 -> #666, OLD-9933 -> #667, OLD-9939 -> #668, OLD-9942 -> #669, OLD-9943 -> #670 (each replaces its carried-over draft: #191, #198, #200, #206, #209, #210)

<!-- gh-comment-id:7129971793 --> @LouisRiverstone commented on GitHub (Nov 24, 2026): done: OLD-9923 -> #665, OLD-9929 -> #666, OLD-9933 -> #667, OLD-9939 -> #668, OLD-9942 -> #669, OLD-9943 -> #670 (each replaces its carried-over draft: #191, #198, #200, #206, #209, #210)
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: requested Windows follow-up -> #622. Link fix verified, 3/3 stock tests and 5/5 synthetic proxy-to-xmem runs passed. Report

<!-- gh-comment-id:7129974597 --> @sodove commented on GitHub (Nov 24, 2026): done: requested Windows follow-up -> #622. Link fix verified, 3/3 stock tests and 5/5 synthetic proxy-to-xmem runs passed. [Report](https://github.com/ubiquitarianism/leonida/pull/622#issuecomment-7129974004)
Author
Owner

@naorleizer commented on GitHub (Nov 24, 2026):

offering: verification and measurement on a second machine, on request - no game data leaves it.

Rig: Windows 11 10.0.26200 x64, i9-10850K (Comet Lake - no CLWB/CLZERO), NVIDIA GeForce RTX 3070 Ti (Ampere, driver 621.24, Vulkan 1.4.357, no Resizable BAR - the upload-heap path runs in system memory), 20 threads, MSVC 14.44 RelWithDebInfo builds, byte-verified 1.0.2.1 package (108/108 SHA-256 against game/xbox-1.0.2.1.json) mounted locally, plus the movie lane (bink_index on the real movies.rpf, carved streams - see my PR #547 evidence comments).

What I can run: reproductions of findings, per-PR merge-alone measurement matrices (the shape @DesertGamer posts), full ctest + translator suite + GPU suite on request, independent Windows reviews of open PRs (review only, no commits unless asked), local boot-ladder attempts with any set of PRs merged locally, and package-gated tests nobody else runs (LEONIDA_GAME_DIR / movie lanes).

AI-assisted: yes (Hermes agent on my machine; every number is the tool's own output).

If you have a specific run you want on Windows/Ampere, say which PRs and which observation and it goes up as a measurement comment. Starting with the slot-73 wall matrix on this card now, same shape as @DesertGamer's RTX 5070 numbers.

<!-- gh-comment-id:7129976424 --> @naorleizer commented on GitHub (Nov 24, 2026): offering: verification and measurement on a second machine, on request - no game data leaves it. **Rig:** Windows 11 10.0.26200 x64, i9-10850K (Comet Lake - no CLWB/CLZERO), NVIDIA GeForce RTX 3070 Ti (Ampere, driver 621.24, Vulkan 1.4.357, **no Resizable BAR** - the upload-heap path runs in system memory), 20 threads, MSVC 14.44 RelWithDebInfo builds, byte-verified 1.0.2.1 package (108/108 SHA-256 against `game/xbox-1.0.2.1.json`) mounted locally, plus the movie lane (bink_index on the real `movies.rpf`, carved streams - see my PR #547 evidence comments). **What I can run:** reproductions of findings, per-PR merge-alone measurement matrices (the shape @DesertGamer posts), full `ctest` + translator suite + GPU suite on request, independent Windows reviews of open PRs (review only, no commits unless asked), local boot-ladder attempts with any set of PRs merged locally, and package-gated tests nobody else runs (`LEONIDA_GAME_DIR` / movie lanes). **AI-assisted:** yes (Hermes agent on my machine; every number is the tool's own output). If you have a specific run you want on Windows/Ampere, say which PRs and which observation and it goes up as a measurement comment. Starting with the slot-73 wall matrix on this card now, same shape as @DesertGamer's RTX 5070 numbers.
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

claiming: TEST-ROOT-READONLY - tests/test_awc_manifest.py and tests/test_navmesh_nodes.py each have one case that makes a file read-only (0o444) and expects the write to be refused; root ignores the mode, so both files fail in a root container. I will skip those two cases under POSIX root, the way tests/test_image_query_probe.py already does.

<!-- gh-comment-id:7129998627 --> @hugo0024 commented on GitHub (Nov 24, 2026): claiming: TEST-ROOT-READONLY - tests/test_awc_manifest.py and tests/test_navmesh_nodes.py each have one case that makes a file read-only (0o444) and expects the write to be refused; root ignores the mode, so both files fail in a root container. I will skip those two cases under POSIX root, the way tests/test_image_query_probe.py already does.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows GPU review of #644 at 23872cc. Check the stock tests and a synthetic console custom descriptor heap through submission on RTX 5070 Ti. Review only, AI-assisted.

<!-- gh-comment-id:7130002743 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows GPU review of #644 at 23872cc. Check the stock tests and a synthetic console custom descriptor heap through submission on RTX 5070 Ti. Review only, AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-9189 -> #671 (restoration of old upstream PR 9189)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7130015481 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-9189 -> #671 (restoration of old upstream PR 9189) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

done: SHADER-GSC-LOWERING -> <#672>

<!-- gh-comment-id:7130041297 --> @hamdog0203 commented on GitHub (Nov 24, 2026): done: SHADER-GSC-LOWERING -> <#672>
Author
Owner

@lines9686-rgb commented on GitHub (Nov 24, 2026):

@DadaCap, the resync you claimed is the follow-through I described on #596 at 11:06 UTC (1684 → 1768 with #596, 2519 of 2684 with the follow-through, byte-identical for everything translated before). Since you claimed it in here first, go ahead; I'll measure your PR on the same full set on Windows (llvm-mc 21.1.8) and report. One thing worth checking before it lands: of the programs this step adds, one makes our retail boot crash deterministically ~29 s in (the title reads a -1 pointer) when its module is loaded alone on top of the old set; I'm verifying its decode instruction by instruction and will post what I find.

claiming: SHADER-SMEM-VCC-BASE — SMEM whose base address comes from [vcc_lo, vcc_hi] ("s_load_dwordx4 operands sgpr vcc"): 73 programs of the 2684 still fail on this after the resync; treating the base as vcc translates 72 of them (spirv-val clean). On top of #596 + the resync. AI-assisted (Claude Code).

<!-- gh-comment-id:7130042011 --> @lines9686-rgb commented on GitHub (Nov 24, 2026): @DadaCap, the resync you claimed is the follow-through I described on #596 at 11:06 UTC (1684 → 1768 with #596, 2519 of 2684 with the follow-through, byte-identical for everything translated before). Since you claimed it in here first, go ahead; I'll measure your PR on the same full set on Windows (llvm-mc 21.1.8) and report. One thing worth checking before it lands: of the programs this step adds, one makes our retail boot crash deterministically ~29 s in (the title reads a -1 pointer) when its module is loaded alone on top of the old set; I'm verifying its decode instruction by instruction and will post what I find. claiming: SHADER-SMEM-VCC-BASE — SMEM whose base address comes from `[vcc_lo, vcc_hi]` ("s_load_dwordx4 operands sgpr vcc"): 73 programs of the 2684 still fail on this after the resync; treating the base as vcc translates 72 of them (spirv-val clean). On top of #596 + the resync. AI-assisted (Claude Code).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@naorleizer thanks, a second machine is exactly what one open item needs: the #622 startup abort.

Repro: main 21625bca8 + #622 (d149020ab) merged alone, gta6rt --run <title exe> --game-dir <package> --overlay <writable dir> --trace-d3d12, with LEONIDA_D3D12 unset (the same on vulkan), nothing else set.

On RTX 5070 / Windows 11 26200 / VS 2026 toolchain: the host process ends with 0xC0000409 (abort() inside ucrtbase) during startup, zero [d3d12-trace] lines, and no [rt] process: the game called abort() line, so it is not the title's own abort. Details: https://github.com/ubiquitarianism/leonida/pull/622#issuecomment-7129965047

What would settle it, per tree (main; main + #622; main + #601 + #417 + #387 + #546 + #360 + #207 + #602 without #622):

  • the real exit code (PowerShell $p.ExitCode after Start-Process -Wait; bash shows it modulo 256, so 0xC0000409 reads as 127),
  • the number of [d3d12-trace] lines,
  • whether the "game called abort()" line appears.
    Here: main 13 calls then the title's int3 (exit 3); the seven PRs without #622 reach 1,639 calls. If you have a debugger, a stack at abort() would find the caller, I have none.

For the slot-73 matrix on your card, my numbers for comparison: main 13 calls; #641, #601 and #445 each alone 1,639 (last call CreateUnorderedAccessView); any two of them conflict when merged. AI-assisted.

<!-- gh-comment-id:7130068650 --> @DesertGamer commented on GitHub (Nov 24, 2026): @naorleizer thanks, a second machine is exactly what one open item needs: the #622 startup abort. Repro: main 21625bca8 + #622 (d149020ab) merged alone, `gta6rt --run <title exe> --game-dir <package> --overlay <writable dir> --trace-d3d12`, with LEONIDA_D3D12 unset (the same on `vulkan`), nothing else set. On RTX 5070 / Windows 11 26200 / VS 2026 toolchain: the host process ends with 0xC0000409 (abort() inside ucrtbase) during startup, zero `[d3d12-trace]` lines, and no `[rt] process: the game called abort()` line, so it is not the title's own abort. Details: https://github.com/ubiquitarianism/leonida/pull/622#issuecomment-7129965047 What would settle it, per tree (main; main + #622; main + #601 + #417 + #387 + #546 + #360 + #207 + #602 without #622): - the real exit code (PowerShell `$p.ExitCode` after `Start-Process -Wait`; bash shows it modulo 256, so 0xC0000409 reads as 127), - the number of `[d3d12-trace]` lines, - whether the "game called abort()" line appears. Here: main 13 calls then the title's int3 (exit 3); the seven PRs without #622 reach 1,639 calls. If you have a debugger, a stack at abort() would find the caller, I have none. For the slot-73 matrix on your card, my numbers for comparison: main 13 calls; #641, #601 and #445 each alone 1,639 (last call CreateUnorderedAccessView); any two of them conflict when merged. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows GPU review -> #644. Stock 5/5. Synthetic mapped heaps exposed missing initial synchronization and stale CPU-only sources in both descriptor copy APIs. Review

<!-- gh-comment-id:7130115331 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows GPU review -> #644. Stock 5/5. Synthetic mapped heaps exposed missing initial synchronization and stale CPU-only sources in both descriptor copy APIs. [Review](https://github.com/ubiquitarianism/leonida/pull/644#issuecomment-7130114804)
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-DIV-FIXUP-NEG - tests/semantic/test_alu_div_fixup_f32.py applies the VOP3 neg source modifier only to positive inputs, so the sign flip in _raw_f32_bits (tools/rdna2spirv.py:11774, OpBitwiseXor with 0x80000000) can become OpBitwiseOr and the file still passes (tools/semantic_mutants.py --lines 11766-11776: 5 of 6 caught). I will add cases that negate a negative denominator and a negative numerator, e.g. v_div_fixup_f32 v3, v0, -v1, v2 with v0 = 2.0, v1 = -1.0, v2 = 2.0 gives 2.0 (the OR mutant gives -2.0). Test only, no translator change. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7130116391 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-DIV-FIXUP-NEG - tests/semantic/test_alu_div_fixup_f32.py applies the VOP3 `neg` source modifier only to positive inputs, so the sign flip in `_raw_f32_bits` (tools/rdna2spirv.py:11774, OpBitwiseXor with 0x80000000) can become OpBitwiseOr and the file still passes (tools/semantic_mutants.py --lines 11766-11776: 5 of 6 caught). I will add cases that negate a negative denominator and a negative numerator, e.g. `v_div_fixup_f32 v3, v0, -v1, v2` with v0 = 2.0, v1 = -1.0, v2 = 2.0 gives 2.0 (the OR mutant gives -2.0). Test only, no translator change. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

finding: scripts/run_semantic_tests.py:96 still miscounts passing tests in parallel when a nested unittest runner writes its own summary to stderr. The first summary can be Ran 0 tests, making a passing run exit 1. Synthetic reproduction and possible follow-up in the #662 review. No game files or particular hardware needed. AI-assisted.

Update: the original in-test nested-runner case is fixed in eb359333 and independently verified. A late stderr summary at process exit still affects the count; see the retest for the synthetic shutdown case.

<!-- gh-comment-id:7130148935 --> @lixonik commented on GitHub (Nov 24, 2026): finding: [`scripts/run_semantic_tests.py:96`](https://github.com/ubiquitarianism/leonida/blob/7f8d6bf930b7fe13137d82aa6b4d68bdf198611e/scripts/run_semantic_tests.py#L96) still miscounts passing tests in parallel when a nested unittest runner writes its own summary to stderr. The first summary can be `Ran 0 tests`, making a passing run exit 1. Synthetic reproduction and possible follow-up in [the #662 review](https://github.com/ubiquitarianism/leonida/pull/662#pullrequestreview-6038376097). No game files or particular hardware needed. AI-assisted. Update: the original in-test nested-runner case is fixed in `eb359333` and independently verified. A late stderr summary at process exit still affects the count; see [the retest](https://github.com/ubiquitarianism/leonida/pull/662#issuecomment-7130657626) for the synthetic shutdown case.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-DIV-FIXUP-NEG -> #673. AI-assisted (Claude Code).

<!-- gh-comment-id:7130165252 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-DIV-FIXUP-NEG -> #673. AI-assisted (Claude Code).
Author
Owner

@DotorD33p commented on GitHub (Nov 24, 2026):

claiming: support computed I/J shader pairs with --f16-interp-fallback

<!-- gh-comment-id:7130173128 --> @DotorD33p commented on GitHub (Nov 24, 2026): claiming: support computed I/J shader pairs with --f16-interp-fallback
Author
Owner

@dpalacios69 commented on GitHub (Nov 24, 2026):

finding: automated duplicate/overlap scan across 512 open PRs (snapshot 2026-11-24; stacked series like #375-#403, #424/#429, #505/#514 excluded; for maintainer triage):

  1. PROC-544 (9 i18n quickstarts): #52, #72, #73, #92, #99, #157, #199, #203 (ru only), #223, #325 — #325 and #203 are mergeable (CI cancelled/incomplete); the other 8 are currently conflicting.
  2. SHADER-1404 (image_sample UINT/SINT, tools/rdna2spirv.py): #108, #110, #132, #154, #225 — all mergeable, CI cancelled/incomplete (file counts range 3–11).
  3. MSVC build fix (acphal + console descriptor heap): #82, #87, #122, #141, #330 — all 5 currently conflicting.
  4. Slot 73 console command-list IID (d3d12_xs_device.cpp + xs_proxy_mock_test.cpp): #142, #359, #601 (RT-XS-LIST-X-IID), #641 — all 4 mergeable with 1 review each (#359/#601 have failing checks; #641 pending).
  5. v_swaprel_b32/s_movrels GPU tests (4 identical files): #85, #364 — both mergeable (#85 CI cancelled; #364 has failing checks).
  6. shader_ir docstring (tools/shader_ir.py): #91, #365 — both mergeable (#91 CI cancelled; #365 has failing checks).
  7. valu16 GPU tests (4 identical files): #134 (currently conflicting), #366 (mergeable, CI has failing checks).
  8. vfloat GPU tests (4 identical files): #135, #373 — both mergeable (#135 CI cancelled; #373 has failing checks).
  9. cs_w32_saveexec_ext (OLD-9904, 5 identical files): #169, #654 — both mergeable (CI cancelled/pending).
  10. SHADER-768 (v_writelane_b32, 2 identical files): #175, #658 (OLD-9910) — both mergeable (CI cancelled/pending).
  11. s_buffer_load OOB (OLD-9916, 8 identical files): #184, #650 — both mergeable (CI cancelled/pending).
  12. shader_disasm 64B lines (OLD-10020, 2 identical files): #289, #623 — both mergeable (CI cancelled/pending).
  13. vk_subgroup_info barycentric (OLD-10045, 3 identical files): #311, #624 — both mergeable (CI cancelled/pending).
  14. rdna2spirv vcc tuples (OLD-10062, 3 identical files): #327, #596 — both mergeable (CI cancelled/pending).
  15. xdxr_bvh inactive/NaN (OLD-10063, 2 identical files): #329, #598 — both mergeable (CI cancelled/pending).
  16. Partial overlaps: #303 (currently conflicting) vs #387 (RT-EXE-SHADERS, mergeable, CI has failing checks); RT-526 #228 vs #260 (both currently conflicting); SHADER-930 #212 vs #224 (both mergeable, CI cancelled).

Snapshot from local PR/status metadata; no code executed; AI-assisted.

<!-- gh-comment-id:7130189423 --> @dpalacios69 commented on GitHub (Nov 24, 2026): finding: automated duplicate/overlap scan across 512 open PRs (snapshot 2026-11-24; stacked series like #375-#403, #424/#429, #505/#514 excluded; for maintainer triage): 1. `PROC-544` (9 i18n quickstarts): #52, #72, #73, #92, #99, #157, #199, #203 (ru only), #223, #325 — #325 and #203 are mergeable (CI cancelled/incomplete); the other 8 are currently conflicting. 2. `SHADER-1404` (`image_sample` UINT/SINT, `tools/rdna2spirv.py`): #108, #110, #132, #154, #225 — all mergeable, CI cancelled/incomplete (file counts range 3–11). 3. MSVC build fix (`acphal` + console descriptor heap): #82, #87, #122, #141, #330 — all 5 currently conflicting. 4. Slot 73 console command-list IID (`d3d12_xs_device.cpp` + `xs_proxy_mock_test.cpp`): #142, #359, #601 (`RT-XS-LIST-X-IID`), #641 — all 4 mergeable with 1 review each (#359/#601 have failing checks; #641 pending). 5. `v_swaprel_b32`/`s_movrels` GPU tests (4 identical files): #85, #364 — both mergeable (#85 CI cancelled; #364 has failing checks). 6. `shader_ir` docstring (`tools/shader_ir.py`): #91, #365 — both mergeable (#91 CI cancelled; #365 has failing checks). 7. `valu16` GPU tests (4 identical files): #134 (currently conflicting), #366 (mergeable, CI has failing checks). 8. `vfloat` GPU tests (4 identical files): #135, #373 — both mergeable (#135 CI cancelled; #373 has failing checks). 9. `cs_w32_saveexec_ext` (`OLD-9904`, 5 identical files): #169, #654 — both mergeable (CI cancelled/pending). 10. `SHADER-768` (`v_writelane_b32`, 2 identical files): #175, #658 (`OLD-9910`) — both mergeable (CI cancelled/pending). 11. `s_buffer_load` OOB (`OLD-9916`, 8 identical files): #184, #650 — both mergeable (CI cancelled/pending). 12. `shader_disasm` 64B lines (`OLD-10020`, 2 identical files): #289, #623 — both mergeable (CI cancelled/pending). 13. `vk_subgroup_info` barycentric (`OLD-10045`, 3 identical files): #311, #624 — both mergeable (CI cancelled/pending). 14. `rdna2spirv` `vcc` tuples (`OLD-10062`, 3 identical files): #327, #596 — both mergeable (CI cancelled/pending). 15. `xdxr_bvh` inactive/NaN (`OLD-10063`, 2 identical files): #329, #598 — both mergeable (CI cancelled/pending). 16. Partial overlaps: #303 (currently conflicting) vs #387 (`RT-EXE-SHADERS`, mergeable, CI has failing checks); `RT-526` #228 vs #260 (both currently conflicting); `SHADER-930` #212 vs #224 (both mergeable, CI cancelled). Snapshot from local PR/status metadata; no code executed; AI-assisted.
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

done: SHADER-VCC-TUPLE-RESYNC -> #674 (pipeline library compute programs that translate: 1,816 -> 2,567 on top of #596)

<!-- gh-comment-id:7130197512 --> @DadaCap commented on GitHub (Nov 24, 2026): done: SHADER-VCC-TUPLE-RESYNC -> #674 (pipeline library compute programs that translate: 1,816 -> 2,567 on top of #596)
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: TEST-SOPC-UNARY-SPIRV-TOOLS - fix tests/semantic/test_sopc_validation.py and tests/semantic/test_unary_f16_validation.py so translation and spirv_mini_interp checks always run on hosts without spirv-as/spirv-val (Windows semantic-tests leg / dev PCs), while spirv-as/spirv-val validation runs in dedicated test methods that skipTest when tools are absent and LEONIDA_REQUIRE_SPIRV_TOOLS != "1" (and fail loudly when LEONIDA_REQUIRE_SPIRV_TOOLS == "1"), following ItsMrDubey's design note on draft #136. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7130256213 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: TEST-SOPC-UNARY-SPIRV-TOOLS - fix tests/semantic/test_sopc_validation.py and tests/semantic/test_unary_f16_validation.py so translation and spirv_mini_interp checks always run on hosts without spirv-as/spirv-val (Windows semantic-tests leg / dev PCs), while spirv-as/spirv-val validation runs in dedicated test methods that skipTest when tools are absent and LEONIDA_REQUIRE_SPIRV_TOOLS != "1" (and fail loudly when LEONIDA_REQUIRE_SPIRV_TOOLS == "1"), following ItsMrDubey's design note on draft #136. No game files, no GPU. AI-assisted.
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: TEST-SOPC-UNARY-SPIRV-TOOLS -> #676

<!-- gh-comment-id:7130341962 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: TEST-SOPC-UNARY-SPIRV-TOOLS -> #676
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7234 - restoring my original pull request, old upstream PR 7234 in ItsNotRexed/Leonida (d3d12_xs: a test and a docs note pinning that the root-signature flag mask, which clears bits 24-31, keeps every public D3D12_ROOT_SIGNATURE_FLAGS value), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7130351383 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7234 - restoring my original pull request, old upstream PR 7234 in `ItsNotRexed/Leonida` (d3d12_xs: a test and a docs note pinning that the root-signature flag mask, which clears bits 24-31, keeps every public D3D12_ROOT_SIGNATURE_FLAGS value), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

claiming: RT-QUEUE-HOLDS-REENTRY — runtime/src/queue_holds.h: scope in_pump() per QueueHolds instance with an RAII guard so sibling instances and exceptions cannot wedge pumping, handle re-entrant detach()/cancel_after() without self-deadlocking on pump_mutex_, and add standalone unit tests (runtime/test/queue_holds_test.cpp)

<!-- gh-comment-id:7130376907 --> @hamdog0203 commented on GitHub (Nov 24, 2026): claiming: RT-QUEUE-HOLDS-REENTRY — runtime/src/queue_holds.h: scope in_pump() per QueueHolds instance with an RAII guard so sibling instances and exceptions cannot wedge pumping, handle re-entrant detach()/cancel_after() without self-deadlocking on pump_mutex_, and add standalone unit tests (runtime/test/queue_holds_test.cpp)
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7234 -> #677 (restoration of old upstream PR 7234)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7130436901 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7234 -> #677 (restoration of old upstream PR 7234) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@liuzhenxiang33 commented on GitHub (Nov 24, 2026):

finding: TEST-ATOMIC-GUARD and SHADER-1264 already pass on main (21625bc): tests/semantic/test_image_atomics_guard.py runs 5/5 OK and tests/semantic/test_exec_computed.py runs 2/2 OK, so both rows look stale. Full semantic suite here: 465 files / 6108 tests, 1 file failed.

finding: that single failure (tests/semantic/test_int32_to_f64.py::test_constant_folded_mrt_words) is not a project bug. On linux-arm64, spirv-opt -O (SPIRV-Tools v2025.1) dies with SIGSEGV inside simplify-instructions on a module that declares OpCapability Float64 and OpExecutionMode %main SignedZeroInfNanPreserve 64; the same module passes spirv-opt -Os. spirv-as and spirv-val accept it. The test's skipUnless(which(...)) cannot detect this because the tools are present and only abort on this input shape — worth an upstream issue rather than a test change. Reproducer attached (197 lines, spirv-as then bare spirv-opt -O).

<!-- gh-comment-id:7130457792 --> @liuzhenxiang33 commented on GitHub (Nov 24, 2026): finding: `TEST-ATOMIC-GUARD` and `SHADER-1264` already pass on `main` (21625bc): `tests/semantic/test_image_atomics_guard.py` runs 5/5 OK and `tests/semantic/test_exec_computed.py` runs 2/2 OK, so both rows look stale. Full semantic suite here: 465 files / 6108 tests, 1 file failed. finding: that single failure (`tests/semantic/test_int32_to_f64.py::test_constant_folded_mrt_words`) is not a project bug. On linux-arm64, `spirv-opt -O` (SPIRV-Tools v2025.1) dies with SIGSEGV inside `simplify-instructions` on a module that declares `OpCapability Float64` and `OpExecutionMode %main SignedZeroInfNanPreserve 64`; the same module passes `spirv-opt -Os`. `spirv-as` and `spirv-val` accept it. The test's `skipUnless(which(...))` cannot detect this because the tools are present and only abort on this input shape — worth an upstream issue rather than a test change. Reproducer attached (197 lines, `spirv-as` then bare `spirv-opt -O`).
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

claiming: RT-XDXR-PAIR-DENSE — TRI1 pairing in the XDXR GPU builder saves memory. A paired build lays out its leaf records densely (one 64-byte leaf per pair, nodes right after), so the header's size, COMPACTED_SIZE and a COMPACT copy shrink by 64 bytes per pair, as tools/xdxr_bvh.py build_blas(pair=True) already lays it out. Today the sibling's leaf is left unused and nothing is saved (docs/bvh.md §7a "TRI1 pairing", "Not done yet"; README "TRI1 pairing (no memory saved yet)").

Touches runtime/src/xdxr_build.comp/.h/.inc, the check-build checks in tools/xdxr_bvh.py, docs/bvh.md. Builds on #626 (same shader). No game files; any Vulkan GPU (testing on an RTX 5070 Ti).

<!-- gh-comment-id:7130477975 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): claiming: RT-XDXR-PAIR-DENSE — TRI1 pairing in the XDXR GPU builder saves memory. A paired build lays out its leaf records densely (one 64-byte leaf per pair, nodes right after), so the header's size, `COMPACTED_SIZE` and a `COMPACT` copy shrink by 64 bytes per pair, as `tools/xdxr_bvh.py build_blas(pair=True)` already lays it out. Today the sibling's leaf is left unused and nothing is saved (`docs/bvh.md` §7a "TRI1 pairing", "Not done yet"; README "TRI1 pairing (no memory saved yet)"). Touches `runtime/src/xdxr_build.comp`/`.h`/`.inc`, the `check-build` checks in `tools/xdxr_bvh.py`, `docs/bvh.md`. Builds on #626 (same shader). No game files; any Vulkan GPU (testing on an RTX 5070 Ti).
Author
Owner

@fiestorra commented on GitHub (Nov 24, 2026):

releasing: RT-D3D12-IID-WALL, RT-CMDLIST-NEXT-TRAP, RT-2MIB-BOUND-PAST, RT-64MIB-SIZING, RT-TRAP-SUPPRESSION-RANGE and RT-RESTORE-6DECE-XS. I am leaving these open on purpose: all six are work I would not have finished on my own, and none of them is mine to hold while I am not working here.

I have moved my work on this title to another repository (Marvisak/VIctory), which is where I will be measuring from now on. That is why I am clearing my claims rather than leaving them attached to a name that will not act on them. Two things follow from the move and I would rather say them plainly than let them drift:

  • The two units I marked done are not landed. RT-GUEST-POKE-KNOB is #582 and RT-XS-LIST-X-IID is #601; I am closing both myself with a note on what each one contains, so nobody waits on a review of mine. My recommendation on the command-list interface id still stands as written in my review of #641: merge that one, since it brings back the removed header and answers the id at the point where the interface id is matched rather than only at slot 73. #601 answers the same interface id a third way and conflicts with it in runtime/shims/d3d12_xs_device.cpp and runtime/test/xs_proxy_mock_test.cpp.
  • My question to @bobcatchris in 7128993121 no longer needs an answer. I was asking for their reference start-up — the value of that byte in their run, their shader-cache setting, and whether they reach the constructor through the shim or the native builder — in order to compare two start-ups. I am not comparing them any more, so please do not spend time on it.

What I measured stays on this board and is not retracted by leaving. The order of the stops after the first descriptor heap (7128602446), the owner of the 64 MiB quantity and the fact that no allocation of that size happens in the run (7128744918, 7128968492), how far the title gets when its own int 3 checks are suppressed and where it then faults (7129079465), the interface id the title asks at device slot 73 and the interface it corresponds to in the PC SDK, the file that merge 6dece9231 left out along with 27 others it removed (7129412623), and the fact that the same merge also removed the runtime's answer to the 64 MiB budget check (7129547085) — all of that was measured here, on a gfx1036 iGPU with the Vulkan path, and it stands whatever I work on next. Anyone continuing here is welcome to take any of it without asking me.

Written with an AI assistant.

<!-- gh-comment-id:7130483199 --> @fiestorra commented on GitHub (Nov 24, 2026): releasing: `RT-D3D12-IID-WALL`, `RT-CMDLIST-NEXT-TRAP`, `RT-2MIB-BOUND-PAST`, `RT-64MIB-SIZING`, `RT-TRAP-SUPPRESSION-RANGE` and `RT-RESTORE-6DECE-XS`. I am leaving these open on purpose: all six are work I would not have finished on my own, and none of them is mine to hold while I am not working here. I have moved my work on this title to another repository (`Marvisak/VIctory`), which is where I will be measuring from now on. That is why I am clearing my claims rather than leaving them attached to a name that will not act on them. Two things follow from the move and I would rather say them plainly than let them drift: - The two units I marked `done` are not landed. `RT-GUEST-POKE-KNOB` is #582 and `RT-XS-LIST-X-IID` is #601; I am closing both myself with a note on what each one contains, so nobody waits on a review of mine. My recommendation on the command-list interface id still stands as written in my review of #641: merge that one, since it brings back the removed header and answers the id at the point where the interface id is matched rather than only at slot 73. #601 answers the same interface id a third way and conflicts with it in `runtime/shims/d3d12_xs_device.cpp` and `runtime/test/xs_proxy_mock_test.cpp`. - My question to @bobcatchris in 7128993121 no longer needs an answer. I was asking for their reference start-up — the value of that byte in their run, their shader-cache setting, and whether they reach the constructor through the shim or the native builder — in order to compare two start-ups. I am not comparing them any more, so please do not spend time on it. What I measured stays on this board and is not retracted by leaving. The order of the stops after the first descriptor heap (7128602446), the owner of the 64 MiB quantity and the fact that no allocation of that size happens in the run (7128744918, 7128968492), how far the title gets when its own `int 3` checks are suppressed and where it then faults (7129079465), the interface id the title asks at device slot 73 and the interface it corresponds to in the PC SDK, the file that merge `6dece9231` left out along with 27 others it removed (7129412623), and the fact that the same merge also removed the runtime's answer to the 64 MiB budget check (7129547085) — all of that was measured here, on a `gfx1036` iGPU with the Vulkan path, and it stands whatever I work on next. Anyone continuing here is welcome to take any of it without asking me. Written with an AI assistant.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@fiestorra you closed #601 and wrote that you moved your work on this title elsewhere. Is the proposal you claimed at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7129547085 free now (lease_size / lease_title_resource_memory back onto the device proxy, the slot 25 description cleaning, and the two doc pages)? If so I would pick it up on a fresh main, starting from your finding and the parent commits you named. I have the retail package and a Vulkan build here, so I can check whether the stop after the first descriptor heap moves (it is at 1,639 D3D12 calls on main + #641/#601/#445 on an RTX 5070). If you have a branch or notes, a pointer would save time. I will not start before you answer.

AI-assisted: yes

<!-- gh-comment-id:7130524517 --> @DesertGamer commented on GitHub (Nov 24, 2026): @fiestorra you closed #601 and wrote that you moved your work on this title elsewhere. Is the proposal you claimed at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7129547085 free now (lease_size / lease_title_resource_memory back onto the device proxy, the slot 25 description cleaning, and the two doc pages)? If so I would pick it up on a fresh main, starting from your finding and the parent commits you named. I have the retail package and a Vulkan build here, so I can check whether the stop after the first descriptor heap moves (it is at 1,639 D3D12 calls on main + #641/#601/#445 on an RTX 5070). If you have a branch or notes, a pointer would save time. I will not start before you answer. AI-assisted: yes
Author
Owner

@QemmHD commented on GitHub (Nov 24, 2026):

claiming: RT-LAZY-ATTACHMENT-VARIANT - follow-up to #511. Select the deferred Vulkan pipeline after draw validation and attachment selection. With an unbound target, replay currently compiles the full-target pipeline first and can reject a valid draw if that unused compile fails. A synthetic MSVC replay self-test reproduces the double build, premature rejection, and compilation for an invalid draw. AI-assisted (Codex).

<!-- gh-comment-id:7130582270 --> @QemmHD commented on GitHub (Nov 24, 2026): claiming: RT-LAZY-ATTACHMENT-VARIANT - follow-up to #511. Select the deferred Vulkan pipeline after draw validation and attachment selection. With an unbound target, replay currently compiles the full-target pipeline first and can reject a valid draw if that unused compile fails. A synthetic MSVC replay self-test reproduces the double build, premature rejection, and compilation for an invalid draw. AI-assisted (Codex).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-8161 - restoring my original pull request, old upstream PR 8161 in ItsNotRexed/Leonida (file_system: T: becomes a folder of each process's own in the overlay, reserved with a create-only call, so the title's crash dump and crash log no longer fail with ERROR_FILE_EXISTS on names an earlier run left), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7130586013 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-8161 - restoring my original pull request, old upstream PR 8161 in `ItsNotRexed/Leonida` (file_system: `T:` becomes a folder of each process's own in the overlay, reserved with a create-only call, so the title's crash dump and crash log no longer fail with `ERROR_FILE_EXISTS` on names an earlier run left), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

done: RT-QUEUE-HOLDS-REENTRY -> #680

<!-- gh-comment-id:7130591586 --> @hamdog0203 commented on GitHub (Nov 24, 2026): done: RT-QUEUE-HOLDS-REENTRY -> #680
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

finding: native Windows reaches a stable frame loop on the open stack; the picture is still black. main + #357 #432 #602 #427 #387 #549 #142 #219 #328 #496 #511 #207 #583 #593 #596 #674 #647, with the shaders stage run on it. Windows 11 26200, RTX 5080, MSVC, own 1.0.2.1 copy, sockets refused by #357.

measured
400 s run 901,768 PresentX ok, none failed, no exception, private memory 15-18 GB (a 560 s run peaked at 19 GB; killed by my timeout each time)
CreatePipelineState ok 50,466
per frame, for the whole run one clear, three 3-vertex DrawInstanced, no dispatch: an executable-embedded pass, PS_BlitColour (rectangle list, #207), one textured default_ps_tex
captured frames all mean rgb 0.00
file reads 4.2 GB in about 16 s, then only small ones; the worker threads wait, and in each of my three stack dumps (40-90 s) the main thread waits at the same hand-off

Correlation only: the last new platform call before the reads stop is AcpHal::SubmitCommand, accepted and dropped.

Three things for the owners of open pull requests:

  • #511 x #207: both merged, every rectangle-list PSO is refused with "the vertex shader is not a SPIR-V module": #511 clears stage.words in the stage loop and #207 reads vs_stage.words after it. With the four VS_Blit_* kept, they build. runtime/shims/d3d12_vulkan_device.cpp, PSO creation.
  • #511: with LEONIDA_LAZY_PSO=1 both boots that got there lost the device after 185 and 218 presents (nvlddmkm 13, SM warp "MMU Fault", then 153; the title reads fence value -1). With it unset, no run lost it. Both used the state above before #674; not reduced further.
  • #432 stack, MSVC: xs_proxy_mock_test does not compile: src/gfx10_descriptors.h reaches vulkan/vulkan.h, which that target has no include path for.

Needs game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7130722696 --> @DadaCap commented on GitHub (Nov 24, 2026): finding: native Windows reaches a stable frame loop on the open stack; the picture is still black. `main` + #357 #432 #602 #427 #387 #549 #142 #219 #328 #496 #511 #207 #583 #593 #596 #674 #647, with the shaders stage run on it. Windows 11 26200, RTX 5080, MSVC, own 1.0.2.1 copy, sockets refused by #357. | | measured | |---|---| | 400 s run | 901,768 `PresentX ok`, none failed, no exception, private memory 15-18 GB (a 560 s run peaked at 19 GB; killed by my timeout each time) | | `CreatePipelineState` ok | 50,466 | | per frame, for the whole run | one clear, three 3-vertex `DrawInstanced`, no dispatch: an executable-embedded pass, `PS_BlitColour` (rectangle list, #207), one textured `default_ps_tex` | | captured frames | all mean rgb 0.00 | | file reads | 4.2 GB in about 16 s, then only small ones; the worker threads wait, and in each of my three stack dumps (40-90 s) the main thread waits at the same hand-off | Correlation only: the last new platform call before the reads stop is `AcpHal::SubmitCommand`, accepted and dropped. Three things for the owners of open pull requests: - **#511 x #207**: both merged, every rectangle-list PSO is refused with "the vertex shader is not a SPIR-V module": #511 clears `stage.words` in the stage loop and #207 reads `vs_stage.words` after it. With the four `VS_Blit_*` kept, they build. `runtime/shims/d3d12_vulkan_device.cpp`, PSO creation. - **#511**: with `LEONIDA_LAZY_PSO=1` both boots that got there lost the device after 185 and 218 presents (nvlddmkm 13, SM warp "MMU Fault", then 153; the title reads fence value -1). With it unset, no run lost it. Both used the state above before #674; not reduced further. - **#432 stack, MSVC**: `xs_proxy_mock_test` does not compile: `src/gfx10_descriptors.h` reaches `vulkan/vulkan.h`, which that target has no include path for. Needs game files. AI-assisted (Claude Code).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-8161 -> #684 (restoration of old upstream PR 8161)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7130753958 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-8161 -> #684 (restoration of old upstream PR 8161) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Reproducible path for the embedded set above, as a script (the same convention as the #523 patch): https://gist.github.com/slauko/866237df72d67635172a7ae6f6810153

python3 -I extract_embedded_fssm.py XboxBvhBuilder.dll game_scarlett_master.exe --out embedded
python3 -I tools/shader_disasm.py embedded --out embedded-disasm --mcpu gfx1013 --jobs 8
python3 -I tools/rdna2spirv.py embedded-disasm --out embedded-spirv

It writes the 62 XBCH records it finds (52 in the builder, 10 in the executable) as .fssm files plus a carve-style index.json with the stage stated by the caller (--stage cs; bare FSSM records carry no DXIL header, so stage_of cannot derive it). The translator then accepts them like corpus shaders: here 52 of 62 became valid SPIR-V, and the boot's wanted hash is among them. Merging embedded-spirv/index.json into <work>/shaders/spirv/index.json (plus copying the .spv files) is what let --run get past "no translated compute shader".

Two notes for whoever turns this into a make_game.py stage: the zlib streams carry a header, so decompress with wbits 15 (the raw −15 used elsewhere rejects them), and the 10 rejected blobs fail rdna2spirv as "CS group size" — the executable-embedded variants look like a different header form, still unread.

<!-- gh-comment-id:7130881182 --> @slauko commented on GitHub (Nov 24, 2026): Reproducible path for the embedded set above, as a script (the same convention as the #523 patch): https://gist.github.com/slauko/866237df72d67635172a7ae6f6810153 ``` python3 -I extract_embedded_fssm.py XboxBvhBuilder.dll game_scarlett_master.exe --out embedded python3 -I tools/shader_disasm.py embedded --out embedded-disasm --mcpu gfx1013 --jobs 8 python3 -I tools/rdna2spirv.py embedded-disasm --out embedded-spirv ``` It writes the 62 `XBCH` records it finds (52 in the builder, 10 in the executable) as `.fssm` files plus a carve-style `index.json` with the stage stated by the caller (`--stage cs`; bare FSSM records carry no DXIL header, so `stage_of` cannot derive it). The translator then accepts them like corpus shaders: here 52 of 62 became valid SPIR-V, and the boot's wanted hash is among them. Merging `embedded-spirv/index.json` into `<work>/shaders/spirv/index.json` (plus copying the `.spv` files) is what let `--run` get past "no translated compute shader". Two notes for whoever turns this into a `make_game.py` stage: the zlib streams carry a header, so decompress with wbits 15 (the raw −15 used elsewhere rejects them), and the 10 rejected blobs fail `rdna2spirv` as "CS group size" — the executable-embedded variants look like a different header form, still unread.
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Addendum to the spill finding above, from a measurement stub: with the signature accepted and the spilled parameters fed as zeros, the first compute pipeline creates cleanly — shader selected (an embedded builder program), module and layout built, vkCreateComputePipelines succeeds, the shader-code arena allocation succeeds, S_OK back. No further D3D12 call is made; the title then walks into its own unrecoverable exit (its fatal idiom: an optional crash-handler function pointer, then a deliberate write to address zero), reached from a thread-init path that writes TLS+0x410 and makes one indirect call through its argument.

What that buys the implementation: the PSO tail is proven clean, so the only thing the title checks after the first pipeline is the spilled data itself — the fix can concentrate entirely on filling s[0:1] and the spill array, with no second gate hiding behind the pipeline creation. (The two silent failure returns in that tail — vkCreateComputePipelines and the arena allocation — now print their shader and VkResult/byte count on a local branch; happy to send that as a PR-sized change with the spill work or standalone.)

<!-- gh-comment-id:7130882391 --> @slauko commented on GitHub (Nov 24, 2026): Addendum to the spill finding above, from a measurement stub: with the signature accepted and the spilled parameters fed as zeros, the first compute pipeline **creates cleanly** — shader selected (an embedded builder program), module and layout built, `vkCreateComputePipelines` succeeds, the shader-code arena allocation succeeds, S_OK back. No further D3D12 call is made; the title then walks into its own unrecoverable exit (its fatal idiom: an optional crash-handler function pointer, then a deliberate write to address zero), reached from a thread-init path that writes TLS+0x410 and makes one indirect call through its argument. What that buys the implementation: the PSO tail is proven clean, so the only thing the title checks after the first pipeline is the **spilled data itself** — the fix can concentrate entirely on filling s[0:1] and the spill array, with no second gate hiding behind the pipeline creation. (The two silent failure returns in that tail — `vkCreateComputePipelines` and the arena allocation — now print their shader and VkResult/byte count on a local branch; happy to send that as a PR-sized change with the spill work or standalone.)
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

done: TEST-ROOT-READONLY -> #685

<!-- gh-comment-id:7130905534 --> @hugo0024 commented on GitHub (Nov 24, 2026): done: TEST-ROOT-READONLY -> #685
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-9215 - restoring my original pull request, old upstream PR 9215 in ItsNotRexed/Leonida (file_system: a GAME: RemoveDirectory and a create inside that folder on another thread are ordered as on the host, never both succeeding), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7130909581 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-9215 - restoring my original pull request, old upstream PR 9215 in `ItsNotRexed/Leonida` (file_system: a GAME: RemoveDirectory and a create inside that folder on another thread are ordered as on the host, never both succeeding), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

claiming: OLD-10056 - my own old pull request 10056 (carried over as draft #322) on the make_game --jobs tests.

Checked against main at 21625bca8: #83 pinned two of the three assertions, and the third one is still host-dependent. tests/test_make_game_pipelines.py::test_windows_reuses_the_checker_from_the_supplied_runtime_build asks for --jobs 3 and compares the value after main() clamped it to the host CPU count (leonida_tui.clamp_jobs, make_game.py:2989), so on a 2-vCPU machine the assertion reads 2 != 3.

Reproduced with os.cpu_count() patched in-process (python -I implies -E, so PYTHON_CPU_COUNT never reaches the test): 2 CPUs = 1 failure, 4 and 256 CPUs = pass. Test-only change, same idiom as #83; clamp_jobs and make_game.py untouched. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7130999631 --> @Poussistar commented on GitHub (Nov 24, 2026): claiming: OLD-10056 - my own old pull request 10056 (carried over as draft #322) on the `make_game --jobs` tests. Checked against `main` at `21625bca8`: #83 pinned two of the three assertions, and the third one is still host-dependent. `tests/test_make_game_pipelines.py::test_windows_reuses_the_checker_from_the_supplied_runtime_build` asks for `--jobs 3` and compares the value after `main()` clamped it to the host CPU count (`leonida_tui.clamp_jobs`, `make_game.py:2989`), so on a 2-vCPU machine the assertion reads `2` != `3`. Reproduced with `os.cpu_count()` patched in-process (`python -I` implies `-E`, so `PYTHON_CPU_COUNT` never reaches the test): 2 CPUs = 1 failure, 4 and 256 CPUs = pass. Test-only change, same idiom as #83; `clamp_jobs` and `make_game.py` untouched. No game files, no GPU. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-9215 -> #688 (restoration of old upstream PR 9215)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131004490 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-9215 -> #688 (restoration of old upstream PR 9215) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@QemmHD commented on GitHub (Nov 24, 2026):

claiming: RT-DEPTH-SAME-BASE-SHAPES - follow-up to #261. Accept distinct depth/UAV texture shapes placed at the same base, with independent backing for incompatible shapes and the existing shared backing for compatible aliases. Verified explicit alias barriers, full clears and per-layer readback on Windows with an RTX 4070 SUPER. The local retail integration advanced past the earlier placement failure. AI-assisted (Codex).

<!-- gh-comment-id:7131014204 --> @QemmHD commented on GitHub (Nov 24, 2026): claiming: RT-DEPTH-SAME-BASE-SHAPES - follow-up to #261. Accept distinct depth/UAV texture shapes placed at the same base, with independent backing for incompatible shapes and the existing shared backing for compatible aliases. Verified explicit alias barriers, full clears and per-layer readback on Windows with an RTX 4070 SUPER. The local retail integration advanced past the earlier placement failure. AI-assisted (Codex).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7998 - restoring my original pull request, old upstream PR 7998 in ItsNotRexed/Leonida (d3d12_device_calls: a standard-library scanner that counts, from the executable file alone, which ID3D12Device vtable slots it calls and how often), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131077757 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7998 - restoring my original pull request, old upstream PR 7998 in `ItsNotRexed/Leonida` (d3d12_device_calls: a standard-library scanner that counts, from the executable file alone, which ID3D12Device vtable slots it calls and how often), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

finding: exe-checklist round 2 (XGameSave + DirectStorage, game_scarlett_master.exe) — blob names, container-name scheme, and the console DStorage interface ids are now measured

Follow-up to my earlier findings on this exe (SHA-256 e95020b2...). Resolved the XGameSave/DStorage checklist items:

  1. XGameSave blob names (saves.md:139 — RESOLVED): the title uses exactly two static blob names. "Save Game Header" — written via XGameSaveSubmitBlobWrite as a fixed 296-byte (0x128) payload — and "Save Game Data" — written with a runtime-variable size. The read path is pinned to the Header blob: XGameSaveReadBlobData is called with a blobNames array = {"Save Game Header"} (count 1), and the enumerate callback accepts only an exact name match. Neither name is constructed at runtime.
  2. XGameSave container name (saves.md:139 — RESOLVED as a scheme): the container name is NOT a static constant. The game calls XGameSaveEnumerateContainerInfo and filters the user's existing containers with the 4-byte constant "PARC" (comparison helper is indirect; prefix-match semantics inferred; a second phase accepts "GA"-prefixed names), truncates accepted names to 41 characters, keeps them in a 32-entry table, and re-opens them via XGameSaveCreateContainer. So the container name is data-dependent (the user's save state), and the shim's "container = slot name" default is not what the title does.
  3. DStorage import surface (dstorage_xs_abi.h:7 — RESOLVED): the exe imports exactly one DirectStorage entry — XCRDAPI.dll!DStorageGetFactory (no dstorage.dll import at all) — called exactly once (the factory creating call) with the console IDStorageFactoryX iid 62959d11-d45f-4884-a0a3-f7862ea243ae. Through the factory vtable it then calls, each with its console iid: OpenFile ×2 → IDStorageFileX 43704f9f-27c6-4a9f-8815-d16527894df4 (path is WCHAR), CreateStatusArray → IDStorageStatusArrayX cd66d752-2786-44f7-9070-e2a6fdad3f1b (status array named "fiDeviceDirectStorage", capacity 1), CreateQueue1 → IDStorageQueueX1 3c02cb0c-c050-4195-99a1-a1ce94ba33c5, plus SetStagingBufferSize(0x2000000 = 32 MiB) and Release.
  4. Vtable order (dstorage_xs_abi.h:7 — CORROBORATED): every factory slot the title exercises (2, 4, 5, 8, 10) lands exactly where dstorage_xs_abi.h declares that method; notably the title uses CreateQueue1 (slot 10) and never calls CreateQueue (slot 3). Slots 3/6/7/9 are never called by this title, so they remain unverified.
  5. Interface ids (dstorage_xs_abi.h:7 — the "learn and log" values are known statically): none of the 10 declared PC DirectStorage GUIDs (including the accepted PC IDStorageStatusArray id) appears anywhere in the exe (both byte orders) — the console uses its own four iids, listed in (3). Those are the values dstorage.cpp's creating calls would discover at runtime.
  6. XGameSave quota/bounds (xgameruntime_gamesave.cpp:20 — neither confirmed nor contradicted): the title never passes a quota (no 0x40000000 in the save-system code; the quota is only queried via XGameSaveGetRemainingQuotaAsync) and nothing exercises a 256-byte blob-name buffer (real names are 16/14 bytes). Related: the title's GetContainerInfo caller explicitly handles "success without a callback" (state 0xf → 0x10) — consistent with the S_OK-on-missing-container behavior.

All claims are tied to call-site addresses in the measurement report (happy to share the full report).

<!-- gh-comment-id:7131203523 --> @tengotengo commented on GitHub (Nov 24, 2026): finding: exe-checklist round 2 (XGameSave + DirectStorage, game_scarlett_master.exe) — blob names, container-name scheme, and the console DStorage interface ids are now measured Follow-up to my earlier findings on this exe (SHA-256 e95020b2...). Resolved the XGameSave/DStorage checklist items: 1. **XGameSave blob names (saves.md:139 — RESOLVED):** the title uses exactly two static blob names. **"Save Game Header"** — written via XGameSaveSubmitBlobWrite as a fixed **296-byte (0x128)** payload — and **"Save Game Data"** — written with a runtime-variable size. The read path is pinned to the Header blob: XGameSaveReadBlobData is called with a blobNames array = {"Save Game Header"} (count 1), and the enumerate callback accepts only an exact name match. Neither name is constructed at runtime. 2. **XGameSave container name (saves.md:139 — RESOLVED as a scheme):** the container name is NOT a static constant. The game calls XGameSaveEnumerateContainerInfo and filters the user's existing containers with the 4-byte constant **"PARC"** (comparison helper is indirect; prefix-match semantics inferred; a second phase accepts "GA"-prefixed names), truncates accepted names to 41 characters, keeps them in a 32-entry table, and re-opens them via XGameSaveCreateContainer. So the container name is data-dependent (the user's save state), and the shim's "container = slot name" default is not what the title does. 3. **DStorage import surface (dstorage_xs_abi.h:7 — RESOLVED):** the exe imports exactly one DirectStorage entry — **XCRDAPI.dll!DStorageGetFactory** (no dstorage.dll import at all) — called exactly once (the factory creating call) with the console **IDStorageFactoryX** iid `62959d11-d45f-4884-a0a3-f7862ea243ae`. Through the factory vtable it then calls, each with its console iid: OpenFile ×2 → **IDStorageFileX** `43704f9f-27c6-4a9f-8815-d16527894df4` (path is WCHAR), CreateStatusArray → **IDStorageStatusArrayX** `cd66d752-2786-44f7-9070-e2a6fdad3f1b` (status array named "fiDeviceDirectStorage", capacity 1), CreateQueue1 → **IDStorageQueueX1** `3c02cb0c-c050-4195-99a1-a1ce94ba33c5`, plus SetStagingBufferSize(0x2000000 = 32 MiB) and Release. 4. **Vtable order (dstorage_xs_abi.h:7 — CORROBORATED):** every factory slot the title exercises (2, 4, 5, 8, 10) lands exactly where dstorage_xs_abi.h declares that method; notably the title uses **CreateQueue1 (slot 10) and never calls CreateQueue (slot 3)**. Slots 3/6/7/9 are never called by this title, so they remain unverified. 5. **Interface ids (dstorage_xs_abi.h:7 — the "learn and log" values are known statically):** none of the 10 declared PC DirectStorage GUIDs (including the accepted PC IDStorageStatusArray id) appears anywhere in the exe (both byte orders) — the console uses its own four iids, listed in (3). Those are the values dstorage.cpp's creating calls would discover at runtime. 6. **XGameSave quota/bounds (xgameruntime_gamesave.cpp:20 — neither confirmed nor contradicted):** the title never passes a quota (no 0x40000000 in the save-system code; the quota is only *queried* via XGameSaveGetRemainingQuotaAsync) and nothing exercises a 256-byte blob-name buffer (real names are 16/14 bytes). Related: the title's GetContainerInfo caller explicitly handles "success without a callback" (state 0xf → 0x10) — consistent with the S_OK-on-missing-container behavior. All claims are tied to call-site addresses in the measurement report (happy to share the full report).
Author
Owner

@QemmHD commented on GitHub (Nov 24, 2026):

claiming: RT-D16-UNORM-UAV - follow-up to #261 and #689. Expose a typed R16_UNORM UAV of the existing D16 storage plane where Vulkan supports the mutable view, while retaining the R16_UINT path and raw-bit copy. Verified mixed raw and normalized writes, a normalized clear, and exact per-layer readback on Windows with an RTX 4070 SUPER. The offline integration no longer rejects DXGI format 56. AI-assisted (Codex).

<!-- gh-comment-id:7131209544 --> @QemmHD commented on GitHub (Nov 24, 2026): claiming: RT-D16-UNORM-UAV - follow-up to #261 and #689. Expose a typed R16_UNORM UAV of the existing D16 storage plane where Vulkan supports the mutable view, while retaining the R16_UINT path and raw-bit copy. Verified mixed raw and normalized writes, a normalized clear, and exact per-layer readback on Windows with an RTX 4070 SUPER. The offline integration no longer rejects DXGI format 56. AI-assisted (Codex).
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

claiming: RT-LAZY-PSO-RECT-LIST — fix the interaction between #511 and #207/#682 in graphics PSO creation. #511 clears stage.words while walking the stages; the rectangle-list path then reads vs_stage.words and refuses the PSO with "the vertex shader is not a SPIR-V module". I will preserve the vertex-stage words needed by rect_list_geometry until that decision is made (or compute the geometry before lazy cleanup), and add a synthetic MSVC regression that enables LEONIDA_LAZY_PSO=1 and creates a topology-19 PSO. No game files or GPU required for the regression; retail verification will follow on Windows/RTX 3070 if the boot reaches that path.

Evidence: DadaCap's native-Windows finding in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7130722696. Builds on #511 and #682; not taking #681's deferred attachment-selection work.

AI-assisted (DeepSeek v4.1 Flash 1017).

<!-- gh-comment-id:7131210465 --> @roanh47 commented on GitHub (Nov 24, 2026): claiming: RT-LAZY-PSO-RECT-LIST — fix the interaction between #511 and #207/#682 in graphics PSO creation. #511 clears `stage.words` while walking the stages; the rectangle-list path then reads `vs_stage.words` and refuses the PSO with "the vertex shader is not a SPIR-V module". I will preserve the vertex-stage words needed by `rect_list_geometry` until that decision is made (or compute the geometry before lazy cleanup), and add a synthetic MSVC regression that enables `LEONIDA_LAZY_PSO=1` and creates a topology-19 PSO. No game files or GPU required for the regression; retail verification will follow on Windows/RTX 3070 if the boot reaches that path. Evidence: DadaCap's native-Windows finding in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7130722696. Builds on #511 and #682; not taking #681's deferred attachment-selection work. AI-assisted (DeepSeek v4.1 Flash 1017).
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

claiming: D16 XYZ full-EXEC destination classification follow-up to #265. PortBridge linked ecox982745’s Reforge correction to Continued. The original four-file change applies to 21625bca8c67, and the focused plus neighboring CPU checks passed 137/137. I prepared the standalone change with ecox982745’s Git authorship preserved. Prior report and test details.

<!-- gh-comment-id:7131221270 --> @akimfomin commented on GitHub (Nov 24, 2026): claiming: D16 XYZ full-EXEC destination classification follow-up to #265. [PortBridge](https://github.com/akimfomin/PortBridge) linked [ecox982745’s Reforge correction](https://github.com/ecox982745/Leonida/commit/a300ba63d1a9a4cdfde1d64f136728545b4ab7b8) to Continued. The original four-file change applies to `21625bca8c67`, and the focused plus neighboring CPU checks passed 137/137. I prepared the standalone change with ecox982745’s Git authorship preserved. [Prior report and test details](https://github.com/akimfomin/PortBridge/issues/4).
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

Author restorations for our original pull requests:

  • \done: OLD-9768 -> #693\ (pe_inspect: parse and validate PE export forwarders table — replaces draft #45)
  • \done: OLD-9775 -> #694\ (pe_shader_containers: parse and validate multi-image container layouts — replaces draft #53)
  • \done: OLD-9792 -> #696\ (find_hash_lookup: clamp raw section sizes and validate window and top parameters — replaces draft #70)
  • \done: OLD-7796 -> #698\ (pe_inspect: parse and validate x64 pdata exception directory table)

All four PRs are clean, fully tested (standard library only), rebased against current \main\ at \21625bca8\ (0 conflicts), with original commit provenance and author attribution preserved.

<!-- gh-comment-id:7131234743 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): Author restorations for our original pull requests: - \done: OLD-9768 -> #693\ (pe_inspect: parse and validate PE export forwarders table — replaces draft #45) - \done: OLD-9775 -> #694\ (pe_shader_containers: parse and validate multi-image container layouts — replaces draft #53) - \done: OLD-9792 -> #696\ (find_hash_lookup: clamp raw section sizes and validate window and top parameters — replaces draft #70) - \done: OLD-7796 -> #698\ (pe_inspect: parse and validate x64 pdata exception directory table) All four PRs are clean, fully tested (standard library only), rebased against current \main\ at \21625bca8\ (0 conflicts), with original commit provenance and author attribution preserved.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7998 -> #697 (restoration of old upstream PR 7998)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131241201 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7998 -> #697 (restoration of old upstream PR 7998) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

done: OLD-10056 -> #692 (test-only pin of the hardware threads in the one --jobs assertion #83 missed; #322 is the verbatim carry-over and conflicts with main). AI-assisted.

<!-- gh-comment-id:7131294293 --> @Poussistar commented on GitHub (Nov 24, 2026): done: OLD-10056 -> #692 (test-only pin of the hardware threads in the one `--jobs` assertion #83 missed; #322 is the verbatim carry-over and conflicts with `main`). AI-assisted.
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: GALLERY-PORT-BIND-AND-URL - fix tools/gallery.py listening socket setup on Windows (disable SO_REUSEADDR double-bind via allow_reuse_address = os.name != "nt"), use actual bound httpd.server_port for --port 0 URL/browser launch, and close httpd in finally; add real-socket regression tests in tests/test_gallery.py.

<!-- gh-comment-id:7131322740 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: GALLERY-PORT-BIND-AND-URL - fix `tools/gallery.py` listening socket setup on Windows (disable `SO_REUSEADDR` double-bind via `allow_reuse_address = os.name != "nt"`), use actual bound `httpd.server_port` for `--port 0` URL/browser launch, and close `httpd` in `finally`; add real-socket regression tests in `tests/test_gallery.py`.
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: GALLERY-PORT-BIND-AND-URL -> #700 (https://github.com/ubiquitarianism/leonida/pull/700)

<!-- gh-comment-id:7131369353 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: GALLERY-PORT-BIND-AND-URL -> #700 (https://github.com/ubiquitarianism/leonida/pull/700)
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: VIEWER-STUDIO-TEXTURE-ESCAPE - escape texture preview URL and format fields with escapeHtml in viewer/studio.html renderTexturesGrid (both initial batch and show-all batch) and add regression coverage in tests/test_viewer_studio.cjs.

<!-- gh-comment-id:7131376751 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: VIEWER-STUDIO-TEXTURE-ESCAPE - escape texture preview URL and format fields with `escapeHtml` in `viewer/studio.html` `renderTexturesGrid` (both initial batch and show-all batch) and add regression coverage in `tests/test_viewer_studio.cjs`.
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

done: D16 XYZ full-EXEC destination classification -> #701. PortBridge matched the Reforge fix to Continued and verified the exact transfer on CPU. #701 has the original author credit and test record.

<!-- gh-comment-id:7131392549 --> @akimfomin commented on GitHub (Nov 24, 2026): done: D16 XYZ full-EXEC destination classification -> #701. [PortBridge](https://github.com/akimfomin/PortBridge) matched the Reforge fix to Continued and verified the exact transfer on CPU. #701 has the original author credit and test record.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-8414 - restoring my original pull request, old upstream PR 8414 in ItsNotRexed/Leonida (d3d12: arena AS resources take their GPU address from vkGetAccelerationStructureDeviceAddressKHR instead of assuming buffer address + offset), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131404028 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-8414 - restoring my original pull request, old upstream PR 8414 in `ItsNotRexed/Leonida` (d3d12: arena AS resources take their GPU address from vkGetAccelerationStructureDeviceAddressKHR instead of assuming buffer address + offset), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: VIEWER-STUDIO-TEXTURE-ESCAPE -> #704 (https://github.com/ubiquitarianism/leonida/pull/704)

<!-- gh-comment-id:7131412658 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: VIEWER-STUDIO-TEXTURE-ESCAPE -> #704 (https://github.com/ubiquitarianism/leonida/pull/704)
Author
Owner

@pwu2775-dev commented on GitHub (Nov 24, 2026):

@xiyu215 GPU-RTX4070 was claimed earlier (claim, done in #534), and #534 is open: it adds gpu-test-results/RTX4070.txt for an RTX 4070 on Windows 11, driver 617.42, MSVC build, main at c023a365 (native 197/248, LEONIDA_W64_EMULATE=1 229/248, the two tfe fixtures failing as in #31).

Your GPU-RTX4070-WIN would write the same file name. A second record with a different driver (621.01) and toolchain (llvm-mingw) is useful data, so rather than drop it I suggest a different file name, for example RTX4070-621.01-llvm-mingw.txt, or waiting until #534 merges and adding yours next to it. If the maintainers prefer another naming convention for several records of one GPU, I will rename mine in #534.

AI-assisted (Claude Code).

<!-- gh-comment-id:7131423115 --> @pwu2775-dev commented on GitHub (Nov 24, 2026): @xiyu215 `GPU-RTX4070` was claimed earlier ([claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124319956), `done` in [#534](https://github.com/ubiquitarianism/leonida/pull/534)), and #534 is open: it adds `gpu-test-results/RTX4070.txt` for an RTX 4070 on Windows 11, driver 617.42, MSVC build, `main` at `c023a365` (native 197/248, `LEONIDA_W64_EMULATE=1` 229/248, the two `tfe` fixtures failing as in #31). Your `GPU-RTX4070-WIN` would write the same file name. A second record with a different driver (621.01) and toolchain (llvm-mingw) is useful data, so rather than drop it I suggest a different file name, for example `RTX4070-621.01-llvm-mingw.txt`, or waiting until #534 merges and adding yours next to it. If the maintainers prefer another naming convention for several records of one GPU, I will rename mine in #534. AI-assisted (Claude Code).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

claiming: RT-RESTORE-6DECE-PC-CHECKER - restoring tools/pc_checker.py (849 lines) and tests/test_pc_checker.py (120), the two files of the 6dece9231 drop that are not in the RT-RESTORE-6DECE-XS list and that fiestorra's finding left explicitly open ("If anyone is already restoring tools/pc_checker.py ... say so and I will leave them to you").

What. tools/pc_checker.py compares the machine's CPU, GPU and RAM against the community reference specs (Xbox Series X by default): it detects the hardware itself, scores each part against a rough relative table and prints a verdict - a tkinter window a launcher can raise before the title starts, --cli for the same text, --check for the verdict as the exit code (0 good, 1 weak, 2 unknown), --json for a launcher to read. Standard library only.

Why it matters. git grep pc_checker finds nothing in today's main. The file was in main's history at d2d9b2657 and the bulk merge 6dece9231 left it out along with 34 other paths; the build is self-consistent, so the tool and the 26 tests that guarded it are simply gone.

Hardware. None needed: no game files, no GPU, no network. The scoring tables and the verdict are pure functions, and python -I tests/test_pc_checker.py gives 26 tests on main 21625bca8.

I am not touching docs/exe_fail_fast.md (part of RT-RESTORE-6DECE-XS) or the TLS-index cluster (loader_tls_index0_test.cpp and its fixtures), which DesertGamer already looked at.

AI-assisted: yes.

<!-- gh-comment-id:7131446095 --> @Mby159 commented on GitHub (Nov 24, 2026): claiming: RT-RESTORE-6DECE-PC-CHECKER - restoring `tools/pc_checker.py` (849 lines) and `tests/test_pc_checker.py` (120), the two files of the `6dece9231` drop that are not in the RT-RESTORE-6DECE-XS list and that fiestorra's finding left explicitly open ("If anyone is already restoring `tools/pc_checker.py` ... say so and I will leave them to you"). **What.** `tools/pc_checker.py` compares the machine's CPU, GPU and RAM against the community reference specs (Xbox Series X by default): it detects the hardware itself, scores each part against a rough relative table and prints a verdict - a tkinter window a launcher can raise before the title starts, `--cli` for the same text, `--check` for the verdict as the exit code (0 good, 1 weak, 2 unknown), `--json` for a launcher to read. Standard library only. **Why it matters.** `git grep pc_checker` finds nothing in today's `main`. The file was in `main`'s history at `d2d9b2657` and the bulk merge `6dece9231` left it out along with 34 other paths; the build is self-consistent, so the tool and the 26 tests that guarded it are simply gone. **Hardware.** None needed: no game files, no GPU, no network. The scoring tables and the verdict are pure functions, and `python -I tests/test_pc_checker.py` gives 26 tests on `main` `21625bca8`. I am not touching `docs/exe_fail_fast.md` (part of RT-RESTORE-6DECE-XS) or the TLS-index cluster (`loader_tls_index0_test.cpp` and its fixtures), which DesertGamer already looked at. AI-assisted: yes.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: second machine reaches the frame loop with a smaller stack - main 21625bca8 + #142 #427 #219 #602 #387 #357 #432 (seven PRs; #219 merged by hand, it conflicts with main).

Windows 11, RTX 5070, driver 617.14, LEONIDA_D3D12=vulkan, translated shaders from LEONIDA_SHADERS, own 1.0.2.1 copy, gta6rt --run for 420 s (my timeout ends it): 888,983 PresentX ok, 32,070,041 D3D12 calls, no exception, 10,243 CreateLifetimeTracker unsupported, 4 failed calls. That matches @DadaCap's 901,768 presents in 400 s on an RTX 5080 above.

What each step removed, one stop at a time (call counts are D3D12 trace numbers):

stop on the stack so far cleared by calls at the stop
device slot 73 command list #142 (#601 / #641 give the same) 13
int3 after the first CreateUnorderedAccessView #427 or #432 (either alone, with #142) 1,639
host fault in proxy_slot<108>: RDX is the device, RCX is not an object #219 (rebase needed, see my comment there) 11,916
GetResourceAllocationInfo format 65 (A8_UNORM) #602 11,958
game fault on a 10^9-sized value read as a pointer, 1 PresentX #432 (fence slot 12) 62,565

I did not remove #427, #357 or #387 one by one, so which of them the frame loop needs is not measured. Needs game files. No game data above: slot numbers, counts and a format number only.

AI-assisted: yes

<!-- gh-comment-id:7131480453 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: second machine reaches the frame loop with a smaller stack - `main` 21625bca8 + #142 #427 #219 #602 #387 #357 #432 (seven PRs; #219 merged by hand, it conflicts with main). Windows 11, RTX 5070, driver 617.14, `LEONIDA_D3D12=vulkan`, translated shaders from `LEONIDA_SHADERS`, own 1.0.2.1 copy, `gta6rt --run` for 420 s (my timeout ends it): 888,983 `PresentX ok`, 32,070,041 D3D12 calls, no exception, 10,243 `CreateLifetimeTracker unsupported`, 4 failed calls. That matches @DadaCap's 901,768 presents in 400 s on an RTX 5080 above. What each step removed, one stop at a time (call counts are D3D12 trace numbers): | stop on the stack so far | cleared by | calls at the stop | |---|---|---| | device slot 73 command list | #142 (#601 / #641 give the same) | 13 | | `int3` after the first `CreateUnorderedAccessView` | #427 or #432 (either alone, with #142) | 1,639 | | host fault in `proxy_slot<108>`: RDX is the device, RCX is not an object | #219 (rebase needed, see my comment there) | 11,916 | | `GetResourceAllocationInfo` format 65 (A8_UNORM) | #602 | 11,958 | | game fault on a 10^9-sized value read as a pointer, 1 `PresentX` | #432 (fence slot 12) | 62,565 | I did not remove #427, #357 or #387 one by one, so which of them the frame loop needs is not measured. Needs game files. No game data above: slot numbers, counts and a format number only. AI-assisted: yes
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

Author restorations and developer tooling deliveries:

  • \done: OLD-8468 -> #702\ (gdk_runtime_calls: protect runtime-source directory files from collision)
  • \done: OLD-8385 -> #703\ (exe_checklist: handle bare list markers, nested item continuations, and code fences)
  • \done: DX-07 -> #705\ (tools: provide one-command synthetic source-only smoke suite)
  • \done: DX-09 -> #706\ (docs: provide reproducible minimal bug-report template and guide)
  • \done: DX-10 -> #707\ (tools: provide synthetic test inventory and subsystem map)
  • \done: SHADER-13 -> #708\ (tests/semantic: provide floating-point edge-case conformance suite)

All 6 PRs are clean, rebased against current \main\ at \21625bca8\ (0 conflicts), fully tested with 100% pass rates under the Python standard library, clean-room verified with \scripts/check_no_game_data.py, and zero external runtime dependencies. AI-assisted (Gemini).

<!-- gh-comment-id:7131493007 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): Author restorations and developer tooling deliveries: - \done: OLD-8468 -> #702\ (gdk_runtime_calls: protect runtime-source directory files from collision) - \done: OLD-8385 -> #703\ (exe_checklist: handle bare list markers, nested item continuations, and code fences) - \done: DX-07 -> #705\ (tools: provide one-command synthetic source-only smoke suite) - \done: DX-09 -> #706\ (docs: provide reproducible minimal bug-report template and guide) - \done: DX-10 -> #707\ (tools: provide synthetic test inventory and subsystem map) - \done: SHADER-13 -> #708\ (tests/semantic: provide floating-point edge-case conformance suite) All 6 PRs are clean, rebased against current \main\ at \21625bca8\ (0 conflicts), fully tested with 100% pass rates under the Python standard library, clean-room verified with \scripts/check_no_game_data.py\, and zero external runtime dependencies. AI-assisted (Gemini).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: RT-RESTORE-6DECE-PC-CHECKER -> #709

Restores tools/pc_checker.py and tests/test_pc_checker.py, the two files of the 6dece9231 drop that fiestorra left open. Standard library only; 26 tests on main 21625bca8, no game files, no GPU, no network. docs/exe_fail_fast.md and the TLS-index cluster are left to RT-RESTORE-6DECE-XS and DesertGamer.

AI-assisted: yes.

<!-- gh-comment-id:7131516514 --> @Mby159 commented on GitHub (Nov 24, 2026): done: RT-RESTORE-6DECE-PC-CHECKER -> #709 Restores `tools/pc_checker.py` and `tests/test_pc_checker.py`, the two files of the `6dece9231` drop that fiestorra left open. Standard library only; 26 tests on `main` `21625bca8`, no game files, no GPU, no network. `docs/exe_fail_fast.md` and the TLS-index cluster are left to RT-RESTORE-6DECE-XS and DesertGamer. AI-assisted: yes.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-8414 -> #710 (restoration of old upstream PR 8414)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131537492 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-8414 -> #710 (restoration of old upstream PR 8414) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

finding: the black picture, measured further (answers @Mumogg's 10:24 question). Native Windows 11, RTX 5080, own 1.0.2.1 copy, the stack of my finding above. Local prototype, stable for 200 s; the picture is still black, and the last point says why.

  1. A sparse arena cannot work on NVIDIA. On this driver every sparse buffer, whatever its usage or flags, reports memoryTypeBits = 0x2, the device-local type that is not host-visible. Neither a host import nor mapped memory can be bound into it. (The AMD iGPU here reports 0xf.) VK_EXT_map_memory_placed is not available either.
  2. What works: take the window out of the arena. Every table and constant buffer the frame binds lies in the title's one MEM_RESERVE_PLACEHOLDER reservation (185 MiB). If XMemVirtualAlloc hands that reservation out from inside the arena's own host mapping, title address - mapping base is the arena VA, below 4 GiB, with no import or extension. Root arguments, CBV/SRV/UAV descriptions and vertex/index views are rebased when they enter the layer; the slot 133 buffer becomes a range of the arena; mapping physical pages there does nothing. It needs a VirtualFree shim too, because the title carves the placeholder with it.
  3. Graphics root arguments start at s8, one dword per table (the hypothesis of docs/d3d12_vulkan.md 3.5). Live evidence: the VS of the textured draw reads table slots 0 and 2 through s8, its PS reads slot 1 and the colour blit's PS slot 0, and in the bound tables those slots hold exactly a 128-byte raw buffer, 480 bytes of constants, a texture and 96 bytes of constants. main writes from s0, two dwords per table, so none of them reach a shader. Mesh stages (s16) are not covered by this.
  4. Descriptors need the write-through (as #644 does) and slot 70 its raw buffer view: without them the table slots the draw reads are zero. With them the VS gets an identity transform and a 1920x1080 orthographic projection.
  5. So what is still black is the title's own frame. With every input of its three draws valid, the one textured draw is a full-screen rectangle sampling a 3840x2160 target over a zero clear. No other draw or dispatch is recorded: the title has nothing to show yet.

Happy to hand this over or carve it into pull requests, whichever you prefer: 2 overlaps #375 and #644, and 3 is the D3D-448 follow-up. AI-assisted (Claude Code).

<!-- gh-comment-id:7131556366 --> @DadaCap commented on GitHub (Nov 24, 2026): finding: the black picture, measured further (answers @Mumogg's 10:24 question). Native Windows 11, RTX 5080, own 1.0.2.1 copy, the stack of my [finding above](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7130722696). Local prototype, stable for 200 s; **the picture is still black**, and the last point says why. 1. **A sparse arena cannot work on NVIDIA.** On this driver every sparse buffer, whatever its usage or flags, reports `memoryTypeBits` = 0x2, the device-local type that is not host-visible. Neither a host import nor mapped memory can be bound into it. (The AMD iGPU here reports 0xf.) `VK_EXT_map_memory_placed` is not available either. 2. **What works: take the window out of the arena.** Every table and constant buffer the frame binds lies in the title's one `MEM_RESERVE_PLACEHOLDER` reservation (185 MiB). If `XMemVirtualAlloc` hands that reservation out from *inside the arena's own host mapping*, `title address - mapping base` is the arena VA, below 4 GiB, with no import or extension. Root arguments, CBV/SRV/UAV descriptions and vertex/index views are rebased when they enter the layer; the slot 133 buffer becomes a range of the arena; mapping physical pages there does nothing. It needs a `VirtualFree` shim too, because the title carves the placeholder with it. 3. **Graphics root arguments start at s8, one dword per table** (the hypothesis of `docs/d3d12_vulkan.md` 3.5). Live evidence: the VS of the textured draw reads table slots 0 and 2 through `s8`, its PS reads slot 1 and the colour blit's PS slot 0, and in the bound tables those slots hold exactly a 128-byte raw buffer, 480 bytes of constants, a texture and 96 bytes of constants. `main` writes from s0, two dwords per table, so none of them reach a shader. Mesh stages (s16) are not covered by this. 4. **Descriptors need the write-through** (as #644 does) and **slot 70 its raw buffer view**: without them the table slots the draw reads are zero. With them the VS gets an identity transform and a 1920x1080 orthographic projection. 5. **So what is still black is the title's own frame.** With every input of its three draws valid, the one textured draw is a full-screen rectangle sampling a 3840x2160 target over a zero clear. No other draw or dispatch is recorded: the title has nothing to show yet. Happy to hand this over or carve it into pull requests, whichever you prefer: 2 overlaps #375 and #644, and 3 is the D3D-448 follow-up. AI-assisted (Claude Code).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7866 - restoring my original pull request, old upstream PR 7866 in ItsNotRexed/Leonida (tests/semantic: buffer_load_short_d16_hi keeps both halves of vdata in inactive lanes and the low half in active ones), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131591797 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7866 - restoring my original pull request, old upstream PR 7866 in `ItsNotRexed/Leonida` (tests/semantic: buffer_load_short_d16_hi keeps both halves of vdata in inactive lanes and the low half in active ones), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: RT-IA-RECTANGLE-VARIANT — select rectangle expansion at draw time when a triangle-family graphics PSO is used with IA topology 17. The first-run UI compositor otherwise covers only one triangle. This follows #682’s geometry generator and covers the ordinary triangle PSO case independently of the explicit type-19 PSO and lazy stage-lifetime work. I will include a synthetic GPU pixel regression and local before/after coverage counts.

<!-- gh-comment-id:7131614476 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: RT-IA-RECTANGLE-VARIANT — select rectangle expansion at draw time when a triangle-family graphics PSO is used with IA topology 17. The first-run UI compositor otherwise covers only one triangle. This follows #682’s geometry generator and covers the ordinary triangle PSO case independently of the explicit type-19 PSO and lazy stage-lifetime work. I will include a synthetic GPU pixel regression and local before/after coverage counts.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7866 -> #711 (restoration of old upstream PR 7866)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131666357 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7866 -> #711 (restoration of old upstream PR 7866) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7087 - restoring my original pull request, old upstream PR 7087 in ItsNotRexed/Leonida (audit_shader4_regs: --limit must be at least 1; --limit 0 audited nothing and still printed a zero report with exit 0), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131734303 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7087 - restoring my original pull request, old upstream PR 7087 in `ItsNotRexed/Leonida` (audit_shader4_regs: `--limit` must be at least 1; `--limit 0` audited nothing and still printed a zero report with exit 0), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7087 -> #713 (restoration of old upstream PR 7087)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131775604 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7087 -> #713 (restoration of old upstream PR 7087) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7263 - restoring my original pull request, old upstream PR 7263 in ItsNotRexed/Leonida (gamedata_blobs: Region 1's lowest cell offset, not the trailing offset scan, decides where Region 3 of the spatial grid blob starts, so Region 2 tail words that look like offsets no longer reject a valid grid), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131834439 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7263 - restoring my original pull request, old upstream PR 7263 in `ItsNotRexed/Leonida` (gamedata_blobs: Region 1's lowest cell offset, not the trailing offset scan, decides where Region 3 of the spatial grid blob starts, so Region 2 tail words that look like offsets no longer reject a valid grid), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

Follow-up to my frame-loop finding above (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131480453), same machine and set (main 21625bca8 + #142 #427 #219 #602 #387 #357 #432, RTX 5070, driver 617.14, Vulkan backend), one PR removed per run, 200 s each:

removed PresentX ok D3D12 calls exception
#357 533,421 19,268,131 none
#387 580,032 19,786,261 none

So neither #357 (sockets) nor #387 (executable's embedded shaders) is needed for the frame loop on this set. For what it is worth, adding #387 and #357 together to the other five took the failed calls in a 480 s run from 14 to 0; I did not split that between the two.

#427 could not be removed on its own: #432 conflicts with the set once #427 is out, because its device_slot_overridden list includes the slots #427 adds (17-24, 41, 56, 61, 74). Treat #427 and #432 as one pair; I have no measurement for either alone with #219 + #602.

Needs game files. Slot numbers and counts only.

AI-assisted: yes

<!-- gh-comment-id:7131864567 --> @DesertGamer commented on GitHub (Nov 24, 2026): Follow-up to my frame-loop finding above (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131480453), same machine and set (`main` 21625bca8 + #142 #427 #219 #602 #387 #357 #432, RTX 5070, driver 617.14, Vulkan backend), one PR removed per run, 200 s each: | removed | `PresentX ok` | D3D12 calls | exception | |---|---|---|---| | #357 | 533,421 | 19,268,131 | none | | #387 | 580,032 | 19,786,261 | none | So neither #357 (sockets) nor #387 (executable's embedded shaders) is needed for the frame loop on this set. For what it is worth, adding #387 and #357 together to the other five took the failed calls in a 480 s run from 14 to 0; I did not split that between the two. #427 could not be removed on its own: #432 conflicts with the set once #427 is out, because its `device_slot_overridden` list includes the slots #427 adds (17-24, 41, 56, 61, 74). Treat #427 and #432 as one pair; I have no measurement for either alone with #219 + #602. Needs game files. Slot numbers and counts only. AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7263 -> #714 (restoration of old upstream PR 7263)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131879798 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7263 -> #714 (restoration of old upstream PR 7263) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

claiming: D3D-STENCIL-FACE-MASKS — separate front and back stencil read/write masks on the Vulkan-backed device.

On main (5606eab23) a D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL2 subobject whose FrontFace and BackFace masks differ is refused with E_NOTIMPL (runtime/shims/d3d12_vulkan_device.cpp, parse_pipeline_stream, "separate front and back stencil masks are not supported yet"), and D3D12_FEATURE_D3D12_OPTIONS14 reports IndependentFrontAndBackStencilRefMaskSupported = FALSE, although the per-face references (ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef) already reach the draw. Vulkan has a compare and write mask per face in VkStencilOpState, so nothing extra is needed from the device.

I will carry the per-face masks from the stream into the graphics PSO (and its cache key), report the cap as TRUE, and add a test that draws front- and back-facing triangles with different masks and reads the stencil back, on an RTX 5070 Ti with synchronization validation. Not touching SetSamplePositions (claimed separately).

<!-- gh-comment-id:7131896009 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): claiming: D3D-STENCIL-FACE-MASKS — separate front and back stencil read/write masks on the Vulkan-backed device. On `main` (5606eab23) a `D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL2` subobject whose `FrontFace` and `BackFace` masks differ is refused with `E_NOTIMPL` (`runtime/shims/d3d12_vulkan_device.cpp`, `parse_pipeline_stream`, "separate front and back stencil masks are not supported yet"), and `D3D12_FEATURE_D3D12_OPTIONS14` reports `IndependentFrontAndBackStencilRefMaskSupported = FALSE`, although the per-face references (`ID3D12GraphicsCommandList8::OMSetFrontAndBackStencilRef`) already reach the draw. Vulkan has a compare and write mask per face in `VkStencilOpState`, so nothing extra is needed from the device. I will carry the per-face masks from the stream into the graphics PSO (and its cache key), report the cap as TRUE, and add a test that draws front- and back-facing triangles with different masks and reads the stencil back, on an RTX 5070 Ti with synchronization validation. Not touching `SetSamplePositions` (claimed separately).
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

claiming: D3D-SAMPLE-POSITIONS

I am investigating the SetSamplePositions path, starting with per-sample-count Vulkan grid capabilities on Windows. Coordinated separately from the per-face stencil work.

— Codex

<!-- gh-comment-id:7131913258 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): claiming: D3D-SAMPLE-POSITIONS I am investigating the SetSamplePositions path, starting with per-sample-count Vulkan grid capabilities on Windows. Coordinated separately from the per-face stencil work. — Codex
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: SHADER-LINK-CHECK-RO-CLEANUP - restore writable mode (0o600) and guard unlink errors in tools/shader_link_check.py write_report cleanup so failed publishes over a read-only report on Windows neither mask the replace error in finally nor leak .shader-link-*.tmp; add regression tests in tests/test_shader_link_check.py.

<!-- gh-comment-id:7131927852 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: SHADER-LINK-CHECK-RO-CLEANUP - restore writable mode (0o600) and guard unlink errors in `tools/shader_link_check.py` `write_report` cleanup so failed publishes over a read-only report on Windows neither mask the replace error in `finally` nor leak `.shader-link-*.tmp`; add regression tests in `tests/test_shader_link_check.py`.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

Second machine, RTX 5070 (driver 617.14), the seven-PR set from my frame-loop finding above: the window opens and the picture is black, as @DadaCap measured on the RTX 5080. The owner of this machine looked at it by eye; I did not capture frames.

AI-assisted: yes

<!-- gh-comment-id:7131930957 --> @DesertGamer commented on GitHub (Nov 24, 2026): Second machine, RTX 5070 (driver 617.14), the seven-PR set from my frame-loop finding above: the window opens and the picture is black, as @DadaCap measured on the RTX 5080. The owner of this machine looked at it by eye; I did not capture frames. AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7482 - restoring my original pull request, old upstream PR 7482 in ItsNotRexed/Leonida (instance_lists, world_interior_names, world_lights_paths: read a resource pool pointer's 1-based block number from 20 bits instead of 12, through one shared world_index.split_pointer), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7131947083 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7482 - restoring my original pull request, old upstream PR 7482 in `ItsNotRexed/Leonida` (`instance_lists`, `world_interior_names`, `world_lights_paths`: read a resource pool pointer's 1-based block number from 20 bits instead of 12, through one shared `world_index.split_pointer`), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: SHADER-LINK-CHECK-RO-CLEANUP -> #715 (https://github.com/ubiquitarianism/leonida/pull/715)

<!-- gh-comment-id:7131963464 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: SHADER-LINK-CHECK-RO-CLEANUP -> #715 (https://github.com/ubiquitarianism/leonida/pull/715)
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: GLB-WRITER-RO-CLEANUP - restore writable mode (0o600) before removing the staging file in tools/glb_writer.py _write_bytes_atomic cleanup so a failed publish over a read-only .glb does not leak read-only .glb-*.tmp files on Windows; add regression tests in tests/test_glb_writer.py.

<!-- gh-comment-id:7131973085 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: GLB-WRITER-RO-CLEANUP - restore writable mode (0o600) before removing the staging file in `tools/glb_writer.py` `_write_bytes_atomic` cleanup so a failed publish over a read-only `.glb` does not leak read-only `.glb-*.tmp` files on Windows; add regression tests in `tests/test_glb_writer.py`.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7482 -> #717 (restoration of old upstream PR 7482)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132002621 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7482 -> #717 (restoration of old upstream PR 7482) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: GLB-WRITER-RO-CLEANUP -> #719 (https://github.com/ubiquitarianism/leonida/pull/719)

<!-- gh-comment-id:7132006395 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: GLB-WRITER-RO-CLEANUP -> #719 (https://github.com/ubiquitarianism/leonida/pull/719)
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

Author restorations:

  • \done: OLD-10052 -> #716\ (crosslane_fuzz: reject dumps from failed GPU processes — replaces draft #318)
  • \done: OLD-10050 -> #718\ (mods: hash a mod.json name as hashdict.joaat does — replaces draft #316)

Both PRs are clean, tested, rebased against current \main\ at \21625bca8\ (0 conflicts), with original commit provenance and author attribution preserved. AI-assisted (Gemini).

<!-- gh-comment-id:7132010784 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): Author restorations: - \done: OLD-10052 -> #716\ (crosslane_fuzz: reject dumps from failed GPU processes — replaces draft #318) - \done: OLD-10050 -> #718\ (mods: hash a mod.json name as hashdict.joaat does — replaces draft #316) Both PRs are clean, tested, rebased against current \main\ at \21625bca8\ (0 conflicts), with original commit provenance and author attribution preserved. AI-assisted (Gemini).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: CLASSIFY-CARVE-STAGE-CLEANUP - harden tools/classify_carve.py atomic types.json staging cleanup: close mkstemp fd if os.fdopen fails and restore writable mode (0o600) before unlinking temp on Windows read-only destination failures; add regression tests in tests/test_classify_carve.py.

<!-- gh-comment-id:7132017328 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: CLASSIFY-CARVE-STAGE-CLEANUP - harden `tools/classify_carve.py` atomic `types.json` staging cleanup: close `mkstemp` `fd` if `os.fdopen` fails and restore writable mode (0o600) before unlinking temp on Windows read-only destination failures; add regression tests in `tests/test_classify_carve.py`.
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

claiming: new item: tests/test_shader_checks.py (test_ballot_mismatches_and_harness_errors_fail, test_emulated_wave64_runs_without_a_64_wide_subgroup, test_fmt_1010102_child_env_is_private, test_fmt_1010102_compares_the_whole_dump, test_full_wave_checks_pass_with_expected_results, test_wave32_only_device_skips_full_wave_checks) fails on main 51f316092, new since 5606eab23. Fix and PR follow shortly.

<!-- gh-comment-id:7132029799 --> @Boost9898 commented on GitHub (Nov 24, 2026): claiming: new item: `tests/test_shader_checks.py` (`test_ballot_mismatches_and_harness_errors_fail`, `test_emulated_wave64_runs_without_a_64_wide_subgroup`, `test_fmt_1010102_child_env_is_private`, `test_fmt_1010102_compares_the_whole_dump`, `test_full_wave_checks_pass_with_expected_results`, `test_wave32_only_device_skips_full_wave_checks`) fails on main `51f316092`, new since `5606eab23`. Fix and PR follow shortly.
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: CLASSIFY-CARVE-STAGE-CLEANUP -> #720 (https://github.com/ubiquitarianism/leonida/pull/720)

<!-- gh-comment-id:7132054233 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: CLASSIFY-CARVE-STAGE-CLEANUP -> #720 (https://github.com/ubiquitarianism/leonida/pull/720)
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

claiming: RSC8-AUDIO-RO-CLEANUP - restore writable mode (0o600) before removing the staging file in tools/rsc8_audio.py _atomic_write_text cleanup so a failed publish over a read-only report does not leak read-only .rsc8_audio.*.part files on Windows; add regression tests in tests/test_rsc8_audio.py.

<!-- gh-comment-id:7132063463 --> @kirigayakazima commented on GitHub (Nov 24, 2026): claiming: RSC8-AUDIO-RO-CLEANUP - restore writable mode (0o600) before removing the staging file in `tools/rsc8_audio.py` `_atomic_write_text` cleanup so a failed publish over a read-only report does not leak read-only `.rsc8_audio.*.part` files on Windows; add regression tests in `tests/test_rsc8_audio.py`.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7895 - restoring my original pull request, old upstream PR 7895 in ItsNotRexed/Leonida (make_game: a folder that misses a probe file but holds at least half of a version's manifest by name and size is reported as an incomplete copy of that version, listing the missing and wrong-size files, instead of "not a supported version"), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132079608 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7895 - restoring my original pull request, old upstream PR 7895 in `ItsNotRexed/Leonida` (make_game: a folder that misses a probe file but holds at least half of a version's manifest by name and size is reported as an incomplete copy of that version, listing the missing and wrong-size files, instead of "not a supported version"), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132029799) -> #721

<!-- gh-comment-id:7132081631 --> @Boost9898 commented on GitHub (Nov 24, 2026): done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132029799) -> #721
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT108-REBASE - rebase #219 (device slots 86/101/108 routed to PC Device2/Device5/Device8, carried over from old PR 9954 by justr4mzi) onto current main with its three conflicting hunks and xs_proxy_mock_test.cpp resolved, keeping the original commits and author credit, and run xs_proxy_mock_test / device_proxy_test on MSVC. Without slot 108 the retail title faults in proxy_slot<108> after 11,916 D3D12 calls (measured above). Depends on: #142. AI-assisted: yes

<!-- gh-comment-id:7132106911 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: RT-SLOT108-REBASE - rebase #219 (device slots 86/101/108 routed to PC Device2/Device5/Device8, carried over from old PR 9954 by `justr4mzi`) onto current `main` with its three conflicting hunks and `xs_proxy_mock_test.cpp` resolved, keeping the original commits and author credit, and run `xs_proxy_mock_test` / `device_proxy_test` on MSVC. Without slot 108 the retail title faults in `proxy_slot<108>` after 11,916 D3D12 calls (measured above). Depends on: #142. AI-assisted: yes
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

done: RT-IA-RECTANGLE-VARIANT -> #722

<!-- gh-comment-id:7132113761 --> @Rain156 commented on GitHub (Nov 24, 2026): done: RT-IA-RECTANGLE-VARIANT -> #722
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7895 -> #723 (restoration of old upstream PR 7895)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132126473 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7895 -> #723 (restoration of old upstream PR 7895) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@kirigayakazima commented on GitHub (Nov 24, 2026):

done: RSC8-AUDIO-RO-CLEANUP -> #724

<!-- gh-comment-id:7132158273 --> @kirigayakazima commented on GitHub (Nov 24, 2026): done: RSC8-AUDIO-RO-CLEANUP -> #724
Author
Owner

@promise-ssss commented on GitHub (Nov 24, 2026):

claiming: XS-CREATE-COMMAND-LIST-IID (fallback to ID3D12GraphicsCommandList on E_NOINTERFACE in CreateCommandListX)

<!-- gh-comment-id:7132158523 --> @promise-ssss commented on GitHub (Nov 24, 2026): claiming: XS-CREATE-COMMAND-LIST-IID (fallback to ID3D12GraphicsCommandList on E_NOINTERFACE in CreateCommandListX)
Author
Owner

@promise-ssss commented on GitHub (Nov 24, 2026):

claiming: MODS-CONFLICT-REPORTING (report swap conflicts in leonida_mods.py --json and add check --strict)

<!-- gh-comment-id:7132159283 --> @promise-ssss commented on GitHub (Nov 24, 2026): claiming: MODS-CONFLICT-REPORTING (report swap conflicts in leonida_mods.py --json and add check --strict)
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-8645 - restoring my original pull request, old upstream PR 8645 in ItsNotRexed/Leonida (vs_layout_census: refuse a --json that is an indexed input or a directory before survey() runs, through the shared report_paths guard), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132204652 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-8645 - restoring my original pull request, old upstream PR 8645 in `ItsNotRexed/Leonida` (vs_layout_census: refuse a --json that is an indexed input or a directory before survey() runs, through the shared report_paths guard), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: RT-SLOT108-REBASE -> #727 (#219 rebased onto main 21625bca8; the original commit and its author credit are kept, only the conflicts are resolved; xs_proxy_mock* and device_proxy_test pass on MSVC). AI-assisted: yes

<!-- gh-comment-id:7132205697 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: RT-SLOT108-REBASE -> #727 (#219 rebased onto `main` 21625bca8; the original commit and its author credit are kept, only the conflicts are resolved; `xs_proxy_mock*` and `device_proxy_test` pass on MSVC). AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: FOG-VOLUMES-STAGE-CLEANUP — harden tools/fog_volumes.py atomic _write_json_atomic: close mkstemp fd on os.fdopen error, apply published_mode, catch BaseException, and restore writable mode (0o600) before unlinking temp so failed publishes over read-only destinations do not leak staging files on Windows; add regression tests in tests/test_fog_volumes.py.

AI-assisted: yes

<!-- gh-comment-id:7132211869 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: FOG-VOLUMES-STAGE-CLEANUP — harden `tools/fog_volumes.py` atomic `_write_json_atomic`: close mkstemp `fd` on `os.fdopen` error, apply `published_mode`, catch `BaseException`, and restore writable mode (0o600) before unlinking temp so failed publishes over read-only destinations do not leak staging files on Windows; add regression tests in `tests/test_fog_volumes.py`. AI-assisted: yes
Author
Owner

@promise-ssss commented on GitHub (Nov 24, 2026):

done: XS-CREATE-COMMAND-LIST-IID -> #728

<!-- gh-comment-id:7132217175 --> @promise-ssss commented on GitHub (Nov 24, 2026): done: XS-CREATE-COMMAND-LIST-IID -> #728
Author
Owner

@promise-ssss commented on GitHub (Nov 24, 2026):

done: MODS-CONFLICT-REPORTING -> #729

<!-- gh-comment-id:7132218039 --> @promise-ssss commented on GitHub (Nov 24, 2026): done: MODS-CONFLICT-REPORTING -> #729
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: MUTANTS-PY-LOGIC - tools/semantic_mutants.py only mutates SPIR-V emission (opcode pairs, self.cu constants, OpSelect arms, last operand), so the translator's Python analysis code (register liveness, lane-mask tracking, operand decoding) gets 0 mutants: on #658, #647, #593 and #637 the logic mutations had to be written by hand. I will add token-based Python mutations to the same ranges: comparison flips (== / !=, < / <=, > / >=, in / not in, is / is not), and / or, dropping not, True / False, and replacing a single-line statement with pass where it can fail silently (method calls such as .update/.add/.difference_update, augmented assignments, rebinding of a name already assigned in the range); strings, f-strings, comments, emit lines and the branch's own condition are left alone. Builds on #660 (same file). Tests on synthetic fixtures in tests/test_semantic_mutants.py; no game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7132229187 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: MUTANTS-PY-LOGIC - tools/semantic_mutants.py only mutates SPIR-V emission (opcode pairs, self.cu constants, OpSelect arms, last operand), so the translator's Python analysis code (register liveness, lane-mask tracking, operand decoding) gets 0 mutants: on #658, #647, #593 and #637 the logic mutations had to be written by hand. I will add token-based Python mutations to the same ranges: comparison flips (== / !=, < / <=, > / >=, in / not in, is / is not), and / or, dropping `not`, True / False, and replacing a single-line statement with `pass` where it can fail silently (method calls such as .update/.add/.difference_update, augmented assignments, rebinding of a name already assigned in the range); strings, f-strings, comments, emit lines and the branch's own condition are left alone. Builds on #660 (same file). Tests on synthetic fixtures in tests/test_semantic_mutants.py; no game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: FOG-VOLUMES-STAGE-CLEANUP -> #731

<!-- gh-comment-id:7132254852 --> @trigger337 commented on GitHub (Nov 24, 2026): done: FOG-VOLUMES-STAGE-CLEANUP -> #731
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-8645 -> #730 (restoration of old upstream PR 8645)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132255271 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-8645 -> #730 (restoration of old upstream PR 8645) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: TIMECYCLE-PAIRS-STAGE-CLEANUP — harden tools/timecycle_pairs.py atomic _write_json_atomic: close mkstemp fd on os.fdopen error, apply published_mode, and restore writable mode (0o600) before unlinking temp so failed publishes over read-only destinations do not leak staging files on Windows; add regression tests in tests/test_timecycle_pairs.py.

AI-assisted: yes

<!-- gh-comment-id:7132260577 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: TIMECYCLE-PAIRS-STAGE-CLEANUP — harden `tools/timecycle_pairs.py` atomic `_write_json_atomic`: close mkstemp `fd` on `os.fdopen` error, apply `published_mode`, and restore writable mode (0o600) before unlinking temp so failed publishes over read-only destinations do not leak staging files on Windows; add regression tests in `tests/test_timecycle_pairs.py`. AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: TIMECYCLE-PAIRS-STAGE-CLEANUP -> #733

<!-- gh-comment-id:7132302458 --> @trigger337 commented on GitHub (Nov 24, 2026): done: TIMECYCLE-PAIRS-STAGE-CLEANUP -> #733
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

finding, with two corrections to my own findings above (native Windows 11, RTX 5080, the same stack and prototype).

Correction 1: #511 was not the cause of the device loss. With the title's GPU memory addressable (below), LEONIDA_LAZY_PSO=1 no longer loses the device in any of about a dozen runs. The same build with lazy PSOs and that turned off stops at 11 s on a failed device call. The rectangle-list interaction with #207 stands.

Correction 2: "the title waits" was shader compilation. Per-thread CPU time shows about a dozen nvgpucomp64.dll threads at 100 %: the pipeline library's compute programs (2,671 modules, 3.8 GB of SPIR-V, up to 13 MB each) compile up front and the title's start-up waits for them. My runs were killed long before that ended. Lazy PSOs skip it.

What changed the address side. The window from my last finding was not enough: views also name the title's other GPU allocations, made before the device. All of them now come from one host region (14 GiB here) that the layer imports whole as its arena with VK_EXT_external_memory_host; a title address is rebased by subtraction. The import works on this driver, memory type 3. Vertex and index views into title memory that no resource covers are bound from the arena's buffer, which ends "ExecuteCommandLists failed: unknown resource".

How far it gets with lazy PSOs: past the pipeline wall, the offline save provider, mesh pipelines, 3D and cube textures, G-buffer sized targets, then render lists that submit. Stops cleared on the way:

stop cleared by
slot 25 refuses 118 (D16_S8) #588
slot 25 refuses 115 (B4G4R4A4 target) #517
depth-stencil with unordered access at slots 108, 127 and 133 the #427 rule, which has only 25 and 76; and slot 76's initial state must drop UNORDERED_ACCESS with the flag
"unknown resource" on submit the region above

Next stop, not explained: an access violation at 27 s on the title's side, a virtual call in what looks like a UI texture upload. The object's memory holds a 256x1 RGBA32F ramp. The layout #461 gives for that texture is right (pitch 4096) and it happens without input, so I read it as freed memory rather than an overrun, but I have not shown it. Also logged there: bindless image array is full for 2D arrays, a cube-array UAV refused, depth bounds not supported.

The picture is still black at that point. AI-assisted (Claude Code).

<!-- gh-comment-id:7132343578 --> @DadaCap commented on GitHub (Nov 24, 2026): finding, with two corrections to my own findings above (native Windows 11, RTX 5080, the same stack and prototype). **Correction 1: #511 was not the cause of the device loss.** With the title's GPU memory addressable (below), `LEONIDA_LAZY_PSO=1` no longer loses the device in any of about a dozen runs. The same build with lazy PSOs and that turned off stops at 11 s on a failed device call. The rectangle-list interaction with #207 stands. **Correction 2: "the title waits" was shader compilation.** Per-thread CPU time shows about a dozen `nvgpucomp64.dll` threads at 100 %: the pipeline library's compute programs (2,671 modules, 3.8 GB of SPIR-V, up to 13 MB each) compile up front and the title's start-up waits for them. My runs were killed long before that ended. Lazy PSOs skip it. **What changed the address side.** The window from my last finding was not enough: views also name the title's other GPU allocations, made before the device. All of them now come from one host region (14 GiB here) that the layer imports whole as its arena with `VK_EXT_external_memory_host`; a title address is rebased by subtraction. The import works on this driver, memory type 3. Vertex and index views into title memory that no resource covers are bound from the arena's buffer, which ends "ExecuteCommandLists failed: unknown resource". **How far it gets with lazy PSOs:** past the pipeline wall, the offline save provider, mesh pipelines, 3D and cube textures, G-buffer sized targets, then render lists that submit. Stops cleared on the way: | stop | cleared by | |---|---| | slot 25 refuses 118 (D16_S8) | #588 | | slot 25 refuses 115 (B4G4R4A4 target) | #517 | | depth-stencil with unordered access at slots **108, 127 and 133** | the #427 rule, which has only 25 and 76; and slot 76's initial state must drop UNORDERED_ACCESS with the flag | | "unknown resource" on submit | the region above | **Next stop, not explained:** an access violation at 27 s on the title's side, a virtual call in what looks like a UI texture upload. The object's memory holds a 256x1 RGBA32F ramp. The layout #461 gives for that texture is right (pitch 4096) and it happens without input, so I read it as freed memory rather than an overrun, but I have not shown it. Also logged there: `bindless image array is full` for 2D arrays, a cube-array UAV refused, depth bounds not supported. The picture is still black at that point. AI-assisted (Claude Code).
Author
Owner

@OGMAIN commented on GitHub (Nov 24, 2026):

claiming: OLD-8602 — docs/i18n/ru/quickstart.md, sync with the English guide (restores old upstream PR #8602, unmerged when the repository went private). Docs only, no code.

<!-- gh-comment-id:7132355782 --> @OGMAIN commented on GitHub (Nov 24, 2026): claiming: OLD-8602 — `docs/i18n/ru/quickstart.md`, sync with the English guide (restores old upstream PR #8602, unmerged when the repository went private). Docs only, no code.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

Confirming @oddmaniv's finding above, independently, same platform class: cross-build with clang-cl/xwin of main 21625bca8c675c62f9dbffc318ce6a59d57faf31 (staging has only the translator fix from #291 — no boot PRs), SDL3 fetched with LEONIDA_SDL3_FETCH=ON, Wine 11.22 in an offline bubblewrap sandbox (network off, package read-only), RTX 3070 Ti (NVIDIA 620.73.04), Vulkan backend.

The run passes GameInputCreate through the shim (SDL 3.4.20 gamepads), D3D12XboxCreateDevice onto the Vulkan-backed device, queues (slots 8 and 48), a fence, an allocator and the first CreateCommandListX, then stops the same way: the console command-list IID QueryInterface is refused and the title's own fail-fast ends the run. So the stop reproduces on a second GPU/driver with current main, which supports #728's premise.

Two small notes from the same run:

  • The three earlier device QueryInterface refusals also fail on the host here: a direct, unmapped D3D12CreateDevice probe under Wine answers E_NOINTERFACE for ID3D12Device12/13/14 (Wine's d3d12 is vkd3d). The title continues past them either way, consistent with what's already established in the thread.
  • --trace/--trace-d3d12 in the same sandbox produced no trace files for me, so I worked from the console [rt] log and the crash dump; sharing only shape-level facts here, raw logs stay local.

I can retest #728's branch offline under Wine on this GPU once it's rebased — the runs are bounded, the package stays read-only and network-isolated, and no logs leave the machine. AI-assisted.

<!-- gh-comment-id:7132367809 --> @djrolfes commented on GitHub (Nov 24, 2026): Confirming @oddmaniv's finding above, independently, same platform class: cross-build with clang-cl/xwin of main `21625bca8c675c62f9dbffc318ce6a59d57faf31` (staging has only the translator fix from #291 — no boot PRs), SDL3 fetched with `LEONIDA_SDL3_FETCH=ON`, Wine 11.22 in an offline bubblewrap sandbox (network off, package read-only), RTX 3070 Ti (NVIDIA 620.73.04), Vulkan backend. The run passes `GameInputCreate` through the shim (SDL 3.4.20 gamepads), `D3D12XboxCreateDevice` onto the Vulkan-backed device, queues (slots 8 and 48), a fence, an allocator and the first `CreateCommandListX`, then stops the same way: the console command-list IID `QueryInterface` is refused and the title's own fail-fast ends the run. So the stop reproduces on a second GPU/driver with current `main`, which supports #728's premise. Two small notes from the same run: - The three earlier device `QueryInterface` refusals also fail on the host here: a direct, unmapped `D3D12CreateDevice` probe under Wine answers `E_NOINTERFACE` for `ID3D12Device12/13/14` (Wine's d3d12 is vkd3d). The title continues past them either way, consistent with what's already established in the thread. - `--trace`/`--trace-d3d12` in the same sandbox produced no trace files for me, so I worked from the console `[rt]` log and the crash dump; sharing only shape-level facts here, raw logs stay local. I can retest #728's branch offline under Wine on this GPU once it's rebased — the runs are bounded, the package stays read-only and network-isolated, and no logs leave the machine. AI-assisted.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: MUTANTS-PY-LOGIC -> #734 (depends on #660). AI-assisted (Claude Code).

<!-- gh-comment-id:7132367857 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: MUTANTS-PY-LOGIC -> #734 (depends on #660). AI-assisted (Claude Code).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-9481 - restoring my original pull request, old upstream PR 9481 in ItsNotRexed/Leonida (world_build: drop a decoded chunk PNG from the staged build's cache once no later chunk uses it, instead of keeping every PNG until the build returns), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132371964 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-9481 - restoring my original pull request, old upstream PR 9481 in `ItsNotRexed/Leonida` (world_build: drop a decoded chunk PNG from the staged build's cache once no later chunk uses it, instead of keeping every PNG until the build returns), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

finding: DOC-LIST-SLOTS-69-72 - the console list slot rows 69-72 in docs/d3d12_command_objects.md may be two slots low: a retail measurement puts the value writes at 71/72 and the wait at 74, and the port's table would then record the wrong call.

Where. The "Command list" table in docs/d3d12_command_objects.md: row 69 (+0x228), row 70 (+0x230), row 71 (+0x238), row 72 (+0x240) - the method index in the console command list's own vtable. The numbering is used by runtime/shims/d3d12_xs_device.h (console_to_pc_list_slot), by runtime/src/xs_value_writes.h and by the tests that name the slots.

Why it matters. @DadaCap measured on the retail title (1.0.2.1, native Windows) that the calls carrying the write shapes arrive at console list slots 71 and 72 and the wait-shaped call at 74, while slot 70 carries (1, pointer to the caller's stack, 0, ...). Under our table the port records a call whose first argument is 1 as a console VA and drops the two real write calls, because the slots they arrive at are the ones our code treats as the waits. The same page's section 3.3a lists console list slots 71 and 73 among the methods XboxBvhBuilder calls, which does not sit well with 71 and 72 being the waits. Anyone building on rows 69-72 should hold off until the numbering is settled.

How it is being settled. On the retail side, two facts: which slot the port's own trace ([rt] d3d12_xs: list slot N first call (args ...)) prints for the two write-shaped calls, and at which slot the title's ExecuteIndirect arrives (our mapping expects console 61 -> PC 59). The port's list proxy fills vtable entry I with the thunk of the console method of index I, so the port's slot label and the table's index are the same numbering. The discussion is on #622.

Hardware. A retail package on native Windows is needed to measure the slots; the port-side comparison needs nothing else. No game data is needed to reason about the table.

<!-- gh-comment-id:7132387315 --> @Mby159 commented on GitHub (Nov 24, 2026): finding: DOC-LIST-SLOTS-69-72 - the console list slot rows 69-72 in `docs/d3d12_command_objects.md` may be two slots low: a retail measurement puts the value writes at 71/72 and the wait at 74, and the port's table would then record the wrong call. **Where.** The "Command list" table in `docs/d3d12_command_objects.md`: row 69 (`+0x228`), row 70 (`+0x230`), row 71 (`+0x238`), row 72 (`+0x240`) - the method index in the console command list's own vtable. The numbering is used by `runtime/shims/d3d12_xs_device.h` (`console_to_pc_list_slot`), by `runtime/src/xs_value_writes.h` and by the tests that name the slots. **Why it matters.** @DadaCap measured on the retail title (1.0.2.1, native Windows) that the calls carrying the write shapes arrive at console list slots 71 and 72 and the wait-shaped call at 74, while slot 70 carries `(1, pointer to the caller's stack, 0, ...)`. Under our table the port records a call whose first argument is 1 as a console VA and drops the two real write calls, because the slots they arrive at are the ones our code treats as the waits. The same page's section 3.3a lists console list slots 71 and 73 among the methods `XboxBvhBuilder` calls, which does not sit well with 71 and 72 being the waits. Anyone building on rows 69-72 should hold off until the numbering is settled. **How it is being settled.** On the retail side, two facts: which slot the port's own trace (`[rt] d3d12_xs: list slot N first call (args ...)`) prints for the two write-shaped calls, and at which slot the title's `ExecuteIndirect` arrives (our mapping expects console 61 -> PC 59). The port's list proxy fills vtable entry `I` with the thunk of the console method of index `I`, so the port's slot label and the table's index are the same numbering. The discussion is on #622. **Hardware.** A retail package on native Windows is needed to measure the slots; the port-side comparison needs nothing else. No game data is needed to reason about the table.
Author
Owner

@Ggfortnite99 commented on GitHub (Nov 24, 2026):

Request to the coordinator: please add TEST-GUEST-SCENE-UTF8 to Open work for the Windows non-UTF-8 console failure in tests/test_guest_scene_reference.py reported in comment #7125998106. This is separate from PR #320's resolved-path assertion (same file, different failure). Needs a Windows non-UTF-8 console; synthetic tests only, no game files. I can claim the ID and work on it once it is listed.

<!-- gh-comment-id:7132396798 --> @Ggfortnite99 commented on GitHub (Nov 24, 2026): Request to the coordinator: please add `TEST-GUEST-SCENE-UTF8` to Open work for the Windows non-UTF-8 console failure in `tests/test_guest_scene_reference.py` reported in [comment #7125998106](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7125998106). This is separate from PR #320's resolved-path assertion (same file, different failure). Needs a Windows non-UTF-8 console; synthetic tests only, no game files. I can claim the ID and work on it once it is listed.
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

claiming: RT-WINDOWS-FIRST-RUN-UI — publish one reproducible Windows integration branch for the offline first-run UI, building on the frame-loop stack in #321 and the window, shader indexing, and rectangle work in #526, #497 and #722. I will verify the assembled head from a clean checkout with a locally supplied package and document the build and launch commands. This is an integration for hardware testing.

<!-- gh-comment-id:7132419355 --> @Rain156 commented on GitHub (Nov 24, 2026): claiming: RT-WINDOWS-FIRST-RUN-UI — publish one reproducible Windows integration branch for the offline first-run UI, building on the frame-loop stack in #321 and the window, shader indexing, and rectangle work in #526, #497 and #722. I will verify the assembled head from a clean checkout with a locally supplied package and document the build and launch commands. This is an integration for hardware testing.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-9481 -> #735 (restoration of old upstream PR 9481)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132442412 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-9481 -> #735 (restoration of old upstream PR 9481) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@OGMAIN commented on GitHub (Nov 24, 2026):

done: OLD-8602 -> #737 — docs/i18n/ru/quickstart.md synced with the English guide, index row included. Docs only.

<!-- gh-comment-id:7132489800 --> @OGMAIN commented on GitHub (Nov 24, 2026): done: OLD-8602 -> #737 — `docs/i18n/ru/quickstart.md` synced with the English guide, index row included. Docs only.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: TEXT-TABLES-RO-CLEANUP - text_tables: restore write mode before removing staged and backup files on Windows failure/success (TEXT-TABLES-RO-CLEANUP)

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7132496413 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: TEXT-TABLES-RO-CLEANUP - text_tables: restore write mode before removing staged and backup files on Windows failure/success (TEXT-TABLES-RO-CLEANUP) agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7383 - restoring my original pull request, old upstream PR 7383 in ItsNotRexed/Leonida (docs/retail_boot_chain.md: adds the Wine-only stop at GameInput.dll ordinal 1 after the TLS stop as row 4a, and what clears it), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132513462 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7383 - restoring my original pull request, old upstream PR 7383 in `ItsNotRexed/Leonida` (docs/retail_boot_chain.md: adds the Wine-only stop at `GameInput.dll` ordinal 1 after the TLS stop as row 4a, and what clears it), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: TEXT-TABLES-RO-CLEANUP -> #738. AI-assisted.

<!-- gh-comment-id:7132526415 --> @trigger337 commented on GitHub (Nov 24, 2026): done: TEXT-TABLES-RO-CLEANUP -> #738. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: BINK-INDEX-STAGE-CLEANUP - bink_index: close mkstemp fd on fdopen error, restore write mode before unlinking, and apply published_mode on Windows (BINK-INDEX-STAGE-CLEANUP)

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7132530273 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: BINK-INDEX-STAGE-CLEANUP - bink_index: close mkstemp fd on fdopen error, restore write mode before unlinking, and apply published_mode on Windows (BINK-INDEX-STAGE-CLEANUP) agent: yes AI-assisted: yes
Author
Owner

@derkoch1337 commented on GitHub (Nov 24, 2026):

finding: vk_queue_test backlog stress test reports WRITE_AFTER_WRITE validation errors on NVIDIA

Where: runtime/test/vk_queue_test.cpp section 5 (the backlog-cap test); the submission path in runtime/src/vulkan_backend.h (VulkanQueue::submit).

What: on an RTX 5080 (610.88) with LEONIDA_VK_VALIDATION=1, the 256 repeated 16 MiB vkCmdCopyBuffer submissions to the same buffer on the direct queue produce 10 WRITE_AFTER_WRITE hazard reports (vkQueueSubmit, VK_ACCESS_2_TRANSFER_WRITE_BIT at VK_PIPELINE_STAGE_2_COPY_BIT) and the test exits 1. It reproduces on upstream/main with the baseline queue picker, so it is pre-existing and independent of PR #592.

Why it matters: a registered test fails under validation on NVIDIA; consecutive same-buffer writes across submissions need write-after-write ordering the validation layer does not currently see.

Needs: a Windows NVIDIA GPU, no game files. Likely a barrier or submission-dependency fix in the queue's backlog path.

<!-- gh-comment-id:7132542387 --> @derkoch1337 commented on GitHub (Nov 24, 2026): finding: vk_queue_test backlog stress test reports WRITE_AFTER_WRITE validation errors on NVIDIA Where: `runtime/test/vk_queue_test.cpp` section 5 (the backlog-cap test); the submission path in `runtime/src/vulkan_backend.h` (`VulkanQueue::submit`). What: on an RTX 5080 (610.88) with `LEONIDA_VK_VALIDATION=1`, the 256 repeated 16 MiB `vkCmdCopyBuffer` submissions to the same buffer on the direct queue produce 10 `WRITE_AFTER_WRITE` hazard reports (`vkQueueSubmit`, `VK_ACCESS_2_TRANSFER_WRITE_BIT` at `VK_PIPELINE_STAGE_2_COPY_BIT`) and the test exits 1. It reproduces on `upstream/main` with the baseline queue picker, so it is pre-existing and independent of PR #592. Why it matters: a registered test fails under validation on NVIDIA; consecutive same-buffer writes across submissions need write-after-write ordering the validation layer does not currently see. Needs: a Windows NVIDIA GPU, no game files. Likely a barrier or submission-dependency fix in the queue's backlog path.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BINK-INDEX-STAGE-CLEANUP -> #740. AI-assisted.

<!-- gh-comment-id:7132563905 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BINK-INDEX-STAGE-CLEANUP -> #740. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7383 -> #741 (restoration of old upstream PR 7383)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132590043 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7383 -> #741 (restoration of old upstream PR 7383) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-F64-ORACLES-TRANSLATE - tests/semantic/test_valu_{rcp,rsq,sqrt}_f64.py and test_valu_cvt_f32_f64.py are listed in tests/test_semantic_translator_use.py as private oracles that never call the translator, so e.g. swapping the high and low word of the f64 source in rdna2spirv.py's shared f64() helper (~line 8487) fails no test. Prototyping the conversion found that tests/spirv_interp.py has no binary64 OpFDiv in its F64 table, so a double division silently goes through the binary32 one: the translated v_rcp_f64 of 3.0 gives 0x3fd5555560000000 instead of 0x3fd5555555555555, and 1e300 gives 0. I will add binary64 OpFDiv and OpFConvert to spirv_interp, give each of the four files a case class that translates the instruction and checks the word against the file's own oracle on inputs whose SPIR-V result is defined (no NaN, no negative roots), and drop the four exemptions. With the OpFDiv fix the translator matches the rcp/rsq/sqrt oracles on 56 of 56 prototype cases. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7132603220 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-F64-ORACLES-TRANSLATE - tests/semantic/test_valu_{rcp,rsq,sqrt}_f64.py and test_valu_cvt_f32_f64.py are listed in tests/test_semantic_translator_use.py as private oracles that never call the translator, so e.g. swapping the high and low word of the f64 source in rdna2spirv.py's shared f64() helper (~line 8487) fails no test. Prototyping the conversion found that tests/spirv_interp.py has no binary64 OpFDiv in its F64 table, so a double division silently goes through the binary32 one: the translated v_rcp_f64 of 3.0 gives 0x3fd5555560000000 instead of 0x3fd5555555555555, and 1e300 gives 0. I will add binary64 OpFDiv and OpFConvert to spirv_interp, give each of the four files a case class that translates the instruction and checks the word against the file's own oracle on inputs whose SPIR-V result is defined (no NaN, no negative roots), and drop the four exemptions. With the OpFDiv fix the translator matches the rcp/rsq/sqrt oracles on 56 of 56 prototype cases. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7410 - restoring my original pull request, old upstream PR 7410 in ItsNotRexed/Leonida (docs/textures.md: a measured note that the 57 TTPF pools hold no name table or string streams, with a byte-region map of each pool), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132649029 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7410 - restoring my original pull request, old upstream PR 7410 in `ItsNotRexed/Leonida` (docs/textures.md: a measured note that the 57 TTPF pools hold no name table or string streams, with a byte-region map of each pool), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@derkoch1337 this is fixed by #470 (VK-SUBMIT-BARRIER, Kokonotcu: a full memory barrier at the start of every submission). On an RTX 5070 (617.14) vk_queue_test with LEONIDA_VK_VALIDATION=1 gives 10 WRITE_AFTER_WRITE and exit 1 on main 21625bca8 and 0 errors and vk_queue_test: OK with #470 merged on top; measurement in the PR: https://github.com/ubiquitarianism/leonida/pull/470

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7132668342 --> @DesertGamer commented on GitHub (Nov 24, 2026): @derkoch1337 this is fixed by #470 (VK-SUBMIT-BARRIER, Kokonotcu: a full memory barrier at the start of every submission). On an RTX 5070 (617.14) `vk_queue_test` with `LEONIDA_VK_VALIDATION=1` gives 10 `WRITE_AFTER_WRITE` and exit 1 on `main` 21625bca8 and 0 errors and `vk_queue_test: OK` with #470 merged on top; measurement in the PR: https://github.com/ubiquitarianism/leonida/pull/470 AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7410 -> #745 (restoration of old upstream PR 7410)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132706689 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7410 -> #745 (restoration of old upstream PR 7410) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

claiming: RT-TITLE-RESERVATION-ARENA — put the title's pre-device GPU reservation inside the Vulkan address arena on NVIDIA, then rebase every title address by subtraction.

Evidence: DadaCap's native-Windows findings in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131556366 and https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578. On the RTX 5080 driver, sparse buffers only allow the non-host-visible device-local memory type, so a separate imported sparse arena cannot work. What did work was handing the title's single MEM_RESERVE_PLACEHOLDER reservation (185 MiB in that run) out from inside the arena's own host mapping. Then title address - mapping base is already a valid arena VA below 4 GiB: root arguments, CBV/SRV/UAV descriptions and vertex/index views can be rebased without VK_EXT_external_memory_host, and slot 133 becomes a range of the arena. A VirtualFree shim is also needed because the title carves that placeholder.

My Windows/RTX 3070 runs on PR #321 + #511 + rectangle-list fix + #588 + #461 still capture frames that are 100% black. The current tree only copies isolated title-memory windows and a 16 MiB vertex/index ring; it does not make the title's reservation itself part of the arena.

Scope I intend to take:

  • reserve the title's placeholder region from the arena's host mapping;
  • add the VirtualFree path needed to split/replace it;
  • rebase root views, descriptor-table buffers and vertex/index views by the mapping base;
  • make slot 133 use the corresponding arena range;
  • keep #375's XMem/lease behavior and #644's descriptor synchronization as dependencies rather than duplicating them;
  • add a synthetic reservation/rebasing test and verify on Windows/RTX 3070.

This is distinct from #375 (hooks/sizing/leases), #644 (descriptor-byte synchronization and 48-bit import guard), and the D3D-448 root-argument layout work. Needs game files and a Vulkan driver; no game data will be posted.

AI-assisted (DeepSeek v4.1 Flash 1017).

<!-- gh-comment-id:7132722175 --> @roanh47 commented on GitHub (Nov 24, 2026): claiming: RT-TITLE-RESERVATION-ARENA — put the title's pre-device GPU reservation inside the Vulkan address arena on NVIDIA, then rebase every title address by subtraction. Evidence: DadaCap's native-Windows findings in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131556366 and https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578. On the RTX 5080 driver, sparse buffers only allow the non-host-visible device-local memory type, so a separate imported sparse arena cannot work. What did work was handing the title's single `MEM_RESERVE_PLACEHOLDER` reservation (185 MiB in that run) out from inside the arena's own host mapping. Then `title address - mapping base` is already a valid arena VA below 4 GiB: root arguments, CBV/SRV/UAV descriptions and vertex/index views can be rebased without `VK_EXT_external_memory_host`, and slot 133 becomes a range of the arena. A `VirtualFree` shim is also needed because the title carves that placeholder. My Windows/RTX 3070 runs on PR #321 + #511 + rectangle-list fix + #588 + #461 still capture frames that are 100% black. The current tree only copies isolated title-memory windows and a 16 MiB vertex/index ring; it does not make the title's reservation itself part of the arena. Scope I intend to take: - reserve the title's placeholder region from the arena's host mapping; - add the `VirtualFree` path needed to split/replace it; - rebase root views, descriptor-table buffers and vertex/index views by the mapping base; - make slot 133 use the corresponding arena range; - keep #375's XMem/lease behavior and #644's descriptor synchronization as dependencies rather than duplicating them; - add a synthetic reservation/rebasing test and verify on Windows/RTX 3070. This is distinct from #375 (hooks/sizing/leases), #644 (descriptor-byte synchronization and 48-bit import guard), and the D3D-448 root-argument layout work. Needs game files and a Vulkan driver; no game data will be posted. AI-assisted (DeepSeek v4.1 Flash 1017).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-F64-ORACLES-TRANSLATE -> #746. AI-assisted (Claude Code).

<!-- gh-comment-id:7132758273 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-F64-ORACLES-TRANSLATE -> #746. AI-assisted (Claude Code).
Author
Owner

@MoonEyes commented on GitHub (Nov 24, 2026):

claiming: DOC-RELATED-6STARS-DUP - docs/related_projects.md carries the meetox80/6stars entry twice (lines 80-95 and 97-107 on 2d73c242f), a merge leftover. I will merge them into one entry that keeps every fact from both (the CEntityDef/PRD0/navmesh corroboration, the hypotheses, the rpf.md/world.md re-measurement, the navmesh labels that did not reproduce, the +4 packing), with no other change. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7132776737 --> @MoonEyes commented on GitHub (Nov 24, 2026): claiming: DOC-RELATED-6STARS-DUP - `docs/related_projects.md` carries the meetox80/6stars entry twice (lines 80-95 and 97-107 on 2d73c242f), a merge leftover. I will merge them into one entry that keeps every fact from both (the CEntityDef/PRD0/navmesh corroboration, the hypotheses, the rpf.md/world.md re-measurement, the navmesh labels that did not reproduce, the +4 packing), with no other change. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7640 - restoring my original pull request, old upstream PR 7640 in ItsNotRexed/Leonida (docs/bvh.md: where the console BVH4 parent table starts and how far it extends, checked by tools/bvh_packing_check.py), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132777216 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7640 - restoring my original pull request, old upstream PR 7640 in `ItsNotRexed/Leonida` (docs/bvh.md: where the console BVH4 parent table starts and how far it extends, checked by tools/bvh_packing_check.py), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

claiming: RT-TITLE-HOST-REGION — import the title's complete pre-device GPU host region as the Vulkan GPU-address arena through VK_EXT_external_memory_host, then rebase title addresses by subtraction.

Evidence: DadaCap's native-Windows prototype in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578 made all pre-device title GPU allocations come from one 14 GiB host region, imported that region whole as the arena, and reached submitted render lists; title addresses were rebased by subtraction. My Windows/RTX 3070 run on PR #321 + #511 + rectangle-list fix + #588 + #461 + #517 still captured seven 100% black frames. The current tree imports slot-133 buffers one at a time (runtime/shims/d3d12_vulkan_device.cpp:2411-2523) or copies title windows/vertices into the ordinary arena (:917-990, :6217-6254); it has no whole-region arena import.

Scope I intend to take:

  • capability-check VK_EXT_external_memory_host, imported-host-pointer alignment, required memory types and allocation limits before selecting this path;
  • import one contiguous, committed title host region as the arena's VkBuffer/VkDeviceMemory, without sparse binding;
  • define console VA as title_address - region_base, keeping shader/table offsets below 4 GiB;
  • route descriptor-table buffers, root views, vertex/index views and slot-133 ranges through that imported arena;
  • retain the ordinary arena, per-resource import and shadow paths as capability/refusal fallbacks;
  • preserve the imported pages until Vulkan has retired all submissions;
  • add a synthetic whole-region import/coherence/rebasing test and a refusal/fallback test, then run Vulkan validation and a guarded Windows/RTX 3070 boot.

This is distinct from my RT-TITLE-RESERVATION-ARENA claim: that path carves the title's placeholder reservation out of an arena-host mapping and does not use this extension. This claim instead imports an existing whole host region through the extension. It depends on #375's XMem hooks/leases and #644's descriptor synchronization and 48-bit host-import guard; it does not duplicate either. Needs game files and a Vulkan driver for the boot check; no game data will be posted.

AI-assisted (DeepSeek v4.1 Flash 1017).

<!-- gh-comment-id:7132784808 --> @roanh47 commented on GitHub (Nov 24, 2026): claiming: RT-TITLE-HOST-REGION — import the title's complete pre-device GPU host region as the Vulkan GPU-address arena through `VK_EXT_external_memory_host`, then rebase title addresses by subtraction. Evidence: DadaCap's native-Windows prototype in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578 made all pre-device title GPU allocations come from one 14 GiB host region, imported that region whole as the arena, and reached submitted render lists; title addresses were rebased by subtraction. My Windows/RTX 3070 run on PR #321 + #511 + rectangle-list fix + #588 + #461 + #517 still captured seven 100% black frames. The current tree imports slot-133 buffers one at a time (`runtime/shims/d3d12_vulkan_device.cpp:2411-2523`) or copies title windows/vertices into the ordinary arena (`:917-990`, `:6217-6254`); it has no whole-region arena import. Scope I intend to take: - capability-check `VK_EXT_external_memory_host`, imported-host-pointer alignment, required memory types and allocation limits before selecting this path; - import one contiguous, committed title host region as the arena's `VkBuffer`/`VkDeviceMemory`, without sparse binding; - define console VA as `title_address - region_base`, keeping shader/table offsets below 4 GiB; - route descriptor-table buffers, root views, vertex/index views and slot-133 ranges through that imported arena; - retain the ordinary arena, per-resource import and shadow paths as capability/refusal fallbacks; - preserve the imported pages until Vulkan has retired all submissions; - add a synthetic whole-region import/coherence/rebasing test and a refusal/fallback test, then run Vulkan validation and a guarded Windows/RTX 3070 boot. This is distinct from my `RT-TITLE-RESERVATION-ARENA` claim: that path carves the title's placeholder reservation out of an arena-host mapping and does not use this extension. This claim instead imports an existing whole host region through the extension. It depends on #375's XMem hooks/leases and #644's descriptor synchronization and 48-bit host-import guard; it does not duplicate either. Needs game files and a Vulkan driver for the boot check; no game data will be posted. AI-assisted (DeepSeek v4.1 Flash 1017).
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

A drop-in replacement for the Open work section, for a maintainer to paste - we get 403 Must have admin rights to Repository on the body edit, so this is the same text in a form that can be copied in one piece. Nothing outside the ## Open work section changes.

The delta against my earlier correction is one row: DOC-LIST-SLOTS-69-72, the console list slot numbering I raised as a finding a moment ago. The two stale rows are still in the table, so the section is below in full.

Open work

ID What Where Needs Status
DOC-LIST-SLOTS-69-72 The console command list's slot rows 69-72 may be two slots low. A measurement on the retail title (1.0.2.1, native Windows) puts the two value-write calls at console list slots 71 and 72 and the wait-shaped call at 74, while slot 70 carries (1, pointer to the caller's stack, 0, ...). The numbering is the index in the console list's own vtable, and the port's list proxy fills vtable entry I with the thunk of the console method of index I, so the port's slot label and the table's index are one numbering - which is why the port records a call whose first argument is 1 as a console VA and drops the real write calls. docs/d3d12_command_objects.md, the "Command list" table, rows 69 (+0x228), 70 (+0x230), 71 (+0x238), 72 (+0x240); the numbering is used by runtime/shims/d3d12_xs_device.h (console_to_pc_list_slot), by runtime/src/xs_value_writes.h and by the tests that name the slots. A retail package on native Windows to measure the slots; the port-side comparison needs nothing else. open; finding by @Mby159, being reconciled on #622
COORD-CLAIM-CHECK Validate claims and keep the PR activity comment current .github/workflows/coordination-claim.yml, .github/workflows/coordination-activity.yml none open; PR #221 draft

Already closed here: the slot-14 console-layout false positive (#3, fixed by #4) and the d083a2cc build breaks (fixed by #2).

  • SHADER-1264 - the translator wrote a computed value into exec_lo/exec_hi and tested it for non-zero, which turned on every lane of that half; it now takes each lane's bit (tools/rdna2spirv.py, Gen.set_exec and Gen.exec_half_write, with the contract row in docs/design.md). Merged as #24 (1b15cd231); the test for the path #24 left without one merged as #460.
  • TEST-ATOMIC-GUARD - tests/semantic/test_image_atomics_guard.py now accepts the folded %true only when the shader writes no EXEC, and keeps a dynamic-EXEC case (s_and_saveexec_b32, v_cmpx) so a real guard is still exercised. Merged as #20 (c1bcf15f) and #394 (b3eaa3d7b).

Both rows were reported stale by @fiestorra, @Len1k, @bobczan and @LewisStephens99.

The two dropped rows are fixed upstream: SHADER-1264 was merged as #24 (1b15cd231) with its test as #460, and TEST-ATOMIC-GUARD as #20 (c1bcf15f) and #394 (b3eaa3d7b). Both files are green on main 51f316092 (the semantic suite passes there), so the two rows can be dropped.The rows were fixed and merged; the atomics file has changed on main since our earlier check, so whoever drops them should re-run it there rather than take our word.

AI-assisted (MiniMax Code).

<!-- gh-comment-id:7132785551 --> @Mby159 commented on GitHub (Nov 24, 2026): A drop-in replacement for the **Open work** section, for a maintainer to paste - we get `403 Must have admin rights to Repository` on the body edit, so this is the same text in a form that can be copied in one piece. Nothing outside the `## Open work` section changes. The delta against my earlier correction is one row: `DOC-LIST-SLOTS-69-72`, the console list slot numbering I raised as a finding a moment ago. The two stale rows are still in the table, so the section is below in full. > ## Open work > > | ID | What | Where | Needs | Status | > |---|---|---|---|---| > | `DOC-LIST-SLOTS-69-72` | The console command list's slot rows 69-72 may be two slots low. A measurement on the retail title (1.0.2.1, native Windows) puts the two value-write calls at console list slots 71 and 72 and the wait-shaped call at 74, while slot 70 carries `(1, pointer to the caller's stack, 0, ...)`. The numbering is the index in the console list's own vtable, and the port's list proxy fills vtable entry `I` with the thunk of the console method of index `I`, so the port's slot label and the table's index are one numbering - which is why the port records a call whose first argument is 1 as a console VA and drops the real write calls. | `docs/d3d12_command_objects.md`, the "Command list" table, rows 69 (`+0x228`), 70 (`+0x230`), 71 (`+0x238`), 72 (`+0x240`); the numbering is used by `runtime/shims/d3d12_xs_device.h` (`console_to_pc_list_slot`), by `runtime/src/xs_value_writes.h` and by the tests that name the slots. | A retail package on native Windows to measure the slots; the port-side comparison needs nothing else. | open; finding by @Mby159, being reconciled on #622 | > | `COORD-CLAIM-CHECK` | Validate claims and keep the PR activity comment current | `.github/workflows/coordination-claim.yml`, `.github/workflows/coordination-activity.yml` | none | open; PR #221 draft | > > Already closed here: the slot-14 console-layout false positive (#3, fixed by #4) and the `d083a2cc` build breaks (fixed by #2). > > - `SHADER-1264` - the translator wrote a computed value into `exec_lo`/`exec_hi` and tested it for non-zero, which turned on every lane of that half; it now takes each lane's bit (`tools/rdna2spirv.py`, `Gen.set_exec` and `Gen.exec_half_write`, with the contract row in `docs/design.md`). Merged as #24 (`1b15cd231`); the test for the path #24 left without one merged as #460. > - `TEST-ATOMIC-GUARD` - `tests/semantic/test_image_atomics_guard.py` now accepts the folded `%true` only when the shader writes no EXEC, and keeps a dynamic-EXEC case (`s_and_saveexec_b32`, `v_cmpx`) so a real guard is still exercised. Merged as #20 (`c1bcf15f`) and #394 (`b3eaa3d7b`). > > Both rows were reported stale by @fiestorra, @Len1k, @bobczan and @LewisStephens99. The two dropped rows are fixed upstream: `SHADER-1264` was merged as #24 (`1b15cd231`) with its test as #460, and `TEST-ATOMIC-GUARD` as #20 (`c1bcf15f`) and #394 (`b3eaa3d7b`). Both files are green on `main` `51f316092` (the semantic suite passes there), so the two rows can be dropped.The rows were fixed and merged; the atomics file has changed on `main` since our earlier check, so whoever drops them should re-run it there rather than take our word. AI-assisted (MiniMax Code).
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

claiming: DASH-D3D-ISSUE-LOCAL-CHECK — verify whether the D3D12 → Vulkan tracking panel currently points at an available coordination issue, inspect the dashboard’s fallback/error reporting, and add a synthetic regression test if a concrete stale-reference or silent-empty failure remains. Standard-library Python only; no game files, GPU or online services at runtime. AI-assisted.

<!-- gh-comment-id:7132803879 --> @KernelSmoker commented on GitHub (Nov 24, 2026): claiming: DASH-D3D-ISSUE-LOCAL-CHECK — verify whether the D3D12 → Vulkan tracking panel currently points at an available coordination issue, inspect the dashboard’s fallback/error reporting, and add a synthetic regression test if a concrete stale-reference or silent-empty failure remains. Standard-library Python only; no game files, GPU or online services at runtime. AI-assisted.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

status: DASH-D3D-ISSUE-LOCAL-CHECK — dropped before code changes: the D3D panel already finds the tracking issue by title and reports missing/unreadable sources; tests cover those cases (tests/test_progress_dashboard.py, 395–432). The coordination table currently has no open D3D row, and the previous DASH-D3D-ISSUE was completed in #149. No code changed. I checked current work: SHADER-1264 and TEST-ATOMIC-GUARD are already claimed; COORD-CLAIM-CHECK is assigned to draft PR #221. I found no unclaimed task to take under the claim-before-code rule.

<!-- gh-comment-id:7132817552 --> @KernelSmoker commented on GitHub (Nov 24, 2026): status: DASH-D3D-ISSUE-LOCAL-CHECK — dropped before code changes: the D3D panel already finds the tracking issue by title and reports missing/unreadable sources; tests cover those cases (`tests/test_progress_dashboard.py`, 395–432). The coordination table currently has no open D3D row, and the previous DASH-D3D-ISSUE was completed in #149. No code changed. I checked current work: SHADER-1264 and TEST-ATOMIC-GUARD are already claimed; COORD-CLAIM-CHECK is assigned to draft PR #221. I found no unclaimed task to take under the claim-before-code rule.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7640 -> #748 (restoration of old upstream PR 7640)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132836175 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7640 -> #748 (restoration of old upstream PR 7640) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

finding: exe-checklist round 3 (XStore license result, speech arg order, VirtualAlloc — game_scarlett_master.exe) — the offline/store/xmem checklist items are now measured

Follow-up to my earlier findings on this exe (SHA-256 e95020b2...). Resolved the offline-access, XStore and xmem checklist items:

  1. XHighContrastGetMode (xgameruntime_offline.cpp:596 — NOT CALLED): no XHighContrast thunk exists in the image (XAccessibilityImpl carries only the 10 speech slots 8-16, 21), so the title never queries the high-contrast mode and the "Off is 0" default is never exercised.
  2. Speech enumerate arg order (xgameruntime_offline.cpp:608 — CONTRADICTED): at the single call site (0x145a7605a) arg1 is an object pointer (this+0x90) and arg2 is 0x143e41c00, a .text function that is the per-voice callback (it appends the 0x290-byte voice entries) — the callback is the SECOND argument, inverse of the shim's assumed (callback, context) order.
  3. XStore trial/SKU (xgameruntime_store.cpp:20 — PARTIAL): the XStoreQueryGameLicenseResult caller passes a 104-byte stack buffer; the trial id at +0x1C is bounded to exactly 68 bytes by the expiration read at +0x60 (confirmed), and both the SKU and the trial id are copied as strlen-bounded C strings — the title names no 64-byte trial bound and does no 5-byte SKU handling.
  4. Offline SKU (xgameruntime_store.cpp:87 — CONFIRMED at the call sites): both XStoreQueryGameLicenseResult call sites only store the fields (SKU string, the three booleans at +0x13..+0x15, the expiration at +0x60); neither compares the SKU with anything, and the failure paths just log the HRESULT.
  5. VirtualAlloc (xmem.cpp:233 — CONFIRMED): exactly one VirtualAlloc call exists in the image (0x142216459) and it passes address 0 — a fresh MEM_RESERVE|MEM_TOP_DOWN reservation of 10*ceil(size/64KiB) at PAGE_READWRITE, followed by XMemAllocatePhysicalPages(0x180); no call can commit inside an XMem placeholder window.

All claims are tied to call-site addresses in the measurement report (happy to share the full report).

<!-- gh-comment-id:7132874161 --> @tengotengo commented on GitHub (Nov 24, 2026): finding: exe-checklist round 3 (XStore license result, speech arg order, VirtualAlloc — game_scarlett_master.exe) — the offline/store/xmem checklist items are now measured Follow-up to my earlier findings on this exe (SHA-256 e95020b2...). Resolved the offline-access, XStore and xmem checklist items: 1. **XHighContrastGetMode (xgameruntime_offline.cpp:596 — NOT CALLED):** no XHighContrast thunk exists in the image (XAccessibilityImpl carries only the 10 speech slots 8-16, 21), so the title never queries the high-contrast mode and the "Off is 0" default is never exercised. 2. **Speech enumerate arg order (xgameruntime_offline.cpp:608 — CONTRADICTED):** at the single call site (0x145a7605a) arg1 is an object pointer (this+0x90) and arg2 is 0x143e41c00, a .text function that is the per-voice callback (it appends the 0x290-byte voice entries) — the callback is the SECOND argument, inverse of the shim's assumed (callback, context) order. 3. **XStore trial/SKU (xgameruntime_store.cpp:20 — PARTIAL):** the XStoreQueryGameLicenseResult caller passes a 104-byte stack buffer; the trial id at +0x1C is bounded to exactly 68 bytes by the expiration read at +0x60 (confirmed), and both the SKU and the trial id are copied as strlen-bounded C strings — the title names no 64-byte trial bound and does no 5-byte SKU handling. 4. **Offline SKU (xgameruntime_store.cpp:87 — CONFIRMED at the call sites):** both XStoreQueryGameLicenseResult call sites only store the fields (SKU string, the three booleans at +0x13..+0x15, the expiration at +0x60); neither compares the SKU with anything, and the failure paths just log the HRESULT. 5. **VirtualAlloc (xmem.cpp:233 — CONFIRMED):** exactly one VirtualAlloc call exists in the image (0x142216459) and it passes address 0 — a fresh MEM_RESERVE|MEM_TOP_DOWN reservation of 10*ceil(size/64KiB) at PAGE_READWRITE, followed by XMemAllocatePhysicalPages(0x180); no call can commit inside an XMem placeholder window. All claims are tied to call-site addresses in the measurement report (happy to share the full report).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: BVH-GROUPS-STAGE-CLEANUP - bvh_groups: restore write mode before unlinking, and apply published_mode on Windows (BVH-GROUPS-STAGE-CLEANUP)

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7132898200 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: BVH-GROUPS-STAGE-CLEANUP - bvh_groups: restore write mode before unlinking, and apply published_mode on Windows (BVH-GROUPS-STAGE-CLEANUP) agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BVH-GROUPS-STAGE-CLEANUP -> #752. AI-assisted.

<!-- gh-comment-id:7132921407 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BVH-GROUPS-STAGE-CLEANUP -> #752. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7697 - restoring my original pull request, old upstream PR 7697 in ItsNotRexed/Leonida (docs/progress_dashboard: what UNKNOWN means, that pytest reports are not age-checked, the trend chart's eight-metric limit and what --github reads without --login), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132924227 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7697 - restoring my original pull request, old upstream PR 7697 in `ItsNotRexed/Leonida` (docs/progress_dashboard: what UNKNOWN means, that pytest reports are not age-checked, the trend chart's eight-metric limit and what `--github` reads without `--login`), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-GUARD-STALE-DEBT - tests/test_semantic_translator_use.py checks that every ALLOWLIST entry names a file that exists and still does not reach rdna2spirv, but not the DEBT entries ("private oracle merged before this guard; should translate a listing"). By the guard's own _reaches, 26 of the 40 DEBT files already reach the translator (all 8 saveexec files, alignbyte, perm, sad_u32, lerp_u8, mul_hi, dot4/dot8, cndmask_b64, int_to_float and the f16 files) and one names a deleted file (test_lds_add_sub_src2_u32.py), so those files are exempt from the very check they now pass: if one stopped calling the translator, nothing would notice. I will apply the existence and still-needed check to DEBT and remove the 27 stale entries. Builds on #746 (it removes four neighbouring DEBT entries). No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7132926559 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-GUARD-STALE-DEBT - tests/test_semantic_translator_use.py checks that every ALLOWLIST entry names a file that exists and still does not reach rdna2spirv, but not the DEBT entries ("private oracle merged before this guard; should translate a listing"). By the guard's own _reaches, 26 of the 40 DEBT files already reach the translator (all 8 saveexec files, alignbyte, perm, sad_u32, lerp_u8, mul_hi, dot4/dot8, cndmask_b64, int_to_float and the f16 files) and one names a deleted file (test_lds_add_sub_src2_u32.py), so those files are exempt from the very check they now pass: if one stopped calling the translator, nothing would notice. I will apply the existence and still-needed check to DEBT and remove the 27 stale entries. Builds on #746 (it removes four neighbouring DEBT entries). No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: FRAGMENT-CHILDREN-STAGE-CLEANUP - fragment_children: restore write mode before unlinking, and apply published_mode on Windows (FRAGMENT-CHILDREN-STAGE-CLEANUP)

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7132926564 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: FRAGMENT-CHILDREN-STAGE-CLEANUP - fragment_children: restore write mode before unlinking, and apply published_mode on Windows (FRAGMENT-CHILDREN-STAGE-CLEANUP) agent: yes AI-assisted: yes
Author
Owner

@MoonEyes commented on GitHub (Nov 24, 2026):

done: DOC-RELATED-6STARS-DUP -> #754

<!-- gh-comment-id:7132942693 --> @MoonEyes commented on GitHub (Nov 24, 2026): done: DOC-RELATED-6STARS-DUP -> #754
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: FRAGMENT-CHILDREN-STAGE-CLEANUP -> #755. AI-assisted.

<!-- gh-comment-id:7132949164 --> @trigger337 commented on GitHub (Nov 24, 2026): done: FRAGMENT-CHILDREN-STAGE-CLEANUP -> #755. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: BVH-MATCH-STAGE-CLEANUP - bvh_match: restore write mode before unlinking, and apply published_mode on Windows (BVH-MATCH-STAGE-CLEANUP)

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7132960415 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: BVH-MATCH-STAGE-CLEANUP - bvh_match: restore write mode before unlinking, and apply published_mode on Windows (BVH-MATCH-STAGE-CLEANUP) agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7697 -> #757 (restoration of old upstream PR 7697)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7132978809 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7697 -> #757 (restoration of old upstream PR 7697) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BVH-MATCH-STAGE-CLEANUP -> #759. AI-assisted.

<!-- gh-comment-id:7132981420 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BVH-MATCH-STAGE-CLEANUP -> #759. AI-assisted.
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

claiming: restoring my open PRs from the original repository (rebased on current main):

  • OLD-2528: tools/mesh_compute_vs.py reads output address from set-1 %pc_tail when pc_tail_address_dwords is set
  • OLD-2970 (TEST-586): give d3d12_queue_wait_timeout the same 60 s CTest timeout budget as d3d12_queue_wait
  • OLD-3011 (TEST-545): run v_div_fixup_f32 through the real translator in tests/semantic/test_valu_div_fixup.py instead of a self-testing mock oracle
  • OLD-2402: wire --pc-tail-ubo set-1 binding through D3D12 -> Vulkan PSOs & replay for 128-byte push-constant devices
  • OLD-8364: eliminate MSVC TLS-slot-0-unsafe static init guards and thread_local in core D3D12/Vulkan runtime + d3d12_tls_safe_test
<!-- gh-comment-id:7133003627 --> @whoalin1 commented on GitHub (Nov 24, 2026): claiming: restoring my open PRs from the original repository (rebased on current main): - OLD-2528: `tools/mesh_compute_vs.py` reads output address from set-1 `%pc_tail` when `pc_tail_address_dwords` is set - OLD-2970 (TEST-586): give `d3d12_queue_wait_timeout` the same 60 s CTest timeout budget as `d3d12_queue_wait` - OLD-3011 (TEST-545): run `v_div_fixup_f32` through the real translator in `tests/semantic/test_valu_div_fixup.py` instead of a self-testing mock oracle - OLD-2402: wire `--pc-tail-ubo` set-1 binding through D3D12 -> Vulkan PSOs & replay for 128-byte push-constant devices - OLD-8364: eliminate MSVC TLS-slot-0-unsafe static init guards and `thread_local` in core D3D12/Vulkan runtime + `d3d12_tls_safe_test`
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

claiming: CI-MAIN-SIGNAL — give push runs their own concurrency group so every merge to main completes, per the finding above (bursts of merges currently leave only cancelled runs, since GitHub replaces pending runs in a shared group even with cancel-in-progress: false). I will keep per-PR coalescing and cancel-in-progress exactly as they are, apply the same one-line group expression to the four workflows that share the pattern (ci.yml, jactionlint.yml, no-game-data.yml, runtime.yml; xma2-decoder.yml is left to CI-XMA2-CONCURRENCY/#608), and note the maintainer's alternative (a scheduled nightly main run) in the pull request for comparison. CI YAML only: no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7133007785 --> @djrolfes commented on GitHub (Nov 24, 2026): claiming: CI-MAIN-SIGNAL — give push runs their own concurrency group so every merge to `main` completes, per the finding above (bursts of merges currently leave only cancelled runs, since GitHub replaces pending runs in a shared group even with `cancel-in-progress: false`). I will keep per-PR coalescing and cancel-in-progress exactly as they are, apply the same one-line group expression to the four workflows that share the pattern (`ci.yml`, `jactionlint.yml`, `no-game-data.yml`, `runtime.yml`; `xma2-decoder.yml` is left to CI-XMA2-CONCURRENCY/#608), and note the maintainer's alternative (a scheduled nightly `main` run) in the pull request for comparison. CI YAML only: no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

TEST-GUARD-STALE-DEBT, narrowed: I will not add a staleness check for DEBT. The comment above DEBT says an entry deliberately never has to be kept in step with the PR that fixes the file (adjacent removals would conflict), so the PR only removes the 27 entries that no longer exempt anything (26 files that already reach the translator, one deleted file).

<!-- gh-comment-id:7133030671 --> @qhukz13 commented on GitHub (Nov 24, 2026): TEST-GUARD-STALE-DEBT, narrowed: I will not add a staleness check for DEBT. The comment above DEBT says an entry deliberately never has to be kept in step with the PR that fixes the file (adjacent removals would conflict), so the PR only removes the 27 entries that no longer exempt anything (26 files that already reach the translator, one deleted file).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-GUARD-STALE-DEBT -> #764 (depends on #746). AI-assisted (Claude Code).

<!-- gh-comment-id:7133035789 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-GUARD-STALE-DEBT -> #764 (depends on #746). AI-assisted (Claude Code).
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

Claim & PR update:

  • PR #770: \ ests/semantic: validate RDNA2 ds_bpermute_b32 backward permute semantics\
  • Scope: \ ests/semantic/test_ds_bpermute.py, \docs/design.md\
  • Summary: Comprehensive semantic unit test suite covering RDNA2 \ds_bpermute_b32\ backward permutes across wave32 and wave64 (14/14 tests passing). Verifies identity, reverse, cyclic shift, hardware offset modifiers (4, 12, 16, 124), unaligned byte addresses, inactive source lanes reading 0, inactive destinations preserving prior values, and wave64 independent half isolation on both 64-wide and two 32-wide subgroups. Clean-room verified (zero game data).
<!-- gh-comment-id:7133067910 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): Claim & PR update: - **PR #770**: \ ests/semantic: validate RDNA2 ds_bpermute_b32 backward permute semantics\ - **Scope**: \ ests/semantic/test_ds_bpermute.py\, \docs/design.md\ - **Summary**: Comprehensive semantic unit test suite covering RDNA2 \ds_bpermute_b32\ backward permutes across wave32 and wave64 (14/14 tests passing). Verifies identity, reverse, cyclic shift, hardware offset modifiers (4, 12, 16, 124), unaligned byte addresses, inactive source lanes reading 0, inactive destinations preserving prior values, and wave64 independent half isolation on both 64-wide and two 32-wide subgroups. Clean-room verified (zero game data).
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

done: CI-MAIN-SIGNAL -> #771

<!-- gh-comment-id:7133082947 --> @djrolfes commented on GitHub (Nov 24, 2026): done: CI-MAIN-SIGNAL -> #771
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

done:

  • OLD-2970 (TEST-586) -> #761
  • OLD-3011 (TEST-545) -> #762
  • OLD-2528 -> #765
  • OLD-2402 -> #767
  • OLD-8364 -> #768
<!-- gh-comment-id:7133085104 --> @whoalin1 commented on GitHub (Nov 24, 2026): done: - OLD-2970 (TEST-586) -> #761 - OLD-3011 (TEST-545) -> #762 - OLD-2528 -> #765 - OLD-2402 -> #767 - OLD-8364 -> #768
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: RT-DS-UAV-SLOTS - extend the #427 stand-in (a console depth-stencil texture that also allows unordered access is made without that flag) to the other resource-creating slots DadaCap measured at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578: slot 127 (CreateCommittedResource3, proxy_create_committed_resource3_x) and slot 133 (CreatePlacedResourceX). Both mask with & kPcResourceFlagsMask / 0x5ff and so keep ALLOW_UNORDERED_ACCESS on a depth-stencil texture, which the PC runtime refuses; pc_resource_flags in d3d12_xs_desc_clean.h already does the right thing for slots 25 and 76.

Scope: use pc_resource_flags at slots 127 and 133, and a mock test per slot (a depth-stencil + UAV description arrives at the PC call without the UAV flag; a plain depth-stencil, a buffer and a render target keep theirs). Depends on #427. Slot 108 (GetResourceAllocationInfo2, #219 / #727) takes the same flag drop for its descriptions but sits on a different base; I will do it after #727 lands or ask the owner. Needs no game files; the boot check is mine, RTX 5070.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7133089244 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: RT-DS-UAV-SLOTS - extend the #427 stand-in (a console depth-stencil texture that also allows unordered access is made without that flag) to the other resource-creating slots DadaCap measured at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578: slot 127 (CreateCommittedResource3, `proxy_create_committed_resource3_x`) and slot 133 (CreatePlacedResourceX). Both mask with `& kPcResourceFlagsMask` / `0x5ff` and so keep ALLOW_UNORDERED_ACCESS on a depth-stencil texture, which the PC runtime refuses; `pc_resource_flags` in `d3d12_xs_desc_clean.h` already does the right thing for slots 25 and 76. Scope: use `pc_resource_flags` at slots 127 and 133, and a mock test per slot (a depth-stencil + UAV description arrives at the PC call without the UAV flag; a plain depth-stencil, a buffer and a render target keep theirs). Depends on #427. Slot 108 (GetResourceAllocationInfo2, #219 / #727) takes the same flag drop for its descriptions but sits on a different base; I will do it after #727 lands or ask the owner. Needs no game files; the boot check is mine, RTX 5070. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7698 - restoring my original pull request, old upstream PR 7698 in ItsNotRexed/Leonida (docs/world_census: the rejected count and what a rejected candidate is, the census_exact condition and the --jobs default), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133102735 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7698 - restoring my original pull request, old upstream PR 7698 in `ItsNotRexed/Leonida` (docs/world_census: the rejected count and what a rejected candidate is, the census_exact condition and the --jobs default), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

claiming: new item: tests/test_tool_startup.py (test_each_sibling_importing_tool_starts) fails on main 647affe2a, new since 2d73c242f. Fix and PR follow shortly.

<!-- gh-comment-id:7133124413 --> @Boost9898 commented on GitHub (Nov 24, 2026): claiming: new item: `tests/test_tool_startup.py` (`test_each_sibling_importing_tool_starts`) fails on main `647affe2a`, new since `2d73c242f`. Fix and PR follow shortly.
Author
Owner

@BadgersMC commented on GitHub (Nov 24, 2026):

claiming: TEST-LDS-WIDE-GPUAV — fix the synthetic cs_w32_lds_wide fixture and its checked-in disassembly so concurrent lanes do not write the same shared words. The current fixture at main 647affe2 returns all eight expected words on RTX 3060 Ti but fails GPU-assisted validation with six shared-memory reports. I will preserve all eight output checks, including the b96 boundary sentinel. Separate fixture from #412 and #507. No game files. AI-assisted.

<!-- gh-comment-id:7133128497 --> @BadgersMC commented on GitHub (Nov 24, 2026): claiming: TEST-LDS-WIDE-GPUAV — fix the synthetic `cs_w32_lds_wide` fixture and its checked-in disassembly so concurrent lanes do not write the same shared words. The current fixture at main `647affe2` returns all eight expected words on RTX 3060 Ti but fails GPU-assisted validation with six shared-memory reports. I will preserve all eight output checks, including the b96 boundary sentinel. Separate fixture from #412 and #507. No game files. AI-assisted.
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

claiming: Fix the missing PE TLS directory in the loader_tls /GA fixture built with clang-cl and lld-link.

<!-- gh-comment-id:7133148588 --> @moffington commented on GitHub (Nov 24, 2026): claiming: Fix the missing PE TLS directory in the loader_tls /GA fixture built with clang-cl and lld-link.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: RT-DS-UAV-SLOTS -> #772. Slots 127 (CreateCommittedResource3) and 133 (CreatePlacedResourceX) now make a console depth-stencil texture with unordered access as a depth-stencil texture alone, as #427 does at slots 25 and 76; a buffer, a render target and a plain depth-stencil texture keep their flags. The mock tests fail with the old flag line put back. Depends on #427 (the diff lists its commits until it merges). Not done: slot 108 (GetResourceAllocationInfo2, in #219 / #727), and no retail boot on this change.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7133156835 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: RT-DS-UAV-SLOTS -> #772. Slots 127 (CreateCommittedResource3) and 133 (CreatePlacedResourceX) now make a console depth-stencil texture with unordered access as a depth-stencil texture alone, as #427 does at slots 25 and 76; a buffer, a render target and a plain depth-stencil texture keep their flags. The mock tests fail with the old flag line put back. Depends on #427 (the diff lists its commits until it merges). Not done: slot 108 (GetResourceAllocationInfo2, in #219 / #727), and no retail boot on this change. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: ANIM-SKELETON-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/anim_skeleton_match.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133166341 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: ANIM-SKELETON-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/anim_skeleton_match.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: ANIM-MOVE-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/anim_move.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133166855 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: ANIM-MOVE-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/anim_move.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7698 -> #774 (restoration of old upstream PR 7698)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133172739 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7698 -> #774 (restoration of old upstream PR 7698) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

claiming: GPU-M5 - add a GPU-test record for an Apple M5 (base chip, 8-core GPU, MoltenVK 1.4.2, macOS 27.2.1) at current main: gpu-test-results/AppleM5.txt plus its row in docs/gpu_test_results.md, with the build.py, check.py, run_gpu_tests.py (native and LEONIDA_W64_EMULATE=1) and ctest counts. Synthetic fixtures only, no game files.

<!-- gh-comment-id:7133176752 --> @hugo0024 commented on GitHub (Nov 24, 2026): claiming: GPU-M5 - add a GPU-test record for an Apple M5 (base chip, 8-core GPU, MoltenVK 1.4.2, macOS 27.2.1) at current main: gpu-test-results/AppleM5.txt plus its row in docs/gpu_test_results.md, with the build.py, check.py, run_gpu_tests.py (native and LEONIDA_W64_EMULATE=1) and ctest counts. Synthetic fixtures only, no game files.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: ANIM-SKELETON-STAGE-CLEANUP -> #775

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133193790 --> @trigger337 commented on GitHub (Nov 24, 2026): done: ANIM-SKELETON-STAGE-CLEANUP -> #775 agent: yes AI-assisted: yes
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133124413) -> #776

<!-- gh-comment-id:7133197303 --> @Boost9898 commented on GitHub (Nov 24, 2026): done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133124413) -> #776
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap the whole-region arena import from https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578 is the step that decides how far anyone gets past the frame loop, and roanh47 has claimed it twice (RT-TITLE-HOST-REGION, RT-TITLE-RESERVATION-ARENA) without a pull request yet. Could you put your prototype where others can run it: a branch on your fork, or a draft pull request that says it is a prototype, even rough and with the hard-coded 14 GiB region? No clean-up needed.

I would build it on a second NVIDIA machine (RTX 5070, driver 617.14, native Windows 11, own 1.0.2.1 copy; it reaches the frame loop with #142/#641 #427 #727 #602 #387 #357 #432, see https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131480453) and post counts only: whether the import works on that driver, how far the run gets, and where it stops. That would show whether the stops you hit are the 5080's or the title's. I have not claimed the arena work and will not start it myself.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7133200504 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap the whole-region arena import from https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7132343578 is the step that decides how far anyone gets past the frame loop, and roanh47 has claimed it twice (RT-TITLE-HOST-REGION, RT-TITLE-RESERVATION-ARENA) without a pull request yet. Could you put your prototype where others can run it: a branch on your fork, or a draft pull request that says it is a prototype, even rough and with the hard-coded 14 GiB region? No clean-up needed. I would build it on a second NVIDIA machine (RTX 5070, driver 617.14, native Windows 11, own 1.0.2.1 copy; it reaches the frame loop with #142/#641 #427 #727 #602 #387 #357 #432, see https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131480453) and post counts only: whether the import works on that driver, how far the run gets, and where it stops. That would show whether the stops you hit are the 5080's or the title's. I have not claimed the arena work and will not start it myself. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX5090-LAPTOP-LINUX - Add gpu-test-results/RTX5090Laptop.txt for my RTX 5090 Laptop GPU on CachyOS (NVIDIA 620.73.04, subgroup 32). I’ll build the Vulkan test programs from current main and run scripts/run_gpu_tests.py natively and with LEONIDA_W64_EMULATE=1. No game files. AI-assisted.

<!-- gh-comment-id:7133205493 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: GPU-RTX5090-LAPTOP-LINUX - Add `gpu-test-results/RTX5090Laptop.txt` for my RTX 5090 Laptop GPU on CachyOS (NVIDIA 620.73.04, subgroup 32). I’ll build the Vulkan test programs from current `main` and run `scripts/run_gpu_tests.py` natively and with `LEONIDA_W64_EMULATE=1`. No game files. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: RT-DS-UAV-SLOT108 - the part of RT-DS-UAV-SLOTS (#772) I left out: slot 108 (GetResourceAllocationInfo2, the handler from #219 / #727) copies the title's descriptions with & 0x5FF and so keeps ALLOW_UNORDERED_ACCESS on a depth-stencil texture, which GetResourceAllocationInfo2 of the PC device then refuses (size UINT64_MAX). Same fix as slots 25, 76, 127 and 133: without_depth_stencil_uav on each copied description, with a mock test. Depends on #427 (the helper) and #727 (the handler; or #219 if that lands instead), and builds on #772 only for its tests; I will open it as soon as #727 or #427 is in main, or against them as a stacked pull request if the owners prefer that.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7133211238 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: RT-DS-UAV-SLOT108 - the part of RT-DS-UAV-SLOTS (#772) I left out: slot 108 (GetResourceAllocationInfo2, the handler from #219 / #727) copies the title's descriptions with `& 0x5FF` and so keeps `ALLOW_UNORDERED_ACCESS` on a depth-stencil texture, which `GetResourceAllocationInfo2` of the PC device then refuses (size UINT64_MAX). Same fix as slots 25, 76, 127 and 133: `without_depth_stencil_uav` on each copied description, with a mock test. Depends on #427 (the helper) and #727 (the handler; or #219 if that lands instead), and builds on #772 only for its tests; I will open it as soon as #727 or #427 is in `main`, or against them as a stacked pull request if the owners prefer that. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: ANIM-MOVE-STAGE-CLEANUP -> #777

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133213097 --> @trigger337 commented on GitHub (Nov 24, 2026): done: ANIM-MOVE-STAGE-CLEANUP -> #777 agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: AWC-MANIFEST-STAGE-CLEANUP — publish mode on Windows in tools/awc_manifest.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133217795 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: AWC-MANIFEST-STAGE-CLEANUP — publish mode on Windows in tools/awc_manifest.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: AWC-NAMES-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/awc_names.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133218252 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: AWC-NAMES-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/awc_names.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: AWC-SHORTS-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/awc_shorts.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133218720 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: AWC-SHORTS-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/awc_shorts.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

claiming: SHADER-W64-UNIFORM-VCC - in tools/wave64_halves.py (cmp_tag, branch()), a vccz/vccnz branch on a v_cmp of uniform sources (constants, clean non-mask SGPRs, uniform VGPRs), with taint 0, EXEC at the launch mask and outside elected-lane regions, becomes tier A instead of unsafe-vote-branch. That matches the existing s_cmp/s_cbranch_scc handling. Under a narrowed EXEC it stays C. Includes semantic tests (3 A cases, 3 stay-C near-misses, a 1×64 vs 2×32 interpreter run), a GPU fixture ps_w64_a_uniform_vcc run at subgroup 64 and 32 on an RX 9070, a census before/after (counts only) and a SHADER-10 row in docs/design.md. May touch the same code as #187 (SHADER-820). No game data. AI-assisted.

<!-- gh-comment-id:7133226006 --> @snain0511 commented on GitHub (Nov 24, 2026): claiming: SHADER-W64-UNIFORM-VCC - in `tools/wave64_halves.py` (`cmp_tag`, `branch()`), a `vccz`/`vccnz` branch on a `v_cmp` of uniform sources (constants, clean non-mask SGPRs, uniform VGPRs), with taint 0, EXEC at the launch mask and outside elected-lane regions, becomes tier A instead of `unsafe-vote-branch`. That matches the existing `s_cmp`/`s_cbranch_scc` handling. Under a narrowed EXEC it stays C. Includes semantic tests (3 A cases, 3 stay-C near-misses, a 1×64 vs 2×32 interpreter run), a GPU fixture `ps_w64_a_uniform_vcc` run at subgroup 64 and 32 on an RX 9070, a census before/after (counts only) and a SHADER-10 row in `docs/design.md`. May touch the same code as #187 (SHADER-820). No game data. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7699 - restoring my original pull request, old upstream PR 7699 in ItsNotRexed/Leonida (docs/multi_gpu_validation: the two recurring RDNA1 failures are Mesa bugs, not an old signed-zero issue, and the stale-binary note is under "Run them" in testing.md), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133227843 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7699 - restoring my original pull request, old upstream PR 7699 in `ItsNotRexed/Leonida` (docs/multi_gpu_validation: the two recurring RDNA1 failures are Mesa bugs, not an old signed-zero issue, and the stale-binary note is under "Run them" in testing.md), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

claiming: MASK-CHANNELS-STAGE-CLEANUP — harden tools/mask_channels.py's --json staging the way the other report tools are being hardened: the staged file is chmod'ed to the destination's bits before os.replace, so on Windows a failed replace over a read-only report strands a read-only staging file that the TemporaryDirectory cleanup cannot delete, masking the real ERROR: line. I will publish through a named staging file with an explicit cleanup (make it writable before unlink, suppress the cleanup error so the original error line stays one line and exit 2) and add the read-only-replace regression test in tests/test_mask_channels.py in the style of test_navmesh_index's. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7133242472 --> @djrolfes commented on GitHub (Nov 24, 2026): claiming: MASK-CHANNELS-STAGE-CLEANUP — harden `tools/mask_channels.py`'s `--json` staging the way the other report tools are being hardened: the staged file is chmod'ed to the destination's bits before `os.replace`, so on Windows a failed replace over a read-only report strands a read-only staging file that the `TemporaryDirectory` cleanup cannot delete, masking the real `ERROR:` line. I will publish through a named staging file with an explicit cleanup (make it writable before unlink, suppress the cleanup error so the original error line stays one line and exit 2) and add the read-only-replace regression test in `tests/test_mask_channels.py` in the style of `test_navmesh_index`'s. No game files, no GPU. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: AWC-MANIFEST-STAGE-CLEANUP -> #779

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133255877 --> @trigger337 commented on GitHub (Nov 24, 2026): done: AWC-MANIFEST-STAGE-CLEANUP -> #779 agent: yes AI-assisted: yes
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

done: D3D-SAMPLE-POSITIONS -> #778

Opened as a draft. Three RTX 5070 Ti GPU tests pass with Vulkan validation. Remaining checks are listed in the PR.

— Codex

<!-- gh-comment-id:7133268903 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): done: D3D-SAMPLE-POSITIONS -> #778 Opened as a draft. Three RTX 5070 Ti GPU tests pass with Vulkan validation. Remaining checks are listed in the PR. — Codex
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: AWC-NAMES-STAGE-CLEANUP -> #780

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133275643 --> @trigger337 commented on GitHub (Nov 24, 2026): done: AWC-NAMES-STAGE-CLEANUP -> #780 agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7699 -> #781 (restoration of old upstream PR 7699)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133288341 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7699 -> #781 (restoration of old upstream PR 7699) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: AWC-SHORTS-STAGE-CLEANUP -> #783

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133296327 --> @trigger337 commented on GitHub (Nov 24, 2026): done: AWC-SHORTS-STAGE-CLEANUP -> #783 agent: yes AI-assisted: yes
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

done: MASK-CHANNELS-STAGE-CLEANUP -> #782

<!-- gh-comment-id:7133296450 --> @djrolfes commented on GitHub (Nov 24, 2026): done: MASK-CHANNELS-STAGE-CLEANUP -> #782
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

Verification batch, each pull request applied to its own clean worktree at main 2d73c242f (Linux, CPython 3.14.7, CPU only, synthetic fixtures, no game files). 16 pull requests; 14 pass, one diff is stale, one has no test that can run here.

PR Verdict Tests actually run
#603 PASS test_ds_permute_probe.py + both guard tests
#616 PASS test_exe_sha.py 16 tests + both guards
#620 PASS test_stale_build_include_dirs.py, test_stale_build.py + both guards (already independently checked)
#625 PASS test_progress_dashboard.py + both guards (already checked)
#632 PASS test_exe_checklist.py + both guards
#640 PASS test_make_game_argparse.py, test_make_game_dry_run.py (already checked)
#651 PASS node --test tests/test_viewer_streaming.cjs 67/67
#652 PASS test_ci_expected_failures.py + both guards (already checked)
#623 PASS test_shader_disasm_input_lines.py, test_shader_disasm.py + both guards
#624 PASS test_vk_subgroup_info.py + docs guards
#633 PASS test_rdna2_decode.py 20 tests, 1 skipped
#637 PASS test_rdna2_decode.py
#642 PASS the five semantic files it touches (test_vop3_clamp_nan.py et al.) + docs guards
#650 PASS test_scalar_mem_smem.py, test_smem_oob_safe_address.py, test_run_gpu_tests.py, test_shader_checks.py + docs guards
#647 STALE .diff no longer applies: hunk at docs/design.md:275 fails against 2d73c242f. Tested at its own head 70a5945c instead: test_sload_vcc_base.py 3/3 OK, test_docs_links.py 16/16, test_docs_cli_flags.py 4/4 — so the patch is fine and only needs a rebase
#656 not verifiable here the PR's own tests/test_rpf9dump_exit_codes.py reports OK (skipped=8) without RPF9DUMP_DLL, and there is no dotnet on this host, so neither the C# change nor its harness is exercised

Two things worth the author's attention rather than a merge:

  • #647 — rebase only, nothing to fix in the patch (details in a comment on the PR).
  • #656 — the new test file is entirely skipped on any host without a built rpf9dump, so a green CI there proves nothing about the C# change; someone with dotnet needs to run it.

Two verdicts were re-run by hand after the batch (#616 and #633) and matched, and #651 was run with node --test directly because the batch helper does not map a .cjs file to the viewer test.

<!-- gh-comment-id:7133310450 --> @Poussistar commented on GitHub (Nov 24, 2026): Verification batch, each pull request applied to its own clean worktree at `main` `2d73c242f` (Linux, CPython 3.14.7, CPU only, synthetic fixtures, no game files). 16 pull requests; 14 pass, one diff is stale, one has no test that can run here. | PR | Verdict | Tests actually run | |---|---|---| | #603 | PASS | `test_ds_permute_probe.py` + both guard tests | | #616 | PASS | `test_exe_sha.py` 16 tests + both guards | | #620 | PASS | `test_stale_build_include_dirs.py`, `test_stale_build.py` + both guards (already independently checked) | | #625 | PASS | `test_progress_dashboard.py` + both guards (already checked) | | #632 | PASS | `test_exe_checklist.py` + both guards | | #640 | PASS | `test_make_game_argparse.py`, `test_make_game_dry_run.py` (already checked) | | #651 | PASS | `node --test tests/test_viewer_streaming.cjs` 67/67 | | #652 | PASS | `test_ci_expected_failures.py` + both guards (already checked) | | #623 | PASS | `test_shader_disasm_input_lines.py`, `test_shader_disasm.py` + both guards | | #624 | PASS | `test_vk_subgroup_info.py` + docs guards | | #633 | PASS | `test_rdna2_decode.py` 20 tests, 1 skipped | | #637 | PASS | `test_rdna2_decode.py` | | #642 | PASS | the five semantic files it touches (`test_vop3_clamp_nan.py` et al.) + docs guards | | #650 | PASS | `test_scalar_mem_smem.py`, `test_smem_oob_safe_address.py`, `test_run_gpu_tests.py`, `test_shader_checks.py` + docs guards | | #647 | **STALE** | `.diff` no longer applies: hunk at `docs/design.md:275` fails against `2d73c242f`. Tested at its own head `70a5945c` instead: `test_sload_vcc_base.py` 3/3 OK, `test_docs_links.py` 16/16, `test_docs_cli_flags.py` 4/4 — so the patch is fine and only needs a rebase | | #656 | **not verifiable here** | the PR's own `tests/test_rpf9dump_exit_codes.py` reports `OK (skipped=8)` without `RPF9DUMP_DLL`, and there is no `dotnet` on this host, so neither the C# change nor its harness is exercised | Two things worth the author's attention rather than a merge: - **#647** — rebase only, nothing to fix in the patch (details in a comment on the PR). - **#656** — the new test file is entirely skipped on any host without a built `rpf9dump`, so a green CI there proves nothing about the C# change; someone with `dotnet` needs to run it. Two verdicts were re-run by hand after the batch (#616 and #633) and matched, and #651 was run with `node --test` directly because the batch helper does not map a `.cjs` file to the viewer test.
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

done: GPU-RTX5090-LAPTOP-LINUX -> #784

<!-- gh-comment-id:7133349980 --> @Okachamie commented on GitHub (Nov 24, 2026): done: GPU-RTX5090-LAPTOP-LINUX -> #784
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-FREXP-ORACLES-TRANSLATE - tests/semantic/test_valu_frexp_f64.py, test_valu_frexp_mant_f64.py and test_valu_frexp_exp_i32_f64.py are DEBT private oracles that never run the translator. Comparing them with the translated v_frexp_mant_f64 / v_frexp_exp_i32_f64 over 402 inputs, they agree on normals, subnormals, zeros, infinities, quiet NaNs, abs/neg and clamp, and disagree in two places where docs/design.md (the v_frexp_mant_f64 row, measured on gfx1036 in the game's MODE, IEEE 0 and denorm_mode_16_64 3) sides with the translator: a signalling NaN passes through unchanged (the oracles quiet it, the IEEE=1 behaviour), and mul:2/div:2 are ignored (the oracles scale the mantissa). I will give each file a class that checks the translator against its oracle on the agreeing inputs and pins the two measured behaviours with that citation, say in each file's docstring that its own sNaN/omod rules model IEEE=1, and drop the three DEBT entries. The oracles' own tests are not changed. Builds on #746 (f64_translate.py helper). No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7133358082 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-FREXP-ORACLES-TRANSLATE - tests/semantic/test_valu_frexp_f64.py, test_valu_frexp_mant_f64.py and test_valu_frexp_exp_i32_f64.py are DEBT private oracles that never run the translator. Comparing them with the translated v_frexp_mant_f64 / v_frexp_exp_i32_f64 over 402 inputs, they agree on normals, subnormals, zeros, infinities, quiet NaNs, abs/neg and clamp, and disagree in two places where docs/design.md (the v_frexp_mant_f64 row, measured on gfx1036 in the game's MODE, IEEE 0 and denorm_mode_16_64 3) sides with the translator: a signalling NaN passes through unchanged (the oracles quiet it, the IEEE=1 behaviour), and mul:2/div:2 are ignored (the oracles scale the mantissa). I will give each file a class that checks the translator against its oracle on the agreeing inputs and pins the two measured behaviours with that citation, say in each file's docstring that its own sNaN/omod rules model IEEE=1, and drop the three DEBT entries. The oracles' own tests are not changed. Builds on #746 (f64_translate.py helper). No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: BINK-NAMES-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/bink_names.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133359114 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: BINK-NAMES-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/bink_names.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: MISSION-TABLES-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/mission_tables.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133359546 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: MISSION-TABLES-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/mission_tables.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: RBF0-INDEX-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/rbf0_index.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133360010 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: RBF0-INDEX-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/rbf0_index.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: RPF-PROBE-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/rpf_probe.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133360452 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: RPF-PROBE-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/rpf_probe.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: TTPF-ASSETS-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/ttpf_assets.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133361228 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: TTPF-ASSETS-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/ttpf_assets.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

done: GPU-M5 -> #785

<!-- gh-comment-id:7133365115 --> @hugo0024 commented on GitHub (Nov 24, 2026): done: GPU-M5 -> #785
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: independent Windows NVIDIA review -> #588. RTX 5070 (617.14), Khronos validation layer on, main 21625bca8 + #588: d3d12_xbox_d16s8_test 12 PASS and OK, d3d12_d24_support_test and d3d12_typeless_depth_test still pass, no validation messages. Unit level only; no retail boot on this change. https://github.com/ubiquitarianism/leonida/pull/588#issuecomment-7133354894

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7133367892 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: independent Windows NVIDIA review -> #588. RTX 5070 (617.14), Khronos validation layer on, `main` 21625bca8 + #588: `d3d12_xbox_d16s8_test` 12 PASS and OK, `d3d12_d24_support_test` and `d3d12_typeless_depth_test` still pass, no validation messages. Unit level only; no retail boot on this change. https://github.com/ubiquitarianism/leonida/pull/588#issuecomment-7133354894 AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@bvtterbroot commented on GitHub (Nov 24, 2026):

claiming: D3D-CLEAR-NAN-DEPTH - on AMD, d3d12_clear stays red with #516: the AMD Vulkan driver stores 1.0 for a NaN depth clear value in vkCmdClearDepthStencilImage and vkCmdClearAttachments, even with VK_EXT_depth_range_unrestricted (RX 7900 XTX, AMD 26.11.2; draft #307 saw the same on an RX 9070 XT and only changes the test). I will write a NaN clear of a D32_FLOAT / D32_FLOAT_S8X24_UINT depth plane as a fill of the value's bits into transfer scratch plus a buffer-to-image copy into each cleared rectangle (runtime/src/vulkan_replay.h), keep the stencil a clear, and add D32_S8 NaN + stencil cases to d3d12_clear_test. Builds on #516. A prototype already passes d3d12_clear on the 7900 XTX with and without validation. No game files. AI-assisted.

<!-- gh-comment-id:7133374565 --> @bvtterbroot commented on GitHub (Nov 24, 2026): claiming: D3D-CLEAR-NAN-DEPTH - on AMD, `d3d12_clear` stays red with #516: the AMD Vulkan driver stores 1.0 for a NaN depth clear value in `vkCmdClearDepthStencilImage` and `vkCmdClearAttachments`, even with `VK_EXT_depth_range_unrestricted` (RX 7900 XTX, AMD 26.11.2; draft #307 saw the same on an RX 9070 XT and only changes the test). I will write a NaN clear of a `D32_FLOAT` / `D32_FLOAT_S8X24_UINT` depth plane as a fill of the value's bits into transfer scratch plus a buffer-to-image copy into each cleared rectangle (`runtime/src/vulkan_replay.h`), keep the stencil a clear, and add D32_S8 NaN + stencil cases to `d3d12_clear_test`. Builds on #516. A prototype already passes `d3d12_clear` on the 7900 XTX with and without validation. No game files. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7783 - restoring my original pull request, old upstream PR 7783 in ItsNotRexed/Leonida (docs/design.md: the shader disassembly note cites whole-corpus gfx1013/gfx1010-1012/gfx1030 decode counts and the 26,503/26,503 translate and spirv-val counts instead of a 300-shader sample), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133388922 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7783 - restoring my original pull request, old upstream PR 7783 in `ItsNotRexed/Leonida` (docs/design.md: the shader disassembly note cites whole-corpus gfx1013/gfx1010-1012/gfx1030 decode counts and the 26,503/26,503 translate and spirv-val counts instead of a 300-shader sample), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BINK-NAMES-STAGE-CLEANUP -> #786

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133388935 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BINK-NAMES-STAGE-CLEANUP -> #786 agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: MISSION-TABLES-STAGE-CLEANUP -> #788

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133413740 --> @trigger337 commented on GitHub (Nov 24, 2026): done: MISSION-TABLES-STAGE-CLEANUP -> #788 agent: yes AI-assisted: yes
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

claiming: STORY-INDEX-STAGE-CLEANUP — harden tools/story_index.py's write_output staging the way navmesh_index and bvh_index already do: the staged file carries the destination's bits, so on Windows a failed os.replace over a read-only report strands a read-only stage that the TemporaryDirectory cleanup cannot delete, masking the real error. I will make the cleanup delete the staged file after making it deletable and let one delete failure go, so main's {out}: {error} line and exit 2 stay about the real cause; the prior report stays byte-for-byte intact. Regression test in tests/test_story_index.py in the style of the existing failed-replace tests (fails against the old code on the made-deletable assertion). No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7133415910 --> @djrolfes commented on GitHub (Nov 24, 2026): claiming: STORY-INDEX-STAGE-CLEANUP — harden `tools/story_index.py`'s `write_output` staging the way `navmesh_index` and `bvh_index` already do: the staged file carries the destination's bits, so on Windows a failed `os.replace` over a read-only report strands a read-only stage that the `TemporaryDirectory` cleanup cannot delete, masking the real error. I will make the cleanup delete the staged file after making it deletable and let one delete failure go, so `main`'s `{out}: {error}` line and exit 2 stay about the real cause; the prior report stays byte-for-byte intact. Regression test in `tests/test_story_index.py` in the style of the existing failed-replace tests (fails against the old code on the made-deletable assertion). No game files, no GPU. AI-assisted.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

done: STORY-INDEX-STAGE-CLEANUP -> #787

<!-- gh-comment-id:7133427924 --> @djrolfes commented on GitHub (Nov 24, 2026): done: STORY-INDEX-STAGE-CLEANUP -> #787
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

Correction to my comment above: done: STORY-INDEX-STAGE-CLEANUP -> #789 (I wrote #787 before the PR number existed).

<!-- gh-comment-id:7133431075 --> @djrolfes commented on GitHub (Nov 24, 2026): Correction to my comment above: done: STORY-INDEX-STAGE-CLEANUP -> #789 (I wrote #787 before the PR number existed).
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

claiming: SHADER-W64-FLOW-EXEC-FOLD — flow-sensitive must-be-zero proof in tools/wave64_emulate_opt.py (_exec_writes_stay_inactive) so reused scratch SGPR pairs overwritten by s_and_saveexec_b64 before restoring EXEC fold without spurious wave votes and barriers (tools/wave64_emulate_opt.py, tests/test_wave64_emulate_opt_cfg.py, tests/semantic/test_wave64_emulate_opt.py, docs/design.md).

<!-- gh-comment-id:7133434431 --> @SweatierKey commented on GitHub (Nov 24, 2026): claiming: SHADER-W64-FLOW-EXEC-FOLD — flow-sensitive must-be-zero proof in `tools/wave64_emulate_opt.py` (`_exec_writes_stay_inactive`) so reused scratch SGPR pairs overwritten by `s_and_saveexec_b64` before restoring `EXEC` fold without spurious wave votes and barriers (`tools/wave64_emulate_opt.py`, `tests/test_wave64_emulate_opt_cfg.py`, `tests/semantic/test_wave64_emulate_opt.py`, `docs/design.md`).
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

withdrawing: SHADER-W64-UNIFORM-VCC (my claim above) - duplicate, no PR coming. The rule is already on main: 8c1536782 (tedin7, "a vote on a wave-uniform compare is not a lane vote") tags such a v_cmp UVOTE in uniform_cmp and vote() treats vccz/vccnz on it as a uniform branch, with the same conditions (untainted constants, non-mask SGPRs, uniform VGPRs, EXEC the launch mask) plus the s_and_b64 vcc, exec, s[..] form, semantic tests, the ps_w64_a_uniform_vote GPU fixture and the SHADER-10 row in docs/design.md. It came in through a merge rather than a PR here, so it didn't show up in a PR search. Found while rebasing; nothing was pushed.

<!-- gh-comment-id:7133438480 --> @snain0511 commented on GitHub (Nov 24, 2026): withdrawing: SHADER-W64-UNIFORM-VCC (my claim above) - duplicate, no PR coming. The rule is already on `main`: `8c1536782` (tedin7, "a vote on a wave-uniform compare is not a lane vote") tags such a `v_cmp` `UVOTE` in `uniform_cmp` and `vote()` treats `vccz`/`vccnz` on it as a uniform branch, with the same conditions (untainted constants, non-mask SGPRs, uniform VGPRs, EXEC the launch mask) plus the `s_and_b64 vcc, exec, s[..]` form, semantic tests, the `ps_w64_a_uniform_vote` GPU fixture and the SHADER-10 row in `docs/design.md`. It came in through a merge rather than a PR here, so it didn't show up in a PR search. Found while rebasing; nothing was pushed.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: RBF0-INDEX-STAGE-CLEANUP -> #791

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133439237 --> @trigger337 commented on GitHub (Nov 24, 2026): done: RBF0-INDEX-STAGE-CLEANUP -> #791 agent: yes AI-assisted: yes
Author
Owner

@barkodr commented on GitHub (Nov 24, 2026):

claiming: tools/native_pso_hashes.py has no stdout errors="replace" guard (added in 62a9588), so test_tool_stdout_encoding fails on main. Tools only. AI-assisted.
claiming: tools/bc_feature.py, calibrated_texture.py, tex_mode_probe.py and swizzle_search.py import numpy unconditionally and never say they need it; give them the one-line "numpy is missing" message tools/tile_probe.py uses. Tools only. AI-assisted.
claiming: gpu-test-results — RTX 4070 (non-Ti, AD104). AI-assisted.

<!-- gh-comment-id:7133439528 --> @barkodr commented on GitHub (Nov 24, 2026): claiming: tools/native_pso_hashes.py has no stdout errors="replace" guard (added in 62a9588), so test_tool_stdout_encoding fails on main. Tools only. AI-assisted. claiming: tools/bc_feature.py, calibrated_texture.py, tex_mode_probe.py and swizzle_search.py import numpy unconditionally and never say they need it; give them the one-line "numpy is missing" message tools/tile_probe.py uses. Tools only. AI-assisted. claiming: gpu-test-results — RTX 4070 (non-Ti, AD104). AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7783 -> #790 (restoration of old upstream PR 7783)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133445287 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7783 -> #790 (restoration of old upstream PR 7783) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: RT-PIPELINE-CACHE-SEED - restore the vk_pipeline_check device feature parity fix (disable robustBufferAccess, scalarBlockLayout, robustImageAccess to match create_vulkan_device_standalone) and the pipeline_cache_seed regression test dropped from ancestor commit c8a102d0cf (Senne Cools) by merge 6dece9231, making the test self-contained with an embedded minimal compute SPIR-V module so it builds and runs without glslangValidator and passes tests/test_ctest_registration.py. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7133460538 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: RT-PIPELINE-CACHE-SEED - restore the vk_pipeline_check device feature parity fix (disable robustBufferAccess, scalarBlockLayout, robustImageAccess to match create_vulkan_device_standalone) and the pipeline_cache_seed regression test dropped from ancestor commit c8a102d0cf (Senne Cools) by merge 6dece9231, making the test self-contained with an embedded minimal compute SPIR-V module so it builds and runs without glslangValidator and passes tests/test_ctest_registration.py. No game files, nothing online. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: RPF-PROBE-STAGE-CLEANUP -> #792

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133465707 --> @trigger337 commented on GitHub (Nov 24, 2026): done: RPF-PROBE-STAGE-CLEANUP -> #792 agent: yes AI-assisted: yes
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

claiming: RPF9-NAMES-STAGE-CLEANUP — the same staging hardening for tools/rpf9_names.py's publish_report: the staged report carries the destination's bits, so on Windows a failed os.replace over a read-only report strands a read-only stage the TemporaryDirectory cleanup cannot delete, masking the real error main is supposed to name. Cleanup makes the staged file deletable before deleting and lets one delete failure go; prior report stays byte-for-byte intact. Regression test in tests/test_rpf9_names.py in the style of the story_index/navmesh_index failed-replace tests (fails against the old code on the made-deletable assertion). No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7133477447 --> @djrolfes commented on GitHub (Nov 24, 2026): claiming: RPF9-NAMES-STAGE-CLEANUP — the same staging hardening for `tools/rpf9_names.py`'s `publish_report`: the staged report carries the destination's bits, so on Windows a failed `os.replace` over a read-only report strands a read-only stage the `TemporaryDirectory` cleanup cannot delete, masking the real error `main` is supposed to name. Cleanup makes the staged file deletable before deleting and lets one delete failure go; prior report stays byte-for-byte intact. Regression test in `tests/test_rpf9_names.py` in the style of the story_index/navmesh_index failed-replace tests (fails against the old code on the made-deletable assertion). No game files, no GPU. AI-assisted.
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

done: SHADER-W64-FLOW-EXEC-FOLD -> #793

<!-- gh-comment-id:7133483060 --> @SweatierKey commented on GitHub (Nov 24, 2026): done: SHADER-W64-FLOW-EXEC-FOLD -> #793
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

done: RPF9-NAMES-STAGE-CLEANUP -> #794

<!-- gh-comment-id:7133486376 --> @djrolfes commented on GitHub (Nov 24, 2026): done: RPF9-NAMES-STAGE-CLEANUP -> #794
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

claiming: GPU-RX9070-RAPHAEL-WIN - two gpu-test-results/ records from one Windows 11 box on the AMD proprietary driver 26.11.2: Radeon RX 9070 (RDNA4 / GFX1201, Vulkan 1.4.359; main has the 9070 XT on this driver and the GRE on RADV, not the non-XT) and the Ryzen 5 7600X's integrated Radeon Graphics (RDNA2 / gfx1036, Vulkan 1.4.315; main's only gfx1036 record, Raphael-610M, is RADV on Linux, so this is gfx1036 under AMD's Windows compiler). scripts/run_gpu_tests.py native and under LEONIDA_W64_EMULATE=1, counts only. I'll also run #739 (AMD Windows driver crash) on both and comment the result there. No game files. AI-assisted.

<!-- gh-comment-id:7133503064 --> @snain0511 commented on GitHub (Nov 24, 2026): claiming: GPU-RX9070-RAPHAEL-WIN - two `gpu-test-results/` records from one Windows 11 box on the AMD proprietary driver 26.11.2: Radeon RX 9070 (RDNA4 / GFX1201, Vulkan 1.4.359; `main` has the 9070 XT on this driver and the GRE on RADV, not the non-XT) and the Ryzen 5 7600X's integrated Radeon Graphics (RDNA2 / gfx1036, Vulkan 1.4.315; `main`'s only gfx1036 record, Raphael-610M, is RADV on Linux, so this is gfx1036 under AMD's Windows compiler). `scripts/run_gpu_tests.py` native and under `LEONIDA_W64_EMULATE=1`, counts only. I'll also run #739 (AMD Windows driver crash) on both and comment the result there. No game files. AI-assisted.
Author
Owner

@barkodr commented on GitHub (Nov 24, 2026):

claiming: tools/x64_recomp.py and tests/test_x64_recomp.py hard-code a contributor's /home/nolan/.nix-profile qemu path; use QEMU_AARCH64 or PATH only, and have the test reuse x64_recomp.QEMU_BIN. Tools only. AI-assisted.

<!-- gh-comment-id:7133519546 --> @barkodr commented on GitHub (Nov 24, 2026): claiming: tools/x64_recomp.py and tests/test_x64_recomp.py hard-code a contributor's /home/nolan/.nix-profile qemu path; use QEMU_AARCH64 or PATH only, and have the test reuse x64_recomp.QEMU_BIN. Tools only. AI-assisted.
Author
Owner

@barkodr commented on GitHub (Nov 24, 2026):

claiming: tools/probe_gfx1036_vcmp16.py's usage names a private C:\Leonida-worktrees wrapper and the wrong folder (scripts/); fix the usage line and print one clear line when vk_compute_test.exe or spirv-as is missing. Tools only. AI-assisted.

<!-- gh-comment-id:7133522442 --> @barkodr commented on GitHub (Nov 24, 2026): claiming: tools/probe_gfx1036_vcmp16.py's usage names a private C:\Leonida-worktrees wrapper and the wrong folder (scripts/); fix the usage line and print one clear line when vk_compute_test.exe or spirv-as is missing. Tools only. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: TTPF-ASSETS-STAGE-CLEANUP -> #795

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133526320 --> @trigger337 commented on GitHub (Nov 24, 2026): done: TTPF-ASSETS-STAGE-CLEANUP -> #795 agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: IMAGE-QUERY-PROBE-STAGE-CLEANUP — publish mode on Windows in tools/image_query_probe.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133536906 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: IMAGE-QUERY-PROBE-STAGE-CLEANUP — publish mode on Windows in tools/image_query_probe.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: MODE-ROUND-PROBE-STAGE-CLEANUP — publish mode on Windows in tools/mode_round_probe.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133537640 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: MODE-ROUND-PROBE-STAGE-CLEANUP — publish mode on Windows in tools/mode_round_probe.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7505 - restoring my original pull request, old upstream PR 7505 in ItsNotRexed/Leonida (w64_graphics, design: the wave32 VS run is the halves of the wave64 waves, not a repacking, measured with vs_w64_c_lane_id on RDNA2 and RDNA3), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133546591 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7505 - restoring my original pull request, old upstream PR 7505 in `ItsNotRexed/Leonida` (w64_graphics, design: the wave32 VS run is the halves of the wave64 waves, not a repacking, measured with vs_w64_c_lane_id on RDNA2 and RDNA3), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: IMAGE-QUERY-PROBE-STAGE-CLEANUP -> #796

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133561456 --> @trigger337 commented on GitHub (Nov 24, 2026): done: IMAGE-QUERY-PROBE-STAGE-CLEANUP -> #796 agent: yes AI-assisted: yes
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: independent retail check -> #461. With #461 on a stack that reaches the frame loop (RTX 5070, 617.14) the four no console texture layout ... E_NOTIMPL lines (XGSuggestSwizzleMode, XGCreateTextureComputer, texture computer slots 8 and 10) are gone, the loop is still reached (464,933 PresentX ok in 200 s, no exception). Not checked: xg_xs_test on my side, the correctness of the layouts. https://github.com/ubiquitarianism/leonida/pull/461#issuecomment-7133557543

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7133562102 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: independent retail check -> #461. With #461 on a stack that reaches the frame loop (RTX 5070, 617.14) the four `no console texture layout ... E_NOTIMPL` lines (XGSuggestSwizzleMode, XGCreateTextureComputer, texture computer slots 8 and 10) are gone, the loop is still reached (464,933 `PresentX ok` in 200 s, no exception). Not checked: `xg_xs_test` on my side, the correctness of the layouts. https://github.com/ubiquitarianism/leonida/pull/461#issuecomment-7133557543 AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Addendum to the span finding above - the assert's arithmetic is now fully measured, and it changes the reading.

A breakpoint dump of the executing frame (and of the assert's accumulator global) closes the math: the span the title compares is 0x4000000 (64 MiB, start 0), the accumulator global it adds is 0x0, the bound is 0x1FFFFF - the check is short by 0x3E00001, and with an empty accumulator no region size can pass it, not the 64 MiB the title picked here nor the 82.5 MiB alternative a capability query offers it (cmovne between 0x4000000 and 0x5200000). So the real console never runs this check over the whole region: on hardware the frame's two span slots carry a sub-span, and something upstream of the compare steers the title into deriving the full region instead.

The calls immediately before the assert are the layer's two shape-answerers: GetCustomHeapProperties (console device slot 17) and GetResourceAllocationInfo (slot 25), between them Xbox CreateCommittedResource3 (slot 127, a 2D resource) and a raw-words SRV (slot 70), with CreateSampler (slot 20) as the very last call. A returned heap/allocation shape that differs from the console's - or an info answer the title reads a span out of - is the prime suspect for the miss; the measured values give any implementer an exact target: make the title's frame carry a sub-span ≤ 0x1FFFFF at this point and the boot proceeds.

The assert and the spill stop are one chain, not two: the int3 sits after the first compute pipeline (which the signature-accepting stub creates cleanly), and the title's deliberate null-write exit downstream is just this assert's echo - so this span stop is what the retail boot actually hits last, with the PSO tail proven clean behind it.

<!-- gh-comment-id:7133568517 --> @slauko commented on GitHub (Nov 24, 2026): Addendum to the span finding above - the assert's arithmetic is now fully measured, and it changes the reading. A breakpoint dump of the executing frame (and of the assert's accumulator global) closes the math: the span the title compares is `0x4000000` (64 MiB, start 0), the accumulator global it adds is `0x0`, the bound is `0x1FFFFF` - the check is short by `0x3E00001`, and with an empty accumulator **no** region size can pass it, not the 64 MiB the title picked here nor the 82.5 MiB alternative a capability query offers it (`cmovne` between `0x4000000` and `0x5200000`). So the real console never runs this check over the whole region: on hardware the frame's two span slots carry a sub-span, and something upstream of the compare steers the title into deriving the full region instead. The calls immediately before the assert are the layer's two shape-answerers: GetCustomHeapProperties (console device slot 17) and GetResourceAllocationInfo (slot 25), between them Xbox CreateCommittedResource3 (slot 127, a 2D resource) and a raw-words SRV (slot 70), with CreateSampler (slot 20) as the very last call. A returned heap/allocation shape that differs from the console's - or an info answer the title reads a span out of - is the prime suspect for the miss; the measured values give any implementer an exact target: make the title's frame carry a sub-span ≤ 0x1FFFFF at this point and the boot proceeds. The assert and the spill stop are one chain, not two: the int3 sits *after* the first compute pipeline (which the signature-accepting stub creates cleanly), and the title's deliberate null-write exit downstream is just this assert's echo - so this span stop is what the retail boot actually hits last, with the PSO tail proven clean behind it.
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

claiming:

  • SHADER-MS-CLIP-IFACE: tools/rdna2spirv.py assemble() — list %ms_cull (Block with CullPrimitiveEXT) before %ms_out_vtx (Block with Position + ClipDistance/CullDistance) in OpEntryPoint MeshEXT's interface list to fix AMD Windows LLPC 0xC0000005 pipeline-creation crash on ms_clip (reproduces on AMD Ryzen 5 7600 RDNA2 iGPU, Windows driver 24.10.24, even with glslangValidator output; keeping %ms_cull_blk as Block+bool for SPIRV-Tools ≤2025.1).
  • SHADER-STRUCTURED-PC-UNWRAP: tools/cfg_structure.py + tools/rdna2spirv.py capped_tree() — unwrap tautological ("guard", g, ...) nodes where abstract interpretation proves %pc == g on all incoming paths (generalizing wave64_emulate_opt._unwrap_known_pc_guards to the regular structured CFG path). Fixes ms_wave_info_s3 AMD Windows LLPC 0xC0000005 crash caused by blk2's OpControlBarrier sitting inside a redundant if (pc == 2) guard on native wave64, and lets needs_barrier_rounds() see post-dominating barrier blocks at top level.
<!-- gh-comment-id:7133575269 --> @whoalin1 commented on GitHub (Nov 24, 2026): claiming: - `SHADER-MS-CLIP-IFACE`: `tools/rdna2spirv.py` `assemble()` — list `%ms_cull` (`Block` with `CullPrimitiveEXT`) before `%ms_out_vtx` (`Block` with `Position` + `ClipDistance`/`CullDistance`) in `OpEntryPoint MeshEXT`'s interface list to fix AMD Windows LLPC `0xC0000005` pipeline-creation crash on `ms_clip` (reproduces on AMD Ryzen 5 7600 RDNA2 iGPU, Windows driver 24.10.24, even with glslangValidator output; keeping `%ms_cull_blk` as `Block+bool` for SPIRV-Tools ≤2025.1). - `SHADER-STRUCTURED-PC-UNWRAP`: `tools/cfg_structure.py` + `tools/rdna2spirv.py` `capped_tree()` — unwrap tautological `("guard", g, ...)` nodes where abstract interpretation proves `%pc == g` on all incoming paths (generalizing `wave64_emulate_opt._unwrap_known_pc_guards` to the regular structured CFG path). Fixes `ms_wave_info_s3` AMD Windows LLPC `0xC0000005` crash caused by `blk2`'s `OpControlBarrier` sitting inside a redundant `if (pc == 2)` guard on native wave64, and lets `needs_barrier_rounds()` see post-dominating barrier blocks at top level.
Author
Owner

@MoonEyes commented on GitHub (Nov 24, 2026):

finding: #128 and #763 (and its draft #312) fix the same Windows failure in opposite directions, so merging both turns the three tests red again. Pick one; #312 can close either way since #763 is its rebased carry-over.

  • What: tests/test_bink_names.py, test_opus_tags.py and test_world_names.py each fake an unreadable folder and assertIn(path, message). The message embeds str(OSError), which repr()s the filename, so on Windows the backslashes are doubled and the assertion misses. #128 changes the tools to print the plain path; #763 changes the tests to expect repr(path).

  • Measured on native Windows 11, Python 3.14.0, python -I tests/<file>.py, in a throwaway worktree of main 2d73c242f:

    tree bink_names opus_tags world_names
    main FAILED (1) FAILED (1) FAILED (1)
    main + #128 OK OK OK
    main + #763 OK OK OK
    main + #128 + #763 FAILED (1) FAILED (1) FAILED (1)
  • Why it matters: both are MERGEABLE and green on their own, and Linux CI cannot see the difference (no backslashes in POSIX paths), so the second merge would pass review and silently re-break Windows.

  • Needs: no game files, no GPU; a Windows host to observe. Which direction to take is the maintainer's call: #128 changes what users read (a plain path, arguably nicer), #763 only touches tests. AI-assisted (Claude Code).

<!-- gh-comment-id:7133585591 --> @MoonEyes commented on GitHub (Nov 24, 2026): finding: #128 and #763 (and its draft #312) fix the same Windows failure in opposite directions, so merging both turns the three tests red again. Pick one; #312 can close either way since #763 is its rebased carry-over. - **What:** `tests/test_bink_names.py`, `test_opus_tags.py` and `test_world_names.py` each fake an unreadable folder and `assertIn(path, message)`. The message embeds `str(OSError)`, which repr()s the filename, so on Windows the backslashes are doubled and the assertion misses. #128 changes the tools to print the plain path; #763 changes the tests to expect `repr(path)`. - **Measured** on native Windows 11, Python 3.14.0, `python -I tests/<file>.py`, in a throwaway worktree of `main` 2d73c242f: | tree | bink_names | opus_tags | world_names | |---|---|---|---| | main | FAILED (1) | FAILED (1) | FAILED (1) | | main + #128 | OK | OK | OK | | main + #763 | OK | OK | OK | | main + #128 + #763 | FAILED (1) | FAILED (1) | FAILED (1) | - **Why it matters:** both are MERGEABLE and green on their own, and Linux CI cannot see the difference (no backslashes in POSIX paths), so the second merge would pass review and silently re-break Windows. - **Needs:** no game files, no GPU; a Windows host to observe. Which direction to take is the maintainer's call: #128 changes what users read (a plain path, arguably nicer), #763 only touches tests. AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: MODE-ROUND-PROBE-STAGE-CLEANUP -> #797

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133598155 --> @trigger337 commented on GitHub (Nov 24, 2026): done: MODE-ROUND-PROBE-STAGE-CLEANUP -> #797 agent: yes AI-assisted: yes
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX2050 - I will add a GPU test record for my NVIDIA GeForce RTX 2050 Laptop GPU (Ampere GA107, 4 GB), driver 621.24, Windows 11 Home build 26300. Tested on main 2d73c242. The PR adds gpu-test-results/RTX2050.txt only. Synthetic tests, no game files. AI-assisted.

<!-- gh-comment-id:7133600868 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: GPU-RTX2050 - I will add a GPU test record for my NVIDIA GeForce RTX 2050 Laptop GPU (Ampere GA107, 4 GB), driver 621.24, Windows 11 Home build 26300. Tested on main 2d73c242. The PR adds gpu-test-results/RTX2050.txt only. Synthetic tests, no game files. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: RTTI-SCAN-STAGE-CLEANUP — restore write mode before unlink on replace failure in tools/rtti_scan.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133613861 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: RTTI-SCAN-STAGE-CLEANUP — restore write mode before unlink on replace failure in tools/rtti_scan.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

claiming: TEST-CHECK-F16-FALLBACK - runtime/test/shaders/build.py and check.py choose the f16 interpolation fallback from the device (per_vertex_inputs false in tools/vk_subgroup_info.py), as run_gpu_tests.py and make_game.py already do. Today the two-step form fails ps_ij_computed and ps_interp_f16_high on every MoltenVK Mac unless LEONIDA_F16_INTERP_FALLBACK=1 is set by hand (measured on an Apple M5: 175 of 220 pass and 6 failed, against 176 and 4 with the variable). Tests in tests/test_shader_build_fallbacks.py and the two docs/testing.md paragraphs come with it.

<!-- gh-comment-id:7133634583 --> @hugo0024 commented on GitHub (Nov 24, 2026): claiming: TEST-CHECK-F16-FALLBACK - runtime/test/shaders/build.py and check.py choose the f16 interpolation fallback from the device (per_vertex_inputs false in tools/vk_subgroup_info.py), as run_gpu_tests.py and make_game.py already do. Today the two-step form fails ps_ij_computed and ps_interp_f16_high on every MoltenVK Mac unless LEONIDA_F16_INTERP_FALLBACK=1 is set by hand (measured on an Apple M5: 175 of 220 pass and 6 failed, against 176 and 4 with the variable). Tests in tests/test_shader_build_fallbacks.py and the two docs/testing.md paragraphs come with it.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: RTTI-SCAN-STAGE-CLEANUP -> #798

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133640832 --> @trigger337 commented on GitHub (Nov 24, 2026): done: RTTI-SCAN-STAGE-CLEANUP -> #798 agent: yes AI-assisted: yes
Author
Owner

@bvtterbroot commented on GitHub (Nov 24, 2026):

done: D3D-CLEAR-NAN-DEPTH -> #787. A NaN clear of a D32_FLOAT / D32_FLOAT_S8X24_UINT depth plane is now a fill plus buffer-to-image copy; the stencil stays a clear. d3d12_clear passes on an RX 7900 XTX (AMD 26.11.2), 3 runs each with and without validation; the full ctest suite shows only the 4 failures that main has on AMD. Builds on #516 (main merged in, conflict with #540 resolved). Not tested on NVIDIA or Intel. AI-assisted.

<!-- gh-comment-id:7133654747 --> @bvtterbroot commented on GitHub (Nov 24, 2026): done: D3D-CLEAR-NAN-DEPTH -> #787. A NaN clear of a `D32_FLOAT` / `D32_FLOAT_S8X24_UINT` depth plane is now a fill plus buffer-to-image copy; the stencil stays a clear. `d3d12_clear` passes on an RX 7900 XTX (AMD 26.11.2), 3 runs each with and without validation; the full ctest suite shows only the 4 failures that `main` has on AMD. Builds on #516 (main merged in, conflict with #540 resolved). Not tested on NVIDIA or Intel. AI-assisted.
Author
Owner

@s0las16 commented on GitHub (Nov 24, 2026):

claiming: RT-XS-SLOT62-DIAG - slot 62 and the Vulkan compute-pipeline create paths fail silently; log the HRESULT/VkResult and the bvh/fspx index counts. Logging only. AI-assisted.

<!-- gh-comment-id:7133666275 --> @s0las16 commented on GitHub (Nov 24, 2026): claiming: RT-XS-SLOT62-DIAG - slot 62 and the Vulkan compute-pipeline create paths fail silently; log the HRESULT/VkResult and the bvh/fspx index counts. Logging only. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: RDNA2SPIRV-INDEX-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/rdna2spirv.py write_index. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133671978 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: RDNA2SPIRV-INDEX-STAGE-CLEANUP — restore write mode before unlink on replace failure and publish mode on Windows in tools/rdna2spirv.py write_index. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: RDNA2SPIRV-INDEX-STAGE-CLEANUP -> #803

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133692358 --> @trigger337 commented on GitHub (Nov 24, 2026): done: RDNA2SPIRV-INDEX-STAGE-CLEANUP -> #803 agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7505 -> #804 (restoration of old upstream PR 7505)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133704286 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7505 -> #804 (restoration of old upstream PR 7505) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claiming: SHADER-LINK-CHECK-STAGE-CLEANUP — restore write mode before unlink on replace failure in tools/shader_link_check.py. Synthetic regression test. Clean-room / zero game data.

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133725549 --> @trigger337 commented on GitHub (Nov 24, 2026): claiming: SHADER-LINK-CHECK-STAGE-CLEANUP — restore write mode before unlink on replace failure in tools/shader_link_check.py. Synthetic regression test. Clean-room / zero game data. agent: yes AI-assisted: yes
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

done: SHADER-10-UVOTE -> #805 (wave64_halves.py: recognize UVOTE under non-zero EXEC after s_cbranch_execz/execnz, wave64 v_cmp sN pair writes, and s_cselect_b64/s_and_b64/s_or_b64 UVOTE combinations; 276 retail tainted-branch VS/PS shaders move to Tier A/B; 190/190 unit tests pass). AI-assisted: yes.

<!-- gh-comment-id:7133732509 --> @madhyn commented on GitHub (Nov 24, 2026): done: SHADER-10-UVOTE -> #805 (`wave64_halves.py`: recognize `UVOTE` under non-zero `EXEC` after `s_cbranch_execz`/`execnz`, wave64 `v_cmp` `sN` pair writes, and `s_cselect_b64`/`s_and_b64`/`s_or_b64` `UVOTE` combinations; 276 retail `tainted-branch` VS/PS shaders move to Tier A/B; 190/190 unit tests pass). AI-assisted: yes.
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

claiming: SHADER-FMT-DEC-DEMAND — demand-driven dynamic-channel format decode (%fmt_dec_dyn) for 1/2/3-component buffer_load_format_{x,xy,xyz} and _d16_{x,xy,xyz} in tools/rdna2spirv.py, cutting dynamic decode calls 4x/2x/25% for narrow loads without changing 4-component %fmt_dec_c0..c3 (tools/rdna2spirv.py, tests/test_rdna2spirv_decode.py, tests/semantic/test_format_decode_table.py, docs/design.md).

<!-- gh-comment-id:7133732630 --> @SweatierKey commented on GitHub (Nov 24, 2026): claiming: SHADER-FMT-DEC-DEMAND — demand-driven dynamic-channel format decode (`%fmt_dec_dyn`) for 1/2/3-component `buffer_load_format_{x,xy,xyz}` and `_d16_{x,xy,xyz}` in `tools/rdna2spirv.py`, cutting dynamic decode calls 4x/2x/25% for narrow loads without changing 4-component `%fmt_dec_c0..c3` (`tools/rdna2spirv.py`, `tests/test_rdna2spirv_decode.py`, `tests/semantic/test_format_decode_table.py`, `docs/design.md`).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: SHADER-LINK-CHECK-STAGE-CLEANUP -> #807

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133766643 --> @trigger337 commented on GitHub (Nov 24, 2026): done: SHADER-LINK-CHECK-STAGE-CLEANUP -> #807 agent: yes AI-assisted: yes
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

done:

  • SHADER-MS-CLIP-IFACE -> #802 (ms_clip AMD Windows LLPC 0xC0000005 crash fixed; verified on AMD RDNA2 128B iGPU + RTX 4070 SUPER with LEONIDA_VK_VALIDATION=1)
  • SHADER-STRUCTURED-PC-UNWRAP -> #808 (ms_wave_info_s3 AMD Windows LLPC 0xC0000005 crash fixed; verified on 18,228 random CFGs + AMD RDNA2 128B iGPU + RTX 4070 SUPER with LEONIDA_VK_VALIDATION=1)
<!-- gh-comment-id:7133796249 --> @whoalin1 commented on GitHub (Nov 24, 2026): done: - `SHADER-MS-CLIP-IFACE` -> #802 (`ms_clip` AMD Windows LLPC `0xC0000005` crash fixed; verified on AMD RDNA2 128B iGPU + RTX 4070 SUPER with `LEONIDA_VK_VALIDATION=1`) - `SHADER-STRUCTURED-PC-UNWRAP` -> #808 (`ms_wave_info_s3` AMD Windows LLPC `0xC0000005` crash fixed; verified on 18,228 random CFGs + AMD RDNA2 128B iGPU + RTX 4070 SUPER with `LEONIDA_VK_VALIDATION=1`)
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: RPF9-NAMES-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133797965 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: RPF9-NAMES-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: RPF9-NAMES-STAGE-CLEANUP -> #809

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133825544 --> @trigger337 commented on GitHub (Nov 24, 2026): done: RPF9-NAMES-STAGE-CLEANUP -> #809 agent: yes AI-assisted: yes
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-FREXP-ORACLES-TRANSLATE -> #810 (depends on #746, #764). AI-assisted (Claude Code).

<!-- gh-comment-id:7133827666 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-FREXP-ORACLES-TRANSLATE -> #810 (depends on #746, #764). AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: STORY-INDEX-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133828588 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: STORY-INDEX-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: STORY-INDEX-STAGE-CLEANUP -> #812

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133851428 --> @trigger337 commented on GitHub (Nov 24, 2026): done: STORY-INDEX-STAGE-CLEANUP -> #812 agent: yes AI-assisted: yes
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

done: SHADER-FMT-DEC-DEMAND -> #811

<!-- gh-comment-id:7133851535 --> @SweatierKey commented on GitHub (Nov 24, 2026): done: SHADER-FMT-DEC-DEMAND -> #811
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: CLASSIFY-CARVE-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133860640 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: CLASSIFY-CARVE-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

done: DOC-LIST-SLOTS-69-72 -> #622

The four rows are settled and the pull request now carries the measured numbers. The retail trace on two machines (@DadaCap's RTX 5080 and @DesertGamer's RTX 5070) puts the 32-bit write at list slot 71 and the 64-bit write at 72, with the waits at 73 and 74, and never calls slot 69; the document's own section 3.3a, reading the shipped XboxBvhBuilder.dll, says the same (+0x238 a 32-bit value write, +0x248 a masked wait). #622 renames the two constants, moves the four rows of the table with them and pins both numbers in the test. The residual - where the shift starts - is a separate finding.

<!-- gh-comment-id:7133863584 --> @Mby159 commented on GitHub (Nov 24, 2026): done: DOC-LIST-SLOTS-69-72 -> #622 The four rows are settled and the pull request now carries the measured numbers. The retail trace on two machines (@DadaCap's RTX 5080 and @DesertGamer's RTX 5070) puts the 32-bit write at list slot 71 and the 64-bit write at 72, with the waits at 73 and 74, and never calls slot 69; the document's own section 3.3a, reading the shipped `XboxBvhBuilder.dll`, says the same (`+0x238` a 32-bit value write, `+0x248` a masked wait). #622 renames the two constants, moves the four rows of the table with them and pins both numbers in the test. The residual - where the shift starts - is a separate finding.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

finding: DOC-LIST-SLOTS-SHIFT-ORIGIN - the console list's two extra methods are not located, so ExecuteIndirect and the console-only rows may be two slots low as well

Where. docs/d3d12_command_objects.md, the "Command list" table: the rows for 61 (ExecuteIndirect), 85 and 141. And runtime/shims/d3d12_xs_device.h, console_to_pc_list_slot: the slot == 61 line that maps the console's 61 to the PC's 59.

What is measured. The four value-write and wait slots are measured, twice and independently: the retail title calls list slot 71 with a title address and a value and slot 72 with a title address and the flags word, slot 74 with the wait's arguments, and never calls slot 69; and section 3.3a of the same document reads the shipped XboxBvhBuilder.dll the same way (+0x238 a 32-bit value write, +0x248 a masked wait). #622 follows those numbers.

What is not measured. Where the difference begins. The console list has more methods than the port's table lists in the region above 61, and the two extra ones are not located. The title never calls ExecuteIndirect - neither at 61 nor at 63 - so nothing pins the origin. If the two extra methods are below 69, then console_to_pc_list_slot@'s slot == 61 -> 59is two slots out: the console's indirect dispatch would land on a slot the proxy refuses instead of on the PC'sExecuteIndirect`, and the rows at 85 and 141 would name the wrong console slots.

Why it matters. It is a silent loss, not a crash: the call would be dropped and logged once, and the title would carry on without its indirect dispatch. Anyone building on the list-slot map today would also be building on a numbering that may be two low.

What it needs. A retail run - 1.0.2.1, native Windows 11 - that reaches the title's indirect dispatch, with the port's own trace line for the call (the list slot it arrives at). No Khronos validation layer and no mesh shader are needed, only a trace; the retail package is the user's own copy, nothing is read by the repository. A single trace line of the list slot the indirect dispatch arrives at would settle it.

<!-- gh-comment-id:7133864289 --> @Mby159 commented on GitHub (Nov 24, 2026): finding: DOC-LIST-SLOTS-SHIFT-ORIGIN - the console list's two extra methods are not located, so `ExecuteIndirect` and the console-only rows may be two slots low as well **Where.** `docs/d3d12_command_objects.md`, the "Command list" table: the rows for 61 (`ExecuteIndirect`), 85 and 141. And `runtime/shims/d3d12_xs_device.h`, `console_to_pc_list_slot`: the `slot == 61` line that maps the console's 61 to the PC's 59. **What is measured.** The four value-write and wait slots are measured, twice and independently: the retail title calls list slot 71 with a title address and a value and slot 72 with a title address and the flags word, slot 74 with the wait's arguments, and never calls slot 69; and section 3.3a of the same document reads the shipped `XboxBvhBuilder.dll` the same way (`+0x238` a 32-bit value write, `+0x248` a masked wait). #622 follows those numbers. **What is not measured.** Where the difference begins. The console list has more methods than the port's table lists in the region above 61, and the two extra ones are not located. The title never calls `ExecuteIndirect` - neither at 61 nor at 63 - so nothing pins the origin. If the two extra methods are below 69, then `console_to_pc_list_slot@'s `slot == 61 -> 59` is two slots out: the console's indirect dispatch would land on a slot the proxy refuses instead of on the PC's `ExecuteIndirect`, and the rows at 85 and 141 would name the wrong console slots. **Why it matters.** It is a silent loss, not a crash: the call would be dropped and logged once, and the title would carry on without its indirect dispatch. Anyone building on the list-slot map today would also be building on a numbering that may be two low. **What it needs.** A retail run - 1.0.2.1, native Windows 11 - that reaches the title's indirect dispatch, with the port's own trace line for the call (the list slot it arrives at). No Khronos validation layer and no mesh shader are needed, only a trace; the retail package is the user's own copy, nothing is read by the repository. A single trace line of the list slot the indirect dispatch arrives at would settle it.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

Correction to my confirmation comment above (the "no trace files" aside): that was a bug in my capture wrapper, not in the runtime or Wine — I appended the --trace/--trace-d3d12 flags after the sandbox guard's os.execv, which never runs anything appended to it. With the flags spliced into the exec itself, --trace/--trace-d3d12 work fine under Wine 11.22 in the offline sandbox, and the runbook (tools/boot_trace.py) summarizes the PR #728 branch run exactly as its author reported on Windows:

  • 1,644 D3D12 calls: 1,619 ok, 5 failed (CreateCommandList — the console command-list IID attempts the fallback then answers), last recorded call CreateUnorderedAccessView.
  • The run's final exception is 0x80000003 inside the title's own code (stack is entirely game frames, no runtime frames) — the physical-pool span assert discussed further up this thread.
  • One XMemAllocatePhysicalPages event (attributes 0x280) before the device is created.

Counts and error classes only; the traces stay local. No action needed on the runtime — posting this so nobody reads the aside as a Wine trace bug.

<!-- gh-comment-id:7133871435 --> @djrolfes commented on GitHub (Nov 24, 2026): Correction to my confirmation comment above (the "no trace files" aside): that was a bug in my capture wrapper, not in the runtime or Wine — I appended the `--trace`/`--trace-d3d12` flags *after* the sandbox guard's `os.execv`, which never runs anything appended to it. With the flags spliced into the exec itself, `--trace`/`--trace-d3d12` work fine under Wine 11.22 in the offline sandbox, and the runbook (`tools/boot_trace.py`) summarizes the PR #728 branch run exactly as its author reported on Windows: - 1,644 D3D12 calls: 1,619 ok, 5 failed (`CreateCommandList` — the console command-list IID attempts the fallback then answers), last recorded call `CreateUnorderedAccessView`. - The run's final exception is `0x80000003` inside the title's own code (stack is entirely game frames, no runtime frames) — the physical-pool span assert discussed further up this thread. - One `XMemAllocatePhysicalPages` event (attributes 0x280) before the device is created. Counts and error classes only; the traces stay local. No action needed on the runtime — posting this so nobody reads the aside as a Wine trace bug.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: CLASSIFY-CARVE-STAGE-CLEANUP -> #813

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133886582 --> @trigger337 commented on GitHub (Nov 24, 2026): done: CLASSIFY-CARVE-STAGE-CLEANUP -> #813 agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: RSC8-AUDIO-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133893920 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: RSC8-AUDIO-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: RSC8-AUDIO-STAGE-CLEANUP -> #814

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133906369 --> @trigger337 commented on GitHub (Nov 24, 2026): done: RSC8-AUDIO-STAGE-CLEANUP -> #814 agent: yes AI-assisted: yes
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: on NVIDIA (subgroup 32) the lazy-PSO path now stops at wave64 graphics shaders, after the 118 depth format and the arena size - measured, so this is the next wall there, not a guess.

  • Where: runtime/shims/d3d12_vulkan_device.cpp (the pipeline check that prints no emulation exists for wave64 ps shaders yet / ... vs shaders yet; docs/d3d12_vulkan.md, subgroup size).
  • Measured: Windows 11, RTX 5070 (617.14, device subgroup sizes 32..32), LEONIDA_D3D12=vulkan, own 1.0.2.1 copy. Stack: main 21625bca8 + #641 + #427 + #727 + #602 + #387 + #357 + #432 (frame loop, 400,154 PresentX ok in 200 s) with LEONIDA_LAZY_PSO=1 and #511 (10,016 presents, then the title's int3 at GetResourceAllocationInfo format not supported yet: 118), then #588 (6,186 presents, GPU address arena full), then LEONIDA_ARENA_MB=4095 and #772 on top. That last run reaches 6,417 PresentX ok and 323,948 D3D12 calls, and refuses seven pipelines before the title's int3 (the same assert site as the A8_UNORM stop at game_scarlett_master.exe+0x344196): four no emulation exists for wave64 ps shaders and three for vs, each after is a 64-wide shader but this device cannot require that subgroup size for the stage.
  • Why it matters: with #511, #588 and an arena of 4095 MiB these are the first stops on NVIDIA, so the work on the wave64 graphics halves (e.g. the restored OLD-7505) is what the next boot on a 32-wide device waits for. AMD with native wave64 would not see them, which may be why the 9070 XT run in #588 went further.
  • Needs: no game files to work on it (the shaders are in the index); a 32-wide GPU to see the boot stop. Counts only here, no shader names or data. I have not claimed it.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7133907159 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: on NVIDIA (subgroup 32) the lazy-PSO path now stops at wave64 graphics shaders, after the 118 depth format and the arena size - measured, so this is the next wall there, not a guess. - **Where:** `runtime/shims/d3d12_vulkan_device.cpp` (the pipeline check that prints `no emulation exists for wave64 ps shaders yet` / `... vs shaders yet`; `docs/d3d12_vulkan.md`, subgroup size). - **Measured:** Windows 11, RTX 5070 (617.14, device subgroup sizes 32..32), `LEONIDA_D3D12=vulkan`, own 1.0.2.1 copy. Stack: `main` 21625bca8 + #641 + #427 + #727 + #602 + #387 + #357 + #432 (frame loop, 400,154 `PresentX ok` in 200 s) with `LEONIDA_LAZY_PSO=1` and #511 (10,016 presents, then the title's int3 at `GetResourceAllocationInfo format not supported yet: 118`), then #588 (6,186 presents, `GPU address arena full`), then `LEONIDA_ARENA_MB=4095` and #772 on top. That last run reaches 6,417 `PresentX ok` and 323,948 D3D12 calls, and refuses seven pipelines before the title's int3 (the same assert site as the A8_UNORM stop at `game_scarlett_master.exe+0x344196`): four `no emulation exists for wave64 ps shaders` and three for `vs`, each after `is a 64-wide shader but this device cannot require that subgroup size for the stage`. - **Why it matters:** with #511, #588 and an arena of 4095 MiB these are the first stops on NVIDIA, so the work on the wave64 graphics halves (e.g. the restored `OLD-7505`) is what the next boot on a 32-wide device waits for. AMD with native wave64 would not see them, which may be why the 9070 XT run in #588 went further. - **Needs:** no game files to work on it (the shaders are in the index); a 32-wide GPU to see the boot stop. Counts only here, no shader names or data. I have not claimed it. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-7450 - restoring my original pull request, old upstream PR 7450 in ItsNotRexed/Leonida (wave64 emulate: a cross-lane read of a lane that doesn't exist in a partial last wave gives 0, not the garbage RADV fetches), closed unmerged when that repository went private on 2026-11-23

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7133918227 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-7450 - restoring my original pull request, old upstream PR 7450 in `ItsNotRexed/Leonida` (wave64 emulate: a cross-lane read of a lane that doesn't exist in a partial last wave gives 0, not the garbage RADV fetches), closed unmerged when that repository went private on 2026-11-23 AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: WORLD-BUILD-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133919083 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: WORLD-BUILD-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

claiming: CORPUS-WATCH — counts-only corpus regression watch tool (scripts/corpus_watch.py + tests/test_corpus_watch.py), not yet in the Open work table

<!-- gh-comment-id:7133930458 --> @fitzypopper commented on GitHub (Nov 24, 2026): claiming: CORPUS-WATCH — counts-only corpus regression watch tool (scripts/corpus_watch.py + tests/test_corpus_watch.py), not yet in the Open work table
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: WORLD-BUILD-STAGE-CLEANUP -> #816

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133938081 --> @trigger337 commented on GitHub (Nov 24, 2026): done: WORLD-BUILD-STAGE-CLEANUP -> #816 agent: yes AI-assisted: yes
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

@DesertGamer @roanh47 the whole-region prototype is here to run or take from: https://github.com/DadaCap/leonida/tree/boot-prototype (one squashed commit on main d0da7dad; the message lists the pull requests in it; not for merge). roanh47, the claims stay yours; use any of it.

Where the pieces are: make_region / gpu_region in runtime/shims/xmem.cpp (LEONIDA_GPU_REGION_MB, default 14336, 0 turns it off), create_imported_arena in runtime/shims/d3d12_vulkan_device.cpp, arena_va in runtime/shims/d3d12_com.h.

To run: LEONIDA_LAZY_PSO=1, and for the moment LEONIDA_SKIP_INT3=1 with --trace <file>. LEONIDA_AUTOPRESS=1 presses A for unattended runs. The region needs about 21 GB of commit here (RAM plus page file).

Result (1.0.2.1, native Windows 11, RTX 5080): the first-run menus render correctly (start screen, text size, brightness, setup summary, legal notices: text, gradients, icons) and it ran 590 s without a crash. Not tried past the legal notices. Without LEONIDA_SKIP_INT3 it stops on the assert below.

What it took since my last post:

  • Map of a title-placed texture (device slot 133) has to return the title's own address. A failed Map made the title's image decode write over its own memory; that was the crash at 27 s (exe+0x13360a3). Unmap and the first SRV now detile and upload the pixels (upload_title_pixels, console_detile.h).
  • #513 (CBV stride 16) is confirmed. Before it the whole UI was one diagonal line; with it, correct.

finding: the title asserts at exe+0x4ffd879 right after the start screen, in its DirectStorage request builder: it asks for fewer bytes than a whole compressed chunk (size < chunk size). Cause not known; the title carries on when the int3 is stepped over, once per run. Needs game files.

finding: DirectStorage requests with physical pages, then BCPack and swizzle, are reached in the menus and answer E_NOTIMPL (runtime/shims/dstorage.cpp:799-806). Needs game files to verify. I intend to look at the physical-page part next; say so if somebody already has it.

finding: origin/main now has PresentX at queue slot 30 by default (#402); the 1.0.2.1 title presents through slot 32 (LEONIDA_XS_PRESENT_X_SLOT). My stack keeps its own path, so I have not run #402's.

AI-assisted (Claude Code, Opus 5.5).

<!-- gh-comment-id:7133944946 --> @DadaCap commented on GitHub (Nov 24, 2026): @DesertGamer @roanh47 the whole-region prototype is here to run or take from: <https://github.com/DadaCap/leonida/tree/boot-prototype> (one squashed commit on `main` d0da7dad; the message lists the pull requests in it; not for merge). roanh47, the claims stay yours; use any of it. Where the pieces are: `make_region` / `gpu_region` in `runtime/shims/xmem.cpp` (`LEONIDA_GPU_REGION_MB`, default 14336, 0 turns it off), `create_imported_arena` in `runtime/shims/d3d12_vulkan_device.cpp`, `arena_va` in `runtime/shims/d3d12_com.h`. To run: `LEONIDA_LAZY_PSO=1`, and for the moment `LEONIDA_SKIP_INT3=1` with `--trace <file>`. `LEONIDA_AUTOPRESS=1` presses A for unattended runs. The region needs about 21 GB of commit here (RAM plus page file). Result (1.0.2.1, native Windows 11, RTX 5080): **the first-run menus render correctly** (start screen, text size, brightness, setup summary, legal notices: text, gradients, icons) and it ran 590 s without a crash. Not tried past the legal notices. Without `LEONIDA_SKIP_INT3` it stops on the assert below. What it took since my last post: - **Map of a title-placed texture (device slot 133) has to return the title's own address.** A failed `Map` made the title's image decode write over its own memory; that was the crash at 27 s (exe+0x13360a3). Unmap and the first SRV now detile and upload the pixels (`upload_title_pixels`, `console_detile.h`). - **#513 (CBV stride 16) is confirmed.** Before it the whole UI was one diagonal line; with it, correct. finding: the title asserts at exe+0x4ffd879 right after the start screen, in its DirectStorage request builder: it asks for fewer bytes than a whole compressed chunk (`size < chunk size`). Cause not known; the title carries on when the `int3` is stepped over, once per run. Needs game files. finding: DirectStorage requests with physical pages, then BCPack and swizzle, are reached in the menus and answer E_NOTIMPL (`runtime/shims/dstorage.cpp:799-806`). Needs game files to verify. I intend to look at the physical-page part next; say so if somebody already has it. finding: `origin/main` now has PresentX at queue slot 30 by default (#402); the 1.0.2.1 title presents through slot 32 (`LEONIDA_XS_PRESENT_X_SLOT`). My stack keeps its own path, so I have not run #402's. AI-assisted (Claude Code, Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: TEXT-TABLES-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133959164 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: TEXT-TABLES-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: TEXT-TABLES-STAGE-CLEANUP -> #818

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133976071 --> @trigger337 commented on GitHub (Nov 24, 2026): done: TEXT-TABLES-STAGE-CLEANUP -> #818 agent: yes AI-assisted: yes
Author
Owner

@Puttergilll commented on GitHub (Nov 24, 2026):

claiming: docs/related_projects.md, add an availability note: realdody/americas-recomp now returns 404, and the page still describes it as live. Text only.

<!-- gh-comment-id:7133984127 --> @Puttergilll commented on GitHub (Nov 24, 2026): claiming: docs/related_projects.md, add an availability note: realdody/americas-recomp now returns 404, and the page still describes it as live. Text only.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: BINK-INDEX-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7133990620 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: BINK-INDEX-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: GPU-RTX2050 -> #819

The record is gpu-test-results/RTX2050.txt, one file. NVIDIA GeForce RTX 2050 Laptop GPU, driver 621.24, Windows 11, built on main 2d73c242. Native 198/249 passed and emulated 230/249 passed, the only failures are the known cs_imgload_tfe pair (#31). ctest 292 passed, 11 skipped, 1 failed (d3d12_execute_indirect_validation, the same 5 cases as the RTX 5070 record). AI-assisted.

<!-- gh-comment-id:7133996690 --> @TimIdle commented on GitHub (Nov 24, 2026): done: GPU-RTX2050 -> #819 The record is gpu-test-results/RTX2050.txt, one file. NVIDIA GeForce RTX 2050 Laptop GPU, driver 621.24, Windows 11, built on main 2d73c242. Native 198/249 passed and emulated 230/249 passed, the only failures are the known cs_imgload_tfe pair (#31). ctest 292 passed, 11 skipped, 1 failed (d3d12_execute_indirect_validation, the same 5 cases as the RTX 5070 record). AI-assisted.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-MINI-INTERP-F64 - tests/semantic/spirv_mini_interp.py mishandles binary64: GLSL.std.450 Sqrt and InverseSqrt round a double result to binary32 (the translated v_sqrt_f64 of 2.0 gives 0x3ff6a09e60000000 instead of 0x3ff6a09e667f3bcd, v_rsq_f64 likewise), and OpFAdd, OpFSub and OpFDiv on binary64 raise UnsupportedConstruct, so v_add_f64 and v_rcp_f64 cannot run there at all (only OpFMul is allowed). tests/spirv_interp.py, the other interpreter, had the same OpFDiv gap (#746). I will keep Sqrt/InverseSqrt in binary64 for a double result, add binary64 OpFAdd/OpFSub/OpFDiv with the same rules as the binary32 path (a division by zero stays refused as undefined, a NaN made from non-NaN operands follows ieee_nan), and add a translator-driven test file that runs v_add_f64, v_rcp_f64, v_rsq_f64 and v_sqrt_f64 through it. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7134004175 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-MINI-INTERP-F64 - tests/semantic/spirv_mini_interp.py mishandles binary64: GLSL.std.450 Sqrt and InverseSqrt round a double result to binary32 (the translated v_sqrt_f64 of 2.0 gives 0x3ff6a09e60000000 instead of 0x3ff6a09e667f3bcd, v_rsq_f64 likewise), and OpFAdd, OpFSub and OpFDiv on binary64 raise UnsupportedConstruct, so v_add_f64 and v_rcp_f64 cannot run there at all (only OpFMul is allowed). tests/spirv_interp.py, the other interpreter, had the same OpFDiv gap (#746). I will keep Sqrt/InverseSqrt in binary64 for a double result, add binary64 OpFAdd/OpFSub/OpFDiv with the same rules as the binary32 path (a division by zero stays refused as undefined, a NaN made from non-NaN operands follows ieee_nan), and add a translator-driven test file that runs v_add_f64, v_rcp_f64, v_rsq_f64 and v_sqrt_f64 through it. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BINK-INDEX-STAGE-CLEANUP -> #740

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134007824 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BINK-INDEX-STAGE-CLEANUP -> #740 agent: yes AI-assisted: yes
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: RT-PIPELINE-CACHE-SEED -> #821

Restored the vk_pipeline_check cache-key parity fix from c8a102d0cf (disabling robustBufferAccess, scalarBlockLayout, robustImageAccess), extended it for NVIDIA driver 621.24 + #577 (always enabling VK_EXT_mesh_shader with meshShaderQueries kept on and VK_KHR_maintenance8 when supported), and added the self-contained pipeline_cache_seed CTest. Verified PASS on both NVIDIA GeForce RTX 5060 Laptop GPU (driver 621.24) and Intel RaptorLake-S iGPU on Windows 11. AI-assisted.

<!-- gh-comment-id:7134010487 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: RT-PIPELINE-CACHE-SEED -> #821 Restored the `vk_pipeline_check` cache-key parity fix from `c8a102d0cf` (disabling `robustBufferAccess`, `scalarBlockLayout`, `robustImageAccess`), extended it for NVIDIA driver 621.24 + #577 (always enabling `VK_EXT_mesh_shader` with `meshShaderQueries` kept on and `VK_KHR_maintenance8` when supported), and added the self-contained `pipeline_cache_seed` CTest. Verified PASS on both NVIDIA GeForce RTX 5060 Laptop GPU (driver 621.24) and Intel RaptorLake-S iGPU on Windows 11. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@Mby159 on DOC-LIST-SLOTS-SHIFT-ORIGIN: one more data point from the second machine (RTX 5070, 617.14, native Windows 11, own 1.0.2.1 copy). In the deepest runs I have, main + #641 + #427 + #727 + #602 + #387 + #357 + #432 with LEONIDA_LAZY_PSO=1 + #511 + #588 + #772 and LEONIDA_ARENA_MB=4095 (323,948 D3D12 calls and 6,417 PresentX ok, ending at the wave64 pipeline refusals in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133907159), the title called these console list slots (first-call lines): 0, 9, 12, 14, 20-25, 32-36, 44, 47, 48, 50, 52, 70-72, 74, 75, 126, 131, 132, 139, 142, 146. Neither 61 nor 63 is among them, so there is still no ExecuteIndirect trace; slots 14, 33 and 35 are new next to the earlier list (the frame-loop-only run had 0, 9, 12, 20-25, 32, 34, 36, 44, 47, 48, 50, 52, 70-72, 74, 75, 126, 131, 132, 139, 142, 146).

What would answer it is a run that gets past the wave64 graphics pipelines on a 32-wide device, or one on a card with native wave64; I cannot make either from here.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7134012421 --> @DesertGamer commented on GitHub (Nov 24, 2026): @Mby159 on DOC-LIST-SLOTS-SHIFT-ORIGIN: one more data point from the second machine (RTX 5070, 617.14, native Windows 11, own 1.0.2.1 copy). In the deepest runs I have, `main` + #641 + #427 + #727 + #602 + #387 + #357 + #432 with `LEONIDA_LAZY_PSO=1` + #511 + #588 + #772 and `LEONIDA_ARENA_MB=4095` (323,948 D3D12 calls and 6,417 `PresentX ok`, ending at the wave64 pipeline refusals in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133907159), the title called these console list slots (first-call lines): 0, 9, 12, 14, 20-25, 32-36, 44, 47, 48, 50, 52, 70-72, 74, 75, 126, 131, 132, 139, 142, 146. Neither 61 nor 63 is among them, so there is still no `ExecuteIndirect` trace; slots 14, 33 and 35 are new next to the earlier list (the frame-loop-only run had 0, 9, 12, 20-25, 32, 34, 36, 44, 47, 48, 50, 52, 70-72, 74, 75, 126, 131, 132, 139, 142, 146). What would answer it is a run that gets past the wave64 graphics pipelines on a 32-wide device, or one on a card with native wave64; I cannot make either from here. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

done: TEST-CHECK-F16-FALLBACK -> #822

<!-- gh-comment-id:7134023683 --> @hugo0024 commented on GitHub (Nov 24, 2026): done: TEST-CHECK-F16-FALLBACK -> #822
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

claiming: DOC-RELATED-PROJECTS-LICENCE - add the remaining VIctory entry to docs/related_projects.md (finding). xcl already has an entry. Use VIctory's own README and Cargo workspace manifest for its declared GPL-3.0-or-later licence, and link the provenance discussion in #622. Documentation only, no game files or GPU. AI-assisted.

<!-- gh-comment-id:7134054134 --> @lixonik commented on GitHub (Nov 24, 2026): claiming: DOC-RELATED-PROJECTS-LICENCE - add the remaining VIctory entry to docs/related_projects.md ([finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7128270232)). xcl already has an entry. Use VIctory's own README and Cargo workspace manifest for its declared GPL-3.0-or-later licence, and link the provenance discussion in #622. Documentation only, no game files or GPU. AI-assisted.
Author
Owner

@Puttergilll commented on GitHub (Nov 24, 2026):

done: docs/related_projects.md availability note -> #823

AI-assisted: yes

<!-- gh-comment-id:7134065525 --> @Puttergilll commented on GitHub (Nov 24, 2026): done: docs/related_projects.md availability note -> #823 AI-assisted: yes
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

claiming: SHADER-FMT-ENCODE-TABLE — branch-free table-driven run-time format encode (%fmt_enc_tab + %fmt_enc_chan + %fmt_encode_fn) and %fmt_size_tab reuse in tools/rdna2spirv.py, replacing the 3,973-line / 154-branch 77-format if-chain and 157-line %fmt_size_fn with 279 branch-free instructions (tools/rdna2spirv.py, tests/semantic/test_format_encode_table.py, docs/design.md).

<!-- gh-comment-id:7134102086 --> @SweatierKey commented on GitHub (Nov 24, 2026): claiming: SHADER-FMT-ENCODE-TABLE — branch-free table-driven run-time format encode (`%fmt_enc_tab` + `%fmt_enc_chan` + `%fmt_encode_fn`) and `%fmt_size_tab` reuse in `tools/rdna2spirv.py`, replacing the 3,973-line / 154-branch 77-format if-chain and 157-line `%fmt_size_fn` with 279 branch-free instructions (`tools/rdna2spirv.py`, `tests/semantic/test_format_encode_table.py`, `docs/design.md`).
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

done: DOC-RELATED-PROJECTS-LICENCE -> #824. VIctory entry added, xcl is already documented. AI-assisted.

<!-- gh-comment-id:7134111573 --> @lixonik commented on GitHub (Nov 24, 2026): done: DOC-RELATED-PROJECTS-LICENCE -> #824. VIctory entry added, xcl is already documented. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: FILE-MODE-PROBE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134119713 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: FILE-MODE-PROBE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

claiming: RT-CLZERO-XMEM — Fix emulated CLZERO rejecting usable XMem pages that the host still reports as reserved. Synthetic memory fixtures only, no game files or GPU required for the CPU regression. AI-assisted.

<!-- gh-comment-id:7134130957 --> @moffington commented on GitHub (Nov 24, 2026): claiming: RT-CLZERO-XMEM — Fix emulated CLZERO rejecting usable XMem pages that the host still reports as reserved. Synthetic memory fixtures only, no game files or GPU required for the CPU regression. AI-assisted.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

finding: confirming the first-compute-pipeline stop on Linux/Wine for the embedded-shader work (RT-EXE-SHADERS) — on current main + #728 only, with the title's span assert stepped over per the boot runbook (LEONIDA_SKIP_INT3=1 with --trace), the boot reaches CreateRootSignature (device slot 16) and the first Xbox CreateComputePipelineState (device slot 62) and stops at the layer's no translated shaders: set LEONIDA_SHADERS to <work>/shaders/spirv; immediately before, XboxBvhBuilder.dll throws a C++ exception of its own (its error style is documented in docs/xdxr.md), called from the title's bootstrap | where: the refusal is the runtime's shader-corpus check on the first pipeline; the measured chain matches this item's description (the six startup CreatePipelineState calls use shaders embedded in the executable and in XboxBvhBuilder.dll) | why: an independent Wine cross-build reproduces the same next blocker, so the item's fix can be validated on this path too; counts only, no game data quoted | needs: game files to go past it (the translated embedded shaders); no GPU beyond the usual Vulkan device (verified on an RTX 3070 Ti). AI-assisted.

<!-- gh-comment-id:7134133112 --> @djrolfes commented on GitHub (Nov 24, 2026): finding: confirming the first-compute-pipeline stop on Linux/Wine for the embedded-shader work (RT-EXE-SHADERS) — on current `main` + #728 only, with the title's span assert stepped over per the boot runbook (`LEONIDA_SKIP_INT3=1` with `--trace`), the boot reaches `CreateRootSignature` (device slot 16) and the first `Xbox CreateComputePipelineState` (device slot 62) and stops at the layer's `no translated shaders: set LEONIDA_SHADERS to <work>/shaders/spirv`; immediately before, `XboxBvhBuilder.dll` throws a C++ exception of its own (its error style is documented in docs/xdxr.md), called from the title's bootstrap | where: the refusal is the runtime's shader-corpus check on the first pipeline; the measured chain matches this item's description (the six startup `CreatePipelineState` calls use shaders embedded in the executable and in `XboxBvhBuilder.dll`) | why: an independent Wine cross-build reproduces the same next blocker, so the item's fix can be validated on this path too; counts only, no game data quoted | needs: game files to go past it (the translated embedded shaders); no GPU beyond the usual Vulkan device (verified on an RTX 3070 Ti). AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: FILE-MODE-PROBE-CLEANUP -> #825

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134134111 --> @trigger337 commented on GitHub (Nov 24, 2026): done: FILE-MODE-PROBE-CLEANUP -> #825 agent: yes AI-assisted: yes
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

done: RT-CLZERO-XMEM -> #826

<!-- gh-comment-id:7134147802 --> @moffington commented on GitHub (Nov 24, 2026): done: RT-CLZERO-XMEM -> #826
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: TEST-CUBE-WINPATH - carrying on #419 by @fiestorra, which its author closed unmerged at 12:19 UTC (moved to another project). The bug is still on main d0da7da: tests/semantic/test_image_cube_store_glc.py:55 splits LLVM_MC with shlex.split, so a Windows path loses its backslashes and LlvmMcRoundTrip fails with FileNotFoundError. I will cherry-pick their commit 060c3c6 with authorship kept and retest it on Windows 11 with LLVM_MC set to a backslash path. AI-assisted.

<!-- gh-comment-id:7134148472 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: TEST-CUBE-WINPATH - carrying on #419 by @fiestorra, which its author closed unmerged at 12:19 UTC (moved to another project). The bug is still on main d0da7da: tests/semantic/test_image_cube_store_glc.py:55 splits LLVM_MC with shlex.split, so a Windows path loses its backslashes and LlvmMcRoundTrip fails with FileNotFoundError. I will cherry-pick their commit 060c3c6 with authorship kept and retest it on Windows 11 with LLVM_MC set to a backslash path. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: BVH-REHYDRATE-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134148547 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: BVH-REHYDRATE-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

Delta for the Open work table (we still cannot edit the issue body - 403 - so this is a two-line change to paste):

  • drop the row DOC-LIST-SLOTS-69-72: it is settled and fixed in #622 (the value writes are at console list slots 71/72, the waits at 73/74).
  • add a row DOC-LIST-SLOTS-SHIFT-ORIGIN: the origin of the two-slot shift is not pinned, so ExecuteIndirect (61), the copy at 85 and the console-only 141 may be two low as well. It needs a retail trace of the list slot the title's indirect dispatch arrives at.

Both rows are in the thread above with the details. AI-assisted.

<!-- gh-comment-id:7134153573 --> @Mby159 commented on GitHub (Nov 24, 2026): Delta for the **Open work** table (we still cannot edit the issue body - 403 - so this is a two-line change to paste): - drop the row `DOC-LIST-SLOTS-69-72`: it is settled and fixed in #622 (the value writes are at console list slots 71/72, the waits at 73/74). - add a row `DOC-LIST-SLOTS-SHIFT-ORIGIN`: the origin of the two-slot shift is not pinned, so `ExecuteIndirect` (61), the copy at 85 and the console-only 141 may be two low as well. It needs a retail trace of the list slot the title's indirect dispatch arrives at. Both rows are in the thread above with the details. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap thanks for the prototype. I built boot-prototype (d0c45aacc, unchanged) and ran it on a second NVIDIA machine: Windows 11, RTX 5070 (driver 617.14), MSVC + Ninja, LEONIDA_D3D12=vulkan, LEONIDA_LAZY_PSO=1, nothing else set, own 1.0.2.1 copy, 200 s limit.

What runs. It builds without edits and boots on this card. The log says the GPU address arena is the title's 14336 MiB region, imported (memory type 3) and a title-placed buffer is a range of the GPU address arena, so the whole-region import works on the 5070 as well. The title's first-run menu appears in the window with its own text and button prompts (I am not posting a screenshot: the repository takes no game data). Counts: 152 PresentX ok, 115,600 D3D12 calls.

Where it stops.

  • an access violation in the title at 144.9 s: a write to address 0x0 at game_scarlett_master.exe+0x2215c35 (caller +0x2215eca), after the 152nd present, with the menu already on screen. The window stays up but does not respond (Responding=False: no message pump on that present path, #526 territory), so I could not give it input;
  • 8 pipelines refused with no emulation exists for wave64 ... shaders yet (4 ps, 4 vs), the 32-wide wall I measured with the pieces separately in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133907159, and 152 no translated compute shader for FSPX lines from my own shader index.

No device loss and no validation layer in this run. I will add #526 to the prototype to get a window that answers and see whether the menu takes a pad, then post what changes; tell me if you want a trace of the +0x2215c35 write (the lines before it) or a run with the validation layer instead.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7134166197 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap thanks for the prototype. I built `boot-prototype` (`d0c45aacc`, unchanged) and ran it on a second NVIDIA machine: Windows 11, RTX 5070 (driver 617.14), MSVC + Ninja, `LEONIDA_D3D12=vulkan`, `LEONIDA_LAZY_PSO=1`, nothing else set, own 1.0.2.1 copy, 200 s limit. **What runs.** It builds without edits and boots on this card. The log says `the GPU address arena is the title's 14336 MiB region, imported (memory type 3)` and `a title-placed buffer is a range of the GPU address arena`, so the whole-region import works on the 5070 as well. The title's first-run menu appears in the window with its own text and button prompts (I am not posting a screenshot: the repository takes no game data). Counts: 152 `PresentX ok`, 115,600 D3D12 calls. **Where it stops.** - an access violation in the title at 144.9 s: a write to address 0x0 at `game_scarlett_master.exe+0x2215c35` (caller `+0x2215eca`), after the 152nd present, with the menu already on screen. The window stays up but does not respond (`Responding=False`: no message pump on that present path, #526 territory), so I could not give it input; - 8 pipelines refused with `no emulation exists for wave64 ... shaders yet` (4 ps, 4 vs), the 32-wide wall I measured with the pieces separately in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7133907159, and 152 `no translated compute shader for FSPX` lines from my own shader index. No device loss and no validation layer in this run. I will add #526 to the prototype to get a window that answers and see whether the menu takes a pad, then post what changes; tell me if you want a trace of the +0x2215c35 write (the lines before it) or a run with the validation layer instead. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BVH-REHYDRATE-STAGE-CLEANUP -> #828

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134167863 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BVH-REHYDRATE-STAGE-CLEANUP -> #828 agent: yes AI-assisted: yes
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: tests/semantic/test_image_store_d16.py:32 stale refusal assertion for SQ_RSRC_IMG_CUBE after tools/rdna2spirv.py:13138 cube store support

  • Where it is: ests/semantic/test_image_store_d16.py:32 ( est_unsupported_dims_and_modifiers_still_refused)
  • Why it matters: The test fixture asserts that dim:SQ_RSRC_IMG_CUBE raises Unsupported. However, cube storage images were officially implemented in ools/rdna2spirv.py:13138 per docs/design.md:428 (lowered to 6-layer 2D array image store). The translator now validly supports cube writes, so the test's refusal assertion is stale and causes an unnecessary failure when running the full semantic test suite.
  • Needs game files or hardware: None (pure synthetic fixture, reproducible with python -I scripts/run_semantic_tests.py tests/semantic -p test_image_store_d16.py).
<!-- gh-comment-id:7134176676 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: tests/semantic/test_image_store_d16.py:32 stale refusal assertion for SQ_RSRC_IMG_CUBE after tools/rdna2spirv.py:13138 cube store support - Where it is: ests/semantic/test_image_store_d16.py:32 ( est_unsupported_dims_and_modifiers_still_refused) - Why it matters: The test fixture asserts that dim:SQ_RSRC_IMG_CUBE raises Unsupported. However, cube storage images were officially implemented in ools/rdna2spirv.py:13138 per docs/design.md:428 (lowered to 6-layer 2D array image store). The translator now validly supports cube writes, so the test's refusal assertion is stale and causes an unnecessary failure when running the full semantic test suite. - Needs game files or hardware: None (pure synthetic fixture, reproducible with python -I scripts/run_semantic_tests.py tests/semantic -p test_image_store_d16.py).
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

done: SHADER-FMT-ENCODE-TABLE -> #829

<!-- gh-comment-id:7134176776 --> @SweatierKey commented on GitHub (Nov 24, 2026): done: SHADER-FMT-ENCODE-TABLE -> #829
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: GLB-WRITER-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134177959 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: GLB-WRITER-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@Maticcm commented on GitHub (Nov 24, 2026):

claiming: RT-CRT-TIMED-WAIT-EARLY-TIMEOUT - map early OS timer ERROR_TIMEOUT back to _Thrd_result::_Timedout in _Cnd_timedwait_for_unchecked (runtime/src/crt_timed_wait.cpp) and add regression tests (runtime/test/crt_timed_wait_test.cpp). AI-assisted.

<!-- gh-comment-id:7134185309 --> @Maticcm commented on GitHub (Nov 24, 2026): claiming: RT-CRT-TIMED-WAIT-EARLY-TIMEOUT - map early OS timer ERROR_TIMEOUT back to _Thrd_result::_Timedout in _Cnd_timedwait_for_unchecked (runtime/src/crt_timed_wait.cpp) and add regression tests (runtime/test/crt_timed_wait_test.cpp). AI-assisted.
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

claiming: GPU-RX7600XT-RADV — GPU test results for AMD Radeon RX 7600 XT (RDNA3 / NAVI33, gfx1102) on Arch Linux with RADV 26.3.1, native and LEONIDA_W64_EMULATE=1, counts only. No game data. AI-assisted.

<!-- gh-comment-id:7134192872 --> @fitzypopper commented on GitHub (Nov 24, 2026): claiming: GPU-RX7600XT-RADV — GPU test results for AMD Radeon RX 7600 XT (RDNA3 / NAVI33, gfx1102) on Arch Linux with RADV 26.3.1, native and LEONIDA_W64_EMULATE=1, counts only. No game data. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: GLB-WRITER-STAGE-CLEANUP -> #830

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134193062 --> @trigger337 commented on GitHub (Nov 24, 2026): done: GLB-WRITER-STAGE-CLEANUP -> #830 agent: yes AI-assisted: yes
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: TEST-WINDOWS-KNOWN-FOLDERS — fix the live preflight test that expects three Windows known folders even when the shell returns only two. Add deterministic coverage of partial results and buffer cleanup. Previously authored by me for ProjectLeonida/Leonida; reproduced on this main. CPU-only, no game files. AI-assisted (Codex).

<!-- gh-comment-id:7134202075 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: TEST-WINDOWS-KNOWN-FOLDERS — fix the live preflight test that expects three Windows known folders even when the shell returns only two. Add deterministic coverage of partial results and buffer cleanup. Previously authored by me for ProjectLeonida/Leonida; reproduced on this main. CPU-only, no game files. AI-assisted (Codex).
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

Finding: gfx1030 signed literals lose their high word in s_flbit_i32_i64 and s_bfe_i64

Reproduced on main at d0da7da and #224 head 135d44b. With LLVM llvm-mc -triple=amdgcn -mcpu=gfx1030, -100 and 0xffffff9c encode identically in both opcodes. Disassembling prints 0xffffff9c.

s_mov_b32 s6, 0x200020
s_bfe_i64 s[4:5], 0xffffff9c, s6
s_cselect_b32 s10, 1, 0
s_flbit_i32_i64 s8, 0xffffff9c

The translator's SPIR-V CPU interpreter returns (s8, s4, s5, s10) = (32, 0, 0, 0). The decimal spelling and an explicit s[0:1] = 0xffffffffffffff9c both return (57, 0xffffffff, 0xffffffff, 1). The unsigned counterparts correctly give (32, 0, 0, 0), and signed 0x7fffffff gives (33, 0, 0, 0). A local patch to sign-extend the literal in those two opcodes makes the canonical spelling match both controls, with the signed positive and unsigned controls unchanged. A six-case synthetic regression is ready. LLVM documents the operand-signedness rule in #70274.

PortBridge surfaced XCL #1258 and VIctory #447. I passed the same raw opcodes to XCL's recompiler at ba00224 and confirmed both emitted paths use high word 0xffffffff. PortBridge case PB-0014.

Follow-up on the same literal rule: s_ashr_i64 s[4:5], -100, 32 and s_ashr_i64 s[4:5], 0xffffff9c, 32 encode as the same bytes on gfx1030 (ff a0 84 91 9c ff ff ff). At d0da7dade, the canonical disassembly produced (lo, hi, SCC) = (0, 0, 0). Decimal spelling and an explicit sign-extended pair produced (0xffffffff, 0xffffffff, 1). The XCL #1258 emitter sign-extends that same raw literal.

A separate local fix for the scalar arithmetic shift passed 97 tests. The new regression catches the canonical spelling on the baseline. After the fix, the signed positive, unsigned logical shift and full-width explicit input controls still pass.

<!-- gh-comment-id:7134206089 --> @akimfomin commented on GitHub (Nov 24, 2026): Finding: gfx1030 signed literals lose their high word in `s_flbit_i32_i64` and `s_bfe_i64` Reproduced on [main at `d0da7da`](https://github.com/ubiquitarianism/leonida/blob/d0da7dade8b688f2e0f7f23f4155d6cbb438809e/tools/rdna2spirv.py#L8341) and #224 head `135d44b`. With LLVM `llvm-mc -triple=amdgcn -mcpu=gfx1030`, `-100` and `0xffffff9c` encode identically in both opcodes. Disassembling prints `0xffffff9c`. ```asm s_mov_b32 s6, 0x200020 s_bfe_i64 s[4:5], 0xffffff9c, s6 s_cselect_b32 s10, 1, 0 s_flbit_i32_i64 s8, 0xffffff9c ``` The translator's SPIR-V CPU interpreter returns `(s8, s4, s5, s10) = (32, 0, 0, 0)`. The decimal spelling and an explicit `s[0:1] = 0xffffffffffffff9c` both return `(57, 0xffffffff, 0xffffffff, 1)`. The unsigned counterparts correctly give `(32, 0, 0, 0)`, and signed `0x7fffffff` gives `(33, 0, 0, 0)`. A local patch to sign-extend the literal in those two opcodes makes the canonical spelling match both controls, with the signed positive and unsigned controls unchanged. A six-case synthetic regression is ready. LLVM documents the operand-signedness rule in [#70274](https://github.com/llvm/llvm-project/pull/70274). [PortBridge](https://github.com/akimfomin/PortBridge) surfaced [XCL #1258](https://github.com/ivall/xcl/pull/1258) and [VIctory #447](https://github.com/Marvisak/VIctory/pull/447). I passed the same raw opcodes to XCL's recompiler at `ba00224` and confirmed both emitted paths use high word `0xffffffff`. [PortBridge case PB-0014](https://akimfomin.github.io/PortBridge/cases/pb-0014.html). **Follow-up on the same literal rule:** `s_ashr_i64 s[4:5], -100, 32` and `s_ashr_i64 s[4:5], 0xffffff9c, 32` encode as the same bytes on gfx1030 (`ff a0 84 91 9c ff ff ff`). At `d0da7dade`, the canonical disassembly produced `(lo, hi, SCC) = (0, 0, 0)`. Decimal spelling and an explicit sign-extended pair produced `(0xffffffff, 0xffffffff, 1)`. The XCL #1258 emitter sign-extends that same raw literal. A separate local fix for the scalar arithmetic shift passed 97 tests. The new regression catches the canonical spelling on the baseline. After the fix, the signed positive, unsigned logical shift and full-width explicit input controls still pass.
Author
Owner

@Maticcm commented on GitHub (Nov 24, 2026):

done: RT-CRT-TIMED-WAIT-EARLY-TIMEOUT -> #831

<!-- gh-comment-id:7134206682 --> @Maticcm commented on GitHub (Nov 24, 2026): done: RT-CRT-TIMED-WAIT-EARLY-TIMEOUT -> #831
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

Checked against upstream main d0da7dade8b688f2e0f7f23f4155d6cbb438809e: this finding is already resolved there. tests/semantic/test_image_store_d16.py contains test_cube_storage_image_d16_translates (the refusal loop covers only 1D_ARRAY, tfe, and lwe), introduced by commit e1984b965. I ran python3 -I tests/semantic/test_image_store_d16.py on that exact main: 5/5 tests passed. No code claim needed; please close or mark this finding resolved to avoid duplicate work.

<!-- gh-comment-id:7134215594 --> @KernelSmoker commented on GitHub (Nov 24, 2026): Checked against upstream `main` `d0da7dade8b688f2e0f7f23f4155d6cbb438809e`: this finding is already resolved there. `tests/semantic/test_image_store_d16.py` contains `test_cube_storage_image_d16_translates` (the refusal loop covers only 1D_ARRAY, `tfe`, and `lwe`), introduced by commit `e1984b965`. I ran `python3 -I tests/semantic/test_image_store_d16.py` on that exact main: 5/5 tests passed. No code claim needed; please close or mark this finding resolved to avoid duplicate work.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: DDS-PNG-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134216258 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: DDS-PNG-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Addendum to the span finding - the region size is chosen by a platform-tier registry read, and the tier decides which stop a boot even reaches.

Decoded from the capability query the assert's setup consults before choosing the region size (cmovne between 0x5200000 and 0x4000000): it is RegOpenKeyW(HKLM, L"Software\\Microsoft\\Windows NT\\CurrentVersion\\OEM") + a read of the value ConsoleMode, compared to 6 (the result is cached once in a title global under an atomic). Missing key or any other value - the case on a clean Wine prefix - selects the smaller 0x4000000 (64 MiB) region; 6 selects 0x5200000 (82.5 MiB).

Setting ConsoleMode = 6 in the prefix and booting again confirms it is a full platform branch, not just a size pick: the title takes a different init that runs a console-tier API surface the runtime does not provide, calls through a function pointer that is invalid there, and lands on an int3 that is alignment padding after a ret - a jump into padding, t≈2.0 s, before the first XMem or D3D12 call. With the key absent the boot runs the fallback tier to 1,639 D3D12 calls, the first compute pipeline, and the span assert above.

Two takeaways for anyone running the retail exe: do not set that OEM key (or any ConsoleMode) in a Wine prefix - the console-tier branch dies before anything the runtime models - and boot reports that stop in the first two seconds of module init are likely this branch, not the D3D12 chain. The span assert lives in the fallback tier's memory setup, which is the tier the runtime must satisfy.

<!-- gh-comment-id:7134226395 --> @slauko commented on GitHub (Nov 24, 2026): Addendum to the span finding - the region size is chosen by a platform-tier registry read, and the tier decides which stop a boot even reaches. Decoded from the capability query the assert's setup consults before choosing the region size (`cmovne` between `0x5200000` and `0x4000000`): it is `RegOpenKeyW(HKLM, L"Software\\Microsoft\\Windows NT\\CurrentVersion\\OEM")` + a read of the value **`ConsoleMode`**, compared to `6` (the result is cached once in a title global under an atomic). Missing key or any other value - the case on a clean Wine prefix - selects the smaller `0x4000000` (64 MiB) region; `6` selects `0x5200000` (82.5 MiB). Setting `ConsoleMode = 6` in the prefix and booting again confirms it is a full platform branch, not just a size pick: the title takes a different init that runs a console-tier API surface the runtime does not provide, calls through a function pointer that is invalid there, and lands on an int3 that is *alignment padding after a `ret`* - a jump into padding, t≈2.0 s, before the first XMem or D3D12 call. With the key absent the boot runs the fallback tier to 1,639 D3D12 calls, the first compute pipeline, and the span assert above. Two takeaways for anyone running the retail exe: do not set that OEM key (or any `ConsoleMode`) in a Wine prefix - the console-tier branch dies before anything the runtime models - and boot reports that stop in the first two seconds of module init are likely this branch, not the D3D12 chain. The span assert lives in the **fallback tier's** memory setup, which is the tier the runtime must satisfy.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: DDS-PNG-STAGE-CLEANUP -> #832

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134236217 --> @trigger337 commented on GitHub (Nov 24, 2026): done: DDS-PNG-STAGE-CLEANUP -> #832 agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: WORLD-NAMES-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134244764 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: WORLD-NAMES-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-7450 -> #833 (restoration of old upstream PR 7450)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7134258003 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-7450 -> #833 (restoration of old upstream PR 7450) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: WORLD-NAMES-STAGE-CLEANUP -> #834

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134261393 --> @trigger337 commented on GitHub (Nov 24, 2026): done: WORLD-NAMES-STAGE-CLEANUP -> #834 agent: yes AI-assisted: yes
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: TEST-WINDOWS-KNOWN-FOLDERS -> #835

<!-- gh-comment-id:7134271463 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: TEST-WINDOWS-KNOWN-FOLDERS -> #835
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: TEST-MARKDOWN-LINK-TITLES — make tests/test_docs_links.py check inline links with single-quoted or parenthesized CommonMark titles and escaped title delimiters. The current matcher ignores broken destinations with those titles. Synthetic Markdown only. AI-assisted (Codex).

<!-- gh-comment-id:7134289336 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: TEST-MARKDOWN-LINK-TITLES — make tests/test_docs_links.py check inline links with single-quoted or parenthesized CommonMark titles and escaped title delimiters. The current matcher ignores broken destinations with those titles. Synthetic Markdown only. AI-assisted (Codex).
Author
Owner

@c4k3ss commented on GitHub (Nov 24, 2026):

claiming:

  • SHADER-423 (carried over from upstream #2463, which went private with the repository): tools/rdna2spirv.py lowers the 64-bit buffer-address arithmetic to 32-bit pairs, so translated shaders stop declaring Int64 for addresses and run on devices without shaderInt64 (Intel); --int64-addresses keeps the old form. Semantic tests and the docs/design.md row included.
  • RT-712 (carried over from upstream #7987): runtime/shims/xgameruntime.cpp XPersistentLocalStorageGetPath reports the required size in *path_used on ERROR_INSUFFICIENT_BUFFER, with the short-buffer cases in runtime/test/xgameruntime_test.cpp.

Both were open and independently tested upstream; I am re-basing them onto this main. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7134292009 --> @c4k3ss commented on GitHub (Nov 24, 2026): claiming: - SHADER-423 (carried over from upstream #2463, which went private with the repository): `tools/rdna2spirv.py` lowers the 64-bit buffer-address arithmetic to 32-bit pairs, so translated shaders stop declaring `Int64` for addresses and run on devices without `shaderInt64` (Intel); `--int64-addresses` keeps the old form. Semantic tests and the `docs/design.md` row included. - RT-712 (carried over from upstream #7987): `runtime/shims/xgameruntime.cpp` `XPersistentLocalStorageGetPath` reports the required size in `*path_used` on `ERROR_INSUFFICIENT_BUFFER`, with the short-buffer cases in `runtime/test/xgameruntime_test.cpp`. Both were open and independently tested upstream; I am re-basing them onto this `main`. No game files. AI-assisted (Claude Code).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: WORLD-CENSUS-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134298856 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: WORLD-CENSUS-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: WORLD-CENSUS-STAGE-CLEANUP -> #836

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134321379 --> @trigger337 commented on GitHub (Nov 24, 2026): done: WORLD-CENSUS-STAGE-CLEANUP -> #836 agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: WORLD-LIGHTS-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134330576 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: WORLD-LIGHTS-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: TEST-CUBE-WINPATH -> #837

Carries on #419 (@fiestorra's commit 060c3c6, authorship kept) on main d0da7da. One file. On Windows 11 with LLVM_MC set to a backslash path, the file goes from 1 error to 9 OK, and the whole translator suite is 465 files, 6108 tests, 0 failed. AI-assisted.

<!-- gh-comment-id:7134331514 --> @TimIdle commented on GitHub (Nov 24, 2026): done: TEST-CUBE-WINPATH -> #837 Carries on #419 (@fiestorra's commit 060c3c6, authorship kept) on main d0da7da. One file. On Windows 11 with LLVM_MC set to a backslash path, the file goes from 1 error to 9 OK, and the whole translator suite is 465 files, 6108 tests, 0 failed. AI-assisted.
Author
Owner

@Maticcm commented on GitHub (Nov 24, 2026):

claiming: D3D-BUNDLE-DISPATCH-MESH - defer ID3D12GraphicsCommandList6::DispatchMesh in D3D12 bundles (runtime/shims/d3d12_com.cpp), add note_direct_heap_indexing parity, and add GPU + negative bundle tests in runtime/test/d3d12_mesh_test.cpp. AI-assisted.

<!-- gh-comment-id:7134339519 --> @Maticcm commented on GitHub (Nov 24, 2026): claiming: D3D-BUNDLE-DISPATCH-MESH - defer ID3D12GraphicsCommandList6::DispatchMesh in D3D12 bundles (runtime/shims/d3d12_com.cpp), add note_direct_heap_indexing parity, and add GPU + negative bundle tests in runtime/test/d3d12_mesh_test.cpp. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: WORLD-LIGHTS-STAGE-CLEANUP -> #838

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134347903 --> @trigger337 commented on GitHub (Nov 24, 2026): done: WORLD-LIGHTS-STAGE-CLEANUP -> #838 agent: yes AI-assisted: yes
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: TEST-MARKDOWN-LINK-TITLES -> #839

<!-- gh-comment-id:7134357685 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: TEST-MARKDOWN-LINK-TITLES -> #839
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: BINK-PLAY-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134358162 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: BINK-PLAY-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: OLD-4578 - restoring my original pull request, old upstream PR 4578 in ItsNotRexed/Leonida (launcher: an optional native launcher in Rust and iced that checks, builds and starts the port), closed unmerged when that repository went private on 2026-11-23

jaspergates17-source's LEONIDA-LEGACY-APP claim above (a Windows desktop launcher) covers similar ground. This restores the launcher that was already open and reviewed upstream before the move, and I'm glad to coordinate so the two don't duplicate each other.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7134359055 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: OLD-4578 - restoring my original pull request, old upstream PR 4578 in `ItsNotRexed/Leonida` (launcher: an optional native launcher in Rust and iced that checks, builds and starts the port), closed unmerged when that repository went private on 2026-11-23 jaspergates17-source's LEONIDA-LEGACY-APP claim above (a Windows desktop launcher) covers similar ground. This restores the launcher that was already open and reviewed upstream before the move, and I'm glad to coordinate so the two don't duplicate each other. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: DOC-EXE-FAIL-FAST - restore docs/exe_fail_fast.md (dropped from ancestor d2d9b2657 by merge 6dece9231, originally by TreXito in c6f15b162..07e818b40), update its import-binding tables to current main (all 6 formerly-unbound fatal-checked imports now bind to shims, WS2_32.dll!#115 stays host-owned under ws2_offline.cpp), remove dead old-repo #N numbers per AGENTS.md, re-index it in docs/README.md, and add synthetic regression tests in tests/test_import_fail_fast.py for the documented --dll ... --all --json CLI and additional x86-64 encodings (0x89 reg copy, 0xF7 mask, 16-bit ax, 0x3D imm32). No game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7134359412 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: DOC-EXE-FAIL-FAST - restore `docs/exe_fail_fast.md` (dropped from ancestor `d2d9b2657` by merge `6dece9231`, originally by TreXito in `c6f15b162`..`07e818b40`), update its import-binding tables to current `main` (all 6 formerly-unbound fatal-checked imports now bind to shims, `WS2_32.dll!#115` stays host-owned under `ws2_offline.cpp`), remove dead old-repo `#N` numbers per `AGENTS.md`, re-index it in `docs/README.md`, and add synthetic regression tests in `tests/test_import_fail_fast.py` for the documented `--dll ... --all --json` CLI and additional x86-64 encodings (`0x89` reg copy, `0xF7` mask, 16-bit `ax`, `0x3D` imm32). No game files, no GPU, nothing online. AI-assisted.
Author
Owner

@Diegobecker07 commented on GitHub (Nov 24, 2026):

claiming: OLD-9924 — carry over #192 (old PR 9924, tedin7): run the assets stage's BCPack follow-up pass (ttpf_assets.complete_pool) one texture pool per worker process, largest first, rebased on main with tedin7's commit kept. Measured before/after on a real build. AI-assisted.

<!-- gh-comment-id:7134363306 --> @Diegobecker07 commented on GitHub (Nov 24, 2026): claiming: OLD-9924 — carry over #192 (old PR 9924, tedin7): run the assets stage's BCPack follow-up pass (`ttpf_assets.complete_pool`) one texture pool per worker process, largest first, rebased on main with tedin7's commit kept. Measured before/after on a real build. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BINK-PLAY-STAGE-CLEANUP -> #840

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134372800 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BINK-PLAY-STAGE-CLEANUP -> #840 agent: yes AI-assisted: yes
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: BUILD-PIPELINE-RETRY-CRASH-REPORT — preserve pipeline_crashes.json when make_game.py has already confirmed a module crash and a checker retry exits during setup before writing its work report. This is separate from the stale-report cleanup in #285. Synthetic checker regression, CPU only, no game files. AI-assisted (Codex).

<!-- gh-comment-id:7134375579 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: BUILD-PIPELINE-RETRY-CRASH-REPORT — preserve pipeline_crashes.json when make_game.py has already confirmed a module crash and a checker retry exits during setup before writing its work report. This is separate from the stale-report cleanup in #285. Synthetic checker regression, CPU only, no game files. AI-assisted (Codex).
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: tools/x64_recomp.py fails to decode 0x90 (NOP / PAUSE / XCHG r8, rax) as PRIMARY table omits 0x90

  • Where it is: ools/x64_recomp.py:155 and ools/x64_recomp.py:596-607
  • Why it matters: PRIMARY table initializes
<!-- gh-comment-id:7134386476 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: tools/x64_recomp.py fails to decode 0x90 (NOP / PAUSE / XCHG r8, rax) as PRIMARY table omits 0x90 - Where it is: ools/x64_recomp.py:155 and ools/x64_recomp.py:596-607 - Why it matters: PRIMARY table initializes
Author
Owner

@Maticcm commented on GitHub (Nov 24, 2026):

done: D3D-BUNDLE-DISPATCH-MESH -> #841

<!-- gh-comment-id:7134390230 --> @Maticcm commented on GitHub (Nov 24, 2026): done: D3D-BUNDLE-DISPATCH-MESH -> #841
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

Second verification batch, same setup (clean worktree per pull request at main 2d73c242f, Linux, CPython 3.14.7, synthetic fixtures, no game files):

PR Verdict Tests actually run
#658 PASS test_writelane_read_before_write.py 9 tests (re-run by hand) + both guards
#659 PASS test_docs_links.py 16, test_docs_cli_flags.py 4
#665 PASS docs guards, plus the 27 tests in the atomic/global/vcc semantic files the global_atomic change can reach
#667 STALE hunk fails at docs/design.md; at its own head both docs guards pass (16/16, 4/4) → rebase only
#668 STALE same for docs/boot.md; head passes both docs guards
#669 PASS test_first_look_rebuild.py
#673 PASS test_alu_div_fixup_f32.py
#674 PASS full semantic suite: 466 files, 6115 tests, 2d73c242f + this diff, 2 files red

On #674 the two red files are test_sopc_validation and test_unary_f16_validation, and both fail identically on clean main (spirv-as / spirv-val are not installed on this host), so nothing in the batch is attributable to the patch. The PR adds a post-pass that runs on every translated shader, so the whole suite is the only honest check for it — a sample would not have caught a regression there.

<!-- gh-comment-id:7134405294 --> @Poussistar commented on GitHub (Nov 24, 2026): Second verification batch, same setup (clean worktree per pull request at `main` `2d73c242f`, Linux, CPython 3.14.7, synthetic fixtures, no game files): | PR | Verdict | Tests actually run | |---|---|---| | #658 | PASS | `test_writelane_read_before_write.py` 9 tests (re-run by hand) + both guards | | #659 | PASS | `test_docs_links.py` 16, `test_docs_cli_flags.py` 4 | | #665 | PASS | docs guards, plus the 27 tests in the atomic/global/vcc semantic files the `global_atomic` change can reach | | #667 | **STALE** | hunk fails at `docs/design.md`; at its own head both docs guards pass (16/16, 4/4) → rebase only | | #668 | **STALE** | same for `docs/boot.md`; head passes both docs guards | | #669 | PASS | `test_first_look_rebuild.py` | | #673 | PASS | `test_alu_div_fixup_f32.py` | | #674 | PASS | **full semantic suite**: 466 files, 6115 tests, `2d73c242f` + this diff, 2 files red | On #674 the two red files are `test_sopc_validation` and `test_unary_f16_validation`, and both fail identically on clean `main` (`spirv-as` / `spirv-val` are not installed on this host), so nothing in the batch is attributable to the patch. The PR adds a post-pass that runs on every translated shader, so the whole suite is the only honest check for it — a sample would not have caught a regression there.
Author
Owner

@LewisCodesWebsites commented on GitHub (Nov 24, 2026):

finding: native wave64 on AMD's Windows driver crashes in amdvlk64.dll (0xC0000005, while compiling) when EXEC comes from a carry-out that is always 0 and is followed by ds_swizzle_b32 / ds_permute_b32 / ds_bpermute_b32

Where: found with python -I tools/crosslane_fuzz.py --ext --dpp --wave 64 --modes native --w64-native --no-maskdata --programs 1000 --seed 20261124 on main 21625bc (6 harness errors, reproduced twice; same fault offset 0xaff2e7 every time). Reduced to 7 instructions: v_mbcnt_lo_u32_b32 v1, -1, 0; v_mad_u32_u24 v2, v0, 56, 0xacdae225; v_subrev_co_u32_e64 v2, vcc, v2, v2; s_and_saveexec_b64 s[16:17], vcc; ds_swizzle_b32 v3, v1 offset:swizzle(QUAD_PERM, 2, 2, 3, 1); store.

Variants: s_mov_b64 exec, 0 + ds_swizzle is fine; a carry that is nonzero in some lanes is fine; a plain move instead of the DS op is fine; --wave64-emulate is fine.

Why it matters: the fuzzer files these as harness errors, so those programs are never checked natively; likely a driver compiler bug on code real shaders won't produce, so probably a fuzzer-side note or skip rather than a translator change.

Needs: an AMD GPU that can require a 64-wide compute subgroup (seen on Radeon 660M, RDNA2 iGPU, Adrenalin 32.0.21045.1000, Windows 11 26200); no game files. AI-assisted.

<!-- gh-comment-id:7134415511 --> @LewisCodesWebsites commented on GitHub (Nov 24, 2026): finding: native wave64 on AMD's Windows driver crashes in amdvlk64.dll (0xC0000005, while compiling) when EXEC comes from a carry-out that is always 0 and is followed by ds_swizzle_b32 / ds_permute_b32 / ds_bpermute_b32 Where: found with `python -I tools/crosslane_fuzz.py --ext --dpp --wave 64 --modes native --w64-native --no-maskdata --programs 1000 --seed 20261124` on main 21625bc (6 harness errors, reproduced twice; same fault offset 0xaff2e7 every time). Reduced to 7 instructions: `v_mbcnt_lo_u32_b32 v1, -1, 0`; `v_mad_u32_u24 v2, v0, 56, 0xacdae225`; `v_subrev_co_u32_e64 v2, vcc, v2, v2`; `s_and_saveexec_b64 s[16:17], vcc`; `ds_swizzle_b32 v3, v1 offset:swizzle(QUAD_PERM, 2, 2, 3, 1)`; store. Variants: `s_mov_b64 exec, 0` + ds_swizzle is fine; a carry that is nonzero in some lanes is fine; a plain move instead of the DS op is fine; `--wave64-emulate` is fine. Why it matters: the fuzzer files these as harness errors, so those programs are never checked natively; likely a driver compiler bug on code real shaders won't produce, so probably a fuzzer-side note or skip rather than a translator change. Needs: an AMD GPU that can require a 64-wide compute subgroup (seen on Radeon 660M, RDNA2 iGPU, Adrenalin 32.0.21045.1000, Windows 11 26200); no game files. AI-assisted.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: tools/find_hash_lookup.py sections() raises unhandled struct.error on buffers under 64 bytes or truncated section tables

  • Where it is: tools/find_hash_lookup.py:53-68
  • Why it matters: sections(data) checks data[:2] != b"MZ" to reject non-PE files gracefully with ValueError, but immediately executes pe = struct.unpack_from("<I", data, 0x3C)[0] without verifying len(data) >= 0x40. For buffers under 64 bytes, it raises an uncaught struct.error traceback instead of a clean ValueError. Sibling tools (tools/pe_inspect.py:75 and tools/rtti_scan.py:41) guard this with if len(data) < 0x40: raise ValueError(...).
  • Reproduction (Python stdlib, no game files or GPU):
    python -I -c "import sys; sys.path.insert(0, 'tools'); import find_hash_lookup; find_hash_lookup.sections(b'MZ\0\0')" (raises struct.error: unpack_from requires a buffer of at least 64 bytes).
<!-- gh-comment-id:7134416429 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: tools/find_hash_lookup.py sections() raises unhandled struct.error on buffers under 64 bytes or truncated section tables - Where it is: `tools/find_hash_lookup.py:53-68` - Why it matters: `sections(data)` checks `data[:2] != b"MZ"` to reject non-PE files gracefully with `ValueError`, but immediately executes `pe = struct.unpack_from("<I", data, 0x3C)[0]` without verifying `len(data) >= 0x40`. For buffers under 64 bytes, it raises an uncaught `struct.error` traceback instead of a clean `ValueError`. Sibling tools (`tools/pe_inspect.py:75` and `tools/rtti_scan.py:41`) guard this with `if len(data) < 0x40: raise ValueError(...)`. - Reproduction (Python stdlib, no game files or GPU): `python -I -c "import sys; sys.path.insert(0, 'tools'); import find_hash_lookup; find_hash_lookup.sections(b'MZ\0\0')"` (raises `struct.error: unpack_from requires a buffer of at least 64 bytes`).
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: tools/navmesh_decode.py joaat_cs raises unhandled UnicodeEncodeError on non-ASCII characters

  • Where it is: tools/navmesh_decode.py:101-110
  • Why it matters: joaat_cs(text) hashes via for c in text.encode("ascii"):. Any non-ASCII character (such as accented characters in localized schemas or modded node names) causes an unhandled UnicodeEncodeError. Sibling tools implementing the identical 0x7a schema case-sensitive joaat (tools/world_archetypes.py:42, tools/fog_volumes.py:39, and tools/world_names.py:72) correctly use text.encode("latin-1") or text.encode("latin-1", "replace").
  • Reproduction (Python stdlib, no game files or GPU):
    python -I -c "import sys; sys.path.insert(0, 'tools'); import navmesh_decode; navmesh_decode.joaat_cs('café')" (crashes with UnicodeEncodeError: 'ascii' codec can't encode character '\xe9').
<!-- gh-comment-id:7134422244 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: tools/navmesh_decode.py joaat_cs raises unhandled UnicodeEncodeError on non-ASCII characters - Where it is: `tools/navmesh_decode.py:101-110` - Why it matters: `joaat_cs(text)` hashes via `for c in text.encode("ascii"):`. Any non-ASCII character (such as accented characters in localized schemas or modded node names) causes an unhandled `UnicodeEncodeError`. Sibling tools implementing the identical 0x7a schema case-sensitive joaat (`tools/world_archetypes.py:42`, `tools/fog_volumes.py:39`, and `tools/world_names.py:72`) correctly use `text.encode("latin-1")` or `text.encode("latin-1", "replace")`. - Reproduction (Python stdlib, no game files or GPU): `python -I -c "import sys; sys.path.insert(0, 'tools'); import navmesh_decode; navmesh_decode.joaat_cs('café')"` (crashes with `UnicodeEncodeError: 'ascii' codec can't encode character '\xe9'`).
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-PRIMARY-90 — add primary-table coverage for opcode 0x90 so NOP/PAUSE and REX.B XCHG r8, RAX reach the existing special-case logic; add synthetic decoder regressions for each form. Reproduced on main d0da7dade8b688f2e0f7f23f4155d6cbb438809e; no game files or GPU. AI-assisted: yes.

<!-- gh-comment-id:7134430737 --> @KernelSmoker commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-PRIMARY-90 — add primary-table coverage for opcode `0x90` so NOP/PAUSE and REX.B `XCHG r8, RAX` reach the existing special-case logic; add synthetic decoder regressions for each form. Reproduced on main `d0da7dade8b688f2e0f7f23f4155d6cbb438809e`; no game files or GPU. AI-assisted: yes.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: NATIVE-PSO-HASHES-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134441131 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: NATIVE-PSO-HASHES-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap follow-up on boot-prototype (d0c45aacc) from the RTX 5070 machine, three things measured since my first report (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134166197):

  1. The null write is not the arena size. Same LEONIDA_LAZY_PSO=1 run with LEONIDA_ARENA_MB=4095 stops at the same place, a write to 0x0 at game_scarlett_master.exe+0x2215c35 (same stack), only earlier: 69.9 s and 71 PresentX ok, against 144.9 s and 152 without it.
  2. With #526 on top of the prototype that stop did not come back in my one run. ce3e5153f (#526) applies with one conflict, in the #include block of d3d12_xs_device.cpp; I kept both lines. The window then answers (Responding=True) and the run lasted 427.8 s: 447 PresentX ok, 144,578 D3D12 calls, ending at a different stop, the title's int3 at +0x4ffd879 (called from +0x28c97a9). The last lines before it are XStoreImpl slot 71/72 is not available offline (E_FAIL); I have not looked into what the title does with that. One run, so I cannot say #526 is what removed the null write.
  3. Input needs SDL3 in the build. Without an installed SDL3 the configure step prints GameInput shim not built: no installed SDL3 found and the title gets no pad at all, so the buttons do nothing however the window behaves. With -DLEONIDA_SDL3_FETCH=ON gameinput_probe sees a DualShock 4 (054c:09cc) and its buttons and sticks change. A first run of the prototype with that build and the pad is in progress.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7134442932 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap follow-up on `boot-prototype` (`d0c45aacc`) from the RTX 5070 machine, three things measured since my first report (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134166197): 1. **The null write is not the arena size.** Same `LEONIDA_LAZY_PSO=1` run with `LEONIDA_ARENA_MB=4095` stops at the same place, a write to 0x0 at `game_scarlett_master.exe+0x2215c35` (same stack), only earlier: 69.9 s and 71 `PresentX ok`, against 144.9 s and 152 without it. 2. **With #526 on top of the prototype that stop did not come back in my one run.** `ce3e5153f` (#526) applies with one conflict, in the `#include` block of `d3d12_xs_device.cpp`; I kept both lines. The window then answers (`Responding=True`) and the run lasted 427.8 s: 447 `PresentX ok`, 144,578 D3D12 calls, ending at a different stop, the title's int3 at `+0x4ffd879` (called from `+0x28c97a9`). The last lines before it are `XStoreImpl slot 71/72 is not available offline (E_FAIL)`; I have not looked into what the title does with that. One run, so I cannot say #526 is what removed the null write. 3. **Input needs SDL3 in the build.** Without an installed SDL3 the configure step prints `GameInput shim not built: no installed SDL3 found` and the title gets no pad at all, so the buttons do nothing however the window behaves. With `-DLEONIDA_SDL3_FETCH=ON` `gameinput_probe` sees a DualShock 4 (`054c:09cc`) and its buttons and sticks change. A first run of the prototype with that build and the pad is in progress. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

done: GPU-RX9070-RAPHAEL-WIN -> #843

RX 9070 (AMD 26.11.2, 32.0.32029.2010): 231/249 passed, 16 skipped, 2 failed; 7600X iGPU, gfx1036 (32.0.21045.29003): 224/249 passed, 23 skipped, 2 failed; native and LEONIDA_W64_EMULATE=1 alike, main d0da7dade, Windows 11. The 2 failures on both are the cs_imgload*_tfe fixtures (#98). ms_wave_info_s3 passes on the RX 9070. AI-assisted.

<!-- gh-comment-id:7134445050 --> @snain0511 commented on GitHub (Nov 24, 2026): done: GPU-RX9070-RAPHAEL-WIN -> #843 RX 9070 (AMD 26.11.2, 32.0.32029.2010): 231/249 passed, 16 skipped, 2 failed; 7600X iGPU, gfx1036 (32.0.21045.29003): 224/249 passed, 23 skipped, 2 failed; native and LEONIDA_W64_EMULATE=1 alike, main d0da7dade, Windows 11. The 2 failures on both are the cs_imgload*_tfe fixtures (#98). ms_wave_info_s3 passes on the RX 9070. AI-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: BUILD-PIPELINE-RETRY-CRASH-REPORT -> #846

<!-- gh-comment-id:7134469847 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: BUILD-PIPELINE-RETRY-CRASH-REPORT -> #846
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: NATIVE-PSO-HASHES-STAGE-CLEANUP -> #845

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134471099 --> @trigger337 commented on GitHub (Nov 24, 2026): done: NATIVE-PSO-HASHES-STAGE-CLEANUP -> #845 agent: yes AI-assisted: yes
Author
Owner

@LewisStephens99 commented on GitHub (Nov 24, 2026):

claiming: NAVMESH-JOAAT-LATIN1 - tools/navmesh_decode.py joaat_cs currently encodes ASCII and crashes on localized/Latin-1 names such as cafe accent. Change it to the repository joaat sibling convention (Latin-1 bytes), add a synthetic regression test, and run the focused navmesh suite. No game files or GPU.

<!-- gh-comment-id:7134479804 --> @LewisStephens99 commented on GitHub (Nov 24, 2026): claiming: NAVMESH-JOAAT-LATIN1 - tools/navmesh_decode.py joaat_cs currently encodes ASCII and crashes on localized/Latin-1 names such as cafe accent. Change it to the repository joaat sibling convention (Latin-1 bytes), add a synthetic regression test, and run the focused navmesh suite. No game files or GPU.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: tools/leonida_mods.py parse_model_id does not strip or warn on whitespace in model names

  • Where it is: tools/leonida_mods.py:87-98 and tools/leonida_mods.py:127-148
  • Why it matters: parse_model_id(text) only validates not text. A model name with accidental leading or trailing whitespace in mod.json (e.g. "from": "player_story000_00 ") is hashed with the whitespace included (joaat("player_story000_00 ") == 0xC0F77FFC vs expected 0xE472B687). Because runtime archetypes never have trailing whitespace, the archetype swap silently fails to take effect at runtime without warning.
  • Reproduction (Python stdlib, no game files or GPU):
    python -I -c "import sys; sys.path.insert(0, 'tools'); import leonida_mods; print(hex(leonida_mods.parse_model_id('player_story000_00 ')), hex(leonida_mods.parse_model_id('player_story000_00')))" (outputs two different hashes).
  • Recommended fix: Add text = text.strip() or validate against whitespace.
<!-- gh-comment-id:7134501480 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: tools/leonida_mods.py parse_model_id does not strip or warn on whitespace in model names - Where it is: `tools/leonida_mods.py:87-98` and `tools/leonida_mods.py:127-148` - Why it matters: `parse_model_id(text)` only validates `not text`. A model name with accidental leading or trailing whitespace in `mod.json` (e.g. `"from": "player_story000_00 "`) is hashed with the whitespace included (`joaat("player_story000_00 ") == 0xC0F77FFC` vs expected `0xE472B687`). Because runtime archetypes never have trailing whitespace, the archetype swap silently fails to take effect at runtime without warning. - Reproduction (Python stdlib, no game files or GPU): `python -I -c "import sys; sys.path.insert(0, 'tools'); import leonida_mods; print(hex(leonida_mods.parse_model_id('player_story000_00 ')), hex(leonida_mods.parse_model_id('player_story000_00')))"` (outputs two different hashes). - Recommended fix: Add `text = text.strip()` or validate against whitespace.
Author
Owner

@barkodr commented on GitHub (Nov 24, 2026):

claiming: tools/gbuffer_census.py, navmesh_cell_fit.py and root_spill_census.py stop with a traceback on a wrong input (a file for the carve folder, a non-RPF archive, a non-UTF-8 index); print one ERROR line and exit 2 like the other tools. Tools only. AI-assisted.

<!-- gh-comment-id:7134501734 --> @barkodr commented on GitHub (Nov 24, 2026): claiming: tools/gbuffer_census.py, navmesh_cell_fit.py and root_spill_census.py stop with a traceback on a wrong input (a file for the carve folder, a non-RPF archive, a non-UTF-8 index); print one ERROR line and exit 2 like the other tools. Tools only. AI-assisted.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-PRIMARY-90 -> #847

<!-- gh-comment-id:7134510423 --> @KernelSmoker commented on GitHub (Nov 24, 2026): done: X64-RECOMP-PRIMARY-90 -> #847
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: DOC-EXE-FAIL-FAST -> #848

<!-- gh-comment-id:7134520806 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: DOC-EXE-FAIL-FAST -> #848
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: scripts/run_semantic_tests.py and tools/semantic_mutants.py invoke child subprocesses without -I (isolated mode)

  • Where it is: scripts/run_semantic_tests.py:82, scripts/run_semantic_tests.py:117, and tools/semantic_mutants.py:194
  • Why it matters: The repository convention strictly dictates that Python subprocesses run under isolated mode [sys.executable, "-I", ...] (scripts/run_gpu_tests.py, scripts/run_wine_tests.py, make_game.py, tools/crosslane_fuzz.py). In scripts/run_semantic_tests.py and tools/semantic_mutants.py, child workers are spawned with [sys.executable, "-m", "unittest", ...] omitting -I. Consequently, child test workers inherit host PYTHONPATH, PYTHONSTARTUP, and user site-packages, risking third-party package pollution and environment leakage on systems with local package overrides.
  • Needs game files or hardware: None.
    "@
<!-- gh-comment-id:7134533763 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: scripts/run_semantic_tests.py and tools/semantic_mutants.py invoke child subprocesses without -I (isolated mode) - Where it is: `scripts/run_semantic_tests.py:82`, `scripts/run_semantic_tests.py:117`, and `tools/semantic_mutants.py:194` - Why it matters: The repository convention strictly dictates that Python subprocesses run under isolated mode `[sys.executable, "-I", ...]` (`scripts/run_gpu_tests.py`, `scripts/run_wine_tests.py`, `make_game.py`, `tools/crosslane_fuzz.py`). In `scripts/run_semantic_tests.py` and `tools/semantic_mutants.py`, child workers are spawned with `[sys.executable, "-m", "unittest", ...]` omitting `-I`. Consequently, child test workers inherit host `PYTHONPATH`, `PYTHONSTARTUP`, and user site-packages, risking third-party package pollution and environment leakage on systems with local package overrides. - Needs game files or hardware: None. "@
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

claiming: MODS-PARSE-MODEL-WHITESPACE — trim surrounding whitespace in textual mod.json model IDs before hashing/parsing, reject whitespace-only values, and add synthetic parse/manifest regressions. Finding: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134501480. No game files or GPU. AI-assisted: yes.

<!-- gh-comment-id:7134562317 --> @KernelSmoker commented on GitHub (Nov 24, 2026): claiming: MODS-PARSE-MODEL-WHITESPACE — trim surrounding whitespace in textual mod.json model IDs before hashing/parsing, reject whitespace-only values, and add synthetic parse/manifest regressions. Finding: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134501480. No game files or GPU. AI-assisted: yes.
Author
Owner

@c4k3ss commented on GitHub (Nov 24, 2026):

done: RT-712 -> #842
done: SHADER-423 -> #850

<!-- gh-comment-id:7134571095 --> @c4k3ss commented on GitHub (Nov 24, 2026): done: RT-712 -> #842 done: SHADER-423 -> #850
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: OLD-4578 -> #851 (restoration of old upstream PR 4578)

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7134579093 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: OLD-4578 -> #851 (restoration of old upstream PR 4578) AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: make_game.py xvd_header unpacks 64-bit XvcDataLength as 32-bit uint (<I) at offset 0x290

  • Where it is: make_game.py:430
  • Why it matters: In the Xbox Virtual Disk specification (XvdHeader), XvcDataLength (at header offset 0x90, file offset 0x290) is an 8-byte 64-bit unsigned integer (<Q). Line 430 currently unpacks it as <I:
    xvc_data_length, = struct.unpack_from("<I", b, 0x290)
    
    If an XVC container's data length has its lower 32 bits equal to 0 (such as an exact 4 GiB, 8 GiB, or 4 GiB-aligned image), xvc_data_length evaluates to 0, causing line 432 ("kind": "XVC" if xvc_data_length else "XVD") to falsely misclassify the package container as "XVD" instead of "XVC".
  • Fix: Change <I to <Q (xvc_data_length, = struct.unpack_from("<Q", b, 0x290)).
  • Needs game files or hardware: None.
<!-- gh-comment-id:7134580582 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: make_game.py xvd_header unpacks 64-bit XvcDataLength as 32-bit uint (<I) at offset 0x290 - Where it is: `make_game.py:430` - Why it matters: In the Xbox Virtual Disk specification (`XvdHeader`), `XvcDataLength` (at header offset 0x90, file offset `0x290`) is an 8-byte 64-bit unsigned integer (`<Q`). Line 430 currently unpacks it as `<I`: ```python xvc_data_length, = struct.unpack_from("<I", b, 0x290) ``` If an XVC container's data length has its lower 32 bits equal to 0 (such as an exact 4 GiB, 8 GiB, or 4 GiB-aligned image), `xvc_data_length` evaluates to `0`, causing line 432 (`"kind": "XVC" if xvc_data_length else "XVD"`) to falsely misclassify the package container as `"XVD"` instead of `"XVC"`. - Fix: Change `<I` to `<Q` (`xvc_data_length, = struct.unpack_from("<Q", b, 0x290)`). - Needs game files or hardware: None.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

done: MODS-PARSE-MODEL-WHITESPACE -> #852

<!-- gh-comment-id:7134583391 --> @KernelSmoker commented on GitHub (Nov 24, 2026): done: MODS-PARSE-MODEL-WHITESPACE -> #852
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: runtime/shims/file_system.cpp collect() requires non-empty r.game and probes r.game when listing T: scratch drive

  • Where it is: runtime/shims/file_system.cpp:546-550 and runtime/shims/file_system.cpp:643-645
  • Why it matters: collect() gates all console directory enumerations with if (r.game.empty()) { error = ERROR_PATH_NOT_FOUND; return false; }. However, the T: console scratch drive (<overlay>\.gta6rt-temp) resides exclusively inside r.overlay (docs/runtime_imports.md:208). If a caller configures --overlay without --game-dir (such as in standalone filesystem unit tests or overlay tools), FindFirstFileW on T:\ erroneously fails with ERROR_PATH_NOT_FOUND. Furthermore, when enumerating T:\, line 644 unconditionally executes add_root(r.game, false), causing a guaranteed-to-fail host FindFirstFileW against the package root on every T: directory listing.
  • Recommended fix: Gate r.overlay.empty() instead of r.game.empty() when the search target begins with kScratchDir (.gta6rt-temp), and omit add_root(r.game, false).
  • Needs game files or hardware: None.
<!-- gh-comment-id:7134610195 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: runtime/shims/file_system.cpp collect() requires non-empty r.game and probes r.game when listing T: scratch drive - Where it is: `runtime/shims/file_system.cpp:546-550` and `runtime/shims/file_system.cpp:643-645` - Why it matters: `collect()` gates all console directory enumerations with `if (r.game.empty()) { error = ERROR_PATH_NOT_FOUND; return false; }`. However, the `T:` console scratch drive (`<overlay>\.gta6rt-temp`) resides exclusively inside `r.overlay` (`docs/runtime_imports.md:208`). If a caller configures `--overlay` without `--game-dir` (such as in standalone filesystem unit tests or overlay tools), `FindFirstFileW` on `T:\` erroneously fails with `ERROR_PATH_NOT_FOUND`. Furthermore, when enumerating `T:\`, line 644 unconditionally executes `add_root(r.game, false)`, causing a guaranteed-to-fail host `FindFirstFileW` against the package root on every `T:` directory listing. - Recommended fix: Gate `r.overlay.empty()` instead of `r.game.empty()` when the search target begins with `kScratchDir` (`.gta6rt-temp`), and omit `add_root(r.game, false)`. - Needs game files or hardware: None.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

finding check: the proposed 64-bit XvcDataLength change is not supported by the available format references. The XVD header map lists XVC Data Length as uint32 at header offset 0x90 and Dynamic Header Length as the next uint32 at 0x94 (https://xboxoneresearch.github.io/wiki/_files/XVD_visual_format-2.pdf). An independent XVD parser declares uint XvcDataLength at 0x90 and uint DynamicHeaderLength at 0x94 (https://github.com/emoose/xvdtool/blob/master/LibXboxOne/XVD/XVDStructs.cs#L1394-L1400). Reading <Q would combine the two fields. I am not claiming this as a code task; the existing <I read matches these references.

<!-- gh-comment-id:7134637625 --> @KernelSmoker commented on GitHub (Nov 24, 2026): finding check: the proposed 64-bit XvcDataLength change is not supported by the available format references. The XVD header map lists XVC Data Length as uint32 at header offset 0x90 and Dynamic Header Length as the next uint32 at 0x94 (https://xboxoneresearch.github.io/wiki/_files/XVD_visual_format-2.pdf). An independent XVD parser declares `uint XvcDataLength` at 0x90 and `uint DynamicHeaderLength` at 0x94 (https://github.com/emoose/xvdtool/blob/master/LibXboxOne/XVD/XVDStructs.cs#L1394-L1400). Reading `<Q` would combine the two fields. I am not claiming this as a code task; the existing `<I` read matches these references.
Author
Owner

@5headsmartbtw commented on GitHub (Nov 24, 2026):

Hey! I'm an active LeonidaReforge contributor and the author of two merged PRs:

finding: Both issues appear to remain relevant in your current main:

  • XMA2 FFI linkage is missing synchronization.lib.
  • The progress dashboard still classifies cancelled and skipped CI runs as failures.

I'd be happy to adapt both patches myself, validate them against your current main, and submit separate PRs following your contribution guidelines.

I'd also be interested in contributing to future graphics and runtime development.

<!-- gh-comment-id:7134638584 --> @5headsmartbtw commented on GitHub (Nov 24, 2026): Hey! I'm an active LeonidaReforge contributor and the author of two merged PRs: - https://github.com/LeonidaReforge/Leonida/pull/23 - https://github.com/LeonidaReforge/Leonida/pull/127 finding: Both issues appear to remain relevant in your current main: - XMA2 FFI linkage is missing `synchronization.lib`. - The progress dashboard still classifies cancelled and skipped CI runs as failures. I'd be happy to adapt both patches myself, validate them against your current main, and submit separate PRs following your contribution guidelines. I'd also be interested in contributing to future graphics and runtime development.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: 46 semantic test files in tests/semantic/ omit sys.path setup, failing with ModuleNotFoundError when run directly by path

  • Where it is: tests/semantic/ (46 test files including test_andn2_exec_b64.py, test_ds_permute.py, test_far_branch.py, test_bary_fallback.py, etc.)
  • Why it matters: 419 out of 465 test files in tests/semantic/ include the standard boilerplate:
    HERE = os.path.dirname(os.path.abspath(__file__))
    if HERE not in sys.path:
        sys.path.insert(0, HERE)
    
    However, 46 files omit it. While scripts/run_semantic_tests.py and unittest discover -s tests/semantic succeed by specifying tests/semantic as the test root, running any of these 46 test files directly by path (e.g., python -m unittest tests/semantic/test_andn2_exec_b64.py or through IDE test runners) crashes immediately with:
    ModuleNotFoundError: No module named 'support'
  • Reproduction (Python stdlib, no game files or GPU):
    python -m unittest tests/semantic/test_andn2_exec_b64.py
  • Recommended fix: Add the standard two-line HERE insertion to the 46 files so each test is runnable standalone.
<!-- gh-comment-id:7134648425 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: 46 semantic test files in tests/semantic/ omit sys.path setup, failing with ModuleNotFoundError when run directly by path - Where it is: `tests/semantic/` (46 test files including `test_andn2_exec_b64.py`, `test_ds_permute.py`, `test_far_branch.py`, `test_bary_fallback.py`, etc.) - Why it matters: 419 out of 465 test files in `tests/semantic/` include the standard boilerplate: ```python HERE = os.path.dirname(os.path.abspath(__file__)) if HERE not in sys.path: sys.path.insert(0, HERE) ``` However, 46 files omit it. While `scripts/run_semantic_tests.py` and `unittest discover -s tests/semantic` succeed by specifying `tests/semantic` as the test root, running any of these 46 test files directly by path (e.g., `python -m unittest tests/semantic/test_andn2_exec_b64.py` or through IDE test runners) crashes immediately with: `ModuleNotFoundError: No module named 'support'` - Reproduction (Python stdlib, no game files or GPU): `python -m unittest tests/semantic/test_andn2_exec_b64.py` - Recommended fix: Add the standard two-line `HERE` insertion to the 46 files so each test is runnable standalone.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: runtime/shims/file_system.cpp touch_pages() uses MSVC-specific __try/__except without compiler guard, breaking MinGW C++ builds

  • Where it is: runtime/shims/file_system.cpp:715-720
  • Why it matters: touch_pages() wraps destination page read probes using MSVC Structured Exception Handling (SEH):
    __try {
        (void)*reinterpret_cast<volatile const unsigned char*>(at);
    } __except (EXCEPTION_EXECUTE_HANDLER) {
        all = false;
    }
    
    While valid on MSVC, standard MinGW-w64 GCC (g++) does not support MSVC's C++ __try/__except extension and fails compilation with error: expected 'catch' before '__except'. Sibling shims guard MSVC extensions with #ifdef _MSC_VER.
  • Recommended fix: Guard with #ifdef _MSC_VER, and fall back to querying page commit status via VirtualQuery on MinGW.
  • Needs game files or hardware: None.
<!-- gh-comment-id:7134662764 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: runtime/shims/file_system.cpp touch_pages() uses MSVC-specific __try/__except without compiler guard, breaking MinGW C++ builds - Where it is: `runtime/shims/file_system.cpp:715-720` - Why it matters: `touch_pages()` wraps destination page read probes using MSVC Structured Exception Handling (SEH): ```cpp __try { (void)*reinterpret_cast<volatile const unsigned char*>(at); } __except (EXCEPTION_EXECUTE_HANDLER) { all = false; } ``` While valid on MSVC, standard MinGW-w64 GCC (`g++`) does not support MSVC's C++ `__try`/`__except` extension and fails compilation with `error: expected 'catch' before '__except'`. Sibling shims guard MSVC extensions with `#ifdef _MSC_VER`. - Recommended fix: Guard with `#ifdef _MSC_VER`, and fall back to querying page commit status via `VirtualQuery` on MinGW. - Needs game files or hardware: None.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9906 — carry forward old-pr/9906 (draft #171, GPU test cs_w32_pk_rel_ext: packed 16-bit ints, v_swaprel_b32, s_movrels_b32, ds_or/xor_b64) rebased onto current main with ; regen_fixtures: marker and live RTX 5070 Vulkan validation verification.

<!-- gh-comment-id:7134668198 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9906 — carry forward `old-pr/9906` (draft #171, GPU test `cs_w32_pk_rel_ext`: packed 16-bit ints, `v_swaprel_b32`, `s_movrels_b32`, `ds_or/xor_b64`) rebased onto current `main` with `; regen_fixtures:` marker and live RTX 5070 Vulkan validation verification.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9906 -> #853

<!-- gh-comment-id:7134671790 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9906 -> #853
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

claiming: TEST-SEMANTIC-ISOLATED-WORKERS — run semantic unittest child processes with Python isolated mode while explicitly adding only the suite/test directories needed for imports; add regressions proving a poisoned host PYTHONPATH cannot inject modules into either runner. Finding: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134533763. No game files or GPU. AI-assisted: yes.

<!-- gh-comment-id:7134674247 --> @KernelSmoker commented on GitHub (Nov 24, 2026): claiming: TEST-SEMANTIC-ISOLATED-WORKERS — run semantic unittest child processes with Python isolated mode while explicitly adding only the suite/test directories needed for imports; add regressions proving a poisoned host PYTHONPATH cannot inject modules into either runner. Finding: https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134533763. No game files or GPU. AI-assisted: yes.
Author
Owner

@dpalacios69 commented on GitHub (Nov 24, 2026):

claiming: DOC-NO-AVX-HOSTS - a short "Hosts without AVX" subsection in docs/cpu_features.md (plus a one-line pointer in docs/boot.md), from what I measured on an Intel Xeon X5675 (Westmere, no AVX/AVX2): what still works (Vulkan tools and GPU tests, shader translation, asset export), where gta6rt stops, and what Intel SDE under Wine did (reached InitializeApiImplEx2 after ~110 s, then no window or D3D12). Docs only, no game files, no GPU needed. It does not touch the index rows claimed in DOC-INDEX-MISSING-PAGES (docs/README.md).

AI-assisted; no game data.

<!-- gh-comment-id:7134705196 --> @dpalacios69 commented on GitHub (Nov 24, 2026): claiming: DOC-NO-AVX-HOSTS - a short "Hosts without AVX" subsection in `docs/cpu_features.md` (plus a one-line pointer in `docs/boot.md`), from what I measured on an Intel Xeon X5675 (Westmere, no AVX/AVX2): what still works (Vulkan tools and GPU tests, shader translation, asset export), where `gta6rt` stops, and what Intel SDE under Wine did (reached `InitializeApiImplEx2` after ~110 s, then no window or D3D12). Docs only, no game files, no GPU needed. It does not touch the index rows claimed in DOC-INDEX-MISSING-PAGES (`docs/README.md`). AI-assisted; no game data.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: BVH-SLOT-CHECK-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134724981 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: BVH-SLOT-CHECK-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@dpalacios69 commented on GitHub (Nov 24, 2026):

done: DOC-NO-AVX-HOSTS -> #854

AI-assisted; no game data.

<!-- gh-comment-id:7134727517 --> @dpalacios69 commented on GitHub (Nov 24, 2026): done: DOC-NO-AVX-HOSTS -> #854 AI-assisted; no game data.
Author
Owner

@ohshitwaddup commented on GitHub (Nov 24, 2026):

claiming: TEST-WRXCHG2-B32-EXT - the four cases of the ds_wrxchg2_rtn_b32 row in docs/design.md that its named fixture leaves out. cs_w32_new_ops compares only the first returned word and data1 in LDS; the row also states the second returned word, data0 when both offsets name one dword, vdst aliasing the data VGPRs, and the st64 step, and none of those ran on a GPU.

I will add two branchless one-lane fixtures, cs_w32_wrxchg2_ext.asm (both offsets on one dword, the second exchange returning data0, a neighbouring LDS word untouched, vdst aliased onto the data VGPRs) and cs_w32_wrxchg2st64.asm (base 0x80 with offsets 1/2 must address 0x180/0x280, with 0x84/0x88 and 0x140/0x2c0 seeded and required to come back untouched, which pins the 256-byte stride instead of assuming it), register both in check.py and scripts/run_gpu_tests.py, and name them in the row.

Measured on a Radeon RX 6900 XT (RDNA2/GFX1030, RADV Mesa 26.2.4, Nobara Linux 44) at main d0da7da: --filter wrxchg2 2/2 PASS native and with LEONIDA_W64_EMULATE=1, 16/16 words exact; full suite 233/251 passed, 16 skipped, the same two pre-existing cs_imgload*_tfe failures. Synthetic shaders only, no game files. Does not touch the docs/design.md row text #413 is rewriting (that is docs-only); this is fixtures plus the two runner lists. AI-assisted (Hermes Agent).

<!-- gh-comment-id:7134736401 --> @ohshitwaddup commented on GitHub (Nov 24, 2026): claiming: TEST-WRXCHG2-B32-EXT - the four cases of the `ds_wrxchg2_rtn_b32` row in `docs/design.md` that its named fixture leaves out. `cs_w32_new_ops` compares only the first returned word and `data1` in LDS; the row also states the second returned word, `data0` when both offsets name one dword, `vdst` aliasing the data VGPRs, and the `st64` step, and none of those ran on a GPU. I will add two branchless one-lane fixtures, `cs_w32_wrxchg2_ext.asm` (both offsets on one dword, the second exchange returning `data0`, a neighbouring LDS word untouched, `vdst` aliased onto the data VGPRs) and `cs_w32_wrxchg2st64.asm` (base `0x80` with offsets 1/2 must address `0x180`/`0x280`, with `0x84`/`0x88` and `0x140`/`0x2c0` seeded and required to come back untouched, which pins the 256-byte stride instead of assuming it), register both in `check.py` and `scripts/run_gpu_tests.py`, and name them in the row. Measured on a Radeon RX 6900 XT (RDNA2/GFX1030, RADV Mesa 26.2.4, Nobara Linux 44) at `main` `d0da7da`: `--filter wrxchg2` 2/2 PASS native and with `LEONIDA_W64_EMULATE=1`, 16/16 words exact; full suite 233/251 passed, 16 skipped, the same two pre-existing `cs_imgload*_tfe` failures. Synthetic shaders only, no game files. Does not touch the `docs/design.md` row text #413 is rewriting (that is docs-only); this is fixtures plus the two runner lists. AI-assisted (Hermes Agent).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BVH-SLOT-CHECK-STAGE-CLEANUP -> #855

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134743920 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BVH-SLOT-CHECK-STAGE-CLEANUP -> #855 agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: NAVMESH-TILE-OBJ-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134763502 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: NAVMESH-TILE-OBJ-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-MINI-INTERP-F64 -> #856. AI-assisted (Claude Code).

<!-- gh-comment-id:7134770792 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-MINI-INTERP-F64 -> #856. AI-assisted (Claude Code).
Author
Owner

@ohshitwaddup commented on GitHub (Nov 24, 2026):

done: TEST-WRXCHG2-B32-EXT -> #857

The two fixtures are in, registered in both runners, and name all eight words each. The row text in docs/design.md is left to #413, which is rewriting it. AI-assisted (Hermes Agent).

<!-- gh-comment-id:7134781619 --> @ohshitwaddup commented on GitHub (Nov 24, 2026): done: TEST-WRXCHG2-B32-EXT -> #857 The two fixtures are in, registered in both runners, and name all eight words each. The row text in `docs/design.md` is left to #413, which is rewriting it. AI-assisted (Hermes Agent).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9907 — carry forward old-pr/9907 (draft #172, rdna2spirv: buffer_load_format_d16_hi_x and buffer_store_format_d16_hi_x) rebased onto current main with self.int_bits and read_before_write_vgprs conflict resolution, 77-format CPU semantic suite, and spirv-val verification.

<!-- gh-comment-id:7134785438 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9907 — carry forward `old-pr/9907` (draft #172, `rdna2spirv`: `buffer_load_format_d16_hi_x` and `buffer_store_format_d16_hi_x`) rebased onto current `main` with `self.int_bits` and `read_before_write_vgprs` conflict resolution, 77-format CPU semantic suite, and `spirv-val` verification.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9907 -> #858

<!-- gh-comment-id:7134788726 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9907 -> #858
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: NAVMESH-TILE-OBJ-STAGE-CLEANUP -> #859

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134793825 --> @trigger337 commented on GitHub (Nov 24, 2026): done: NAVMESH-TILE-OBJ-STAGE-CLEANUP -> #859 agent: yes AI-assisted: yes
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

claiming: DOC-IMGATOMIC-MVK - docs/testing.md Known problems row for ps_imgatomic on MoltenVK 1.4.2 (#543), with what a second Apple chip adds. On an Apple M5 it fails in 101 of 150 runs; MoltenVK lowers the four atomics to Metal texture atomics; a wrong umax or umin texel always holds the max or min of only some of its own 64 pixels; and it is neither the first-lane descriptor broadcast (54 of 60 runs fail with the index used directly) nor the readback (42 of 60 fail with the copies in a submission of their own). Documentation only, no test or translator change.

<!-- gh-comment-id:7134875267 --> @hugo0024 commented on GitHub (Nov 24, 2026): claiming: DOC-IMGATOMIC-MVK - docs/testing.md Known problems row for ps_imgatomic on MoltenVK 1.4.2 (#543), with what a second Apple chip adds. On an Apple M5 it fails in 101 of 150 runs; MoltenVK lowers the four atomics to Metal texture atomics; a wrong umax or umin texel always holds the max or min of only some of its own 64 pixels; and it is neither the first-lane descriptor broadcast (54 of 60 runs fail with the index used directly) nor the readback (42 of 60 fail with the copies in a submission of their own). Documentation only, no test or translator change.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: SHADER-DISASM-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134898180 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: SHADER-DISASM-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9911 — carry forward \old-pr/9911\ (draft #176, GPU test \cs_w32_lds_add_f32: \ds_add_f32\ and \ds_add_rtn_f32) rebased onto current \main\ with ; regen_fixtures:\ marker and live RTX 5070 Vulkan validation verification.

<!-- gh-comment-id:7134898635 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9911 — carry forward \old-pr/9911\ (draft #176, GPU test \cs_w32_lds_add_f32\: \ds_add_f32\ and \ds_add_rtn_f32\) rebased onto current \main\ with \; regen_fixtures:\ marker and live RTX 5070 Vulkan validation verification.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9912 — carry forward \old-pr/9912\ (draft #178, GPU test \cs_w32_atomic_contend: 32-lane \uffer_atomic_inc/\dec\ CAS contention) rebased onto current \main\ with ; regen_fixtures:\ marker and live RTX 5070 Vulkan validation verification.

<!-- gh-comment-id:7134899430 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9912 — carry forward \old-pr/9912\ (draft #178, GPU test \cs_w32_atomic_contend\: 32-lane \uffer_atomic_inc\/\dec\ CAS contention) rebased onto current \main\ with \; regen_fixtures:\ marker and live RTX 5070 Vulkan validation verification.
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

done: DOC-IMGATOMIC-MVK -> #860

<!-- gh-comment-id:7134909728 --> @hugo0024 commented on GitHub (Nov 24, 2026): done: DOC-IMGATOMIC-MVK -> #860
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: SHADER-DISASM-STAGE-CLEANUP -> #861

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134938037 --> @trigger337 commented on GitHub (Nov 24, 2026): done: SHADER-DISASM-STAGE-CLEANUP -> #861 agent: yes AI-assisted: yes
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

claiming: new item: tests/test_docs_links.py (test_every_relative_link_resolves) fails on main 8f05e09e2, new since f3e26be7c. Fix and PR follow shortly.

<!-- gh-comment-id:7134938216 --> @Boost9898 commented on GitHub (Nov 24, 2026): claiming: new item: `tests/test_docs_links.py` (`test_every_relative_link_resolves`) fails on main `8f05e09e2`, new since `f3e26be7c`. Fix and PR follow shortly.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

claiming: TEST-SEMANTIC-SYSPATH - add the standard HERE sys.path boilerplate to the tests/semantic/test*.py files that import support without it, so each file runs standalone by path (python -m unittest tests/semantic/test_X.py). Reproduced on main: full suite passes via scripts/run_semantic_tests.py but direct-by-path fails with ModuleNotFoundError: No module named 'support'. Standard-library only, docs/tests; no game files, no GPU, Linux-verified. AI-assisted.

<!-- gh-comment-id:7134952594 --> @morodirule commented on GitHub (Nov 24, 2026): claiming: TEST-SEMANTIC-SYSPATH - add the standard HERE sys.path boilerplate to the tests/semantic/test*.py files that import support without it, so each file runs standalone by path (python -m unittest tests/semantic/test_X.py). Reproduced on main: full suite passes via scripts/run_semantic_tests.py but direct-by-path fails with ModuleNotFoundError: No module named 'support'. Standard-library only, docs/tests; no game files, no GPU, Linux-verified. AI-assisted.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9911 -> #862

<!-- gh-comment-id:7134964936 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9911 -> #862
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134938216) -> #864

<!-- gh-comment-id:7134967500 --> @Boost9898 commented on GitHub (Nov 24, 2026): done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134938216) -> #864
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

done: TEST-SEMANTIC-ISOLATED-WORKERS -> #863

<!-- gh-comment-id:7134967856 --> @KernelSmoker commented on GitHub (Nov 24, 2026): done: TEST-SEMANTIC-ISOLATED-WORKERS -> #863
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

claiming: OLD-9909 / SHADER-64BIT-ATOMICS — native SPIR-V 64-bit atomics for global_atomic_x2 and buffer_atomic_x2 (all 11 operations: add, sub, smin, smax, umin, umax, and, or, xor, swap, cmpswap), completing and superseding draft #174 (old-pr/9909). Implements PhysicalStorageBuffer %ulong/%long atomics without multi-dword tearing, ArrayStride 8 decoration, 4-VGPR {DATA[63:0], CMP[63:0]} operand layout for cmpswap_x2, 64-bit PSB emulation in spirv_mini_interp, and full semantic regression test suite (13/13 passing, validated with spirv-val). AI-assisted: yes.

<!-- gh-comment-id:7134973876 --> @Tortoche commented on GitHub (Nov 24, 2026): claiming: OLD-9909 / SHADER-64BIT-ATOMICS — native SPIR-V 64-bit atomics for global_atomic_*_x2 and buffer_atomic_*_x2 (all 11 operations: add, sub, smin, smax, umin, umax, and, or, xor, swap, cmpswap), completing and superseding draft #174 (old-pr/9909). Implements PhysicalStorageBuffer %ulong/%long atomics without multi-dword tearing, ArrayStride 8 decoration, 4-VGPR {DATA[63:0], CMP[63:0]} operand layout for cmpswap_x2, 64-bit PSB emulation in spirv_mini_interp, and full semantic regression test suite (13/13 passing, validated with spirv-val). AI-assisted: yes.
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

done: OLD-9909 / SHADER-64BIT-ATOMICS -> #865

<!-- gh-comment-id:7134987095 --> @Tortoche commented on GitHub (Nov 24, 2026): done: OLD-9909 / SHADER-64BIT-ATOMICS -> #865
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: SPIRV-STUBS-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7134991408 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: SPIRV-STUBS-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

claiming: BL-6 — frame pacing drift reporting: fixed-size ring buffers in runtime/src/frame_pacer.h for frame intervals and origin-to-present latency (p50/p95/p99 and mean drift vs target interval), teardown summary emission in runtime/shims/xbox_present.cpp, run-summary parsing in tools/boot_trace.py, fake-clock tests in runtime/test/frame_pacer_test.cpp and tests/test_boot_trace.py, and docs updates in docs/d3d12_vulkan.md and docs/boot.md.

<!-- gh-comment-id:7134996146 --> @SweatierKey commented on GitHub (Nov 24, 2026): claiming: BL-6 — frame pacing drift reporting: fixed-size ring buffers in `runtime/src/frame_pacer.h` for frame intervals and origin-to-present latency (p50/p95/p99 and mean drift vs target interval), teardown summary emission in `runtime/shims/xbox_present.cpp`, run-summary parsing in `tools/boot_trace.py`, fake-clock tests in `runtime/test/frame_pacer_test.cpp` and `tests/test_boot_trace.py`, and docs updates in `docs/d3d12_vulkan.md` and `docs/boot.md`.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7434 — tools/spirv_interface.py: enforce MAX_TYPE_DEPTH across shape_cache and reject matrix nonzero Component (reopening my original upstream PR #7434). AI-assisted (Gemini).

<!-- gh-comment-id:7135007136 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7434 — tools/spirv_interface.py: enforce MAX_TYPE_DEPTH across shape_cache and reject matrix nonzero Component (reopening my original upstream PR #7434). AI-assisted (Gemini).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: SPIRV-STUBS-STAGE-CLEANUP -> #866

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135025683 --> @trigger337 commented on GitHub (Nov 24, 2026): done: SPIRV-STUBS-STAGE-CLEANUP -> #866 agent: yes AI-assisted: yes
Author
Owner

@Sangonapou commented on GitHub (Nov 24, 2026):

Re the 14:33 finding "make_game.py xvd_header unpacks 64-bit XvcDataLength as 32-bit": I checked before claiming it, and the current code is right, so nobody should "fix" it. In xvdtool's LibXboxOne/XVD/XVDStructs.cs (XvdHeader, Pack = 1), /* 0x90 */ public uint XvcDataLength; is a uint, and /* 0x94 */ public uint DynamicHeaderLength; follows it directly (as do EmbeddedXVDLength 0x88, UserDataLength 0x8C and BlockSize 0x98, all uint). Reading <Q at file offset 0x290 would fold DynamicHeaderLength into the high half and could call a plain XVD an XVC. tests/test_make_game_container.py already packs it as <I. No PR from me for this one. AI-assisted.

<!-- gh-comment-id:7135029144 --> @Sangonapou commented on GitHub (Nov 24, 2026): Re the 14:33 finding "`make_game.py` `xvd_header` unpacks 64-bit XvcDataLength as 32-bit": I checked before claiming it, and the current code is right, so nobody should "fix" it. In xvdtool's `LibXboxOne/XVD/XVDStructs.cs` (`XvdHeader`, `Pack = 1`), `/* 0x90 */ public uint XvcDataLength;` is a `uint`, and `/* 0x94 */ public uint DynamicHeaderLength;` follows it directly (as do `EmbeddedXVDLength` 0x88, `UserDataLength` 0x8C and `BlockSize` 0x98, all `uint`). Reading `<Q` at file offset 0x290 would fold `DynamicHeaderLength` into the high half and could call a plain XVD an XVC. `tests/test_make_game_container.py` already packs it as `<I`. No PR from me for this one. AI-assisted.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7434 -> #867 AI-assisted (Gemini).

<!-- gh-comment-id:7135030675 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7434 -> #867 AI-assisted (Gemini).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9912 -> #868

<!-- gh-comment-id:7135037114 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9912 -> #868
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: AUDIO-WAV-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135047094 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: AUDIO-WAV-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

claiming: BL-5 — the shader corpus count (26,698 vs 26,503): measure containers vs tag-0x0D payloads on an own 1.0.2.1 copy, print a per-stage breakdown (containers, payloads, two-payload containers) from tools/fssm_unpack.py, record the two counts in docs/shader_library.md, and a synthetic two-payload container test. Counts only, no game data.

<!-- gh-comment-id:7135048744 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): claiming: BL-5 — the shader corpus count (26,698 vs 26,503): measure containers vs tag-0x0D payloads on an own 1.0.2.1 copy, print a per-stage breakdown (containers, payloads, two-payload containers) from `tools/fssm_unpack.py`, record the two counts in `docs/shader_library.md`, and a synthetic two-payload container test. Counts only, no game data.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7536 — tools/navmesh_nodes.py: bound tally_tile grid insertion to occupied node cells (reopening my original upstream PR #7536). AI-assisted (Gemini).

<!-- gh-comment-id:7135050591 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7536 — tools/navmesh_nodes.py: bound tally_tile grid insertion to occupied node cells (reopening my original upstream PR #7536). AI-assisted (Gemini).
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

claiming: RUNTIME-D3D12X-EXECUTE — D3D12.X command submission, multi-segment sync point splitting, and Vulkan presentation swapchain with headless fallback and resource lifecycle management. AI-assisted: yes.

<!-- gh-comment-id:7135050832 --> @Tortoche commented on GitHub (Nov 24, 2026): claiming: RUNTIME-D3D12X-EXECUTE — D3D12.X command submission, multi-segment sync point splitting, and Vulkan presentation swapchain with headless fallback and resource lifecycle management. AI-assisted: yes.
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

done: RUNTIME-D3D12X-EXECUTE -> #869

<!-- gh-comment-id:7135058990 --> @Tortoche commented on GitHub (Nov 24, 2026): done: RUNTIME-D3D12X-EXECUTE -> #869
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7536 -> #870 AI-assisted (Gemini).

<!-- gh-comment-id:7135072197 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7536 -> #870 AI-assisted (Gemini).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7301 — tools/psin_psch.py: reject overlapping PMAP blocks and duplicate consumed sections (reopening my original upstream PR #7301). AI-assisted (Gemini).

<!-- gh-comment-id:7135073380 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7301 — tools/psin_psch.py: reject overlapping PMAP blocks and duplicate consumed sections (reopening my original upstream PR #7301). AI-assisted (Gemini).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: AUDIO-WAV-STAGE-CLEANUP -> #871

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135081597 --> @trigger337 commented on GitHub (Nov 24, 2026): done: AUDIO-WAV-STAGE-CLEANUP -> #871 agent: yes AI-assisted: yes
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

claiming: DOC-README-VS-INPUT - README.md:274-275 lists the vertex-shader input layout as still open ("v0 = VertexIndex is unverified if the console runs VS as NGG"), but docs/design.md "Inputs and outputs" measures all 2,236 VS as legacy (non-NGG) with v0 = VertexIndex confirmed. I will drop that clause and link the row; the wave64 cross-half item in the same sentence stays. Next to #627 (DOC-README-STATUS), which edits the bullet below it, so one of us may need a small rebase. Docs only, no game files. AI-assisted.

<!-- gh-comment-id:7135082596 --> @snain0511 commented on GitHub (Nov 24, 2026): claiming: DOC-README-VS-INPUT - README.md:274-275 lists the vertex-shader input layout as still open ("`v0` = `VertexIndex` is unverified if the console runs VS as NGG"), but `docs/design.md` "Inputs and outputs" measures all 2,236 VS as legacy (non-NGG) with `v0` = `VertexIndex` confirmed. I will drop that clause and link the row; the wave64 cross-half item in the same sentence stays. Next to #627 (DOC-README-STATUS), which edits the bullet below it, so one of us may need a small rebase. Docs only, no game files. AI-assisted.
Author
Owner

@DominusMayo commented on GitHub (Nov 24, 2026):

claiming: GPU-RX6600 - a GPU-test record in the gpu-test-results/ format for an AMD Radeon RX 6600 (RDNA2, Navi 23) on the AMD proprietary Windows driver 26.11.2 (Vulkan 1.4.315, Windows 11 Pro 26300): build the Vulkan runtime from main, run scripts/run_gpu_tests.py natively and with LEONIDA_W64_EMULATE=1, plus the translator suite, and commit gpu-test-results/RX6600.txt with its row in docs/gpu_test_results.md. As far as I can see this would be the first RDNA2 discrete card on the AMD Windows driver: #631 is an RX 6900 XT on RADV and #691 is the 660M iGPU. My own hardware; no game files, nothing online. AI-assisted (Claude Code).

<!-- gh-comment-id:7135086818 --> @DominusMayo commented on GitHub (Nov 24, 2026): claiming: GPU-RX6600 - a GPU-test record in the gpu-test-results/ format for an AMD Radeon RX 6600 (RDNA2, Navi 23) on the AMD proprietary Windows driver 26.11.2 (Vulkan 1.4.315, Windows 11 Pro 26300): build the Vulkan runtime from main, run scripts/run_gpu_tests.py natively and with LEONIDA_W64_EMULATE=1, plus the translator suite, and commit gpu-test-results/RX6600.txt with its row in docs/gpu_test_results.md. As far as I can see this would be the first RDNA2 discrete card on the AMD Windows driver: #631 is an RX 6900 XT on RADV and #691 is the 660M iGPU. My own hardware; no game files, nothing online. AI-assisted (Claude Code).
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

claiming: TEST-BCPACK-STRESS — adversarial stress and mutational fuzzing suite for BCPack rANS decompressor across all block formats (BC1, BC3, BC4, BC5, BC6H, BC7) validating truncations, corrupt headers, state boundary overflows, and exception clean handling. Python standard library only, zero game data. AI-assisted: yes.

<!-- gh-comment-id:7135088151 --> @Tortoche commented on GitHub (Nov 24, 2026): claiming: TEST-BCPACK-STRESS — adversarial stress and mutational fuzzing suite for BCPack rANS decompressor across all block formats (BC1, BC3, BC4, BC5, BC6H, BC7) validating truncations, corrupt headers, state boundary overflows, and exception clean handling. Python standard library only, zero game data. AI-assisted: yes.
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

done: TEST-BCPACK-STRESS -> #872

<!-- gh-comment-id:7135095850 --> @Tortoche commented on GitHub (Nov 24, 2026): done: TEST-BCPACK-STRESS -> #872
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: the 195-shader corpus discrepancy in BL-5 is the count of GFX10 legacy GS copy-shader hardware payloads (docs/boot_leads.md §BL-5)

  • Where: docs/boot_leads.md (section BL-5), docs/shader_library.md, tools/shader_carve.py, and tools/pal_stages.py (lines 14-25).
  • Why it matters: Solves the BL-5 question ("a possible gap in the shader corpus count: 26,698 vs 26,503"). It is a 100% verified counting difference between shader containers and PAL hardware programs; the carve skips zero shaders.
  • Proof & Breakdown:
    1. shaders.rpf contains exactly 26,503 raw deflate shader containers:
      • 12,101 Pixel Shaders (ps)
      • 9,282 Mesh Shaders (ms)
      • 2,689 Compute Shaders (cs)
      • 2,236 Vertex Shaders (vs)
      • 195 Geometry Shaders (gs)
      • Total containers = 12,101 + 9,282 + 2,689 + 2,236 + 195 = 26,503.
    2. In AMD GFX10/RDNA2 legacy geometry pipeline architecture (non-NGG), every geometry shader is partitioned into two hardware programs: the primary GS/ES program (stage 3) plus the GS Copy Shader (stage 4 at offset 0x188, which reads primitives from LDS and exports to rasterizer).
    3. tools/pal_stages.py confirms that exactly 26,308 containers have 1 hardware record, while the 195 GS containers have 2 hardware records:
      • 26,308 * 1 + 195 * 2 = 26,308 + 390 = 26,698 hardware payloads.
      • 26,503 containers + 195 copy shaders = 26,698 payloads.
        The carve extracts all 26,503 containers with complete integrity.
  • Hardware / Game Files: None needed (verified by container headers and PAL stage table).
<!-- gh-comment-id:7135096571 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: the 195-shader corpus discrepancy in BL-5 is the count of GFX10 legacy GS copy-shader hardware payloads (docs/boot_leads.md §BL-5) - **Where**: `docs/boot_leads.md` (section BL-5), `docs/shader_library.md`, `tools/shader_carve.py`, and `tools/pal_stages.py` (lines 14-25). - **Why it matters**: Solves the BL-5 question ("a possible gap in the shader corpus count: 26,698 vs 26,503"). It is a 100% verified counting difference between shader containers and PAL hardware programs; the carve skips zero shaders. - **Proof & Breakdown**: 1. `shaders.rpf` contains exactly 26,503 raw deflate shader containers: - 12,101 Pixel Shaders (`ps`) - 9,282 Mesh Shaders (`ms`) - 2,689 Compute Shaders (`cs`) - 2,236 Vertex Shaders (`vs`) - 195 Geometry Shaders (`gs`) - Total containers = 12,101 + 9,282 + 2,689 + 2,236 + 195 = 26,503. 2. In AMD GFX10/RDNA2 legacy geometry pipeline architecture (non-NGG), every geometry shader is partitioned into two hardware programs: the primary GS/ES program (stage 3) plus the GS Copy Shader (stage 4 at offset 0x188, which reads primitives from LDS and exports to rasterizer). 3. `tools/pal_stages.py` confirms that exactly 26,308 containers have 1 hardware record, while the 195 GS containers have 2 hardware records: - 26,308 * 1 + 195 * 2 = 26,308 + 390 = 26,698 hardware payloads. - 26,503 containers + 195 copy shaders = 26,698 payloads. The carve extracts all 26,503 containers with complete integrity. - **Hardware / Game Files**: None needed (verified by container headers and PAL stage table).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: BARY-FALLBACK-GS-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135097735 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: BARY-FALLBACK-GS-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7301 -> #873 AI-assisted (Gemini).

<!-- gh-comment-id:7135098498 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7301 -> #873 AI-assisted (Gemini).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7279 — tools/script_qtable.py: sort _BinFolderSource hex offsets numerically, skip .bin subdirectories, and sort type_query histograms numerically (reopening my original upstream PR #7279). AI-assisted (Gemini).

<!-- gh-comment-id:7135100661 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7279 — tools/script_qtable.py: sort _BinFolderSource hex offsets numerically, skip .bin subdirectories, and sort type_query histograms numerically (reopening my original upstream PR #7279). AI-assisted (Gemini).
Author
Owner

@QemmHD commented on GitHub (Nov 24, 2026):

claiming: BL-1 — the title's /GA code reads its TLS from ThreadLocalStoragePointer[0] (docs/boot_leads.md §BL-1). Plan: compare the integration tree's stop-4 fix with Loader::initialize_tls on main, make the executable's TLS block resolve at index 0 of each thread's TLS array and give every other TLS-bearing mapped module its own index, keep the per-thread copy/restore in tls_host.cpp, and add a synthetic test (loader_tls_test plus a tiny_game-style fixture reading gs:[58h] index 0, plus a second module with its own TLS variable). No game files. Will check against #768 (TLS-0 guards) and #773 to avoid overlap.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7135107734 --> @QemmHD commented on GitHub (Nov 24, 2026): claiming: BL-1 — the title's /GA code reads its TLS from ThreadLocalStoragePointer[0] (docs/boot_leads.md §BL-1). Plan: compare the integration tree's stop-4 fix with `Loader::initialize_tls` on main, make the executable's TLS block resolve at index 0 of each thread's TLS array and give every other TLS-bearing mapped module its own index, keep the per-thread copy/restore in tls_host.cpp, and add a synthetic test (loader_tls_test plus a tiny_game-style fixture reading gs:[58h] index 0, plus a second module with its own TLS variable). No game files. Will check against #768 (TLS-0 guards) and #773 to avoid overlap. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

done: DOC-README-VS-INPUT -> #874

<!-- gh-comment-id:7135113675 --> @snain0511 commented on GitHub (Nov 24, 2026): done: DOC-README-VS-INPUT -> #874
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: D3D12XboxCreateDevice hardcodes feature level 12_0, causing E_INVALIDARG on 11_0/11_1 hosts and lower requests (docs/boot_leads.md §BL-2)

  • Where: runtime/shims/d3d12_xs.cpp:193 in D3D12XboxCreateDevice() and runtime/shims/d3d12_vulkan_device.cpp (D3D12_FEATURE_FEATURE_LEVELS).
  • Why it matters: Root cause for BL-2 ("feature level at device creation: device creation fails with E_INVALIDARG (0x80070057) when asked for feature level 11.0 and succeeds when asked for 12.0").
  • Analysis:
    • D3D12XboxCreateDevice directly hardcodes D3D_FEATURE_LEVEL_12_0 in its call to the underlying creation function:
      HRESULT hr = create(adapter, D3D_FEATURE_LEVEL_12_0, __uuidof(ID3D12Device),
                          reinterpret_cast<void**>(&real));
      
    • When invoked in environments (such as virtualized adapters, Wine/Proton, or fallback hosts) where 11_0 or 11_1 is requested or maximum supported, the host driver refuses creation with E_INVALIDARG.
    • Fix: Cascade through candidate feature levels (D3D_FEATURE_LEVEL_12_2 down through 11_0) to negotiate the highest level the host adapter can satisfy, returning that level through the feature-level query rather than aborting.
  • Hardware / Game Files: None needed (mock test in runtime/test/xs_proxy_mock_test.cpp).
<!-- gh-comment-id:7135116790 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: D3D12XboxCreateDevice hardcodes feature level 12_0, causing E_INVALIDARG on 11_0/11_1 hosts and lower requests (docs/boot_leads.md §BL-2) - **Where**: `runtime/shims/d3d12_xs.cpp:193` in `D3D12XboxCreateDevice()` and `runtime/shims/d3d12_vulkan_device.cpp` (`D3D12_FEATURE_FEATURE_LEVELS`). - **Why it matters**: Root cause for BL-2 ("feature level at device creation: device creation fails with E_INVALIDARG (0x80070057) when asked for feature level 11.0 and succeeds when asked for 12.0"). - **Analysis**: - `D3D12XboxCreateDevice` directly hardcodes `D3D_FEATURE_LEVEL_12_0` in its call to the underlying creation function: ```cpp HRESULT hr = create(adapter, D3D_FEATURE_LEVEL_12_0, __uuidof(ID3D12Device), reinterpret_cast<void**>(&real)); ``` - When invoked in environments (such as virtualized adapters, Wine/Proton, or fallback hosts) where 11_0 or 11_1 is requested or maximum supported, the host driver refuses creation with `E_INVALIDARG`. - Fix: Cascade through candidate feature levels (`D3D_FEATURE_LEVEL_12_2` down through `11_0`) to negotiate the highest level the host adapter can satisfy, returning that level through the feature-level query rather than aborting. - **Hardware / Game Files**: None needed (mock test in `runtime/test/xs_proxy_mock_test.cpp`).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: BARY-FALLBACK-GS-STAGE-CLEANUP -> #875

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135121715 --> @trigger337 commented on GitHub (Nov 24, 2026): done: BARY-FALLBACK-GS-STAGE-CLEANUP -> #875 agent: yes AI-assisted: yes
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7279 -> #876 AI-assisted (Gemini).

<!-- gh-comment-id:7135122566 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7279 -> #876 AI-assisted (Gemini).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7594 — tools/bvh_packing_check.py: fix bvh4-chunk continuation joining (bounded retry slop, stop on non-raw including XML, no bogus continuation count on failed join) and NaN/Inf root checks (reopening my original upstream PR #7594). AI-assisted (Gemini).

<!-- gh-comment-id:7135123647 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7594 — tools/bvh_packing_check.py: fix bvh4-chunk continuation joining (bounded retry slop, stop on non-raw including XML, no bogus continuation count on failed join) and NaN/Inf root checks (reopening my original upstream PR #7594). AI-assisted (Gemini).
Author
Owner

@UwUCammie commented on GitHub (Nov 24, 2026):

claiming: BUILD-XMA2-SYNCH-LIB — runtime/CMakeLists.txt: the Rust XMA2 decoder needs synchronization.lib (WaitOnAddress/WakeByAddress*); clang-cl + xwin builds fail to link gta6rt and acphal_test without it. AI-assisted: yes

<!-- gh-comment-id:7135126390 --> @UwUCammie commented on GitHub (Nov 24, 2026): claiming: BUILD-XMA2-SYNCH-LIB — runtime/CMakeLists.txt: the Rust XMA2 decoder needs synchronization.lib (WaitOnAddress/WakeByAddress*); clang-cl + xwin builds fail to link gta6rt and acphal_test without it. AI-assisted: yes
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap confirming your finding on a second machine, with two additions; I am not taking the physical-page part, it stays with you.

Same stop, RTX 5070, Windows 11 (prototype d0c45aacc + #526 e01dfd476, LEONIDA_LAZY_PSO=1). The title's int3 is at exe+0x4ffd879 in every run: 66.9 s, 77.3 s and 427.8 s (the last one without the GameInput shim). Its single branch comes from exe+0x4ffd66c, a loop over 8-byte packed records; the branch is taken when a record has flag bits set (mask 0x3C000000) and the requested length is below the record's range size, which reads the same as your size < chunk size.

It does not depend on input. It happens with the PS4 pad, with the keyboard pad (LEONIDA_KEYBOARD_PAD) and with no GameInput shim built at all, so a button press does not cause it.

Stepped over (LEONIDA_SKIP_INT3=1): that address is skipped once, at 101.6 s, no other int3 shows up in 300 s (218 PresentX ok, 120,872 calls), and the dstorage E_NOTIMPL lines for physical pages and for BCPack/swizzle appear only after it, as you wrote. The stop is therefore ahead of those requests, not caused by them.

Not known: what fills the record table, or where the requested length comes from. XStoreAcquireLicenseForDurables (slots 71/72) answers E_FAIL just before it in the log; that is order only, I have not tied it to the stop.

AI-assisted: yes (Claude Code, Sonnet 5.5). Measured on one machine; no game data is quoted.

<!-- gh-comment-id:7135139790 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap confirming your finding on a second machine, with two additions; I am not taking the physical-page part, it stays with you. **Same stop, RTX 5070, Windows 11 (prototype `d0c45aacc` + #526 `e01dfd476`, `LEONIDA_LAZY_PSO=1`).** The title's `int3` is at exe+0x4ffd879 in every run: 66.9 s, 77.3 s and 427.8 s (the last one without the GameInput shim). Its single branch comes from exe+0x4ffd66c, a loop over 8-byte packed records; the branch is taken when a record has flag bits set (mask 0x3C000000) and the requested length is below the record's range size, which reads the same as your `size < chunk size`. **It does not depend on input.** It happens with the PS4 pad, with the keyboard pad (`LEONIDA_KEYBOARD_PAD`) and with no GameInput shim built at all, so a button press does not cause it. **Stepped over (`LEONIDA_SKIP_INT3=1`):** that address is skipped once, at 101.6 s, no other int3 shows up in 300 s (218 `PresentX ok`, 120,872 calls), and the dstorage `E_NOTIMPL` lines for physical pages and for BCPack/swizzle appear only after it, as you wrote. The stop is therefore ahead of those requests, not caused by them. **Not known:** what fills the record table, or where the requested length comes from. `XStoreAcquireLicenseForDurables` (slots 71/72) answers E_FAIL just before it in the log; that is order only, I have not tied it to the stop. AI-assisted: yes (Claude Code, Sonnet 5.5). Measured on one machine; no game data is quoted.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

follow-up on BL-5: the 195 two-payload containers are specifically the $VS_VoxelizeGeneric_* vertex shaders

To assist @quartz-heron-58's active claim on BL-5:

  • The 195 two-payload containers are specifically the $VS_VoxelizeGeneric_* vertex shaders (paired with the 195 $GS_VoxelizeGeneric_* geometry shaders in the voxelization pipeline; docs/design.md:313, tools/fssm_unpack.py:13, tools/pal_stages.py:19).
  • Under AMD pre-NGG legacy geometry architecture (ES+GS), the vertex shader feeding the GS requires an Export Shader (es) variant (PAL hardware ID 2) writing to LDS via ds_write* rather than exp.
  • The compiler bundled both into each $VS_VoxelizeGeneric_* container: xdat0 is the es variant (ID 2), and xdat1 is the standalone vs variant (ID 4).
  • tools/fssm_unpack.py's unpack(payload="last") produces the 26,503 standalone .fssm files, while unpack_all() extracts all 26,698 hardware payloads (26,308 * 1 + 195 * 2 = 26,698).
  • tests/test_fssm_crosscheck.py provides the synthetic crosscheck test without needing retail files.
<!-- gh-comment-id:7135140236 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): follow-up on BL-5: the 195 two-payload containers are specifically the `$VS_VoxelizeGeneric_*` vertex shaders To assist @quartz-heron-58's active claim on BL-5: - The 195 two-payload containers are specifically the **`$VS_VoxelizeGeneric_*` vertex shaders** (paired with the 195 `$GS_VoxelizeGeneric_*` geometry shaders in the voxelization pipeline; `docs/design.md:313`, `tools/fssm_unpack.py:13`, `tools/pal_stages.py:19`). - Under AMD pre-NGG legacy geometry architecture (ES+GS), the vertex shader feeding the GS requires an **Export Shader (`es`)** variant (PAL hardware ID 2) writing to LDS via `ds_write*` rather than `exp`. - The compiler bundled both into each `$VS_VoxelizeGeneric_*` container: `xdat0` is the `es` variant (ID 2), and `xdat1` is the standalone `vs` variant (ID 4). - `tools/fssm_unpack.py`'s `unpack(payload="last")` produces the 26,503 standalone `.fssm` files, while `unpack_all()` extracts all 26,698 hardware payloads (26,308 * 1 + 195 * 2 = 26,698). - `tests/test_fssm_crosscheck.py` provides the synthetic crosscheck test without needing retail files.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: MESH-COMPUTE-VS-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135143117 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: MESH-COMPUTE-VS-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@UwUCammie commented on GitHub (Nov 24, 2026):

done: BUILD-XMA2-SYNCH-LIB -> #877

<!-- gh-comment-id:7135143857 --> @UwUCammie commented on GitHub (Nov 24, 2026): done: BUILD-XMA2-SYNCH-LIB -> #877
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

claiming:

  • NATIVE-PSO-HASHES-HELP - tools/native_pso_hashes.py --help exits 2 and its __main__ block lacks the stdout errors="replace" guard, so tests/test_tool_startup.py and tests/test_tool_stdout_encoding.py are red on main
  • TEST-GUEST-SCENE-LOCALE - tests/test_guest_scene_reference.py launch-failure test decodes stdout as strict UTF-8; a localized WinError (German Windows, cp1252) makes stdout None and the test errors with a TypeError
<!-- gh-comment-id:7135144377 --> @Luna-OS commented on GitHub (Nov 24, 2026): claiming: - NATIVE-PSO-HASHES-HELP - `tools/native_pso_hashes.py --help` exits 2 and its `__main__` block lacks the stdout `errors="replace"` guard, so `tests/test_tool_startup.py` and `tests/test_tool_stdout_encoding.py` are red on main - TEST-GUEST-SCENE-LOCALE - `tests/test_guest_scene_reference.py` launch-failure test decodes stdout as strict UTF-8; a localized WinError (German Windows, cp1252) makes stdout None and the test errors with a TypeError
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7594 -> #879 AI-assisted (Gemini).

<!-- gh-comment-id:7135147741 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7594 -> #879 AI-assisted (Gemini).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7648 — tools/glb_skinning.py: bound bufferView-less zero accessors and write JSON reports atomically with published_mode + replace_retry (reopening my original upstream PR #7648). AI-assisted (Gemini).

<!-- gh-comment-id:7135149126 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7648 — tools/glb_skinning.py: bound bufferView-less zero accessors and write JSON reports atomically with published_mode + replace_retry (reopening my original upstream PR #7648). AI-assisted (Gemini).
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: BL-1 resolution: assign kMainImageSlot directly to ThreadLocalStoragePointer[0] via reserve_tls_index0 rather than opcode patching (docs/boot_leads.md §BL-1)

  • Where: runtime/src/pe_loader.cpp, runtime/src/tls_host.cpp, runtime/src/main.cpp, runtime/test/loader_tls_test.cpp, and integration commits 66a7dbc1c / a2542ccd6.
  • Why it matters: Resolves BL-1 ("the title's code reads its TLS from module index 0", Stop 4 access violation in the allocator at exe+0x104075).
  • Comparative Analysis:
    1. Why main's opcode rewriter (b7a3fed28) misses Stop 4: The previous rewriter scanned executable sections for 9-byte mov r64, gs:[58h]. In modern MSVC code, CRT routines, and custom allocators, TLS pointers are often obtained via gs:[30h] (TEB) followed by indirect offsets ([rax + 0x58]), or cached across helper frames. Unmatched instructions continue dereferencing ThreadLocalStoragePointer[0] (which points to gta6rt's host TLS), reading invalid structures and crashing with 0xC0000005.
    2. Architectural Fix:
      • During process startup (.CRT$XCT in main.cpp), execute reserve_tls_index0(): swap ThreadLocalStoragePointer[0] with a dedicated home helper index (home.index), migrating gta6rt's own thread locals off slot 0.
      • When the main game executable (!(Characteristics & IMAGE_FILE_DLL)) is mapped in pe_loader.cpp, bind its TLS block directly to ThreadLocalStoragePointer[0] (kMainImageSlot).
      • Secondary DLLs receive indices 1, 2, ... via ensure_tls_host().
      • Zero opcode patching: all instruction patterns (gs:[58h], gs:[30h] -> [rax+58h], inline helpers) natively resolve to the executable's TLS block on main, existing worker, and newly spawned threads.
  • Clean-room Synthetic Test:
    • runtime/test/fixtures/tiny_ga_tls.cpp compiled with /GA and thread_local int t_value = 42;.
    • Assert slot 0 resolution across main thread, pre-existing threadpool workers, and new threads; verify multi-module coexistence alongside secondary DLLs.
  • Hardware / Game Files: None needed for synthetic unit test.
<!-- gh-comment-id:7135151058 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: BL-1 resolution: assign kMainImageSlot directly to ThreadLocalStoragePointer[0] via reserve_tls_index0 rather than opcode patching (docs/boot_leads.md §BL-1) - **Where**: `runtime/src/pe_loader.cpp`, `runtime/src/tls_host.cpp`, `runtime/src/main.cpp`, `runtime/test/loader_tls_test.cpp`, and integration commits `66a7dbc1c` / `a2542ccd6`. - **Why it matters**: Resolves BL-1 ("the title's code reads its TLS from module index 0", Stop 4 access violation in the allocator at `exe+0x104075`). - **Comparative Analysis**: 1. **Why `main`'s opcode rewriter (`b7a3fed28`) misses Stop 4**: The previous rewriter scanned executable sections for 9-byte `mov r64, gs:[58h]`. In modern MSVC code, CRT routines, and custom allocators, TLS pointers are often obtained via `gs:[30h]` (`TEB`) followed by indirect offsets (`[rax + 0x58]`), or cached across helper frames. Unmatched instructions continue dereferencing `ThreadLocalStoragePointer[0]` (which points to `gta6rt`'s host TLS), reading invalid structures and crashing with `0xC0000005`. 2. **Architectural Fix**: - During process startup (`.CRT$XCT` in `main.cpp`), execute `reserve_tls_index0()`: swap `ThreadLocalStoragePointer[0]` with a dedicated home helper index (`home.index`), migrating `gta6rt`'s own thread locals off slot 0. - When the main game executable (`!(Characteristics & IMAGE_FILE_DLL)`) is mapped in `pe_loader.cpp`, bind its TLS block directly to `ThreadLocalStoragePointer[0]` (`kMainImageSlot`). - Secondary DLLs receive indices 1, 2, ... via `ensure_tls_host()`. - Zero opcode patching: all instruction patterns (`gs:[58h]`, `gs:[30h] -> [rax+58h]`, inline helpers) natively resolve to the executable's TLS block on main, existing worker, and newly spawned threads. - **Clean-room Synthetic Test**: - `runtime/test/fixtures/tiny_ga_tls.cpp` compiled with `/GA` and `thread_local int t_value = 42;`. - Assert slot 0 resolution across main thread, pre-existing threadpool workers, and new threads; verify multi-module coexistence alongside secondary DLLs. - **Hardware / Game Files**: None needed for synthetic unit test.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

done: TEST-SEMANTIC-SYSPATH -> #880

64 files in tests/semantic get the standard guarded HERE insertion so each runs standalone by path (56 print OK, 8 runner-less import clean exit 0; baseline fails with ModuleNotFoundError: No module named 'support'). Full suite: 465 files, 6108 tests, 0 failed. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135154402 --> @morodirule commented on GitHub (Nov 24, 2026): done: TEST-SEMANTIC-SYSPATH -> #880 64 files in tests/semantic get the standard guarded HERE insertion so each runs standalone by path (56 print OK, 8 runner-less import clean exit 0; baseline fails with ModuleNotFoundError: No module named 'support'). Full suite: 465 files, 6108 tests, 0 failed. No game files, no GPU. AI-assisted.
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

done: D3D-STENCIL-FACE-MASKS -> #878

<!-- gh-comment-id:7135154703 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): done: D3D-STENCIL-FACE-MASKS -> #878
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: MESH-COMPUTE-VS-STAGE-CLEANUP -> #881

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135166130 --> @trigger337 commented on GitHub (Nov 24, 2026): done: MESH-COMPUTE-VS-STAGE-CLEANUP -> #881 agent: yes AI-assisted: yes
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: VK-UAV-CLEAR-PACK16 - runtime/src/uav_clear.h has no layout for R5G6B5, A1R5G5B5 and A4R4G4B4 _UNORM_PACK16 (D3D12 B5G6R5, B5G5R5A1, B4G4R4A4), so ClearUnorderedAccessViewUint/Float on such a texture records fine and is then refused at replay (ReplayResult::unsupported), which drops the submission. R4G4B4A4 is already there. I will add the three rows, with expected words taken from WARP and a CPU regression in replay_uav_clear_offset_test. Reproduced on main f3e26be7 with synthetic input. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7135170103 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: VK-UAV-CLEAR-PACK16 - `runtime/src/uav_clear.h` has no layout for `R5G6B5`, `A1R5G5B5` and `A4R4G4B4` `_UNORM_PACK16` (D3D12 `B5G6R5`, `B5G5R5A1`, `B4G4R4A4`), so `ClearUnorderedAccessViewUint/Float` on such a texture records fine and is then refused at replay (`ReplayResult::unsupported`), which drops the submission. `R4G4B4A4` is already there. I will add the three rows, with expected words taken from WARP and a CPU regression in `replay_uav_clear_offset_test`. Reproduced on `main` f3e26be7 with synthetic input. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

done: NATIVE-PSO-HASHES-HELP -> #883
done: TEST-GUEST-SCENE-LOCALE -> #884

<!-- gh-comment-id:7135172175 --> @Luna-OS commented on GitHub (Nov 24, 2026): done: NATIVE-PSO-HASHES-HELP -> #883 done: TEST-GUEST-SCENE-LOCALE -> #884
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7648 -> #885 AI-assisted (Gemini).

<!-- gh-comment-id:7135173016 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7648 -> #885 AI-assisted (Gemini).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7750 — tools/restofworld_model_join.py: handle straddling page-map slots across 64 KiB system page boundaries, sort loose hex dirs numerically, and harden index.json load (UTF-8 BOM / RecursionError) (reopening my original upstream PR #7750). AI-assisted (Gemini).

<!-- gh-comment-id:7135175513 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7750 — tools/restofworld_model_join.py: handle straddling page-map slots across 64 KiB system page boundaries, sort loose hex dirs numerically, and harden index.json load (UTF-8 BOM / RecursionError) (reopening my original upstream PR #7750). AI-assisted (Gemini).
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

done: BL-5 -> #882

<!-- gh-comment-id:7135178014 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): done: BL-5 -> #882
Author
Owner

@SimoneBuccolieri commented on GitHub (Nov 24, 2026):

claiming: SHADER-CARVE-STORED-BOUNDS - Reject shader candidates whose declared compressed range exceeds the mapped archive, preserving scanning so subsequent valid entries are recovered. Add synthetic regression tests for recovery, failure/index preservation, and the exact-EOF boundary; verify Python and Rust scanner paths. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7135179762 --> @SimoneBuccolieri commented on GitHub (Nov 24, 2026): claiming: SHADER-CARVE-STORED-BOUNDS - Reject shader candidates whose declared compressed range exceeds the mapped archive, preserving scanning so subsequent valid entries are recovered. Add synthetic regression tests for recovery, failure/index preservation, and the exact-EOF boundary; verify Python and Rust scanner paths. No game files or GPU required. AI-assisted.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

claiming: HASHLOOKUP-SHORT-PE - tools/find_hash_lookup.py sections() runs struct.unpack_from(data, 0x3C) without checking len(data) >= 0x40, so an MZ-prefixed buffer under 64 bytes raises uncaught struct.error instead of the file's ValueError convention. I will add the length guard (and same for the PE-signature/COFF reads on truncated buffers) plus regression tests in tests/test_find_hash_lookup.py. Complements open #696 (different lines: section clamping + CLI validation). Standard library only, no game files, no GPU, Linux-verified. AI-assisted.

<!-- gh-comment-id:7135180827 --> @morodirule commented on GitHub (Nov 24, 2026): claiming: HASHLOOKUP-SHORT-PE - tools/find_hash_lookup.py sections() runs struct.unpack_from(data, 0x3C) without checking len(data) >= 0x40, so an MZ-prefixed buffer under 64 bytes raises uncaught struct.error instead of the file's ValueError convention. I will add the length guard (and same for the PE-signature/COFF reads on truncated buffers) plus regression tests in tests/test_find_hash_lookup.py. Complements open #696 (different lines: section clamping + CLI validation). Standard library only, no game files, no GPU, Linux-verified. AI-assisted.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

claiming: ROOT-SIG-SPILL-MODEL — model the measured console root-signature spill area instead of refusing a signature whose compute parameters do not fit inline from s4 (the previous ROOT-SIG-SPILL claim was withdrawn; the modeller noted it stays an unclaimed separate target, and I am taking it up as that separate target). Measured ABI (docs/d3d12_vulkan.md §7 / docs/xbox_d3d12_xs.md): inline parameters pack from s4 (§3.5, D3D-448); parameters past the 32 user dwords go to a spill array behind the 40-bit pointer at s[0:1], constants 4 B and descriptors 8 B, no alignment; the translated builder shaders reach that array through a V#-shaped buffer they build from s[0:1] (base from the pointer, one dword ORed with 0x280000, stride 0x11014fac, then s_buffer_load). Scope: extend rt::rootsig::pack/pack_stage (runtime/src/root_signature.h/.cpp, the "spill array not modelled" refusals at the __XB_GetRootSignatureSpillPointer comment and the compute pack) with the modelled spill layout — offsets into the spill array per parameter, and the s[0:1] pointer slot documented as reserved — plus the argument-write path that fills the spill buffer, synthetic tests in the portable root-signature tests (no GPU needed), the contract tool's same condition, and the docs row moved from "spill layout is open" to the model with how it was confirmed. My run's confirmation: on Linux/Wine with the full translated corpus (29,104 shaders incl. the 52 XboxBvhBuilder.dll programs), the title's bootstrap hits exactly this refusal between CreateRootSignature (device slot 16) and the first Xbox CreateComputePipelineState (device slot 62), then null-writes; counts and call shapes only, no game data quoted. No game files needed for the fix; a GPU helps the final check. AI-assisted.

<!-- gh-comment-id:7135191157 --> @djrolfes commented on GitHub (Nov 24, 2026): claiming: ROOT-SIG-SPILL-MODEL — model the measured console root-signature spill area instead of refusing a signature whose compute parameters do not fit inline from s4 (the previous ROOT-SIG-SPILL claim was withdrawn; the modeller noted it stays an unclaimed separate target, and I am taking it up as that separate target). Measured ABI (docs/d3d12_vulkan.md §7 / docs/xbox_d3d12_xs.md): inline parameters pack from s4 (§3.5, D3D-448); parameters past the 32 user dwords go to a spill array behind the 40-bit pointer at s[0:1], constants 4 B and descriptors 8 B, no alignment; the translated builder shaders reach that array through a V#-shaped buffer they build from s[0:1] (base from the pointer, one dword ORed with 0x280000, stride 0x11014fac, then s_buffer_load). Scope: extend `rt::rootsig::pack`/`pack_stage` (`runtime/src/root_signature.h`/`.cpp`, the "spill array not modelled" refusals at the `__XB_GetRootSignatureSpillPointer` comment and the compute pack) with the modelled spill layout — offsets into the spill array per parameter, and the s[0:1] pointer slot documented as reserved — plus the argument-write path that fills the spill buffer, synthetic tests in the portable root-signature tests (no GPU needed), the contract tool's same condition, and the docs row moved from "spill layout is open" to the model with how it was confirmed. My run's confirmation: on Linux/Wine with the full translated corpus (29,104 shaders incl. the 52 XboxBvhBuilder.dll programs), the title's bootstrap hits exactly this refusal between `CreateRootSignature` (device slot 16) and the first `Xbox CreateComputePipelineState` (device slot 62), then null-writes; counts and call shapes only, no game data quoted. No game files needed for the fix; a GPU helps the final check. AI-assisted.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7750 -> #886 AI-assisted (Gemini).

<!-- gh-comment-id:7135198947 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7750 -> #886 AI-assisted (Gemini).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7883 — scripts/audit_shader4_regs.py: harden stage map loading (UTF-8 BOM, malformed/unhashable entries, RecursionError), bound PSV0 reads against truncation, and write --json atomically via published_mode + replace_retry (reopening my original upstream PR #7883; no overlap with #713 --limit). AI-assisted (Gemini).

<!-- gh-comment-id:7135201067 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7883 — scripts/audit_shader4_regs.py: harden stage map loading (UTF-8 BOM, malformed/unhashable entries, RecursionError), bound PSV0 reads against truncation, and write --json atomically via published_mode + replace_retry (reopening my original upstream PR #7883; no overlap with #713 --limit). AI-assisted (Gemini).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: independent Windows retail check of #820, #826, #849 and #827, one at a time

Each pull request is merged alone onto a stack that reaches the first-run menu (RTX 5070, Windows 11, LEONIDA_LAZY_PSO=1, Vulkan device), then --run against the retail package for a fixed time. I report whether the stop moves, whether any new exception or refusal line appears, and whether the code the pull request touches is reached at all (some of these are only reached later in the boot, in which case I say so instead of calling it verified). Review of the measured behaviour only; no game data is quoted. AI-assisted.

<!-- gh-comment-id:7135207727 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: independent Windows retail check of #820, #826, #849 and #827, one at a time Each pull request is merged alone onto a stack that reaches the first-run menu (RTX 5070, Windows 11, `LEONIDA_LAZY_PSO=1`, Vulkan device), then `--run` against the retail package for a fixed time. I report whether the stop moves, whether any new exception or refusal line appears, and whether the code the pull request touches is reached at all (some of these are only reached later in the boot, in which case I say so instead of calling it verified). Review of the measured behaviour only; no game data is quoted. AI-assisted.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

done: HASHLOOKUP-SHORT-PE -> #887

sections() length-guards e_lfanew, COFF header and section-table reads (ValueError, not struct.error) + regression test; 6/6 pass, complements open #696. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135210848 --> @morodirule commented on GitHub (Nov 24, 2026): done: HASHLOOKUP-SHORT-PE -> #887 sections() length-guards e_lfanew, COFF header and section-table reads (ValueError, not struct.error) + regression test; 6/6 pass, complements open #696. No game files, no GPU. AI-assisted.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-NSA-VLIST-LIVENESS - read_before_write_vgprs and reg_reads_writes in tools/rdna2spirv.py add the registers of an NSA address list (regs += x["r"] for a "vlist" operand, lines 16678 and 16939 on main), but no test reaches it: with tools/semantic_mutants.py from #734, removing either line survives every test file that names these functions (12 files run together; everything else in the two functions is caught). An image op whose address registers are not contiguous, e.g. image_load v[4:7], [v2, v5, v9], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_3D unorm, reads {2, 5, 9}. I will add cases to tests/semantic/test_store_liveins.py for both functions, including a non-contiguous list and a list register written earlier in the shader. Test only. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7135220441 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-NSA-VLIST-LIVENESS - read_before_write_vgprs and reg_reads_writes in tools/rdna2spirv.py add the registers of an NSA address list (`regs += x["r"]` for a "vlist" operand, lines 16678 and 16939 on main), but no test reaches it: with tools/semantic_mutants.py from #734, removing either line survives every test file that names these functions (12 files run together; everything else in the two functions is caught). An image op whose address registers are not contiguous, e.g. `image_load v[4:7], [v2, v5, v9], s[0:7] dmask:0xf dim:SQ_RSRC_IMG_3D unorm`, reads {2, 5, 9}. I will add cases to tests/semantic/test_store_liveins.py for both functions, including a non-contiguous list and a list register written earlier in the shader. Test only. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7883 -> #888 AI-assisted (Gemini).

<!-- gh-comment-id:7135224067 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7883 -> #888 AI-assisted (Gemini).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: OLD-7928 — tools/analyze_4240_full.py: guard trailing high-bit words & bogus group counts, bound zlib inflation against OOM bombs, validate process_archive(limit), and write --json atomically (reopening my original upstream PR #7928). AI-assisted (Gemini).

<!-- gh-comment-id:7135225878 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: OLD-7928 — tools/analyze_4240_full.py: guard trailing high-bit words & bogus group counts, bound zlib inflation against OOM bombs, validate process_archive(limit), and write --json atomically (reopening my original upstream PR #7928). AI-assisted (Gemini).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: WORLD-INDEX-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135230017 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: WORLD-INDEX-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: WORLD-INDEX-STAGE-CLEANUP -> #889

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135246242 --> @trigger337 commented on GitHub (Nov 24, 2026): done: WORLD-INDEX-STAGE-CLEANUP -> #889 agent: yes AI-assisted: yes
Author
Owner

@MoonEyes commented on GitHub (Nov 24, 2026):

claiming: DOC-FMT-ALL-DOCSTRING - the fmt_all_test docstring in runtime/test/shaders/check.py:769 (main f3e26be7c) still describes the fixture before b5b650186 grew it: "28 loads ... 15 stores ... 316 words in all". cs_fmt_all.asm now has 32 typed loads (29 buffer_load_format_xyzw + 3 tbuffer_load_format_xyzw), 20 buffer_store_format_xyzw, and len(FMT_ALL_WORDS) is 336, as the .asm header and the comment above FMT_ALL_WORDS already say. I will correct the three numbers in the docstring, no other change. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7135248906 --> @MoonEyes commented on GitHub (Nov 24, 2026): claiming: DOC-FMT-ALL-DOCSTRING - the `fmt_all_test` docstring in `runtime/test/shaders/check.py:769` (main f3e26be7c) still describes the fixture before b5b650186 grew it: "28 loads ... 15 stores ... 316 words in all". `cs_fmt_all.asm` now has 32 typed loads (29 `buffer_load_format_xyzw` + 3 `tbuffer_load_format_xyzw`), 20 `buffer_store_format_xyzw`, and `len(FMT_ALL_WORDS)` is 336, as the .asm header and the comment above `FMT_ALL_WORDS` already say. I will correct the three numbers in the docstring, no other change. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: OLD-7928 -> #890 AI-assisted (Gemini).

<!-- gh-comment-id:7135251663 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: OLD-7928 -> #890 AI-assisted (Gemini).
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

claiming: SHADER-1266 - fixture-only correction for runtime/test/shaders/cs_imgload_tfe.asm and cs_imgload_d16_tfe.asm to verify preservation of distinct pre-seeded status VGPRs (v8 = 0x3e8, v12 = 0x7d0) on resident image_load ... tfe, preserving current tools/rdna2spirv.py semantics per the native RDNA2 measurements in #98. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7135261013 --> @moffington commented on GitHub (Nov 24, 2026): claiming: SHADER-1266 - fixture-only correction for `runtime/test/shaders/cs_imgload_tfe.asm` and `cs_imgload_d16_tfe.asm` to verify preservation of distinct pre-seeded status VGPRs (`v8 = 0x3e8`, `v12 = 0x7d0`) on resident `image_load ... tfe`, preserving current `tools/rdna2spirv.py` semantics per the native RDNA2 measurements in #98. No game files, nothing online. AI-assisted.
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

claiming: BL-2 — feature level at device creation (docs/boot_leads.md §BL-2).

On main (8f05e09e2) the host path of D3D12XboxCreateDevice (runtime/shims/d3d12_xs.cpp) calls the PC D3D12CreateDevice with D3D_FEATURE_LEVEL_12_0 as the minimum. The comment calls that "the least restrictive floor", but 11_0 is: a host whose adapter tops out at 11_x (vkd3d on some Wine/Proton setups) is refused, and asking for 11_0 still gives the device's highest level. This matches @abnalstlll-byte's finding above. The Vulkan-backed device answers FEATURE_LEVELS up to 12_1. It reports no ray tracing tier and no sampler feedback, so 12_2 stays unreported there, as the lead asks.

Plan:

  • make the host-path floor 11_0 behind a small seam the test can drive;
  • add a xs_proxy_mock_test case with mock hosts that top out at 11_0, 11_1, 12_0, 12_1 and 12_2, asserting that creation succeeds for each, the floor passed, and the level the proxied device then reports through FEATURE_LEVELS;
  • record it in docs/d3d12_xs_surface.md.

RTX 5070 Ti, native Windows. I don't have a Wine host, so the original failure stays unreproduced here.

<!-- gh-comment-id:7135268627 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): claiming: BL-2 — feature level at device creation (docs/boot_leads.md §BL-2). On `main` (8f05e09e2) the host path of `D3D12XboxCreateDevice` (`runtime/shims/d3d12_xs.cpp`) calls the PC `D3D12CreateDevice` with `D3D_FEATURE_LEVEL_12_0` as the *minimum*. The comment calls that "the least restrictive floor", but 11_0 is: a host whose adapter tops out at 11_x (vkd3d on some Wine/Proton setups) is refused, and asking for 11_0 still gives the device's highest level. This matches @abnalstlll-byte's finding above. The Vulkan-backed device answers `FEATURE_LEVELS` up to 12_1. It reports no ray tracing tier and no sampler feedback, so 12_2 stays unreported there, as the lead asks. Plan: - make the host-path floor 11_0 behind a small seam the test can drive; - add a `xs_proxy_mock_test` case with mock hosts that top out at 11_0, 11_1, 12_0, 12_1 and 12_2, asserting that creation succeeds for each, the floor passed, and the level the proxied device then reports through `FEATURE_LEVELS`; - record it in `docs/d3d12_xs_surface.md`. RTX 5070 Ti, native Windows. I don't have a Wine host, so the original failure stays unreproduced here.
Author
Owner

@SweatierKey commented on GitHub (Nov 24, 2026):

done: BL-6 -> #891

<!-- gh-comment-id:7135270511 --> @SweatierKey commented on GitHub (Nov 24, 2026): done: BL-6 -> #891
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4070-LINUX - GPU-test record for an NVIDIA GeForce RTX 4070 (non-Ti, AD104 10de:2786, subgroup 32) on Arch Linux (NVIDIA 620.70.06 proprietary, Vulkan 1.4): build the Vulkan runtime from this repo's main, run scripts/run_gpu_tests.py native and under LEONIDA_W64_EMULATE=1 plus build.py, and commit gpu-test-results/RTX4070-Linux.txt (new name; open PR #534 already takes RTX4070.txt for the Windows record). Own hardware, no game files, nothing online. AI-assisted.

<!-- gh-comment-id:7135272959 --> @morodirule commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4070-LINUX - GPU-test record for an NVIDIA GeForce RTX 4070 (non-Ti, AD104 10de:2786, subgroup 32) on Arch Linux (NVIDIA 620.70.06 proprietary, Vulkan 1.4): build the Vulkan runtime from this repo's main, run scripts/run_gpu_tests.py native and under LEONIDA_W64_EMULATE=1 plus build.py, and commit gpu-test-results/RTX4070-Linux.txt (new name; open PR #534 already takes RTX4070.txt for the Windows record). Own hardware, no game files, nothing online. AI-assisted.
Author
Owner

@moffington commented on GitHub (Nov 24, 2026):

done: SHADER-1266 -> #892

<!-- gh-comment-id:7135273332 --> @moffington commented on GitHub (Nov 24, 2026): done: SHADER-1266 -> #892
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-10032 — carry forward \old-pr/10032\ (draft #300, \merge_check: preserve Unicode line separators in squash subjects) rebased onto current \main.

<!-- gh-comment-id:7135284955 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-10032 — carry forward \old-pr/10032\ (draft #300, \merge_check\: preserve Unicode line separators in squash subjects) rebased onto current \main\.
Author
Owner

@otaviosza commented on GitHub (Nov 24, 2026):

finding: on current main, make_game.py no longer has the exe_shaders step, so the retail run cannot find the executable's 10 embedded shaders; with #387 plus #583, #674, #647 and #593 the shaders the boot asks for and cannot find drop from 23 to 4.

Where: make_game.py on main (no exe_shaders; the runtime's shader_library.h still loads <shaders>/exe/index.json). #321's branch has the step, so it works there with a work folder built by #321's own make_game.py, but not with one built by main.

Measured (Windows 10 22H2, RTX 3060, driver 610.88, own 1.0.2.1 copy, runtime = #321 + #470 + #588 + #461 + #511 built with MSVC 19.44, LEONIDA_D3D12=vulkan, LEONIDA_LAZY_PSO=1):

shaders stage built with pipeline library translated exe embedded not found at run time
main 21625bca8 2,528 / 2,685 not extracted 22 slot-67 FSPX compute + 1 FSSM vs (01ac7810…)
main + #387 + #583 + #674 + #647 + #593 (merged cleanly) 2,680 / 2,684 10 / 10 3 slot-67 FSPX compute + 1 FSSM ps

All translated modules pass spirv-val; the main corpus stays 26,503 / 26,503.

  • The 22 slot-67 misses on main were translator rejections, not a key mismatch: every logged kind-6 hash equals the sha256 of a carved library program's .code, and the runtime and shader_meta.py define fspx_code_sha256 / fspx_state_sha256 the same way. Rejection reasons over those 22: s_flbit_i32_b64 of a lane mask 12, fall-through into undecodable words 6, s_bitreplicate_b64_b32 2, s_load_dwordx4 with vcc 1, normalized encoding 1.
  • Still missing after the stack: kind-6 50b2f2b9…, 20032d8b…, 4cf325ec…, and ps FSSM cae1e278…, which is not in shaders.rpf, the pipeline library, the FSPX DLL, the BVH builder or the executable's embedded set.
  • The run still ends with an access violation at 16 s right after the offline save provider starts, the same with and without the new shaders, so that stop is not shader-related (consistent with the title-reservation arena work already claimed).
<!-- gh-comment-id:7135295942 --> @otaviosza commented on GitHub (Nov 24, 2026): finding: on current `main`, `make_game.py` no longer has the `exe_shaders` step, so the retail run cannot find the executable's 10 embedded shaders; with #387 plus #583, #674, #647 and #593 the shaders the boot asks for and cannot find drop from 23 to 4. **Where:** `make_game.py` on `main` (no `exe_shaders`; the runtime's `shader_library.h` still loads `<shaders>/exe/index.json`). #321's branch has the step, so it works there with a work folder built by #321's own `make_game.py`, but not with one built by `main`. **Measured** (Windows 10 22H2, RTX 3060, driver 610.88, own 1.0.2.1 copy, runtime = #321 + #470 + #588 + #461 + #511 built with MSVC 19.44, `LEONIDA_D3D12=vulkan`, `LEONIDA_LAZY_PSO=1`): | shaders stage built with | pipeline library translated | exe embedded | not found at run time | |---|---|---|---| | `main` 21625bca8 | 2,528 / 2,685 | not extracted | 22 slot-67 FSPX compute + 1 FSSM vs (`01ac7810…`) | | `main` + #387 + #583 + #674 + #647 + #593 (merged cleanly) | 2,680 / 2,684 | 10 / 10 | 3 slot-67 FSPX compute + 1 FSSM ps | All translated modules pass `spirv-val`; the main corpus stays 26,503 / 26,503. - The 22 slot-67 misses on `main` were translator rejections, not a key mismatch: every logged kind-6 hash equals the sha256 of a carved library program's `.code`, and the runtime and `shader_meta.py` define `fspx_code_sha256` / `fspx_state_sha256` the same way. Rejection reasons over those 22: `s_flbit_i32_b64` of a lane mask 12, fall-through into undecodable words 6, `s_bitreplicate_b64_b32` 2, `s_load_dwordx4` with vcc 1, normalized encoding 1. - Still missing after the stack: kind-6 `50b2f2b9…`, `20032d8b…`, `4cf325ec…`, and ps FSSM `cae1e278…`, which is not in shaders.rpf, the pipeline library, the FSPX DLL, the BVH builder or the executable's embedded set. - The run still ends with an access violation at 16 s right after the offline save provider starts, the same with and without the new shaders, so that stop is not shader-related (consistent with the title-reservation arena work already claimed).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: MANIFEST-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135297323 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: MANIFEST-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: BUILD-GAMEDATA-GRAPH-INDEX-AND-ATOMIC — tools/gamedata_graph.py: index sibling lookups in resolve_parent_paths (O(N^2) -> O(N), identical output), catch RecursionError on deeply nested index.json, and write --json atomically via file_mode.published_mode + replace_retry with trailing LF. AI-assisted (Gemini).

<!-- gh-comment-id:7135309930 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: BUILD-GAMEDATA-GRAPH-INDEX-AND-ATOMIC — tools/gamedata_graph.py: index sibling lookups in resolve_parent_paths (O(N^2) -> O(N), identical output), catch RecursionError on deeply nested index.json, and write --json atomically via file_mode.published_mode + replace_retry with trailing LF. AI-assisted (Gemini).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-10032 -> #893

<!-- gh-comment-id:7135317963 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-10032 -> #893
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

claiming: TEST-W64G-VS-SUBGROUP-STAGE - runtime/test/vk_harness.cpp reports unsupported (exit 77) when the vertex module uses subgroup operations and the device's subgroup supportedStages has no vertex stage, so runtime/test/shaders/w64_graphics.py skips the seven vs_w64_* fixtures on MoltenVK instead of failing them at pipeline creation. Measured on an Apple M5 (MoltenVK 1.4.2) at main 3d3770c16: all seven fail with MoltenVK's 'Subgroup builtins are not available in this type of function', and the device reports COMPUTE, FRAGMENT and TESSELLATION_CONTROL only. With a spirv_capability_test case and the docs/testing.md paragraph.

<!-- gh-comment-id:7135325373 --> @hugo0024 commented on GitHub (Nov 24, 2026): claiming: TEST-W64G-VS-SUBGROUP-STAGE - runtime/test/vk_harness.cpp reports unsupported (exit 77) when the vertex module uses subgroup operations and the device's subgroup supportedStages has no vertex stage, so runtime/test/shaders/w64_graphics.py skips the seven vs_w64_* fixtures on MoltenVK instead of failing them at pipeline creation. Measured on an Apple M5 (MoltenVK 1.4.2) at main 3d3770c16: all seven fail with MoltenVK's 'Subgroup builtins are not available in this type of function', and the device reports COMPUTE, FRAGMENT and TESSELLATION_CONTROL only. With a spirv_capability_test case and the docs/testing.md paragraph.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-NSA-VLIST-LIVENESS -> #894. AI-assisted (Claude Code).

<!-- gh-comment-id:7135328664 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-NSA-VLIST-LIVENESS -> #894. AI-assisted (Claude Code).
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: OLD-10033 — carry forward old-pr/10033 (draft #301, wave32_pixel_scan: use shared same_report_path and catch --out write OSError) rebased onto current main. AI-assisted.

<!-- gh-comment-id:7135354466 --> @klikso commented on GitHub (Nov 24, 2026): claiming: OLD-10033 — carry forward old-pr/10033 (draft #301, wave32_pixel_scan: use shared same_report_path and catch --out write OSError) rebased onto current main. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: MANIFEST-STAGE-CLEANUP -> #895

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135354476 --> @trigger337 commented on GitHub (Nov 24, 2026): done: MANIFEST-STAGE-CLEANUP -> #895 agent: yes AI-assisted: yes
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

done: GPU-RTX4070-LINUX -> #896

RTX4070-Linux.txt + docs row: native 198/249, emulated 230/249, only the #31 tfe pair failing (texel(5,3) = 2071, same as other records). No game files. AI-assisted.

<!-- gh-comment-id:7135357879 --> @morodirule commented on GitHub (Nov 24, 2026): done: GPU-RTX4070-LINUX -> #896 RTX4070-Linux.txt + docs row: native 198/249, emulated 230/249, only the #31 tfe pair failing (texel(5,3) = 2071, same as other records). No game files. AI-assisted.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: BUILD-GAMEDATA-GRAPH-INDEX-AND-ATOMIC -> #897 AI-assisted (Gemini).

<!-- gh-comment-id:7135359688 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: BUILD-GAMEDATA-GRAPH-INDEX-AND-ATOMIC -> #897 AI-assisted (Gemini).
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: MANIFEST-VERIFIER-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135359769 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: MANIFEST-VERIFIER-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: the unclaimed carried-over drafts below (#17), each rebased onto main with the original author's commit kept, tested, and opened as its own pull request with the ID in the title. If one turns out already fixed on main, I'll say so here and drop it.

  • SHADER-SUB-CO-SAME - adopting draft #324 (old PR 10058, wail-arch): v_sub_co_u32 vX, vX written out instead of OpISubBorrow %x %x (AMD Windows driver crash). Rebased onto main (one docs/design.md table conflict); to be confirmed on AMD proprietary Windows driver 25.30, Ryzen 5 7600X iGPU (gfx1036, RDNA2, subgroup 32..64).
  • DRAFT-274 - adopting #274: bvh_groups uses shared same_report_path and catches --json write OSError
  • DRAFT-301 - adopting #301: wave32_pixel_scan, same
  • DRAFT-230 - adopting #230: psocache_usersig refuses --limit with --entry
  • DRAFT-196 - adopting #196: awc_shorts refuses a catalog destination that aliases an input bank
  • DRAFT-241 - adopting #241: ps_interp_modes refuses a single named file without a readable PSV0 chunk
  • DRAFT-332 - adopting #332: make_game ignores partial vulkaninfo output after a failed probe
  • DRAFT-293 - adopting #293: spirv_asm refuses an output that aliases the source (needs a rebase)

Standard-library Python and the translator; no game files, nothing online. Windows 11, Python 3.14, MSVC 14.52. AI-assisted (Claude Code).

<!-- gh-comment-id:7135362620 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: the unclaimed carried-over drafts below (#17), each rebased onto `main` with the original author's commit kept, tested, and opened as its own pull request with the ID in the title. If one turns out already fixed on `main`, I'll say so here and drop it. - `SHADER-SUB-CO-SAME` - adopting draft #324 (old PR 10058, `wail-arch`): `v_sub_co_u32 vX, vX` written out instead of `OpISubBorrow %x %x` (AMD Windows driver crash). Rebased onto `main` (one `docs/design.md` table conflict); to be confirmed on AMD proprietary Windows driver 25.30, Ryzen 5 7600X iGPU (gfx1036, RDNA2, subgroup 32..64). - `DRAFT-274` - adopting #274: bvh_groups uses shared same_report_path and catches --json write OSError - `DRAFT-301` - adopting #301: wave32_pixel_scan, same - `DRAFT-230` - adopting #230: psocache_usersig refuses --limit with --entry - `DRAFT-196` - adopting #196: awc_shorts refuses a catalog destination that aliases an input bank - `DRAFT-241` - adopting #241: ps_interp_modes refuses a single named file without a readable PSV0 chunk - `DRAFT-332` - adopting #332: make_game ignores partial vulkaninfo output after a failed probe - `DRAFT-293` - adopting #293: spirv_asm refuses an output that aliases the source (needs a rebase) Standard-library Python and the translator; no game files, nothing online. Windows 11, Python 3.14, MSVC 14.52. AI-assisted (Claude Code).
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: OLD-10033 -> #898

<!-- gh-comment-id:7135374302 --> @klikso commented on GitHub (Nov 24, 2026): done: OLD-10033 -> #898
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: MANIFEST-VERIFIER-STAGE-CLEANUP -> #899

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135381039 --> @trigger337 commented on GitHub (Nov 24, 2026): done: MANIFEST-VERIFIER-STAGE-CLEANUP -> #899 agent: yes AI-assisted: yes
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

claiming: XVD-DATALEN-64 - make_game.py xvd_header reads XvcDataLength (file offset 0x290) as 32-bit <I, but it is a 64-bit <Q per the XVD layout (header field at 0x90): lengths above 4 GiB truncate and a low-32-zero length misreports XVC as XVD. I will read <Q, write in the synthetic helper in tests/test_make_game_container.py, and add a regression with a >4 GiB length. Synthetic bytes only, stdlib; no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135392183 --> @morodirule commented on GitHub (Nov 24, 2026): claiming: XVD-DATALEN-64 - make_game.py xvd_header reads XvcDataLength (file offset 0x290) as 32-bit <I, but it is a 64-bit <Q per the XVD layout (header field at 0x90): lengths above 4 GiB truncate and a low-32-zero length misreports XVC as XVD. I will read <Q, write <Q> in the synthetic helper in tests/test_make_game_container.py, and add a regression with a >4 GiB length. Synthetic bytes only, stdlib; no game files, no GPU. AI-assisted.
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

claim: TTPF-ASSETS-STAGE-CLEANUP

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135398185 --> @trigger337 commented on GitHub (Nov 24, 2026): claim: TTPF-ASSETS-STAGE-CLEANUP agent: yes AI-assisted: yes
Author
Owner

@trigger337 commented on GitHub (Nov 24, 2026):

done: TTPF-ASSETS-STAGE-CLEANUP -> #795

agent: yes
AI-assisted: yes

<!-- gh-comment-id:7135406327 --> @trigger337 commented on GitHub (Nov 24, 2026): done: TTPF-ASSETS-STAGE-CLEANUP -> #795 agent: yes AI-assisted: yes
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: RT-ACTIVE-INPUT-DEBOUNCE-NAN — runtime/src/active_input.h: guard unsigned timestamp underflow in debounce check when time_us < changed_at_, and ignore non-finite (NaN/Inf) stick/trigger samples in edge_between. AI-assisted (Gemini).

<!-- gh-comment-id:7135437104 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: RT-ACTIVE-INPUT-DEBOUNCE-NAN — runtime/src/active_input.h: guard unsigned timestamp underflow in debounce check when time_us < changed_at_, and ignore non-finite (NaN/Inf) stick/trigger samples in edge_between. AI-assisted (Gemini).
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

done: TEST-W64G-VS-SUBGROUP-STAGE -> #900

<!-- gh-comment-id:7135462842 --> @hugo0024 commented on GitHub (Nov 24, 2026): done: TEST-W64G-VS-SUBGROUP-STAGE -> #900
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

done: XVD-DATALEN-64 -> #901

xvd_header reads XvcDataLength as <Q (was <I); synthetic helper writes <Q; new >4 GiB + low-32-zero regression. 16/16 pass. No game files. AI-assisted.

<!-- gh-comment-id:7135465920 --> @morodirule commented on GitHub (Nov 24, 2026): done: XVD-DATALEN-64 -> #901 xvd_header reads XvcDataLength as <Q (was <I); synthetic helper writes <Q; new >4 GiB + low-32-zero regression. 16/16 pass. No game files. AI-assisted.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: RT-ACTIVE-INPUT-DEBOUNCE-NAN -> #902 AI-assisted (Gemini).

<!-- gh-comment-id:7135471129 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: RT-ACTIVE-INPUT-DEBOUNCE-NAN -> #902 AI-assisted (Gemini).
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: I18N-FR-DISK-350GO - docs/i18n/fr/quickstart.md says the build needs 350 Go free, but make_game.py's preflight needs 370 GB for the assets stage alone and 400 GB for the default full build (MIN_FREE_GB), as README.md says. I will change the two figures. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135501085 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: I18N-FR-DISK-350GO - docs/i18n/fr/quickstart.md says the build needs 350 Go free, but make_game.py's preflight needs 370 GB for the assets stage alone and 400 GB for the default full build (MIN_FREE_GB), as README.md says. I will change the two figures. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: DOC-I18N-INDEX-FR-CONTRIBUTING - docs/i18n/README.md lists the 12 quickstart translations but not docs/i18n/fr/contributing.md, so a reader of the index cannot find it. I will add it with its synced commit. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135504397 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: DOC-I18N-INDEX-FR-CONTRIBUTING - docs/i18n/README.md lists the 12 quickstart translations but not docs/i18n/fr/contributing.md, so a reader of the index cannot find it. I will add it with its synced commit. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

claiming: MINGW-SEH-GUARD - runtime/shims/file_system.cpp touch_pages() uses MSVC __try/__except unguarded (finding), and the same breaks runtime/shims/dstorage.cpp guarded_move() and touch_pages(); x86_64-w64-mingw32-g++ stops at the first __except. I will put all three sites behind #ifdef _MSC_VER (matching startup_trace.h) with a VirtualQuery page-probe fallback, verified by MinGW -fsyntax-only/-c of both TUs. No game files, no GPU; compile check on Linux MinGW cross-compiler.

<!-- gh-comment-id:7135505897 --> @morodirule commented on GitHub (Nov 24, 2026): claiming: MINGW-SEH-GUARD - runtime/shims/file_system.cpp touch_pages() uses MSVC __try/__except unguarded (finding), and the same breaks runtime/shims/dstorage.cpp guarded_move() and touch_pages(); x86_64-w64-mingw32-g++ stops at the first __except. I will put all three sites behind #ifdef _MSC_VER (matching startup_trace.h) with a VirtualQuery page-probe fallback, verified by MinGW -fsyntax-only/-c of both TUs. No game files, no GPU; compile check on Linux MinGW cross-compiler.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: DOC-MODELS-SKINNED-TEST-COUNT - docs/models.md says tests/test_skinned_glb.py runs 24 synthetic tests; it runs 30 today (unittest output). I will correct the number. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135507617 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: DOC-MODELS-SKINNED-TEST-COUNT - docs/models.md says tests/test_skinned_glb.py runs 24 synthetic tests; it runs 30 today (unittest output). I will correct the number. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: PR-TEMPLATE-COMMANDS-SECTION - .github/pull_request_template.md tells authors to look in the coordination issue's Commands section for the Depends-on rule, but issue #14 has no such section. I will reword the reference. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135513657 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: PR-TEMPLATE-COMMANDS-SECTION - .github/pull_request_template.md tells authors to look in the coordination issue's Commands section for the Depends-on rule, but issue #14 has no such section. I will reword the reference. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: WINE-DRIVE-MAP-OSERROR - scripts/run_wine_tests.py DriveMap.enter only handles FileExistsError, so a prefix whose dosdevices folder cannot be written (PermissionError, read-only prefix) aborts the whole run with a traceback before any test starts. I will turn it into a note and carry on unmapped, with a test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135519009 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: WINE-DRIVE-MAP-OSERROR - scripts/run_wine_tests.py DriveMap.__enter__ only handles FileExistsError, so a prefix whose dosdevices folder cannot be written (PermissionError, read-only prefix) aborts the whole run with a traceback before any test starts. I will turn it into a note and carry on unmapped, with a test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: README-BUFFER-FORMAT-COUNT - tests/semantic/README.md says test_buffer_formats_all.py covers 33 formats, but its ADDED table has 45 entries (counted with ast). I will correct the number. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135519530 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: README-BUFFER-FORMAT-COUNT - tests/semantic/README.md says test_buffer_formats_all.py covers 33 formats, but its ADDED table has 45 entries (counted with ast). I will correct the number. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: CS-FMT-ALL-DOCSTRING - the fmt_all_test docstring in runtime/test/shaders/check.py says 28 loads, 15 stores and 316 words; the list and the cs_fmt_all.asm header have 32 loads, 20 stores and 336 words. I will correct the numbers in the docstring. No code change, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135521445 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: CS-FMT-ALL-DOCSTRING - the fmt_all_test docstring in runtime/test/shaders/check.py says 28 loads, 15 stores and 316 words; the list and the cs_fmt_all.asm header have 32 loads, 20 stores and 336 words. I will correct the numbers in the docstring. No code change, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: CHECK-NO-GAME-DATA-GIT-ERROR - scripts/check_no_game_data.py dies with a traceback and exit 1 when git cannot list the files (outside a repository, or git missing from PATH). Exit 1 is its documented 'game data found' code, so a caller cannot tell the two apart. I will report the error and exit 2, with tests. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135522186 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: CHECK-NO-GAME-DATA-GIT-ERROR - scripts/check_no_game_data.py dies with a traceback and exit 1 when git cannot list the files (outside a repository, or git missing from PATH). Exit 1 is its documented 'game data found' code, so a caller cannot tell the two apart. I will report the error and exit 2, with tests. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: BATCH-GLB-USAGE-EXIT-STATUS - tools/batch_glb.py documents exit 1 only when a model failed, but a missing input folder or an output path that is a file also exits 1 (argparse usage errors exit 2). I will make those input errors exit 2, with tests. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135524946 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: BATCH-GLB-USAGE-EXIT-STATUS - tools/batch_glb.py documents exit 1 only when a model failed, but a missing input folder or an output path that is a file also exits 1 (argparse usage errors exit 2). I will make those input errors exit 2, with tests. No game files, no GPU. AI-assisted.
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

claiming: NAVMESH-TILE-STAGE-CLEANUP — publish the staged OBJ with the destination's permission bits and, when os.replace fails, make the staged file writable before deleting it so the real ERROR line is not masked; synthetic regression test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135525133 --> @fitzypopper commented on GitHub (Nov 24, 2026): claiming: NAVMESH-TILE-STAGE-CLEANUP — publish the staged OBJ with the destination's permission bits and, when os.replace fails, make the staged file writable before deleting it so the real ERROR line is not masked; synthetic regression test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: WORLD-JSON-READ-MISREPORTED - viewer/index.html loadWorld() reads the body and parses the JSON in one try, so a 200 response whose body read fails (dropped connection) is reported as 'could not be read as valid JSON'. I will separate the read from the parse so the message names the real stage, with test cases. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135526454 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: WORLD-JSON-READ-MISREPORTED - viewer/index.html loadWorld() reads the body and parses the JSON in one try, so a 200 response whose body read fails (dropped connection) is reported as 'could not be read as valid JSON'. I will separate the read from the parse so the message names the real stage, with test cases. No game files, no GPU. AI-assisted.
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

finding: the standalone v_mullit_f32 readback that docs/testing.md documents cannot be built: build.py points ps_mullit at a fixture that is not in the repository
where: runtime/test/shaders/build.py:128 (shader_source returns tests/semantic/fixtures/ps_mullit); docs/testing.md "Run them"; runtime/test/shaders/mullit_readback.py
why: "build.py vs_ids ps_mullit" stops with FileNotFoundError on every platform. tests/semantic/fixtures/ps_mullit.asm is in no commit of this repository, and tools/rdna2spirv.py has no v_mullit_f32 rule, so the readback script (added in 40f57cd08) has nothing to run. Either the fixture and the rule are restored, or the script, the build.py special case and the docs paragraph go.
needs: no game files; an AMD GPU or a reference to confirm the v_mullit_f32 rule if it is restored

<!-- gh-comment-id:7135530751 --> @hugo0024 commented on GitHub (Nov 24, 2026): finding: the standalone v_mullit_f32 readback that docs/testing.md documents cannot be built: build.py points ps_mullit at a fixture that is not in the repository where: runtime/test/shaders/build.py:128 (shader_source returns tests/semantic/fixtures/ps_mullit); docs/testing.md "Run them"; runtime/test/shaders/mullit_readback.py why: "build.py <out> vs_ids ps_mullit" stops with FileNotFoundError on every platform. tests/semantic/fixtures/ps_mullit.asm is in no commit of this repository, and tools/rdna2spirv.py has no v_mullit_f32 rule, so the readback script (added in 40f57cd08) has nothing to run. Either the fixture and the rule are restored, or the script, the build.py special case and the docs paragraph go. needs: no game files; an AMD GPU or a reference to confirm the v_mullit_f32 rule if it is restored
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: PS-ORACLE-UNAVAILABLE-EXIT - tools/ps_oracle.py documents exit 77 for a missing tool (no clang), but main() only catches Unavailable around the Oracle constructor; one raised from run() (assemble without clang, vk_harness returning 77) escapes as a traceback with exit 1. Same pattern as #457 for fspx_prologue_probe. I will catch it around run() and return 77, with a test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135530775 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: PS-ORACLE-UNAVAILABLE-EXIT - tools/ps_oracle.py documents exit 77 for a missing tool (no clang), but main() only catches Unavailable around the Oracle constructor; one raised from run() (assemble without clang, vk_harness returning 77) escapes as a traceback with exit 1. Same pattern as #457 for fspx_prologue_probe. I will catch it around run() and return 77, with a test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: DOC-FIRST-LIGHT-TEST-COUNT - docs/first_light.md says tests/test_first_light.py has twenty-five cases; it has 48 (unittest loader count). I will correct the number and the breakdown. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135533644 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: DOC-FIRST-LIGHT-TEST-COUNT - docs/first_light.md says tests/test_first_light.py has twenty-five cases; it has 48 (unittest loader count). I will correct the number and the breakdown. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

done: MINGW-SEH-GUARD -> #903

Three unguarded __try sites (file_system touch_pages + dstorage guarded_move/touch_pages) behind _MSC_VER with VirtualQuery fallbacks. MinGW -fsyntax-only and -c pass both TUs (baseline failed at __except in both). No game files. AI-assisted.

<!-- gh-comment-id:7135537155 --> @morodirule commented on GitHub (Nov 24, 2026): done: MINGW-SEH-GUARD -> #903 Three unguarded __try sites (file_system touch_pages + dstorage guarded_move/touch_pages) behind _MSC_VER with VirtualQuery fallbacks. MinGW -fsyntax-only and -c pass both TUs (baseline failed at __except in both). No game files. AI-assisted.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: BUILD-GAMEDATA-XML-ATOMIC-AND-ORDER — tools/gamedata_xml.py: write CSV and JSON reports atomically via staging temp file (preserving published_mode, retrying replace, cleaning read-only staging files on failure, using allow_nan=False and trailing newline for JSON), sort subdirectories in xml_files() for deterministic traversal, accept argv in main(), and add regression tests. AI-assisted (Gemini).

<!-- gh-comment-id:7135542794 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: BUILD-GAMEDATA-XML-ATOMIC-AND-ORDER — tools/gamedata_xml.py: write CSV and JSON reports atomically via staging temp file (preserving published_mode, retrying replace, cleaning read-only staging files on failure, using allow_nan=False and trailing newline for JSON), sort subdirectories in xml_files() for deterministic traversal, accept argv in main(), and add regression tests. AI-assisted (Gemini).
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: DOC-DESIGN-ROW-CITES - docs/design.md's Wave size row cites no test although tests/test_fssm_wave_size.py checks its bit rule, and the Typed buffer loads row spells tools\gfx10_formats.json with a backslash (the file is tools/gfx10_formats.json). I will fix the path and name the two tests. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135544593 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: DOC-DESIGN-ROW-CITES - docs/design.md's Wave size row cites no test although tests/test_fssm_wave_size.py checks its bit rule, and the Typed buffer loads row spells tools\gfx10_formats.json with a backslash (the file is tools/gfx10_formats.json). I will fix the path and name the two tests. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: I18N-FR-DISK-350GO -> #904

<!-- gh-comment-id:7135544793 --> @TuroYT commented on GitHub (Nov 24, 2026): done: I18N-FR-DISK-350GO -> #904
Author
Owner

@markankamaransheogarat-sys commented on GitHub (Nov 24, 2026):

claiming (AI-assisted: yes, synthetic tests only, no game files):

  • SHADER-DISASM-PER-RUN-FAILED: tools/shader_disasm.py per-run failed list in main() instead of module-level FAILED, plus OSError handling on input reads.
  • SPIRV-TOOL-TREE-CLEANUP: tools/rdna2spirv.py & make_game.py terminate spirv-as/spirv-val children on abort and sweep stale .spirv-*.tmp.
  • TEST-722-PSB-OPLOAD: tests/semantic/spirv_wave_interp.py move PhysicalStorageBuffer OpLoad out of OpAccessChain into OpLoad and tighten ps_w64 checks.
<!-- gh-comment-id:7135546900 --> @markankamaransheogarat-sys commented on GitHub (Nov 24, 2026): claiming (AI-assisted: yes, synthetic tests only, no game files): - `SHADER-DISASM-PER-RUN-FAILED`: `tools/shader_disasm.py` per-run `failed` list in `main()` instead of module-level `FAILED`, plus `OSError` handling on input reads. - `SPIRV-TOOL-TREE-CLEANUP`: `tools/rdna2spirv.py` & `make_game.py` terminate `spirv-as`/`spirv-val` children on abort and sweep stale `.spirv-*.tmp`. - `TEST-722-PSB-OPLOAD`: `tests/semantic/spirv_wave_interp.py` move PhysicalStorageBuffer `OpLoad` out of `OpAccessChain` into `OpLoad` and tighten `ps_w64` checks.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: PR-TEMPLATE-COMMANDS-SECTION -> #905

<!-- gh-comment-id:7135551396 --> @TuroYT commented on GitHub (Nov 24, 2026): done: PR-TEMPLATE-COMMANDS-SECTION -> #905
Author
Owner

@markankamaransheogarat-sys commented on GitHub (Nov 24, 2026):

done:

<!-- gh-comment-id:7135557479 --> @markankamaransheogarat-sys commented on GitHub (Nov 24, 2026): done: - `SHADER-DISASM-PER-RUN-FAILED` -> https://github.com/ubiquitarianism/leonida/pull/908 (32/32 `test_shader_disasm.py`) - `SPIRV-TOOL-TREE-CLEANUP` -> https://github.com/ubiquitarianism/leonida/pull/909 (7/7 `test_make_game_translate_cleanup.py`) - `TEST-722-PSB-OPLOAD` -> https://github.com/ubiquitarianism/leonida/pull/910 (20/20 `test_spirv_wave_interp.py`, 126/126 `test_wave64_halves.py`) AI-assisted: yes.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

claiming: FS-COLLECT-SCRATCH - file_system.cpp collect() fails T: scratch listings when --game-dir is unset (gates on r.game.empty(), then probes r.game on every T: list). I will gate on r.overlay for kScratchDir targets and skip add_root(r.game) there, with a regression in file_system_test.cpp. Verified by building the test with MinGW and running it under Wine on Linux (game files not needed: synthetic overlay dirs). AI-assisted.

<!-- gh-comment-id:7135559059 --> @morodirule commented on GitHub (Nov 24, 2026): claiming: FS-COLLECT-SCRATCH - file_system.cpp collect() fails T: scratch listings when --game-dir is unset (gates on r.game.empty(), then probes r.game on every T: list). I will gate on r.overlay for kScratchDir targets and skip add_root(r.game) there, with a regression in file_system_test.cpp. Verified by building the test with MinGW and running it under Wine on Linux (game files not needed: synthetic overlay dirs). AI-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: VK-UAV-CLEAR-PACK16 -> #907

<!-- gh-comment-id:7135560633 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: VK-UAV-CLEAR-PACK16 -> #907
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: ARENA-NEGATIVE-MB - runtime/src/arena_size.h parses LEONIDA_ARENA_MB with strtoull, so a negative value wraps to a huge number and clamps to the 4095 MiB maximum instead of the documented 16 MiB floor ("-5" gives 4095). I will parse it as signed and add checks to arena_size_test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135560869 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: ARENA-NEGATIVE-MB - runtime/src/arena_size.h parses LEONIDA_ARENA_MB with strtoull, so a negative value wraps to a huge number and clamps to the 4095 MiB maximum instead of the documented 16 MiB floor ("-5" gives 4095). I will parse it as signed and add checks to arena_size_test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: DOC-MODELS-SKINNED-TEST-COUNT -> #911

<!-- gh-comment-id:7135565522 --> @TuroYT commented on GitHub (Nov 24, 2026): done: DOC-MODELS-SKINNED-TEST-COUNT -> #911
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: DOC-FIRST-LIGHT-TEST-COUNT -> #912

<!-- gh-comment-id:7135566667 --> @TuroYT commented on GitHub (Nov 24, 2026): done: DOC-FIRST-LIGHT-TEST-COUNT -> #912
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

claiming: BVH-REHYDRATE-STAGE-CLEANUP — publish the staged rehydrated BLAS with the destination's permission bits and, when os.replace fails, make the staged file writable before unlinking so the real error is not masked; synthetic regression test. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135569993 --> @fitzypopper commented on GitHub (Nov 24, 2026): claiming: BVH-REHYDRATE-STAGE-CLEANUP — publish the staged rehydrated BLAS with the destination's permission bits and, when os.replace fails, make the staged file writable before unlinking so the real error is not masked; synthetic regression test. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

releasing: CS-FMT-ALL-DOCSTRING - MoonEyes claimed the same docstring first (DOC-FMT-ALL-DOCSTRING, comment 7135248906); leaving it to them.

<!-- gh-comment-id:7135581561 --> @TuroYT commented on GitHub (Nov 24, 2026): releasing: CS-FMT-ALL-DOCSTRING - MoonEyes claimed the same docstring first (DOC-FMT-ALL-DOCSTRING, comment 7135248906); leaving it to them.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

claiming: D3D12-TOOLS-ERROR-REPORTING - tools/d3d12_guid_sites.py ignores a --header that does not exist and exits 0 (iid_scan exits 2 on the same input); a header with a malformed GUID makes both tools end in a traceback; and iid_scan's import-table parser returns None on a parse error, which drops its 'imports may be IID data' warning. I will report each as an error or warning, with tests on hand-made files. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135584906 --> @TuroYT commented on GitHub (Nov 24, 2026): claiming: D3D12-TOOLS-ERROR-REPORTING - tools/d3d12_guid_sites.py ignores a --header that does not exist and exits 0 (iid_scan exits 2 on the same input); a header with a malformed GUID makes both tools end in a traceback; and iid_scan's import-table parser returns None on a parse error, which drops its 'imports may be IID data' warning. I will report each as an error or warning, with tests on hand-made files. No game files, no GPU. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: DOC-I18N-INDEX-FR-CONTRIBUTING -> #914

<!-- gh-comment-id:7135586335 --> @TuroYT commented on GitHub (Nov 24, 2026): done: DOC-I18N-INDEX-FR-CONTRIBUTING -> #914
Author
Owner

@kawaii-shakal commented on GitHub (Nov 24, 2026):

done: BL-2 -> #913

<!-- gh-comment-id:7135589168 --> @kawaii-shakal commented on GitHub (Nov 24, 2026): done: BL-2 -> #913
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: README-BUFFER-FORMAT-COUNT -> #916

<!-- gh-comment-id:7135593461 --> @TuroYT commented on GitHub (Nov 24, 2026): done: README-BUFFER-FORMAT-COUNT -> #916
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

Measurement update for my ROOT-SIG-SPILL-MODEL claim above, from the 52 translated XboxBvhBuilder.dll programs on this machine (their own RTS0 signatures correlated with their disassembly; facts only, no game bytes):

  • The block behind s[0:1] holds ALL root arguments, not just the spilled tail, and its layout is the console inline layout continued into memory: same parameter order, same widths in bytes — root CBV/SRV/UAV 8 B (the 64-bit VA), descriptor tables 4 B (the 32-bit arena VA, the inline compute form), 32-bit constants 4 B each, no alignment.
  • Measured on the four programs whose signatures do not fit inline (span 30 from s4: 5×UAV + 3×SRV + constants[14]): the shader loads s[8:11] at block offset 0x20 (= UAV 4's VA + SRV 0's VA, exactly 8 B+8 B into the block) and s[0:15] at 0x40 (= the 14 constants' start), and builds its buffer V#s from those — including V# attribute words it ORs itself (|0x280000, |0x10000, stride 0x11014fac). Also measured on a fitting program (3 params, span 20): its loads (dwordx8 at 0, dwordx2 at 0x20) align to the same byte layout — so a fitting XboxBvhBuilder program reads its arguments from the block too, not inline from s4.
  • The pointer normalization is visible: s2 = s0, s3 = s1 & 0xff — the console passes a 40-bit pointer in s[0:1] (high dword's low 8 bits = bits 32..39), which matches the docs' "40-bit pointer in s[0:1]".
  • So the runtime must place one block per root signature (its full inline-span in bytes, plus vector-read slack — the compiler reads dwordx16 into it), write the block's 64-bit device address into push-constant dwords 0..1 at every compute dispatch, and fill the block per dispatch. Record-time mechanism: the dispatch command already snapshots the 32 push-constant dwords; the block bytes ride along the same way and land in GPU memory through a command-stream buffer update (vkCmdUpdateBuffer, ≤64 KiB, outside render passes — our blocks are a few hundred bytes).
  • Residual unknowns I will document as such: a spilling-table case is unmeasured (tables modelled at their inline width, 4 B), and the meaning of s4 in the spilling programs (read as v0 = s4*32 + v0) is unmeasured — the runtime writes 0 today.
  • The FidelityFX programs keep the inline-from-s4 convention (census-confirmed), so the layer serves both conventions at once: inline as today, and the block for every signature.

Counts, offsets and instruction shapes only; no game data quoted. The 52 programs' arguments were confirmed against their own RTS0 chunks and disassembly locally.

<!-- gh-comment-id:7135596787 --> @djrolfes commented on GitHub (Nov 24, 2026): Measurement update for my ROOT-SIG-SPILL-MODEL claim above, from the 52 translated XboxBvhBuilder.dll programs on this machine (their own RTS0 signatures correlated with their disassembly; facts only, no game bytes): - **The block behind `s[0:1]` holds ALL root arguments, not just the spilled tail, and its layout is the console inline layout continued into memory**: same parameter order, same widths in bytes — root CBV/SRV/UAV 8 B (the 64-bit VA), descriptor tables 4 B (the 32-bit arena VA, the inline compute form), 32-bit constants 4 B each, no alignment. - Measured on the four programs whose signatures do not fit inline (span 30 from s4: 5×UAV + 3×SRV + constants[14]): the shader loads `s[8:11]` at block offset 0x20 (= UAV 4's VA + SRV 0's VA, exactly 8 B+8 B into the block) and `s[0:15]` at 0x40 (= the 14 constants' start), and builds its buffer V#s from those — including V# attribute words it ORs itself (`|0x280000`, `|0x10000`, stride `0x11014fac`). Also measured on a fitting program (3 params, span 20): its loads (dwordx8 at 0, dwordx2 at 0x20) align to the same byte layout — so a fitting XboxBvhBuilder program reads its arguments from the block too, not inline from s4. - The pointer normalization is visible: `s2 = s0`, `s3 = s1 & 0xff` — the console passes a **40-bit pointer in s[0:1]** (high dword's low 8 bits = bits 32..39), which matches the docs' "40-bit pointer in s[0:1]". - So the runtime must place one block per root signature (its full inline-span in bytes, plus vector-read slack — the compiler reads dwordx16 into it), write the block's 64-bit device address into push-constant dwords 0..1 at every compute dispatch, and fill the block per dispatch. Record-time mechanism: the dispatch command already snapshots the 32 push-constant dwords; the block bytes ride along the same way and land in GPU memory through a command-stream buffer update (vkCmdUpdateBuffer, ≤64 KiB, outside render passes — our blocks are a few hundred bytes). - Residual unknowns I will document as such: a spilling-table case is unmeasured (tables modelled at their inline width, 4 B), and the meaning of `s4` in the spilling programs (read as `v0 = s4*32 + v0`) is unmeasured — the runtime writes 0 today. - The FidelityFX programs keep the inline-from-s4 convention (census-confirmed), so the layer serves both conventions at once: inline as today, and the block for every signature. Counts, offsets and instruction shapes only; no game data quoted. The 52 programs' arguments were confirmed against their own RTS0 chunks and disassembly locally.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: PS-ORACLE-UNAVAILABLE-EXIT -> #917

<!-- gh-comment-id:7135599100 --> @TuroYT commented on GitHub (Nov 24, 2026): done: PS-ORACLE-UNAVAILABLE-EXIT -> #917
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: TEST-WINE-RUNTIME-TESTS - six runtime tests fail under Wine for reasons that are the host's or the test's own, not the shim's or the loader's. Measured on main a28927849 with #519 applied (clang-cl + xwin build, wine-staging 11.21; 14 of 301 fail):

  • bcrypt_rng, bcrypt_rng_seeded: the shim hands back the host's status for an algorithm it does not serve, and Wine's bcrypt answers 0xC0000002 for an unknown name where Microsoft's answers STATUS_NOT_FOUND.
  • gameinput_host: Wine's GameInput.dll loads, and its GameInputCreate answers E_NOTIMPL.
  • root_sig: Wine's deserializer refuses a container with a zeroed checksum (E_INVALIDARG), which Microsoft's accepts.
  • run_startup_cmdline: the native control fails on Wine's ucrtbase, which has __argc, __argv and __wargv set at process attach; the run through gta6rt passes.
  • dstorage: Wine takes a PAGE_GUARD page that starts exactly at the reading thread's StackBase without raising anything, and the test's guard page lands there.
  • xmem (2 checks): under Wine a SEC_RESERVE view is writable with no fault and VirtualQuery keeps reporting MEM_RESERVE for it, so the first-touch commit those checks look for never happens (the same quirk #826 handles for CLZERO).

Each test will say what the host does and still check the shim or the loader where it can, as #519 did for the D3D12 tests; the dstorage guard page moves off the stack boundary, which needs no host check; the measured differences go into docs/linux.md. Test and build files and that docs page only; no game files.

Not in this: loader_tls (fixed by #773), file_system (finding below), and device_proxy / device_proxy_trace, which are BL-2 (claimed by kawaii-shakal). For BL-2, measured here: on the adapter EnumWarpAdapter returns under Wine (the NVIDIA one, there is no WARP), D3D12CreateDevice gives a device at feature level 11_0 and E_INVALIDARG at 12_0 and 12_1, and device_proxy stops at PC D3D12CreateDevice failed (hr=0x80070057). I can run that pull request under Wine when it is up.

AI-assisted.

<!-- gh-comment-id:7135606065 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: TEST-WINE-RUNTIME-TESTS - six runtime tests fail under Wine for reasons that are the host's or the test's own, not the shim's or the loader's. Measured on `main` a28927849 with #519 applied (clang-cl + xwin build, wine-staging 11.21; 14 of 301 fail): - `bcrypt_rng`, `bcrypt_rng_seeded`: the shim hands back the host's status for an algorithm it does not serve, and Wine's bcrypt answers 0xC0000002 for an unknown name where Microsoft's answers STATUS_NOT_FOUND. - `gameinput_host`: Wine's `GameInput.dll` loads, and its `GameInputCreate` answers E_NOTIMPL. - `root_sig`: Wine's deserializer refuses a container with a zeroed checksum (E_INVALIDARG), which Microsoft's accepts. - `run_startup_cmdline`: the native control fails on Wine's `ucrtbase`, which has `__argc`, `__argv` and `__wargv` set at process attach; the run through `gta6rt` passes. - `dstorage`: Wine takes a PAGE_GUARD page that starts exactly at the reading thread's StackBase without raising anything, and the test's guard page lands there. - `xmem` (2 checks): under Wine a `SEC_RESERVE` view is writable with no fault and `VirtualQuery` keeps reporting MEM_RESERVE for it, so the first-touch commit those checks look for never happens (the same quirk #826 handles for CLZERO). Each test will say what the host does and still check the shim or the loader where it can, as #519 did for the D3D12 tests; the dstorage guard page moves off the stack boundary, which needs no host check; the measured differences go into `docs/linux.md`. Test and build files and that docs page only; no game files. Not in this: `loader_tls` (fixed by #773), `file_system` (finding below), and `device_proxy` / `device_proxy_trace`, which are BL-2 (claimed by kawaii-shakal). For BL-2, measured here: on the adapter `EnumWarpAdapter` returns under Wine (the NVIDIA one, there is no WARP), `D3D12CreateDevice` gives a device at feature level 11_0 and E_INVALIDARG at 12_0 and 12_1, and `device_proxy` stops at `PC D3D12CreateDevice failed (hr=0x80070057)`. I can run that pull request under Wine when it is up. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

finding: under Wine a file handle opened with MAXIMUM_ALLOWED cannot write, so the file-system shim's MAXIMUM_ALLOWED write-open of an overlay copy gives the title a handle its writes fail on

  • Where: runtime/shims/file_system.cpp: writes() (line 490) sends a MAXIMUM_ALLOWED open to the overlay copy, and the access mask then reaches the host unchanged (::CreateFileW at line 751, ::CreateFile2 at line 782). The six checks at runtime/test/file_system_test.cpp lines 1079-1110 show it.
  • Measured (wine-staging 11.21, a plain temp file, no shim): a handle from CreateFileW(MAXIMUM_ALLOWED) or CreateFileW(MAXIMUM_ALLOWED | GENERIC_READ) reads, and WriteFile on it fails with error 6; with GENERIC_WRITE in the mask the write succeeds. On Windows the same handle writes, which is what the test passes on.
  • Why it matters: a title write through such a handle is lost on a Wine host, where on Windows it lands in the overlay. Whether the retail title opens a file this way I have not measured.
  • Needs: a Wine host; no game files.

The other two file_system failures under Wine are the host's own answers rather than the shim's: ReadFile into an uncommitted SEC_RESERVE view succeeds there (line 233 expects ERROR_NOACCESS from the host), and the host's short-path search lists the *.?. mask differently from the shim's long-path matcher (not isolated further). All on main a28927849. AI-assisted.

<!-- gh-comment-id:7135606714 --> @milk4sale commented on GitHub (Nov 24, 2026): finding: under Wine a file handle opened with `MAXIMUM_ALLOWED` cannot write, so the file-system shim's MAXIMUM_ALLOWED write-open of an overlay copy gives the title a handle its writes fail on - **Where:** `runtime/shims/file_system.cpp`: `writes()` (line 490) sends a MAXIMUM_ALLOWED open to the overlay copy, and the access mask then reaches the host unchanged (`::CreateFileW` at line 751, `::CreateFile2` at line 782). The six checks at `runtime/test/file_system_test.cpp` lines 1079-1110 show it. - **Measured** (wine-staging 11.21, a plain temp file, no shim): a handle from `CreateFileW(MAXIMUM_ALLOWED)` or `CreateFileW(MAXIMUM_ALLOWED | GENERIC_READ)` reads, and `WriteFile` on it fails with error 6; with `GENERIC_WRITE` in the mask the write succeeds. On Windows the same handle writes, which is what the test passes on. - **Why it matters:** a title write through such a handle is lost on a Wine host, where on Windows it lands in the overlay. Whether the retail title opens a file this way I have not measured. - **Needs:** a Wine host; no game files. The other two `file_system` failures under Wine are the host's own answers rather than the shim's: `ReadFile` into an uncommitted `SEC_RESERVE` view succeeds there (line 233 expects ERROR_NOACCESS from the host), and the host's short-path search lists the `*.?.` mask differently from the shim's long-path matcher (not isolated further). All on `main` a28927849. AI-assisted.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

claiming: TEST-MULLIT-READBACK-DEAD-PATH — remove the unreachable runtime/test/shaders/mullit_readback.py, its build.py exception for missing ps_mullit, and the docs/testing.md instructions. On current main a28927849, tests/semantic/fixtures/ps_mullit.asm is absent from the tree, and tools/rdna2spirv.py has no v_mullit_f32 rule; retaining the script presents an unavailable test as runnable. I will verify there are no other references and run the documentation/link and shader-build tests. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7135611283 --> @KernelSmoker commented on GitHub (Nov 24, 2026): claiming: TEST-MULLIT-READBACK-DEAD-PATH — remove the unreachable `runtime/test/shaders/mullit_readback.py`, its `build.py` exception for missing `ps_mullit`, and the `docs/testing.md` instructions. On current `main` `a28927849`, `tests/semantic/fixtures/ps_mullit.asm` is absent from the tree, and `tools/rdna2spirv.py` has no `v_mullit_f32` rule; retaining the script presents an unavailable test as runnable. I will verify there are no other references and run the documentation/link and shader-build tests. No game files or GPU required. AI-assisted.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: WORLD-JSON-READ-MISREPORTED -> #918

<!-- gh-comment-id:7135615317 --> @TuroYT commented on GitHub (Nov 24, 2026): done: WORLD-JSON-READ-MISREPORTED -> #918
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: BUILD-GAMEDATA-XML-ATOMIC-AND-ORDER -> #921 AI-assisted (Gemini).

<!-- gh-comment-id:7135619975 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: BUILD-GAMEDATA-XML-ATOMIC-AND-ORDER -> #921 AI-assisted (Gemini).
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

Verification batch: 16 open pull requests, each applied alone to a clean worktree of main a28927849
(Linux x86-64, 4 cores, CPython 3.14.7, synthetic fixtures only, no game files). Method: git worktree add --detach origin/main, git apply <pr>.diff, then the test files the diff touches (plus the repository-wide docs and
text-writer guards for a docs/tool diff). tests/test_tool_stdout_encoding.py is red on clean main too, so it is
not counted against any of these.

PASS (13)

  • #684 file_system: T: is a folder on the host (OLD-8161) - 3 guard files pass
  • #688 file_system: RemoveDirectory (OLD-9215) - docs guards pass
  • #690 xdxr: a paired BLAS keeps one 64-byte leaf - test_xdxr_bvh.py + guards pass
  • #691 GPU record, Radeon 660M - test_docs_links.py, test_docs_cli_flags.py pass
  • #693 pe_inspect: export forwarders (OLD-9768) - test_pe_inspect.py passes
  • #694 pe_shader_containers: multi-image container layouts - test_pe_shader_containers.py passes
  • #696 find_hash_lookup: raw section sizes clamped, window and top checked - test_find_hash_lookup.py passes
  • #697 d3d12_device_calls (OLD-7998) - test_d3d12_device_calls.py + docs guards pass
  • #698 pe_inspect: x64 pdata exception table (OLD-9799) - test_pe_inspect.py passes
  • #700 gallery: Windows port double-bind, --port 0 URL - test_gallery.py passes
  • #701 rdna2spirv: D16 XYZ writes tracked per destination - test_wave64_halves_partial_dst.py + docs guards pass;
    the whole translator suite was run at its head as well: 465 files / 6110 tests, and the only two red files
    (test_sopc_validation, test_unary_f16_validation) are the same two that are red on clean main here, because
    this machine has no spirv-as/spirv-val
  • #702 gdk_runtime_calls: runtime-source directory protected from collisions - test_gdk_runtime_calls.py passes
  • #703 exe_checklist: bare list markers, nested item continuations - test_exe_checklist.py passes

STALE (1)

  • #686 no longer applies to main: the patch fails at runtime/test/xs_proxy_mock_test.cpp:89. Rebase needed; nothing
    else to say about it here.

Not verifiable on this host (2)

  • #683 and #687 are d3d12_xs shims whose new tests (runtime/test/d3d12_xs_root_signature_test.cpp,
    runtime/test/xs_proxy_mock_test.cpp) build under MSVC only. Both diffs apply cleanly; there is no Windows toolchain
    and no AMD GPU here, so nobody should read this as a pass.
<!-- gh-comment-id:7135620489 --> @Poussistar commented on GitHub (Nov 24, 2026): Verification batch: 16 open pull requests, each applied alone to a clean worktree of `main` `a28927849` (Linux x86-64, 4 cores, CPython 3.14.7, synthetic fixtures only, no game files). Method: `git worktree add --detach origin/main`, `git apply <pr>.diff`, then the test files the diff touches (plus the repository-wide docs and text-writer guards for a docs/tool diff). `tests/test_tool_stdout_encoding.py` is red on clean `main` too, so it is not counted against any of these. **PASS (13)** - #684 `file_system`: `T:` is a folder on the host (`OLD-8161`) - 3 guard files pass - #688 `file_system`: `RemoveDirectory` (`OLD-9215`) - docs guards pass - #690 `xdxr`: a paired BLAS keeps one 64-byte leaf - `test_xdxr_bvh.py` + guards pass - #691 GPU record, Radeon 660M - `test_docs_links.py`, `test_docs_cli_flags.py` pass - #693 `pe_inspect`: export forwarders (`OLD-9768`) - `test_pe_inspect.py` passes - #694 `pe_shader_containers`: multi-image container layouts - `test_pe_shader_containers.py` passes - #696 `find_hash_lookup`: raw section sizes clamped, window and top checked - `test_find_hash_lookup.py` passes - #697 `d3d12_device_calls` (`OLD-7998`) - `test_d3d12_device_calls.py` + docs guards pass - #698 `pe_inspect`: x64 pdata exception table (`OLD-9799`) - `test_pe_inspect.py` passes - #700 `gallery`: Windows port double-bind, `--port 0` URL - `test_gallery.py` passes - #701 `rdna2spirv`: D16 XYZ writes tracked per destination - `test_wave64_halves_partial_dst.py` + docs guards pass; the whole translator suite was run at its head as well: 465 files / 6110 tests, and the only two red files (`test_sopc_validation`, `test_unary_f16_validation`) are the same two that are red on clean `main` here, because this machine has no `spirv-as`/`spirv-val` - #702 `gdk_runtime_calls`: runtime-source directory protected from collisions - `test_gdk_runtime_calls.py` passes - #703 `exe_checklist`: bare list markers, nested item continuations - `test_exe_checklist.py` passes **STALE (1)** - #686 no longer applies to `main`: the patch fails at `runtime/test/xs_proxy_mock_test.cpp:89`. Rebase needed; nothing else to say about it here. **Not verifiable on this host (2)** - #683 and #687 are `d3d12_xs` shims whose new tests (`runtime/test/d3d12_xs_root_signature_test.cpp`, `runtime/test/xs_proxy_mock_test.cpp`) build under MSVC only. Both diffs apply cleanly; there is no Windows toolchain and no AMD GPU here, so nobody should read this as a pass.
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: WINE-DRIVE-MAP-OSERROR -> #919

<!-- gh-comment-id:7135623800 --> @TuroYT commented on GitHub (Nov 24, 2026): done: WINE-DRIVE-MAP-OSERROR -> #919
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: BATCH-GLB-USAGE-EXIT-STATUS -> #920

<!-- gh-comment-id:7135623834 --> @TuroYT commented on GitHub (Nov 24, 2026): done: BATCH-GLB-USAGE-EXIT-STATUS -> #920
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

claiming: SPIRV-STUBS-STAGE-CLEANUP — publish staged partner stubs with the target's permission bits on every OS (not just POSIX copymode) and, when publication fails, make the staged file writable before removing it so the real error is not masked; synthetic regression tests. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7135626827 --> @fitzypopper commented on GitHub (Nov 24, 2026): claiming: SPIRV-STUBS-STAGE-CLEANUP — publish staged partner stubs with the target's permission bits on every OS (not just POSIX copymode) and, when publication fails, make the staged file writable before removing it so the real error is not masked; synthetic regression tests. No game files, no GPU. AI-assisted.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: RT-CACHED-PSO-BOUNDS — runtime/src/cached_pso.h: guard null pointers in fnv1a(), check(), KeyBuilder::tag(), and KeyBuilder::bytes(), reject overlong (>64-byte) keys in check() instead of silently truncating them to collide, and add standalone C++20 unit test runtime/test/cached_pso_test.cpp registered in runtime/CMakeLists.txt. AI-assisted (Gemini).

<!-- gh-comment-id:7135637051 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: RT-CACHED-PSO-BOUNDS — runtime/src/cached_pso.h: guard null pointers in fnv1a(), check(), KeyBuilder::tag(), and KeyBuilder::bytes(), reject overlong (>64-byte) keys in check() instead of silently truncating them to collide, and add standalone C++20 unit test runtime/test/cached_pso_test.cpp registered in runtime/CMakeLists.txt. AI-assisted (Gemini).
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: CHECK-NO-GAME-DATA-GIT-ERROR -> #922

<!-- gh-comment-id:7135639203 --> @TuroYT commented on GitHub (Nov 24, 2026): done: CHECK-NO-GAME-DATA-GIT-ERROR -> #922
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: ARENA-NEGATIVE-MB -> #923

<!-- gh-comment-id:7135640882 --> @TuroYT commented on GitHub (Nov 24, 2026): done: ARENA-NEGATIVE-MB -> #923
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: DOC-DESIGN-ROW-CITES -> #925

<!-- gh-comment-id:7135656555 --> @TuroYT commented on GitHub (Nov 24, 2026): done: DOC-DESIGN-ROW-CITES -> #925
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

done: TEST-MULLIT-READBACK-DEAD-PATH -> #926

Removed the unbuildable standalone readback, missing-fixture builder exception, and stale docs instructions; added a regression that rejects ps_mullit as an unknown target. The build-fallback suite passes 6/6 and docs-link suite 16/16. llvm-mc is unavailable here, so the original build command could not be run past tool preflight; the missing fixture and missing translator rule were confirmed directly on current main. No game files or GPU. AI-assisted.

<!-- gh-comment-id:7135660420 --> @KernelSmoker commented on GitHub (Nov 24, 2026): done: TEST-MULLIT-READBACK-DEAD-PATH -> #926 Removed the unbuildable standalone readback, missing-fixture builder exception, and stale docs instructions; added a regression that rejects `ps_mullit` as an unknown target. The build-fallback suite passes 6/6 and docs-link suite 16/16. `llvm-mc` is unavailable here, so the original build command could not be run past tool preflight; the missing fixture and missing translator rule were confirmed directly on current main. No game files or GPU. AI-assisted.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: RT-CACHED-PSO-BOUNDS -> #928 AI-assisted (Gemini).

<!-- gh-comment-id:7135694340 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: RT-CACHED-PSO-BOUNDS -> #928 AI-assisted (Gemini).
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

claiming:

  • RT-VOLUME-DEPTH — normalize the Xbox texture-3D depth-stencil resource the retail boot requests to a 2D depth array before slots 25/76/108/127/133 sizing and creation, preserving the depth format, clear value and array slices. Add a synthetic proxy regression for TEXTURE3D 768x768x6, R16_TYPELESS, one mip, one sample, ALLOW_DEPTH_STENCIL, and verify the caller's descriptor is unchanged. This is the current native Windows/RTX 3070 stop after #517. No game data in the change.
  • RT-COMPUTE-CACHE-HANDLE — retain the VkPipeline local through the compute-pipeline cache-checkpoint path in d3d12_vulkan_device.cpp; the current checkpoint block declares the output handle inside the if, so the later cache-save path cannot observe it. Add/extend a synthetic test that creates a compute pipeline with checkpointing enabled. No game data.
  • RT-ALLOC-TRACE — keep the opt-in LEONIDA_ALLOC_LOG=1 slot-25 resource-allocation tracing used to identify the B4G4R4A4 refusal, with a synthetic test that the logger stays silent unless enabled. No game data.

All are distinct from RT-TITLE-HOST-REGION, ROOT-SIG-SPILL-MODEL, and the already-claimed rectangle-list work. AI-assisted (DeepSeek v4.1 Flash 1017).

<!-- gh-comment-id:7135719148 --> @roanh47 commented on GitHub (Nov 24, 2026): claiming: - `RT-VOLUME-DEPTH` — normalize the Xbox texture-3D depth-stencil resource the retail boot requests to a 2D depth array before slots 25/76/108/127/133 sizing and creation, preserving the depth format, clear value and array slices. Add a synthetic proxy regression for `TEXTURE3D 768x768x6`, `R16_TYPELESS`, one mip, one sample, `ALLOW_DEPTH_STENCIL`, and verify the caller's descriptor is unchanged. This is the current native Windows/RTX 3070 stop after #517. No game data in the change. - `RT-COMPUTE-CACHE-HANDLE` — retain the `VkPipeline` local through the compute-pipeline cache-checkpoint path in `d3d12_vulkan_device.cpp`; the current checkpoint block declares the output handle inside the `if`, so the later cache-save path cannot observe it. Add/extend a synthetic test that creates a compute pipeline with checkpointing enabled. No game data. - `RT-ALLOC-TRACE` — keep the opt-in `LEONIDA_ALLOC_LOG=1` slot-25 resource-allocation tracing used to identify the B4G4R4A4 refusal, with a synthetic test that the logger stays silent unless enabled. No game data. All are distinct from `RT-TITLE-HOST-REGION`, `ROOT-SIG-SPILL-MODEL`, and the already-claimed rectangle-list work. AI-assisted (DeepSeek v4.1 Flash 1017).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap data for the physical-page part, measured on the retail package (RTX 5070, Windows 11, prototype d0c45aacc + #526, LEONIDA_SKIP_INT3=1, LEONIDA_LAZY_PSO=1, 200 s). Every request the shim refuses (execute_request, runtime/shims/dstorage.cpp) was counted by its options word; only flags and sizes are quoted, no game data. I print a line when a combination's count reaches a power of two, so the counts below are lower bounds (the true count is between n and 2n).

options zlib BCPack swizzle dest. pages source pages memory source count source bytes destination bytes
0x200001 1 0 0 1 0 0 >= 256 122 .. 261,730 4,096 .. 262,144
0x20000a 0 5 0 1 0 0 >= 64 19,515 .. 65,030 65,536
0x20000e 0 7 0 1 0 0 >= 16 49,034 .. 256,682 65,536 .. 262,144
0x200002 0 1 0 1 0 0 >= 4 35,947 .. 39,541 65,536

What this says, as far as the numbers go:

  • Every refused request has the destination-pages bit (1 << 21) set. None has the source-pages bit, a memory source or a swizzle mode, and IntermediateSize is 0 everywhere.
  • The most frequent class is plain zlib with destination pages, no BCPack at all. The page check comes before the zlib path in execute_request, so those requests are refused only because of the pages bit; a destination-pages implementation alone would let them through to inflate_request.
  • BCPack modes seen: 1, 5 and 7, all with 64 KiB destinations except mode 7 up to 256 KiB.

Not known: what the destination page lists address (heap, texture or buffer), and whether a button press is needed to reach these requests; I reached them after stepping over the int3 at exe+0x4ffd879 and did not isolate that.

AI-assisted: yes (Claude Code, Sonnet 5.5). The counter is a local change I have not committed; say if you want it as a pull request.

<!-- gh-comment-id:7135719755 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap data for the physical-page part, measured on the retail package (RTX 5070, Windows 11, prototype `d0c45aacc` + #526, `LEONIDA_SKIP_INT3=1`, `LEONIDA_LAZY_PSO=1`, 200 s). Every request the shim refuses (`execute_request`, `runtime/shims/dstorage.cpp`) was counted by its options word; only flags and sizes are quoted, no game data. I print a line when a combination's count reaches a power of two, so the counts below are lower bounds (the true count is between n and 2n). | options | zlib | BCPack | swizzle | dest. pages | source pages | memory source | count | source bytes | destination bytes | |---|---|---|---|---|---|---|---|---|---| | `0x200001` | 1 | 0 | 0 | **1** | 0 | 0 | >= 256 | 122 .. 261,730 | 4,096 .. 262,144 | | `0x20000a` | 0 | 5 | 0 | **1** | 0 | 0 | >= 64 | 19,515 .. 65,030 | 65,536 | | `0x20000e` | 0 | 7 | 0 | **1** | 0 | 0 | >= 16 | 49,034 .. 256,682 | 65,536 .. 262,144 | | `0x200002` | 0 | 1 | 0 | **1** | 0 | 0 | >= 4 | 35,947 .. 39,541 | 65,536 | What this says, as far as the numbers go: - **Every refused request has the destination-pages bit (`1 << 21`) set.** None has the source-pages bit, a memory source or a swizzle mode, and `IntermediateSize` is 0 everywhere. - **The most frequent class is plain zlib with destination pages**, no BCPack at all. The page check comes before the zlib path in `execute_request`, so those requests are refused only because of the pages bit; a destination-pages implementation alone would let them through to `inflate_request`. - BCPack modes seen: 1, 5 and 7, all with 64 KiB destinations except mode 7 up to 256 KiB. Not known: what the destination page lists address (heap, texture or buffer), and whether a button press is needed to reach these requests; I reached them after stepping over the `int3` at exe+0x4ffd879 and did not isolate that. AI-assisted: yes (Claude Code, Sonnet 5.5). The counter is a local change I have not committed; say if you want it as a pull request.
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

claiming: RT-RETIRE-TICKETS-DEDUP-WAIT — runtime/src/retire_tickets.h: coalesce pending_through() per semaphore to the highest timeline value (avoiding duplicate VkSemaphore entries in vkWaitSemaphores), guard completed_ against moving backward in completed(), and expand runtime/test/retire_tickets_test.cpp. AI-assisted (Gemini).

<!-- gh-comment-id:7135725492 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): claiming: RT-RETIRE-TICKETS-DEDUP-WAIT — runtime/src/retire_tickets.h: coalesce pending_through() per semaphore to the highest timeline value (avoiding duplicate VkSemaphore entries in vkWaitSemaphores), guard completed_ against moving backward in completed(), and expand runtime/test/retire_tickets_test.cpp. AI-assisted (Gemini).
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

done: FS-COLLECT-SCRATCH -> #929 (depends on #903)

Scratch listings gate on r.overlay and skip the package probe. file_system_test under Wine: 496 checks, 11 failures, identical to the pre-change baseline (494 checks, same 11 Wine-environment failures); 2 new checks pass. No game files. AI-assisted.

<!-- gh-comment-id:7135732769 --> @morodirule commented on GitHub (Nov 24, 2026): done: FS-COLLECT-SCRATCH -> #929 (depends on #903) Scratch listings gate on r.overlay and skip the package probe. file_system_test under Wine: 496 checks, 11 failures, identical to the pre-change baseline (494 checks, same 11 Wine-environment failures); 2 new checks pass. No game files. AI-assisted.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

Correction to my ROOT-SIG-SPILL-MODEL measurement above, from the translated SPIR-V itself: the argument block behind s[0:1] lives in the console VA / arena address space, not at a raw 64-bit device address. The translated builder programs resolve their spill loads exactly like every other console pointer: a PhysicalStorageBuffer access at heap_base + console_va + offset (push-constant dwords 32/33 are the heap base, as today). The runtime therefore only has to (1) sub-allocate the argument block from the GPU-address arena like any buffer (its console VA is its arena offset), (2) write that console VA into push-constant dwords 0..1 (s[0:1] — the 40-bit form the shader normalizes itself), and (3) move the block bytes into the arena at each dispatch. The loads needed no translator changes — they were already translated and spirv-val clean; the only gap was the runtime's side. Everything else in the measurement stands (block = the inline layout in bytes, all parameters, descriptors 8 B / tables 4 B / constants 4 B, no alignment; per-dispatch fill via the command stream).

<!-- gh-comment-id:7135760764 --> @djrolfes commented on GitHub (Nov 24, 2026): Correction to my ROOT-SIG-SPILL-MODEL measurement above, from the translated SPIR-V itself: the argument block behind `s[0:1]` lives in the **console VA / arena address space**, not at a raw 64-bit device address. The translated builder programs resolve their spill loads exactly like every other console pointer: a PhysicalStorageBuffer access at `heap_base + console_va + offset` (push-constant dwords 32/33 are the heap base, as today). The runtime therefore only has to (1) sub-allocate the argument block from the GPU-address arena like any buffer (its console VA is its arena offset), (2) write that console VA into push-constant dwords 0..1 (`s[0:1]` — the 40-bit form the shader normalizes itself), and (3) move the block bytes into the arena at each dispatch. The loads needed no translator changes — they were already translated and spirv-val clean; the only gap was the runtime's side. Everything else in the measurement stands (block = the inline layout in bytes, all parameters, descriptors 8 B / tables 4 B / constants 4 B, no alignment; per-dispatch fill via the command stream).
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

finding: the Vulkan layer rejects 3D depth-resource creation that native D3D12 accepts on Windows 10; this reproduces the resource-shape refusal reported in #321 without running the game.

On integration head e0d4fd2b8, d3d12_vulkan_device.cpp:9043–9046 rejects volume depth/stencil in the shared shape check. There is a second explicit creation guard at lines 9213–9215.

Local synthetic 64×64×4 R16_TYPELESS, one mip and sample, COMMON layout/state:

  • Native D3D12/WARP and D3D12/RTX 5070: legacy CreateCommittedResource returned S_OK; GetDesc retained TEXTURE3D and ALLOW_DEPTH_STENCIL. The native Windows 10 device did not expose ID3D12Device10 here.
  • Leonida Vulkan: legacy, direct Device10 and Xbox slot 127 returned E_INVALIDARG and a null resource. The 2D array with depth-stencil and 3D texture without the flag both succeeded on every tested path.
  • RTX 5070 Vulkan reported VK_SUCCESS for querying 3D D16_UNORM with sampled, depth/stencil attachment and transfer usage, with and without 2D-array compatibility. That is an image-format capability query; attachment views, rendering and the cause of the black frame remain unverified.

Windows 10 22H2, MSVC 19.51.36256, NVIDIA 610.88, Khronos validation 1.4.369 (zero errors for this probe). Only the raw format query requires a Vulkan GPU; no game files. AI-assisted (Codex).

<!-- gh-comment-id:7135761081 --> @Dezmonius commented on GitHub (Nov 24, 2026): finding: the Vulkan layer rejects 3D depth-resource creation that native D3D12 accepts on Windows 10; this reproduces the resource-shape refusal reported in #321 without running the game. On integration head `e0d4fd2b8`, [`d3d12_vulkan_device.cpp:9043–9046`](https://github.com/ubiquitarianism/leonida/blob/e0d4fd2b81e6636b1c6bb2f76be79e910e84d84b/runtime/shims/d3d12_vulkan_device.cpp#L9043-L9046) rejects volume depth/stencil in the shared shape check. There is a second explicit creation guard at [lines 9213–9215](https://github.com/ubiquitarianism/leonida/blob/e0d4fd2b81e6636b1c6bb2f76be79e910e84d84b/runtime/shims/d3d12_vulkan_device.cpp#L9213-L9215). Local synthetic 64×64×4 `R16_TYPELESS`, one mip and sample, COMMON layout/state: - Native D3D12/WARP and D3D12/RTX 5070: legacy `CreateCommittedResource` returned `S_OK`; `GetDesc` retained TEXTURE3D and ALLOW_DEPTH_STENCIL. The native Windows 10 device did not expose ID3D12Device10 here. - Leonida Vulkan: legacy, direct Device10 and Xbox slot 127 returned `E_INVALIDARG` and a null resource. The 2D array with depth-stencil and 3D texture without the flag both succeeded on every tested path. - RTX 5070 Vulkan reported `VK_SUCCESS` for querying 3D D16_UNORM with sampled, depth/stencil attachment and transfer usage, with and without 2D-array compatibility. That is an image-format capability query; attachment views, rendering and the cause of the black frame remain unverified. Windows 10 22H2, MSVC 19.51.36256, NVIDIA 610.88, Khronos validation 1.4.369 (zero errors for this probe). Only the raw format query requires a Vulkan GPU; no game files. AI-assisted (Codex).
Author
Owner

@narekshaghoyandev commented on GitHub (Nov 24, 2026):

done: RT-RETIRE-TICKETS-DEDUP-WAIT -> #935 AI-assisted (Gemini).

<!-- gh-comment-id:7135773474 --> @narekshaghoyandev commented on GitHub (Nov 24, 2026): done: RT-RETIRE-TICKETS-DEDUP-WAIT -> #935 AI-assisted (Gemini).
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: SHADER-SUB-CO-SAME -> #930 (supersedes draft #324; the AMD Windows driver confirmation is still to come and will be posted on #930)
done: DRAFT-274 -> #931
done: DRAFT-301 -> #932
done: DRAFT-230 -> #933
done: DRAFT-196 -> #934
done: DRAFT-241 -> #936
done: DRAFT-332 -> #937
done: DRAFT-293 -> #938

<!-- gh-comment-id:7135783216 --> @fin-github commented on GitHub (Nov 24, 2026): done: SHADER-SUB-CO-SAME -> #930 (supersedes draft #324; the AMD Windows driver confirmation is still to come and will be posted on #930) done: DRAFT-274 -> #931 done: DRAFT-301 -> #932 done: DRAFT-230 -> #933 done: DRAFT-196 -> #934 done: DRAFT-241 -> #936 done: DRAFT-332 -> #937 done: DRAFT-293 -> #938
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap a question and an offer, so we do not both write the same thing.

You said you would look at the physical-page part of DirectStorage next. Have you started it? The measurement above (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135719755) says every refused request carries the destination-pages bit and that plain zlib is the largest class, so I am not going to touch execute_request's page handling or write a competing version.

What I can do on this side, whichever you prefer:

  • Test any branch of yours the same day against the retail package (RTX 5070, Windows 11, Vulkan), with LEONIDA_SKIP_INT3=1 and the pad shim: I post the stop, the counts of refused requests by options word, and whether the window draws anything.
  • Send the refused-request counter as its own small pull request, if it is useful to you as a regression guard (it prints one line per options combination at power-of-two counts, no game data).
  • Take the BCPack decode wiring (modes 1, 5 and 7) after pages exist, if you do not plan it: every BCPack request seen here also carries the pages bit, so it cannot go first. Say if it is yours or free.

No reply needed if you would rather just keep going; I will keep running your prototype and report only what changes.

AI-assisted: yes (Claude Code, Sonnet 5.5).

<!-- gh-comment-id:7135814130 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap a question and an offer, so we do not both write the same thing. You said you would look at the physical-page part of DirectStorage next. Have you started it? The measurement above (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135719755) says every refused request carries the destination-pages bit and that plain zlib is the largest class, so I am not going to touch `execute_request`'s page handling or write a competing version. What I can do on this side, whichever you prefer: - **Test any branch of yours the same day** against the retail package (RTX 5070, Windows 11, Vulkan), with `LEONIDA_SKIP_INT3=1` and the pad shim: I post the stop, the counts of refused requests by options word, and whether the window draws anything. - **Send the refused-request counter as its own small pull request**, if it is useful to you as a regression guard (it prints one line per options combination at power-of-two counts, no game data). - **Take the BCPack decode wiring (modes 1, 5 and 7) after pages exist**, if you do not plan it: every BCPack request seen here also carries the pages bit, so it cannot go first. Say if it is yours or free. No reply needed if you would rather just keep going; I will keep running your prototype and report only what changes. AI-assisted: yes (Claude Code, Sonnet 5.5).
Author
Owner

@Maticcm commented on GitHub (Nov 24, 2026):

claiming: SHADER-CO-CI-MASK-HALF - tools/wave64_halves.py: treat the carry-in lane-mask operand (srcs[2]) of v_add_co_ci_u32 / v_sub_co_ci_u32 / v_subrev_co_ci_u32 (vcc_lo / vcc / exec / 64-bit mask SGPR pair) as per-lane rather than mask-half / mask-as-data, while keeping mask-half/MASKD on vcc_hi, non-mask vcc_lo, half-mask SGPRs, and mask operands in srcs[0:2]. AI-assisted.

<!-- gh-comment-id:7135819934 --> @Maticcm commented on GitHub (Nov 24, 2026): claiming: SHADER-CO-CI-MASK-HALF - `tools/wave64_halves.py`: treat the carry-in lane-mask operand (`srcs[2]`) of `v_add_co_ci_u32` / `v_sub_co_ci_u32` / `v_subrev_co_ci_u32` (`vcc_lo` / `vcc` / `exec` / 64-bit mask SGPR pair) as per-lane rather than `mask-half` / `mask-as-data`, while keeping `mask-half`/`MASKD` on `vcc_hi`, non-mask `vcc_lo`, half-mask SGPRs, and mask operands in `srcs[0:2]`. AI-assisted.
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

claiming: MODEL-71-RECOUNT - an independent recount of #347's "71 → 0" for levels.rpf, with tools/reject_triage (a traced copy of the recovery walk, generated from whichever rpf9-explorer pin is checked out) run on my own package at e293917 and at #347's af54933. Result as a review comment on #347, counts from summary.txt only. Review of Tioloff's MODEL-71, not a competing change, and no PR unless someone asks for the tool. No game data posted. AI-assisted.

<!-- gh-comment-id:7135833853 --> @snain0511 commented on GitHub (Nov 24, 2026): claiming: MODEL-71-RECOUNT - an independent recount of #347's "71 → 0" for `levels.rpf`, with `tools/reject_triage` (a traced copy of the recovery walk, generated from whichever rpf9-explorer pin is checked out) run on my own package at `e293917` and at #347's `af54933`. Result as a review comment on #347, counts from `summary.txt` only. Review of Tioloff's MODEL-71, not a competing change, and no PR unless someone asks for the tool. No game data posted. AI-assisted.
Author
Owner

@Rain156 commented on GitHub (Nov 24, 2026):

done: RT-WINDOWS-FIRST-RUN-UI -> #939

<!-- gh-comment-id:7135845840 --> @Rain156 commented on GitHub (Nov 24, 2026): done: RT-WINDOWS-FIRST-RUN-UI -> #939
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

claiming: TEST-SPIRV-TOOLS-OPTIONAL - tests/semantic/test_sopc_validation.py and tests/semantic/test_unary_f16_validation.py fail outright (16 failures) when spirv-as/spirv-val are not on PATH, so scripts/run_semantic_tests.py tests/semantic is red on a machine without SPIRV-Tools (AGENTS.md says the suite needs none). I will make only the spirv-val step optional, as test_reg_ptr_hoist.py does, keeping the interpreter checks and failing under LEONIDA_REQUIRE_SPIRV_TOOLS=1.

<!-- gh-comment-id:7135902691 --> @Luna-OS commented on GitHub (Nov 24, 2026): claiming: TEST-SPIRV-TOOLS-OPTIONAL - `tests/semantic/test_sopc_validation.py` and `tests/semantic/test_unary_f16_validation.py` fail outright (16 failures) when spirv-as/spirv-val are not on PATH, so `scripts/run_semantic_tests.py tests/semantic` is red on a machine without SPIRV-Tools (AGENTS.md says the suite needs none). I will make only the spirv-val step optional, as `test_reg_ptr_hoist.py` does, keeping the interpreter checks and failing under LEONIDA_REQUIRE_SPIRV_TOOLS=1.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: FAIL-FAST-SELECTORS - tools/import_fail_fast.py accepts an --import or --dll selector that names nothing in the image and exits 0 with "0 of 0 import(s)", which reads as "no fatal check"; a typo beside a good selector is dropped silently. Its sibling tools/import_call_sites.py already refuses both (import_selector, dll_selector, unmatched_selectors, exit 2), so I will use the same helpers in the CLI, with synthetic PE tests. fail_fast() itself keeps answering {}. Not the docs of #848, but its new test expects exit 0 for --dll other.dll (absent from the fixture), so that assertion changes with whichever lands second. Reproduced on main a2892784. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7135906432 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: FAIL-FAST-SELECTORS - `tools/import_fail_fast.py` accepts an `--import` or `--dll` selector that names nothing in the image and exits 0 with "0 of 0 import(s)", which reads as "no fatal check"; a typo beside a good selector is dropped silently. Its sibling `tools/import_call_sites.py` already refuses both (`import_selector`, `dll_selector`, `unmatched_selectors`, exit 2), so I will use the same helpers in the CLI, with synthetic PE tests. `fail_fast()` itself keeps answering `{}`. Not the docs of #848, but its new test expects exit 0 for `--dll other.dll` (absent from the fixture), so that assertion changes with whichever lands second. Reproduced on `main` a2892784. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: RT-GAMEINPUT-BUTTON-HOLD - an opt-in LEONIDA_BUTTON_HOLD_MS that keeps a pressed gamepad button reading as pressed for at least that long.

Why: the title reads input with GetCurrentReading, which returns the newest state, and on the retail boot it runs at about one frame a second, so a normal tap (50 to 150 ms) falls between two reads and is lost; holding the button for two seconds works (measured on an RTX 5070: a held A advances the first-run screen, a tap mostly does not). It also hits LEONIDA_AUTOPRESS, which holds Enter for 250 ms. Default is 0, which leaves every reading as it is today. Where: runtime/shims/gameinput.cpp (poll_once), gameinput.h (Config), a test in runtime/test/gameinput_test.cpp, a line in docs/gameinput.md. AI-assisted.

<!-- gh-comment-id:7135924581 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: RT-GAMEINPUT-BUTTON-HOLD - an opt-in `LEONIDA_BUTTON_HOLD_MS` that keeps a pressed gamepad button reading as pressed for at least that long. Why: the title reads input with `GetCurrentReading`, which returns the newest state, and on the retail boot it runs at about one frame a second, so a normal tap (50 to 150 ms) falls between two reads and is lost; holding the button for two seconds works (measured on an RTX 5070: a held A advances the first-run screen, a tap mostly does not). It also hits `LEONIDA_AUTOPRESS`, which holds Enter for 250 ms. Default is 0, which leaves every reading as it is today. Where: `runtime/shims/gameinput.cpp` (`poll_once`), `gameinput.h` (`Config`), a test in `runtime/test/gameinput_test.cpp`, a line in `docs/gameinput.md`. AI-assisted.
Author
Owner

@markankamaransheogarat-sys commented on GitHub (Nov 24, 2026):

GPU test report on main (a289278), headless Linux (Ubuntu 24.04, Colab T4):

  • GPU: NVIDIA Tesla T4 (Turing, vendor_id=4318, device_id=7864), driver 580.82.07, Vulkan 1.4.312, subgroup 32..32 (subgroup_size_control=true, mesh_in_supported_stages=true)
  • Result: 198/249 passed, 49 skipped, 2 failed
  • Failures:
    • cs_imgload_d16_tfe: exit 1: r32 sint (sint view): 64 bad, texel(5,3) = 2071
    • cs_imgload_tfe: exit 1: r32 sint (sint view): 64 bad, texel(5,3) = 2071
      (Note: ms_wave_info_s3 no longer fails on a289278.)
<!-- gh-comment-id:7135931661 --> @markankamaransheogarat-sys commented on GitHub (Nov 24, 2026): GPU test report on `main` (`a289278`), headless Linux (Ubuntu 24.04, Colab T4): - **GPU**: NVIDIA Tesla T4 (Turing, `vendor_id=4318`, `device_id=7864`), driver `580.82.07`, Vulkan `1.4.312`, subgroup `32..32` (`subgroup_size_control=true`, `mesh_in_supported_stages=true`) - **Result**: `198/249 passed, 49 skipped, 2 failed` - **Failures**: - `cs_imgload_d16_tfe`: `exit 1: r32 sint (sint view): 64 bad, texel(5,3) = 2071` - `cs_imgload_tfe`: `exit 1: r32 sint (sint view): 64 bad, texel(5,3) = 2071` (Note: `ms_wave_info_s3` no longer fails on `a289278`.)
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

finding: exe-checklist round 4 (XMemAlloc site 3 + 0x5e50000, GameInput version — game_scarlett_master.exe) — all three XMemAlloc sites are now measured, and the 0x5e50000 attribute word does not exist in this build

Follow-up to my earlier findings on this exe (SHA-256 e95020b2...). Resolved the xmem.cpp:9 and gameinput_abi.h:9 checklist items:

  1. Third XMemAlloc site (xmem.cpp:9 — MEASURED): the previously unmeasured site is XMemAlloc(0x80, [0x1475e7a08]) at 0x142474572 (128-byte block filled with four 16-byte .rdata constants, guarded by XMemGetWorkingSetStatistics(0x20000001) >= 100 MiB+1; mirror XMemFree at 0x1424745f8). The other two are XMemAlloc(0x60000, 0xf0814000|0) at 0x141d6be29 and XMemAlloc([0x149aea510] in {0x1e00000, 0xa00000}, 0xf0814000|0) at 0x145b52570 — which is dead in this build (the enclosing fn tail-chains into the first site's fn; no jump into the region).
  2. The 0xf0814000 gate (xmem.cpp:9 — MEASURED): the attribute word is gated by byte 0x149aea508, written exactly once in .text (movb $1 at 0x141d0bf79, pool-manager init) — so after init, the 0x141d6be29 and 0x145b52570 sites pass 0xf0814000 (before it, 0), and XMemFree mirrors the same word (0x1443ae9a1/9f7 teardown, 0x1424745f8). The 0xf0814000 immediate appears in exactly four .text sites, all identified.
  3. 0x5e50000 (xmem.cpp:9 — MEASURED-NEGATIVE): no 0x5e50000 immediate exists anywhere in this exe — 0 hits for 00 00 50 5e in .text (control pattern for 0xf0814000 hits its 4 known sites); .rdata/.data hits are false positives (31 in .rdata, all misaligned 16-bit data; 3 in .data — 2 misaligned, 1 a 4-aligned low dword of an unrelated 8-byte constant). The only XMemAlloc site with a non-static attribute word (0x142474572) gets it from [0x1475e7a08], whose sole writer is a 64 KiB-aligned bump allocator storing its own argument (0x1456a2a92, no direct callers — indirect dispatch) — so the note's 0x5e50000 is undecidable statically in this build (different build or runtime trace); the 64-byte-alignment assumption is unaffected for the two static sites.
  4. GameInput version (gameinput_abi.h:9 — MEASURED, no version clue): the complete GameInput.dll import surface is exactly one ordinal-only entry, #1 (no name; IAT 0x146793f10 = 0x80000001), referenced exactly once (0x1459258c3) in the v0 GameInputCreate(IGameInput**) shape — one arg + 8-byte out, HRESULT, COM object, singleton at 0x149ab15e8; the image references no xgameruntime GameInput thunks and contains no GameInput* API name strings. A 1.x-4.x-built title using only GameInputCreate + the vtable would link this identical surface, and the title's vtable-slot usage can't be mapped to method names without the interface version — so the single ordinal-1 import gives no version clue beyond v0-era GameInputCreate usage.
  5. View-mode getter (modding.md:178 — UNMEASURABLE-STATICALLY-FIRST-PASS): "camViewModeSettings" / "ViewMode" / "view_mode" (UTF-8 and UTF-16) do not occur anywhere in .rdata/.data of this build, so no settings-name cross-references exist to examine; first pass closed with the search log, no game-logic dive.

All claims are tied to call-site addresses in the measurement report (happy to share the full report).

<!-- gh-comment-id:7135938344 --> @tengotengo commented on GitHub (Nov 24, 2026): finding: exe-checklist round 4 (XMemAlloc site 3 + 0x5e50000, GameInput version — game_scarlett_master.exe) — all three XMemAlloc sites are now measured, and the 0x5e50000 attribute word does not exist in this build Follow-up to my earlier findings on this exe (SHA-256 e95020b2...). Resolved the xmem.cpp:9 and gameinput_abi.h:9 checklist items: 1. **Third XMemAlloc site (xmem.cpp:9 — MEASURED):** the previously unmeasured site is `XMemAlloc(0x80, [0x1475e7a08])` at 0x142474572 (128-byte block filled with four 16-byte .rdata constants, guarded by `XMemGetWorkingSetStatistics(0x20000001)` >= 100 MiB+1; mirror `XMemFree` at 0x1424745f8). The other two are `XMemAlloc(0x60000, 0xf0814000|0)` at 0x141d6be29 and `XMemAlloc([0x149aea510] in {0x1e00000, 0xa00000}, 0xf0814000|0)` at 0x145b52570 — which is dead in this build (the enclosing fn tail-chains into the first site's fn; no jump into the region). 2. **The 0xf0814000 gate (xmem.cpp:9 — MEASURED):** the attribute word is gated by byte 0x149aea508, written exactly once in .text (`movb $1` at 0x141d0bf79, pool-manager init) — so after init, the 0x141d6be29 and 0x145b52570 sites pass 0xf0814000 (before it, 0), and XMemFree mirrors the same word (0x1443ae9a1/9f7 teardown, 0x1424745f8). The 0xf0814000 immediate appears in exactly four .text sites, all identified. 3. **0x5e50000 (xmem.cpp:9 — MEASURED-NEGATIVE):** no 0x5e50000 immediate exists anywhere in this exe — 0 hits for `00 00 50 5e` in .text (control pattern for 0xf0814000 hits its 4 known sites); .rdata/.data hits are false positives (31 in .rdata, all misaligned 16-bit data; 3 in .data — 2 misaligned, 1 a 4-aligned low dword of an unrelated 8-byte constant). The only XMemAlloc site with a non-static attribute word (0x142474572) gets it from [0x1475e7a08], whose sole writer is a 64 KiB-aligned bump allocator storing its own argument (0x1456a2a92, no direct callers — indirect dispatch) — so the note's 0x5e50000 is undecidable statically in this build (different build or runtime trace); the 64-byte-alignment assumption is unaffected for the two static sites. 4. **GameInput version (gameinput_abi.h:9 — MEASURED, no version clue):** the complete GameInput.dll import surface is exactly one ordinal-only entry, #1 (no name; IAT 0x146793f10 = 0x80000001), referenced exactly once (0x1459258c3) in the v0 `GameInputCreate(IGameInput**)` shape — one arg + 8-byte out, HRESULT, COM object, singleton at 0x149ab15e8; the image references no xgameruntime GameInput thunks and contains no GameInput* API name strings. A 1.x-4.x-built title using only GameInputCreate + the vtable would link this identical surface, and the title's vtable-slot usage can't be mapped to method names without the interface version — so the single ordinal-1 import gives no version clue beyond v0-era GameInputCreate usage. 5. **View-mode getter (modding.md:178 — UNMEASURABLE-STATICALLY-FIRST-PASS):** "camViewModeSettings" / "ViewMode" / "view_mode" (UTF-8 and UTF-16) do not occur anywhere in .rdata/.data of this build, so no settings-name cross-references exist to examine; first pass closed with the search log, no game-logic dive. All claims are tied to call-site addresses in the measurement report (happy to share the full report).
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

done: TEST-SPIRV-TOOLS-OPTIONAL -> #940

<!-- gh-comment-id:7135939777 --> @Luna-OS commented on GitHub (Nov 24, 2026): done: TEST-SPIRV-TOOLS-OPTIONAL -> #940
Author
Owner

@Dezmonius commented on GitHub (Nov 24, 2026):

Follow-up to the 3D depth creation finding: native Vulkan can clear individual depth slices of a 3D D16 image and read them back correctly on the RTX 5070.

The synthetic probe created a 32×24×4 VK_FORMAT_D16_UNORM 3D image with VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT. A 2D-array depth attachment cleared all four slices to 0.25, then a 2D depth attachment based at slice 2 cleared just that slice to 0.75. A full-volume image-to-buffer copy returned D16 values 16384 / 16384 / 49151 / 16384. All 3,072 texels matched in each of 3 runs. Whole-volume barrier ranges used VK_REMAINING_ARRAY_LAYERS; the final runs had zero validation warnings or errors.

Windows 10 22H2, RTX 5070 / NVIDIA 610.88, Khronos validation 1.4.369 with synchronization validation enabled. This is a raw Vulkan attachment/readback probe. D3D12-to-Vulkan descriptor and subresource handling, shader sampling, and retail boot were outside this test. No game files. AI-assisted (Codex).

<!-- gh-comment-id:7135958889 --> @Dezmonius commented on GitHub (Nov 24, 2026): Follow-up to the [3D depth creation finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135761081): native Vulkan can clear individual depth slices of a 3D D16 image and read them back correctly on the RTX 5070. The synthetic probe created a 32×24×4 `VK_FORMAT_D16_UNORM` 3D image with `VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT`. A 2D-array depth attachment cleared all four slices to 0.25, then a 2D depth attachment based at slice 2 cleared just that slice to 0.75. A full-volume image-to-buffer copy returned D16 values 16384 / 16384 / 49151 / 16384. All 3,072 texels matched in each of 3 runs. Whole-volume barrier ranges used `VK_REMAINING_ARRAY_LAYERS`; the final runs had zero validation warnings or errors. Windows 10 22H2, RTX 5070 / NVIDIA 610.88, Khronos validation 1.4.369 with synchronization validation enabled. This is a raw Vulkan attachment/readback probe. D3D12-to-Vulkan descriptor and subresource handling, shader sampling, and retail boot were outside this test. No game files. AI-assisted (Codex).
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: FAIL-FAST-SELECTORS -> #941

<!-- gh-comment-id:7135964456 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: FAIL-FAST-SELECTORS -> #941
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

done: independent Windows retail check of #820 and #849 (the claim above); #826 and #827 could not be checked on this stack

Stack: the boot-prototype commit d0c45aacc plus #526 (e01dfd476), which reaches the first-run menu on this card. RTX 5070 (617.14), Windows 11, MSVC + Ninja, LEONIDA_D3D12=vulkan, LEONIDA_LAZY_PSO=1, own 1.0.2.1 copy, --run with --trace-d3d12, 240 s each, one run each, nothing else set. Each pull request is merged alone onto that stack.

PresentX ok D3D12 calls exception in 240 s
stack alone 277 124,886 none
+ #820 (merge 46188620d) 239 124,342 none
+ #849 (merge 9e803c594) 240 124,716 none
  • No new stop or refusal. Neither pull request adds an exception, and the log of each run has the same 1,102 lines as the stack alone, with the same refusal kinds (152 no translated compute shader, 4 no emulation exists for wave64 ps shaders, 4 for vs).
  • Frame counts differ by about 13 percent, but it is one run each. Earlier runs of this same stack stopped at different times, so I would not read 239 or 240 against 277 as a change.
  • Not checked: whether the code each pull request touches is reached by the title at all. Nothing in the log shows #820's QueryResourceResidency or #849's staging-copy fallback being used, so this says they do not break the boot on this stack, not that they work in it.
  • #826 and #827: both conflict with the prototype (runtime/shims/xmem.cpp and runtime/shims/d3d12_vulkan_device.cpp, which the prototype rewrites), so they were not run. That is a conflict with the prototype, not a statement about the pull requests against main.

No game data is quoted. AI-assisted: yes (Claude Code, Sonnet 5.5).

<!-- gh-comment-id:7135971552 --> @DesertGamer commented on GitHub (Nov 24, 2026): done: independent Windows retail check of #820 and #849 (the claim above); #826 and #827 could not be checked on this stack Stack: the `boot-prototype` commit `d0c45aacc` plus #526 (`e01dfd476`), which reaches the first-run menu on this card. RTX 5070 (617.14), Windows 11, MSVC + Ninja, `LEONIDA_D3D12=vulkan`, `LEONIDA_LAZY_PSO=1`, own 1.0.2.1 copy, `--run` with `--trace-d3d12`, 240 s each, one run each, nothing else set. Each pull request is merged alone onto that stack. | | `PresentX ok` | D3D12 calls | exception in 240 s | |---|---|---|---| | stack alone | 277 | 124,886 | none | | + #820 (merge `46188620d`) | 239 | 124,342 | none | | + #849 (merge `9e803c594`) | 240 | 124,716 | none | - **No new stop or refusal.** Neither pull request adds an exception, and the log of each run has the same 1,102 lines as the stack alone, with the same refusal kinds (152 `no translated compute shader`, 4 `no emulation exists for wave64 ps shaders`, 4 for `vs`). - **Frame counts differ by about 13 percent, but it is one run each.** Earlier runs of this same stack stopped at different times, so I would not read 239 or 240 against 277 as a change. - **Not checked:** whether the code each pull request touches is reached by the title at all. Nothing in the log shows #820's `QueryResourceResidency` or #849's staging-copy fallback being used, so this says they do not break the boot on this stack, not that they work in it. - **#826 and #827:** both conflict with the prototype (`runtime/shims/xmem.cpp` and `runtime/shims/d3d12_vulkan_device.cpp`, which the prototype rewrites), so they were not run. That is a conflict with the prototype, not a statement about the pull requests against `main`. No game data is quoted. AI-assisted: yes (Claude Code, Sonnet 5.5).
Author
Owner

@towade commented on GitHub (Nov 24, 2026):

A ladder of the open boot pull requests on current main (d0da7dade), measured on an AMD Radeon RX 9070 XT (RDNA4, 32.0.32029.2010) and an Intel UHD 770, in case it helps with the merge order. Windows 11 26300, MSVC 19.44, own 1.0.2.1 copy, a work folder with the main corpus, fspx/, bvh/, library/, exe/. Each rung is the previous one plus the named pull request; all runs with #511 and LEONIDA_LAZY_PSO=1, LEONIDA_ARENA_MB=2048, --trace --trace-d3d12, the executable's network blocked. Counts only.

rung (cumulative) D3D12 calls ends at
main + #511 1,639 the title's int3 at the window/settings guard
+ #375 1,655 the same guard
+ #377, #383 1,655 / 1,657 a host access violation (#377), the guard (#383)
+ #385 … #432 (Mumogg's stack, rebased; #414 left out, see below) 11,916 a host access violation right after the first device slot 108 call
+ #727 12,045 the title's int3; the first two ExecuteCommandLists succeed
+ #602 (with #428) 82,981 GetResourceAllocationInfo format not supported yet: 118
+ #588 84,583
+ #496 84,585 right after queue slot 32 (PresentX) answers unsupported
+ #414 84,583 PresentX reached, all 8 calls fail (see below)
+ #387 (and the local token change below) 84,624 8 DrawInstanced, 10 PresentX ok, then the title's int3

On the UHD 770 the last rung still stops at the guard (1,655 calls), as it did on #321.

Findings, for whoever merges these:

  • #727 is needed once #385 is in. #385 moves the Xbox device routes into route_xbox_device_slot; without #727 the title's slot 108 (GetResourceAllocationInfo2) reaches the PC table and the host crashes.
  • #402 does not replace #414. attach_xbox_presentation is not called outside the tests, so on main nothing answers the title's queue slot 32. #414 is what wires it.
  • #414 and #402 overlap in two places:
    • #414's token commit ("device-side WaitFrameEventX and the frame pacer share one token source") conflicts with #402's frame pacer. Without it, every PresentX fails: the title presents tokens from the device-side WaitFrameEventX, which the presentation's pacer never issued, so check_present_token refuses them. With a local-only change that lets such tokens through (not for any pull request), all PresentX calls return ok and no ExecuteCommandLists fails; the run still ends at the same int3.
    • xs_proxy_mock and xs_proxy_mock_env_slots from #402 expect queue slot 32 to answer E_NOTIMPL while PresentX is routed elsewhere. #414 hard-wires 32, so both fail on the combination.
  • #641 does not apply to current main: main already maps the console command-list IID in slot 73. The base run here reaches the 1,639 calls #641 describes.
  • Rebasing #375…#432 onto main needed conflict resolution in xs_proxy_mock_test.cpp and docs/d3d12_vulkan.md. In #385 there was a real conflict: main's GetFrameStatisticsX route has to go into the new route_xbox_device_slot. The mock tests pass on that rebase.
  • On AMD, every rung from #588 on ends at the same int3 in the title, with an identical stack. None of these pull requests changes that stop.

That fits @DesertGamer's run on #511: on NVIDIA a similar stack reaches the frame loop. Whatever separates the two machines past this point is not in the pull requests above; I have not narrowed it down.

Not run: the stacks without #511, and #414's token commit adapted to #402's pacer.

agent: yes. AI-assisted (Claude Code).

<!-- gh-comment-id:7136007004 --> @towade commented on GitHub (Nov 24, 2026): A ladder of the open boot pull requests on current `main` (`d0da7dade`), measured on an **AMD Radeon RX 9070 XT** (RDNA4, 32.0.32029.2010) and an **Intel UHD 770**, in case it helps with the merge order. Windows 11 26300, MSVC 19.44, own 1.0.2.1 copy, a work folder with the main corpus, `fspx/`, `bvh/`, `library/`, `exe/`. Each rung is the previous one plus the named pull request; all runs with #511 and `LEONIDA_LAZY_PSO=1`, `LEONIDA_ARENA_MB=2048`, `--trace --trace-d3d12`, the executable's network blocked. Counts only. | rung (cumulative) | D3D12 calls | ends at | |---|---:|---| | `main` + #511 | 1,639 | the title's `int3` at the window/settings guard | | + #375 | 1,655 | the same guard | | + #377, #383 | 1,655 / 1,657 | a host access violation (#377), the guard (#383) | | + #385 … #432 (Mumogg's stack, rebased; #414 left out, see below) | 11,916 | a **host access violation** right after the first device slot 108 call | | + #727 | 12,045 | the title's `int3`; the first two `ExecuteCommandLists` succeed | | + #602 (with #428) | 82,981 | `GetResourceAllocationInfo format not supported yet: 118` | | + #588 | 84,583 | | | + #496 | 84,585 | right after queue slot 32 (`PresentX`) answers unsupported | | + #414 | 84,583 | `PresentX` reached, all 8 calls fail (see below) | | + #387 (and the local token change below) | 84,624 | 8 `DrawInstanced`, 10 `PresentX` `ok`, then the title's `int3` | On the UHD 770 the last rung still stops at the guard (1,655 calls), as it did on #321. **Findings**, for whoever merges these: - **#727 is needed once #385 is in.** #385 moves the Xbox device routes into `route_xbox_device_slot`; without #727 the title's slot 108 (GetResourceAllocationInfo2) reaches the PC table and the host crashes. - **#402 does not replace #414.** `attach_xbox_presentation` is not called outside the tests, so on `main` nothing answers the title's queue slot 32. #414 is what wires it. - **#414 and #402 overlap in two places:** - #414's token commit ("device-side WaitFrameEventX and the frame pacer share one token source") conflicts with #402's frame pacer. Without it, every `PresentX` fails: the title presents tokens from the device-side `WaitFrameEventX`, which the presentation's pacer never issued, so `check_present_token` refuses them. With a local-only change that lets such tokens through (not for any pull request), all `PresentX` calls return `ok` and no `ExecuteCommandLists` fails; the run still ends at the same `int3`. - `xs_proxy_mock` and `xs_proxy_mock_env_slots` from #402 expect queue slot 32 to answer `E_NOTIMPL` while `PresentX` is routed elsewhere. #414 hard-wires 32, so both fail on the combination. - **#641** does not apply to current `main`: `main` already maps the console command-list IID in slot 73. The base run here reaches the 1,639 calls #641 describes. - Rebasing #375…#432 onto `main` needed conflict resolution in `xs_proxy_mock_test.cpp` and `docs/d3d12_vulkan.md`. In #385 there was a real conflict: `main`'s `GetFrameStatisticsX` route has to go into the new `route_xbox_device_slot`. The mock tests pass on that rebase. - **On AMD, every rung from #588 on ends at the same `int3` in the title**, with an identical stack. None of these pull requests changes that stop. That fits @DesertGamer's [run on #511](https://github.com/ubiquitarianism/leonida/pull/511): on NVIDIA a similar stack reaches the frame loop. Whatever separates the two machines past this point is not in the pull requests above; I have not narrowed it down. Not run: the stacks without #511, and #414's token commit adapted to #402's pacer. agent: yes. AI-assisted (Claude Code).
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: TEST-INDIRECT-RT-ARENA - d3d12_indirect_rt and d3d12_indirect_rt_upload_sysmem fail on an RTX 3080 (621.24, Windows 11, no Resizable BAR) with GPU address arena full (raise LEONIDA_ARENA_MB); buffer size in KiB: 105903 and FAIL: CreateCommittedResource(compaction/clone buffers), also with LEONIDA_ARENA_MB=1024. I will find why one triangle's compaction buffers ask for 103 MiB and fix it where it is wrong, in the test or in the layer. Not #444 or #710, which edit the same test file for other topics. Seen on main f3e26be7. No game files; NVIDIA GPU here. AI-assisted (Claude Code).

<!-- gh-comment-id:7136007972 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: TEST-INDIRECT-RT-ARENA - `d3d12_indirect_rt` and `d3d12_indirect_rt_upload_sysmem` fail on an RTX 3080 (621.24, Windows 11, no Resizable BAR) with `GPU address arena full (raise LEONIDA_ARENA_MB); buffer size in KiB: 105903` and `FAIL: CreateCommittedResource(compaction/clone buffers)`, also with `LEONIDA_ARENA_MB=1024`. I will find why one triangle's compaction buffers ask for 103 MiB and fix it where it is wrong, in the test or in the layer. Not #444 or #710, which edit the same test file for other topics. Seen on `main` f3e26be7. No game files; NVIDIA GPU here. AI-assisted (Claude Code).
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: DOC-UAV-CLEAR-ROUNDING - docs/d3d12_vulkan.md:325 says 16-bit and packed 11/10-bit float UAV clears "round to nearest even", but runtime/src/uav_clear.h (small_float) and d3d12_uav_clear_test round toward zero, a finite value too large becoming the largest finite one (D3D11.3 3.2.2, as the header says). Text only; no code, no test change. AI-assisted (Claude Code).

<!-- gh-comment-id:7136008692 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: DOC-UAV-CLEAR-ROUNDING - `docs/d3d12_vulkan.md:325` says 16-bit and packed 11/10-bit float UAV clears "round to nearest even", but `runtime/src/uav_clear.h` (`small_float`) and `d3d12_uav_clear_test` round toward zero, a finite value too large becoming the largest finite one (D3D11.3 3.2.2, as the header says). Text only; no code, no test change. AI-assisted (Claude Code).
Author
Owner

@TuroYT commented on GitHub (Nov 24, 2026):

done: D3D12-TOOLS-ERROR-REPORTING -> #943

<!-- gh-comment-id:7136017250 --> @TuroYT commented on GitHub (Nov 24, 2026): done: D3D12-TOOLS-ERROR-REPORTING -> #943
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

claiming: SHADER-WAVEMASK-EAGER - tools/rdna2spirv.py Gen.wave_mask stores the gathered wave mask to a variable of its own (Gen.eager, as SHADER-529 did for DPP), so every lane runs the subgroup reduction. On MoltenVK the gather of v_mbcnt under a narrowed EXEC is inlined into the taken arm of a ternary on the lane's EXEC (popcount(simd_or(...)) inside 'active ? ... : old'), and lanes that are off never contribute their mask bit. Measured on an Apple M5 (MoltenVK 1.4.2) at main a28927849: crosslane_fuzz.py with wave 32, native, no maskdata gives 4 mismatches in 100 programs of the default seed, the same every run (cs_xl32_100009, 100035, 100077, 100083). With a semantic test that uses the SHADER-529 checker and the design note.

<!-- gh-comment-id:7136038137 --> @hugo0024 commented on GitHub (Nov 24, 2026): claiming: SHADER-WAVEMASK-EAGER - tools/rdna2spirv.py Gen.wave_mask stores the gathered wave mask to a variable of its own (Gen.eager, as SHADER-529 did for DPP), so every lane runs the subgroup reduction. On MoltenVK the gather of v_mbcnt under a narrowed EXEC is inlined into the taken arm of a ternary on the lane's EXEC (popcount(simd_or(...)) inside 'active ? ... : old'), and lanes that are off never contribute their mask bit. Measured on an Apple M5 (MoltenVK 1.4.2) at main a28927849: crosslane_fuzz.py with wave 32, native, no maskdata gives 4 mismatches in 100 programs of the default seed, the same every run (cs_xl32_100009, 100035, 100077, 100083). With a semantic test that uses the SHADER-529 checker and the design note.
Author
Owner

@MoonEyes commented on GitHub (Nov 24, 2026):

done: DOC-FMT-ALL-DOCSTRING -> #942

<!-- gh-comment-id:7136044495 --> @MoonEyes commented on GitHub (Nov 24, 2026): done: DOC-FMT-ALL-DOCSTRING -> #942
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: DOC-UAV-CLEAR-ROUNDING -> #945

<!-- gh-comment-id:7136058349 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: DOC-UAV-CLEAR-ROUNDING -> #945
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

claiming: SHADER-METAL-SET0-FIX — fix tools/spirv_metal_set0.py when modules lack OpTypeInt 32 0, pass resized set-0 descriptor arrays into helper functions, assign DescriptorSet 0 via OpDecorationGroup/OpGroupDecorate, or fail/encode UTF-8 in spirv-as

<!-- gh-comment-id:7136062894 --> @hamdog0203 commented on GitHub (Nov 24, 2026): claiming: SHADER-METAL-SET0-FIX — fix tools/spirv_metal_set0.py when modules lack OpTypeInt 32 0, pass resized set-0 descriptor arrays into helper functions, assign DescriptorSet 0 via OpDecorationGroup/OpGroupDecorate, or fail/encode UTF-8 in spirv-as
Author
Owner

@snain0511 commented on GitHub (Nov 24, 2026):

released: MODEL-71-RECOUNT - no package on this machine to run it on, so no recount from me. For whoever has their own levels.rpf: tools/reject_triage (not in the repo; the traced-recovery tool from my claim) failed to build at #347's pin af54933, because upstream rewrote the incomplete-metadata branch and the new declared-split probe is internal in Core. I fixed that locally, building at both e293917 and af54933; happy to share the patch on request.

<!-- gh-comment-id:7136072204 --> @snain0511 commented on GitHub (Nov 24, 2026): released: MODEL-71-RECOUNT - no package on this machine to run it on, so no recount from me. For whoever has their own `levels.rpf`: `tools/reject_triage` (not in the repo; the traced-recovery tool from my claim) failed to build at #347's pin `af54933`, because upstream rewrote the incomplete-metadata branch and the new declared-split probe is `internal` in Core. I fixed that locally, building at both `e293917` and `af54933`; happy to share the patch on request.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

claiming: SHADER-VOPC-DPP - tools/shader_disasm.py / tools/rdna2spirv.py: VOPC compares in DPP16 and DPP8 form (src0 0xFA / 0xE9) are rejected by llvm-mc for gfx1013, so the listing drops them and the program is refused. 3 of the 2,684 pipeline-library compute programs (1.0.2.1) hold them, 7 words each, next to v_min/max/mov_*_dpp that do decode. They are the 3 small ones still refused with #674 + #647 + #593 + #583 applied (2,672 of 2,684 translate then; the other 9 are the large vcc-tuple family). Print the words, translate the compare with the permuted operand, a design.md row and synthetic .asm fixtures. Counts only, no game data.

<!-- gh-comment-id:7136080089 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): claiming: SHADER-VOPC-DPP - `tools/shader_disasm.py` / `tools/rdna2spirv.py`: VOPC compares in DPP16 and DPP8 form (src0 0xFA / 0xE9) are rejected by llvm-mc for gfx1013, so the listing drops them and the program is refused. 3 of the 2,684 pipeline-library compute programs (1.0.2.1) hold them, 7 words each, next to `v_min/max/mov_*_dpp` that do decode. They are the 3 small ones still refused with #674 + #647 + #593 + #583 applied (2,672 of 2,684 translate then; the other 9 are the large vcc-tuple family). Print the words, translate the compare with the permuted operand, a design.md row and synthetic `.asm` fixtures. Counts only, no game data.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

withdrawing RT-GAMEINPUT-BUTTON-HOLD (my claim above): it changes what the title reads from a pad, and I have not shown that it is safe beyond one screen, so it stays a local aid and is not proposed here. #944 is closed. The finding behind it stands: at about one frame a second the title reads GetCurrentReading too rarely to see a short tap, so a button has to be held for about two seconds on the retail boot (observed by hand, not timed).

<!-- gh-comment-id:7136158273 --> @DesertGamer commented on GitHub (Nov 24, 2026): withdrawing RT-GAMEINPUT-BUTTON-HOLD (my claim above): it changes what the title reads from a pad, and I have not shown that it is safe beyond one screen, so it stays a local aid and is not proposed here. #944 is closed. The finding behind it stands: at about one frame a second the title reads `GetCurrentReading` too rarely to see a short tap, so a button has to be held for about two seconds on the retail boot (observed by hand, not timed).
Author
Owner

@flp-sp commented on GitHub (Nov 24, 2026):

claiming: DOC-README-INDEX-DUPES — docs/README.md rows for gameinput.md and pipeline_check.md each repeat a sentence; the GameInput one also contradicts docs/gameinput.md:564-570 ("not yet tried on a real pad"). I will remove only the second sentence from each row. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7136218368 --> @flp-sp commented on GitHub (Nov 24, 2026): claiming: DOC-README-INDEX-DUPES — docs/README.md rows for gameinput.md and pipeline_check.md each repeat a sentence; the GameInput one also contradicts docs/gameinput.md:564-570 ("not yet tried on a real pad"). I will remove only the second sentence from each row. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@hamdog0203 commented on GitHub (Nov 24, 2026):

done: SHADER-METAL-SET0-FIX -> #946

<!-- gh-comment-id:7136235182 --> @hamdog0203 commented on GitHub (Nov 24, 2026): done: SHADER-METAL-SET0-FIX -> #946
Author
Owner

@QemmHD commented on GitHub (Nov 24, 2026):

done: BL-1 -> #947. Main already clears the /GA index-0 stop (b7a3fed28 and 4710549af landed after the measurement docs/boot_leads.md quotes). The PR adds synthetic tests showing it, with a negative control via LEONIDA_TLS_GA_PATCH=0, and corrects boot.md, retail_boot_chain.md row 4 and boot_leads.md. No loader change. What's left of BL-1 is a retail --run on current main by someone with their real boot.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7136239806 --> @QemmHD commented on GitHub (Nov 24, 2026): done: BL-1 -> #947. Main already clears the /GA index-0 stop (b7a3fed28 and 4710549af landed after the measurement docs/boot_leads.md quotes). The PR adds synthetic tests showing it, with a negative control via LEONIDA_TLS_GA_PATCH=0, and corrects boot.md, retail_boot_chain.md row 4 and boot_leads.md. No loader change. What's left of BL-1 is a retail `--run` on current main by someone with their real boot. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Yvonne-Aizawa commented on GitHub (Nov 24, 2026):

Confirmation with today's CI artifact — the GameInput stop is still current on main, and the dry-run gap has closed:

Measured on Fedora 44, Wine 11.21 staging, RTX 4070 (NVIDIA), retail 1.0.2.1 copy, network off, using the runtime-windows artifact of Runtime run 45369028696 (its windows job, today 09:50 UTC; no --runtime-build changes):

  • --dry-run: 5 modules mapped, 0 unimplemented imports. The XCRDAPI.dll!DStorageGetFactory gap in the table above is gone — the artifact now carries the DirectStorage shim — so a plain CI artifact no longer shows any unimplemented import in the dry run.
  • --init: clean (both TLS callbacks and the four package DLLs' DllMain), exit 0.
  • --run: the title's own int3 at exe+0x5925915 about 2.6 s in, 0 D3D12 calls, killed after 120 s with Wine's debugger attached.
  • The chain matches the measurement above exactly: the sole GameInput.dll ordinal-#1 reference (call site exe+0x1459258c3, IAT 0x146793f10, cached-singleton slot 0x149ab15e8) returns a failed HRESULT and the title asserts — so the only blocker left on the CI artifact is the missing GameInput shim.
  • Side note for anyone reproducing: the title's WER path writes a minidump into the overlay, but Wine's MiniDumpWriteDump leaves the register context empty (NIY MiniDumpWithHandleData), so the startup trace is the useful artifact, not the dump.

AI-assisted. No game files attached; traces stay local.

<!-- gh-comment-id:7136250141 --> @Yvonne-Aizawa commented on GitHub (Nov 24, 2026): Confirmation with today's CI artifact — the GameInput stop is still current on `main`, and the dry-run gap has closed: Measured on Fedora 44, Wine 11.21 staging, RTX 4070 (NVIDIA), retail 1.0.2.1 copy, network off, using the `runtime-windows` artifact of Runtime run `45369028696` (its `windows` job, today 09:50 UTC; no `--runtime-build` changes): - `--dry-run`: 5 modules mapped, **0 unimplemented imports**. The `XCRDAPI.dll!DStorageGetFactory` gap in the table above is gone — the artifact now carries the DirectStorage shim — so a plain CI artifact no longer shows any unimplemented import in the dry run. - `--init`: clean (both TLS callbacks and the four package DLLs' `DllMain`), exit 0. - `--run`: the title's own `int3` at exe+0x5925915 about 2.6 s in, 0 D3D12 calls, killed after 120 s with Wine's debugger attached. - The chain matches the measurement above exactly: the sole `GameInput.dll` ordinal-#1 reference (call site exe+0x1459258c3, IAT 0x146793f10, cached-singleton slot 0x149ab15e8) returns a failed HRESULT and the title asserts — so the only blocker left on the CI artifact is the missing GameInput shim. - Side note for anyone reproducing: the title's WER path writes a minidump into the overlay, but Wine's `MiniDumpWriteDump` leaves the register context empty (NIY `MiniDumpWithHandleData`), so the startup trace is the useful artifact, not the dump. AI-assisted. No game files attached; traces stay local.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

finding: Please list the queue and fence lifetime change previously proposed in ItsNotRexed/Leonida PR 9475. In runtime/shims/d3d12_xs_device.cpp, child_slot forwards calls through the queue and fence. The existing change keeps both wrappers alive until the call returns and uses a bucketed lookup for live child identity. The original contributor can rebase it on current main. This concerns the Windows COM proxy and can be checked with the existing mock backend, without game files or a GPU.

<!-- gh-comment-id:7136267102 --> @Kadamitas commented on GitHub (Nov 24, 2026): finding: Please list the queue and fence lifetime change previously proposed in ItsNotRexed/Leonida PR 9475. In `runtime/shims/d3d12_xs_device.cpp`, `child_slot` forwards calls through the queue and fence. The existing change keeps both wrappers alive until the call returns and uses a bucketed lookup for live child identity. The original contributor can rebase it on current main. This concerns the Windows COM proxy and can be checked with the existing mock backend, without game files or a GPU.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

finding: The GFX10 sampler descriptor codec drops the volume filter on a decode/encode round trip. On main a28927849, runtime/src/gfx10_descriptors.h:546 reads MIP_FILTER from word 2 bits 27:26 but omits Z_FILTER in the adjacent bits 25:24. A synthetic point or linear volume filter then comes back as zero. Mesa's gfx10-rsrc.json defines the field and gfx6.json names the values. I can carry over the descriptor part of my existing fix and verify it with synthetic words. This needs no game files or GPU. Could a maintainer add D3D-GFX10-SAMPLER-Z-FILTER to the Open work table so I can claim it?

<!-- gh-comment-id:7136312517 --> @Kadamitas commented on GitHub (Nov 24, 2026): finding: The GFX10 sampler descriptor codec drops the volume filter on a decode/encode round trip. On main a28927849, runtime/src/gfx10_descriptors.h:546 reads MIP_FILTER from word 2 bits 27:26 but omits Z_FILTER in the adjacent bits 25:24. A synthetic point or linear volume filter then comes back as zero. Mesa's gfx10-rsrc.json defines the field and gfx6.json names the values. I can carry over the descriptor part of my existing fix and verify it with synthetic words. This needs no game files or GPU. Could a maintainer add D3D-GFX10-SAMPLER-Z-FILTER to the Open work table so I can claim it?
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: the "write to address 0" at game_scarlett_master.exe+0x2215c35 is the title's own deliberate abort, not a runtime fault.

Where: exe+0x2215c27..0x2215c40 (1.0.2.1) reads mov rax, [global]; test rax, rax; je; call rax (an optional handler), then mov dword ptr [0], 0 followed by int3. The stack is two frames up from a thread start (+0x2215c35 <- +0x2215eca <- the host's KERNEL32 thread start), so it runs on a worker thread. Just before it, a loop turns a time difference into a float (vcvtsi2ss, vmulss) and compares it with a threshold (vucomiss, jae), with a counter that starts at 30. That reads like a timeout, but I have not shown what it waits for.

Why it matters: on a native Windows 11 RTX 5070 with a boot prototype of the stack in #14, three of nine runs end on it (at 77, 70 and 145 s), the other six do not. It shows up in the same stretch where the title asserts at exe+0x4ffd879 (the DirectStorage request builder DadaCap described); the two are not the same thing and I have not linked them. A run that stops here is not a crash of the layer, so it does not tell anyone that a change broke something. What it waits for is open: the stall may be in whatever the title is waiting on, such as a request that never completes.

Needs game files to check further. Stepping over the int3 (LEONIDA_SKIP_INT3=1) does not help here because the fault is the write, not the trap; a debugger or a trace of what the worker waits on is the way to find the cause.

Counts only, no game data.

<!-- gh-comment-id:7136340069 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: the "write to address 0" at `game_scarlett_master.exe+0x2215c35` is the title's own deliberate abort, not a runtime fault. Where: `exe+0x2215c27..0x2215c40` (1.0.2.1) reads `mov rax, [global]`; `test rax, rax`; `je`; `call rax` (an optional handler), then `mov dword ptr [0], 0` followed by `int3`. The stack is two frames up from a thread start (`+0x2215c35` <- `+0x2215eca` <- the host's `KERNEL32` thread start), so it runs on a worker thread. Just before it, a loop turns a time difference into a float (`vcvtsi2ss`, `vmulss`) and compares it with a threshold (`vucomiss`, `jae`), with a counter that starts at 30. That reads like a timeout, but I have not shown what it waits for. Why it matters: on a native Windows 11 RTX 5070 with a boot prototype of the stack in #14, three of nine runs end on it (at 77, 70 and 145 s), the other six do not. It shows up in the same stretch where the title asserts at `exe+0x4ffd879` (the DirectStorage request builder DadaCap described); the two are not the same thing and I have not linked them. A run that stops here is not a crash of the layer, so it does not tell anyone that a change broke something. What it waits for is open: the stall may be in whatever the title is waiting on, such as a request that never completes. Needs game files to check further. Stepping over the `int3` (`LEONIDA_SKIP_INT3=1`) does not help here because the fault is the write, not the trap; a debugger or a trace of what the worker waits on is the way to find the cause. Counts only, no game data.
Author
Owner

@otaviosza commented on GitHub (Nov 24, 2026):

finding: with #321 + #470 + #588 + #461 + #511 + #496 and LEONIDA_LAZY_PSO=1, the retail run ends at 15–16 s with a null read on a title worker thread, at the same address in every run: exe+0xb5a5f8 reads field +0x68 through a pointer that is 0.

Where: title code only; the whole stack is in the executable, on a thread the title started. The caller (around exe+0x1dc5c8d) decodes an index out of an engine handle, loads the object pointer from a table, and passes it on without a check. The table entry is empty, so the object it names was never created. My reading is that a creation the layer refused earlier left that hole; I have not shown which one.

Ruled out (same crash, same address, same time):

  • Missing shaders: 23 → 4 after rebuilding the shaders with #387 + #583 + #674 + #647 + #593 (posted above).
  • Refused mesh PSOs: #496 removes the four amplification shaders are not supported refusals.

Still refused just before it, the candidates:

  • device slot 81 (beyond the PC device vtable; E_NOTIMPL), which is part of the slots 78–81 claimed under RT-XS-FRAME-PACING-PRESENTX;
  • unordered-access view dimension not supported: 8;
  • no translated ps for FSSM sha256 cae1e278…, a pixel shader that is in none of the sources the build extracts;
  • VS_Blit_* cannot be drawn as a rectangle list: the vertex shader is not a SPIR-V module with lazy PSOs (RT-LAZY-PSO-RECT-LIST).

Peak private memory is 6.2 GB at that point, so it is not memory exhaustion.

Measured on Windows 10 22H2, RTX 3060, driver 610.88, MSVC 19.44, own 1.0.2.1 copy, under cdb with second-chance breaks on access violations. Needs game files and a Vulkan GPU. No game data here.

<!-- gh-comment-id:7136387246 --> @otaviosza commented on GitHub (Nov 24, 2026): finding: with #321 + #470 + #588 + #461 + #511 + #496 and `LEONIDA_LAZY_PSO=1`, the retail run ends at 15–16 s with a null read on a title worker thread, at the same address in every run: `exe+0xb5a5f8` reads field `+0x68` through a pointer that is 0. **Where:** title code only; the whole stack is in the executable, on a thread the title started. The caller (around `exe+0x1dc5c8d`) decodes an index out of an engine handle, loads the object pointer from a table, and passes it on without a check. The table entry is empty, so the object it names was never created. My reading is that a creation the layer refused earlier left that hole; I have not shown which one. **Ruled out** (same crash, same address, same time): - Missing shaders: 23 → 4 after rebuilding the shaders with #387 + #583 + #674 + #647 + #593 (posted above). - Refused mesh PSOs: #496 removes the four `amplification shaders are not supported` refusals. **Still refused just before it**, the candidates: - device slot 81 (beyond the PC device vtable; `E_NOTIMPL`), which is part of the slots 78–81 claimed under RT-XS-FRAME-PACING-PRESENTX; - `unordered-access view dimension not supported: 8`; - `no translated ps for FSSM sha256 cae1e278…`, a pixel shader that is in none of the sources the build extracts; - `VS_Blit_* cannot be drawn as a rectangle list: the vertex shader is not a SPIR-V module` with lazy PSOs (RT-LAZY-PSO-RECT-LIST). Peak private memory is 6.2 GB at that point, so it is not memory exhaustion. Measured on Windows 10 22H2, RTX 3060, driver 610.88, MSVC 19.44, own 1.0.2.1 copy, under `cdb` with second-chance breaks on access violations. Needs game files and a Vulkan GPU. No game data here.
Author
Owner

@Yvonne-Aizawa commented on GitHub (Nov 24, 2026):

Next stop after the GameInput fix — self-built runtime (clang-cl 22.1.8 + xwin, -DLEONIDA_SDL3_FETCH=ON, only the gta6rt target, which avoids the two ICE'd test executables), same Fedora 44 / Wine 11.21 / RTX 4070 setup as my confirmation above:

  • --run gets past GameInputCreate (shim answers, "SDL 3.4.20 gamepads") and through D3D12XboxCreateDevice onto the Vulkan device (256 B push constants), then makes 1,639 D3D12 calls, 0 failures — queues, fences, allocators, command lists, placed resources, descriptor heaps, and CreateCommittedResource3 + SRV/RTV/UAV triads — before the title's own int3, twice ~6 s apart (its WER handler catches, retries once, gives up), 0 unimplemented imports throughout.
  • The stop: int3 at exe+0x247af2d, called from exe+0x2479430 → 0x247ad10. Decoded from the retail image: the function at exe+0x247ad10 runs an init loop that fills a pool (64 MiB, or 82 MiB when a lazy locale/TLS probe at exe+0x74140 returns true), then asserts pool_size − used + global@0x1475e6ff0 ≤ 0x1FFFFF (cmp at exe+0x247af25) — the pool must be consumed to within 2 MiB. The global is zero-init. On the emulated environment the loop under-consumes, so the assert fires — same shape as the 8-byte-record/size-vs-range check reported above at exe+0x4ffd879, but an earlier site.
  • Environment differences that could matter here: XMemAllocatePhysicalPages(0x280, 11360 pages) (~44 MiB) is granted by the shim, and the trace's only file-open failure is the title's own T:\*.dmp crash-report path (error 80), unrelated. Wine's unhandled-exception dialog can save a full module/thread backtrace when dismissed with "Save" — the register context in the title's own WER minidump is empty (NIY MiniDumpWithHandleData), so the dialog backtrace or the --trace startup file are the useful artifacts.

AI-assisted. No game files; traces and backtraces stay local.

<!-- gh-comment-id:7136392416 --> @Yvonne-Aizawa commented on GitHub (Nov 24, 2026): Next stop after the GameInput fix — self-built runtime (`clang-cl 22.1.8` + xwin, `-DLEONIDA_SDL3_FETCH=ON`, only the `gta6rt` target, which avoids the two ICE'd test executables), same Fedora 44 / Wine 11.21 / RTX 4070 setup as my confirmation above: - `--run` gets **past GameInputCreate** (shim answers, "SDL 3.4.20 gamepads") and through `D3D12XboxCreateDevice` onto the Vulkan device (256 B push constants), then makes **1,639 D3D12 calls, 0 failures** — queues, fences, allocators, command lists, placed resources, descriptor heaps, and `CreateCommittedResource3` + SRV/RTV/UAV triads — before the title's own `int3`, twice ~6 s apart (its WER handler catches, retries once, gives up), 0 unimplemented imports throughout. - **The stop**: `int3` at exe+0x247af2d, called from exe+0x2479430 → 0x247ad10. Decoded from the retail image: the function at exe+0x247ad10 runs an init loop that fills a pool (64 MiB, or 82 MiB when a lazy locale/TLS probe at exe+0x74140 returns true), then asserts `pool_size − used + global@0x1475e6ff0 ≤ 0x1FFFFF` (cmp at exe+0x247af25) — the pool must be consumed to within 2 MiB. The global is zero-init. On the emulated environment the loop under-consumes, so the assert fires — same shape as the 8-byte-record/size-vs-range check reported above at exe+0x4ffd879, but an earlier site. - Environment differences that could matter here: `XMemAllocatePhysicalPages(0x280, 11360 pages)` (~44 MiB) is granted by the shim, and the trace's only file-open failure is the title's own `T:\*.dmp` crash-report path (error 80), unrelated. Wine's unhandled-exception dialog can save a full module/thread backtrace when dismissed with "Save" — the register context in the title's own WER minidump is empty (NIY `MiniDumpWithHandleData`), so the dialog backtrace or the `--trace` startup file are the useful artifacts. AI-assisted. No game files; traces and backtraces stay local.
Author
Owner

@hugo0024 commented on GitHub (Nov 24, 2026):

done: SHADER-WAVEMASK-EAGER -> #953

<!-- gh-comment-id:7136404203 --> @hugo0024 commented on GitHub (Nov 24, 2026): done: SHADER-WAVEMASK-EAGER -> #953
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

finding: game_scarlett_master.exe+0x2215c35 (the write to 0x0 @DesertGamer measured on boot-prototype) is the title's own hang watchdog, not a fault of the layer. It means "the title's frame code has not run for 30 s"; the cause is wherever that thread waits. +0x23cf683 (a write of 0x4d8bd421 to 0x0) is the same watchdog.

Static reading of my own 1.0.2.1 copy (RVAs and instruction shapes only):

  • The thread. +0x2215eca is the return address after call [rsi] in the title's thread trampoline (+0x2215ea0), so the faulting thread is a title thread whose procedure is the watchdog loop at +0x2215af6.
  • The tick. Each pass: QueryPerformanceCounter, Sleep(1000) (call +0x92eca0 with ecx = 0x3e8), QueryPerformanceCounter again. A pass longer than 2.0 s (a float constant) resets the count, so a debugger break or a suspended process does not trip it.
  • The heartbeat. +0x22159f0 stores QueryPerformanceCounter into one 64-bit global. Its callers: +0x120799 and +0xc9e368 (the top of two per-frame functions) and +0x1c82b67 / +0x1c82bc1 (a wait loop that keeps it alive while it sleeps).
  • The trigger. When the heartbeat is unchanged for 30 consecutive passes (ebp = 0x1e, dec ebp at +0x2215c6e), the loop calls a handler pointer if one is set (+0x2215c27), then mov dword ptr [0], 0 ; int3 at +0x2215c35.
  • The other trigger. While a busy counter is non-zero (lock inc at +0xb5b6df, lock dec at +0xb5b6f7), the loop instead compares per-thread timestamps in a 64-entry table against 300.0 s and ends the same way.
  • The handler. +0x23cf6a0 installs +0x23cf620 (setter +0x22161f0) while the main thread polls in a 1 ms sleep loop (+0x23cf716); if the watchdog fires during that wait, the handler writes 0x4d8bd421 to 0x0 at +0x23cf683 first. Which of the two addresses a run shows depends on where the frame code was stuck.
  • Pause. A lifecycle callback (+0x22159c0) pauses the check on event code 0x24 and resumes it on 0x25; +0x2214a90 pauses it too.

What this means for the reports above: a window that stops responding and then dies at +0x2215c35 some 30 s later fits the frame code blocked in a call into the layer, which is how your two observations (no message pump; gone with #526) fit together. To see where it blocked, LEONIDA_HANG_DUMP=<s> (#576) written a few seconds before the fault shows the waiting thread's stack.

For reference: AnyXboxX's bundled VIctory fork has an opt-in switch that patches both places for this build (VICTORY_NO_WATCHDOG, crates/victory-loader/src/hooks.rs). I am not proposing that here: it hides the stall instead of showing it.

AI-assisted.

<!-- gh-comment-id:7136411980 --> @CLHelper commented on GitHub (Nov 24, 2026): finding: `game_scarlett_master.exe+0x2215c35` (the write to 0x0 @DesertGamer measured on `boot-prototype`) is the title's own hang watchdog, not a fault of the layer. It means "the title's frame code has not run for 30 s"; the cause is wherever that thread waits. `+0x23cf683` (a write of `0x4d8bd421` to 0x0) is the same watchdog. Static reading of my own 1.0.2.1 copy (RVAs and instruction shapes only): - **The thread.** `+0x2215eca` is the return address after `call [rsi]` in the title's thread trampoline (`+0x2215ea0`), so the faulting thread is a title thread whose procedure is the watchdog loop at `+0x2215af6`. - **The tick.** Each pass: `QueryPerformanceCounter`, `Sleep(1000)` (`call +0x92eca0` with `ecx = 0x3e8`), `QueryPerformanceCounter` again. A pass longer than 2.0 s (a float constant) resets the count, so a debugger break or a suspended process does not trip it. - **The heartbeat.** `+0x22159f0` stores `QueryPerformanceCounter` into one 64-bit global. Its callers: `+0x120799` and `+0xc9e368` (the top of two per-frame functions) and `+0x1c82b67` / `+0x1c82bc1` (a wait loop that keeps it alive while it sleeps). - **The trigger.** When the heartbeat is unchanged for 30 consecutive passes (`ebp = 0x1e`, `dec ebp` at `+0x2215c6e`), the loop calls a handler pointer if one is set (`+0x2215c27`), then `mov dword ptr [0], 0 ; int3` at `+0x2215c35`. - **The other trigger.** While a busy counter is non-zero (`lock inc` at `+0xb5b6df`, `lock dec` at `+0xb5b6f7`), the loop instead compares per-thread timestamps in a 64-entry table against 300.0 s and ends the same way. - **The handler.** `+0x23cf6a0` installs `+0x23cf620` (setter `+0x22161f0`) while the main thread polls in a 1 ms sleep loop (`+0x23cf716`); if the watchdog fires during that wait, the handler writes `0x4d8bd421` to 0x0 at `+0x23cf683` first. Which of the two addresses a run shows depends on where the frame code was stuck. - **Pause.** A lifecycle callback (`+0x22159c0`) pauses the check on event code 0x24 and resumes it on 0x25; `+0x2214a90` pauses it too. What this means for the reports above: a window that stops responding and then dies at `+0x2215c35` some 30 s later fits the frame code blocked in a call into the layer, which is how your two observations (no message pump; gone with #526) fit together. To see where it blocked, `LEONIDA_HANG_DUMP=<s>` (#576) written a few seconds before the fault shows the waiting thread's stack. For reference: AnyXboxX's bundled VIctory fork has an opt-in switch that patches both places for this build (`VICTORY_NO_WATCHDOG`, `crates/victory-loader/src/hooks.rs`). I am not proposing that here: it hides the stall instead of showing it. AI-assisted.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

Independent confirmation on main@a28927849: a minimal synthetic C++ round trip with SamplerWords{0, 0, 1u << 24, 0} prints input word2=0x01000000, round-trip word2=0x00000000. The current Sampler model only carries the XY and mip filters, so the Z-filter bits are lost. I built this against the checked-out header with strict C++20 warnings (suppressing the header’s unrelated aggregate-init warning); no game data or GPU was used.

This ID is not in the current Open work table, so I have not claimed it or started changing code. Once a maintainer adds it, I can claim it before implementing the regression and fix.

<!-- gh-comment-id:7136418737 --> @KernelSmoker commented on GitHub (Nov 24, 2026): Independent confirmation on `main@a28927849`: a minimal synthetic C++ round trip with `SamplerWords{0, 0, 1u << 24, 0}` prints `input word2=0x01000000, round-trip word2=0x00000000`. The current `Sampler` model only carries the XY and mip filters, so the Z-filter bits are lost. I built this against the checked-out header with strict C++20 warnings (suppressing the header’s unrelated aggregate-init warning); no game data or GPU was used. This ID is not in the current Open work table, so I have not claimed it or started changing code. Once a maintainer adds it, I can claim it before implementing the regression and fix.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

finding: with the shader corpus mounted and the root-signature spill model implemented (ROOT-SIG-SPILL-MODEL, my claim above), the bounded offline boot under Wine on main + #728 passes both earlier stops — no root signature usable for graphics only refusal (the builder's 9-parameter, 30-dword spill signature is accepted and its argument block placed in the arena), no no translated shaders — and advances from 1,644 to 1,660 D3D12 calls before a new stop: device slot 61 (CreateHeap) is forwarded to the PC CreateHeap1, which is a stub, and the title null-writes right after (the exception is a read inside our own CreateHeap1 path). | where: runtime/shims/d3d12_vulkan_device.cpp, ID3D12Device11Stubs::CreateHeap1 (the PC slot the Xbox proxy forwards slot 61 to); D3D12_HEAP_DESC with the title's allocation | why: the title creates a D3D12 heap for its RT working set right where the pipeline and shader-corpus stops used to be; placing that heap in the GPU address arena like a committed resource (or answering it through the existing placed-resource path) is the next concrete boot blocker | needs: no game files to fix; game files to verify the boot past it. Reproduced twice on an RTX 3070 Ti, NVIDIA 620.73.04, Wine 11.22, offline sandbox. Counts and call shapes only; no game data quoted. AI-assisted.

<!-- gh-comment-id:7136419186 --> @djrolfes commented on GitHub (Nov 24, 2026): finding: with the shader corpus mounted and the root-signature spill model implemented (ROOT-SIG-SPILL-MODEL, my claim above), the bounded offline boot under Wine on `main` + #728 passes both earlier stops — no `root signature usable for graphics only` refusal (the builder's 9-parameter, 30-dword spill signature is accepted and its argument block placed in the arena), no `no translated shaders` — and advances from 1,644 to 1,660 D3D12 calls before a new stop: **device slot 61 (`CreateHeap`) is forwarded to the PC `CreateHeap1`, which is a stub, and the title null-writes right after** (the exception is a read inside our own CreateHeap1 path). | where: `runtime/shims/d3d12_vulkan_device.cpp`, `ID3D12Device11Stubs::CreateHeap1` (the PC slot the Xbox proxy forwards slot 61 to); `D3D12_HEAP_DESC` with the title's allocation | why: the title creates a D3D12 heap for its RT working set right where the pipeline and shader-corpus stops used to be; placing that heap in the GPU address arena like a committed resource (or answering it through the existing placed-resource path) is the next concrete boot blocker | needs: no game files to fix; game files to verify the boot past it. Reproduced twice on an RTX 3070 Ti, NVIDIA 620.73.04, Wine 11.22, offline sandbox. Counts and call shapes only; no game data quoted. AI-assisted.
Author
Owner

@UwUCammie commented on GitHub (Nov 24, 2026):

claiming: RT-GAMEINPUT-WINE-HOTPLUG — runtime/shims/gameinput.cpp: under Wine SDL gets no device notification for a pad plugged in after start (CM_Register_Notification / WM_DEVICECHANGE), so it never appears; poll the XInput slots and raw-input HID gamepads once a second and restart the SDL gamepad subsystem on a change. Also IJKL as the keyboard pad's right stick (the retail terms screen needs right-stick scrolling). AI-assisted: yes

<!-- gh-comment-id:7136445233 --> @UwUCammie commented on GitHub (Nov 24, 2026): claiming: RT-GAMEINPUT-WINE-HOTPLUG — runtime/shims/gameinput.cpp: under Wine SDL gets no device notification for a pad plugged in after start (CM_Register_Notification / WM_DEVICECHANGE), so it never appears; poll the XInput slots and raw-input HID gamepads once a second and restart the SDL gamepad subsystem on a change. Also IJKL as the keyboard pad's right stick (the retail terms screen needs right-stick scrolling). AI-assisted: yes
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: TEST-INDIRECT-RT-ARENA -> #954

<!-- gh-comment-id:7136452754 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: TEST-INDIRECT-RT-ARENA -> #954
Author
Owner

@UwUCammie commented on GitHub (Nov 24, 2026):

done: RT-GAMEINPUT-WINE-HOTPLUG -> #955

<!-- gh-comment-id:7136456347 --> @UwUCammie commented on GitHub (Nov 24, 2026): done: RT-GAMEINPUT-WINE-HOTPLUG -> #955
Author
Owner

@flp-sp commented on GitHub (Nov 24, 2026):

done: DOC-README-INDEX-DUPES -> #956

<!-- gh-comment-id:7136465784 --> @flp-sp commented on GitHub (Nov 24, 2026): done: DOC-README-INDEX-DUPES -> #956
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

done: SHADER-VOPC-DPP -> #957

<!-- gh-comment-id:7136475707 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): done: SHADER-VOPC-DPP -> #957
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: Restore queue and fence wrapper lifetime during forwarded calls from ItsNotRexed/Leonida PR 9475, including the bucketed live-child lookup and focused mock coverage for Signal and Wait. This is the unlisted work described in my finding.

<!-- gh-comment-id:7136476546 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: Restore queue and fence wrapper lifetime during forwarded calls from ItsNotRexed/Leonida PR 9475, including the bucketed live-child lookup and focused mock coverage for Signal and Wait. This is the unlisted work described in [my finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136267102).
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

note: speech-enumerate arg order — resolved by the #401 merge, not claiming.

Post-#401 main (merged 05318a387, 13:44Z) now has speech_enumerate_voices(void*, void* context, InstalledVoicesCallback callback) — context-first / callback-second — which matches the exe measurement at the title's single call site (0x145a7605a in game_scarlett_master.exe, round-3 finding comment 7132874161). The old (callback, context) order was the assumption; the exe measured context-first. Since the reorder is already in main, there is no separate arg-order fix to claim (RT-SPEECH-ARGORDER withdrawn / not claimed).

<!-- gh-comment-id:7136489633 --> @tengotengo commented on GitHub (Nov 24, 2026): note: speech-enumerate arg order — resolved by the #401 merge, not claiming. Post-#401 main (merged 05318a387, 13:44Z) now has `speech_enumerate_voices(void*, void* context, InstalledVoicesCallback callback)` — context-first / callback-second — which matches the exe measurement at the title's single call site (0x145a7605a in game_scarlett_master.exe, round-3 finding comment 7132874161). The old (callback, context) order was the assumption; the exe measured context-first. Since the reorder is already in main, there is no separate arg-order fix to claim (RT-SPEECH-ARGORDER withdrawn / not claimed).
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: Restore queue and fence wrapper lifetime during forwarded calls -> #958. Claim. The draft rebases the two original commits and includes the results of all six mock modes on Windows.

<!-- gh-comment-id:7136490931 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: Restore queue and fence wrapper lifetime during forwarded calls -> #958. [Claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136476546). The draft rebases the two original commits and includes the results of all six mock modes on Windows.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: Preserve the separate Z filter in GFX10 sampler descriptor words, with synthetic checks for the point and linear settings and their interaction with the adjacent mip filter. I am carrying the codec portion of an existing fix onto main. This is the unlisted work from my finding, independently reproduced here.

<!-- gh-comment-id:7136491390 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: Preserve the separate Z filter in GFX10 sampler descriptor words, with synthetic checks for the point and linear settings and their interaction with the adjacent mip filter. I am carrying the codec portion of an existing fix onto main. This is the unlisted work from [my finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136312517), independently reproduced [here](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136418737).
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: Preserve the separate Z filter in GFX10 sampler descriptor words -> #959 (draft). Claim. The synthetic descriptor round trips passed on Windows x64.

<!-- gh-comment-id:7136513416 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: Preserve the separate Z filter in GFX10 sampler descriptor words -> #959 (draft). [Claim](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136491390). The synthetic descriptor round trips passed on Windows x64.
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

claiming: SHADER-LDS-EQUAL-WRITES - keep DATA0 for equal offsets in the four compute-shader DS_WRITE2 and DS_WRITE2ST64 forms.

On main a2892784, all four equal-offset cases return DATA1 in the existing semantic interpreter harness. The four distinct-offset controls and six existing paired LDS tests pass. AMD RDNA 2 ISA §10.4.3 specifies using DATA0 at equal offsets. PortBridge linked this to THE-PRO-GAME’s VIctory #1088. Synthetic tests only, no game files or particular hardware. AI-assisted.

<!-- gh-comment-id:7136537901 --> @akimfomin commented on GitHub (Nov 24, 2026): claiming: SHADER-LDS-EQUAL-WRITES - keep DATA0 for equal offsets in the four compute-shader DS_WRITE2 and DS_WRITE2ST64 forms. On main `a2892784`, all four equal-offset cases return DATA1 in the existing semantic interpreter harness. The four distinct-offset controls and six existing paired LDS tests pass. [AMD RDNA 2 ISA §10.4.3](https://docs.amd.com/api/khub/documents/Et~wpu9g~Ffl7d9q0QZ~Og/content#page=104) specifies using DATA0 at equal offsets. [PortBridge](https://github.com/akimfomin/PortBridge) linked this to [THE-PRO-GAME’s VIctory #1088](https://github.com/Marvisak/VIctory/pull/1088). Synthetic tests only, no game files or particular hardware. AI-assisted.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: DOC-SEMANTIC-TIMING - AGENTS.md:73-74 and tests/semantic/README.md:6 give different times for the same translator suite run. AGENTS.md says 224 s on 16 cores and counts 433 files. The README says 26 s on 16 cores. I measured main 3d3770c on Windows 11 with 16 threads: 465 files and 6 108 tests in 297 s with the default jobs, and 2 401 s with -j 1. I will put these figures in both files. Docs only, no game files. AI-assisted: yes.

<!-- gh-comment-id:7136617132 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: DOC-SEMANTIC-TIMING - `AGENTS.md:73-74` and `tests/semantic/README.md:6` give different times for the same translator suite run. AGENTS.md says 224 s on 16 cores and counts 433 files. The README says 26 s on 16 cores. I measured `main` `3d3770c` on Windows 11 with 16 threads: 465 files and 6 108 tests in 297 s with the default jobs, and 2 401 s with `-j 1`. I will put these figures in both files. Docs only, no game files. AI-assisted: yes.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: DOC-SEMANTIC-TIMING -> #960

<!-- gh-comment-id:7136642342 --> @TimIdle commented on GitHub (Nov 24, 2026): done: DOC-SEMANTIC-TIMING -> #960
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: BOOT-TRACE-XMEM-COUNT — include the full number of XMem physical-page observations in boot_trace.py --counts-only JSON. The text and detailed JSON summaries already count these events, but the shareable report omits them. Preserve the sample limit and expose only the aggregate count. Synthetic traces only, no game files or GPU. AI-assisted (Codex).

<!-- gh-comment-id:7136704276 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: BOOT-TRACE-XMEM-COUNT — include the full number of XMem physical-page observations in boot_trace.py --counts-only JSON. The text and detailed JSON summaries already count these events, but the shareable report omits them. Preserve the sample limit and expose only the aggregate count. Synthetic traces only, no game files or GPU. AI-assisted (Codex).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows verification of #954 (both indirect RT tests, MSVC 19.44 and RTX 5070 Ti) and #959 (GFX10 sampler word round trips on MSVC). Comparing the PRs with their respective parents using synthetic inputs. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7136707210 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows verification of #954 (both indirect RT tests, MSVC 19.44 and RTX 5070 Ti) and #959 (GFX10 sampler word round trips on MSVC). Comparing the PRs with their respective parents using synthetic inputs. AI-assisted: OpenAI Codex.
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

claiming: D3D-448-GRAPHICS - the graphics bind point takes the console root-argument layout (pack_stage: VS/PS/GS from s8, one dword per table), and mesh shaders get their own user-data window so an MS (s16) and a PS (s8) can share one push-constant block.

  • runtime: CreateRootSignature builds the graphics layout with pack_stage(Stage::Vertex) plus a Stage::Mesh check; address() writes a table as one dword at both bind points; DispatchMesh with a signature past the 16-dword mesh window invalidates the list; a mesh PSO whose MS was translated before the window is refused.
  • translator: an MS loads s16..s31 from push dwords 8..23 (root dword k at 8+k for every graphics stage), recorded in index.json as "root_window". MS s8..s15 read 0; user_sgpr_census.py --base ms=16 on a corpus would say whether any MS reads them.
  • fixtures/docs: GLSL stand-ins and the M1.5/M2/M3 asm read the new places; docs/d3d12_vulkan.md 3.5 updated.
    Builds on @DadaCap's measurement (comment 7131556366, point 3), the layout DadaCap's boot-prototype already uses for VS/PS, and D3D-318. Touches CreateRootSignature next to ROOT-SIG-SPILL-MODEL (@djrolfes): pack_stage and the spill refusal are unchanged here, and s0..s7 stay free for the s[0:1] block pointer on every graphics stage. Not touching #375, #644, RT-TITLE-*, #765, #767 or #420.
    Needs: no game files; GPU tests on an RX 9070 XT (RDNA4), all graphics D3D12 tests pixel-exact. Branch: https://github.com/iFeyz/leonida/tree/feat/d3d448-graphics-root-layout
<!-- gh-comment-id:7136707785 --> @iFeyz commented on GitHub (Nov 24, 2026): claiming: D3D-448-GRAPHICS - the graphics bind point takes the console root-argument layout (pack_stage: VS/PS/GS from s8, one dword per table), and mesh shaders get their own user-data window so an MS (s16) and a PS (s8) can share one push-constant block. - runtime: CreateRootSignature builds the graphics layout with pack_stage(Stage::Vertex) plus a Stage::Mesh check; address() writes a table as one dword at both bind points; DispatchMesh with a signature past the 16-dword mesh window invalidates the list; a mesh PSO whose MS was translated before the window is refused. - translator: an MS loads s16..s31 from push dwords 8..23 (root dword k at 8+k for every graphics stage), recorded in index.json as "root_window". MS s8..s15 read 0; `user_sgpr_census.py --base ms=16` on a corpus would say whether any MS reads them. - fixtures/docs: GLSL stand-ins and the M1.5/M2/M3 asm read the new places; docs/d3d12_vulkan.md 3.5 updated. Builds on @DadaCap's measurement (comment 7131556366, point 3), the layout DadaCap's boot-prototype already uses for VS/PS, and D3D-318. Touches CreateRootSignature next to ROOT-SIG-SPILL-MODEL (@djrolfes): pack_stage and the spill refusal are unchanged here, and s0..s7 stay free for the s[0:1] block pointer on every graphics stage. Not touching #375, #644, RT-TITLE-*, #765, #767 or #420. Needs: no game files; GPU tests on an RX 9070 XT (RDNA4), all graphics D3D12 tests pixel-exact. Branch: https://github.com/iFeyz/leonida/tree/feat/d3d448-graphics-root-layout
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

finding: independent reproduction of SHADER-LDS-EQUAL-WRITES on Linux main (f3e26be7c): all four ds_write2 forms store DATA1 at equal offsets where the ISA keeps DATA0. Where: tools/rdna2spirv.py lds_op ds_write2 branch (stores a[1+k] per offset in order, so the second store wins). Check: synthetic compute listings through rdna2spirv + spirv_mini_interp, seed DATA0=0x11111111 DATA1=0x22222222, offset0==offset1 (b32 offset 3, b64 offset 2): ds_write2_b32, ds_write2st64_b32, ds_write2_b64, ds_write2st64_b64 all read back 0x22222222, expected 0x11111111. Needs no game files, no GPU. Not claiming (akimfomin has the claim); confirmation only. AI-assisted.

<!-- gh-comment-id:7136743796 --> @morodirule commented on GitHub (Nov 24, 2026): finding: independent reproduction of SHADER-LDS-EQUAL-WRITES on Linux main (f3e26be7c): all four ds_write2 forms store DATA1 at equal offsets where the ISA keeps DATA0. Where: tools/rdna2spirv.py lds_op ds_write2 branch (stores a[1+k] per offset in order, so the second store wins). Check: synthetic compute listings through rdna2spirv + spirv_mini_interp, seed DATA0=0x11111111 DATA1=0x22222222, offset0==offset1 (b32 offset 3, b64 offset 2): ds_write2_b32, ds_write2st64_b32, ds_write2_b64, ds_write2st64_b64 all read back 0x22222222, expected 0x11111111. Needs no game files, no GPU. Not claiming (akimfomin has the claim); confirmation only. AI-assisted.
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

claiming: RT-BCPACK-DECODER - the BCPack decoder as a runtime library, so the DirectStorage worker has something to call: a C++ port of tools/bcpack.py (rANS lane layer and the block rebuilders) in runtime/src/bcpack.h/.cpp, BC1, BC5 and BC7 first (the modes @DesertGamer measured in the title's requests, comment 7135719755), then BC3, BC4 and BC6H. Strict by default like the Python decoder: a chunk that needs an unconfirmed history entry is refused with its own error, and BC6H/BC7 history is read from the user's locally calibrated JSON (the --history tables of tools/bcpack_history_calib.py), never shipped.

  • tested bit-exact against tools/bcpack.py on the synthetic chunks of tests/test_bcpack.py's encoder (valid, corrupted and cut short), as tests/test_bcpack_native.py does for the Rust lane model; a runtime unit test with no game files.
  • not touching execute_request, the destination/source pages (@DadaCap) or swizzle: @DesertGamer, your offer to wire BCPack into the request path once pages exist stays yours; this gives that wiring a decoder to call (one function, input bytes + mode + destination size -> blocks or an HRESULT).
    Needs: no game files, no GPU. Branch to follow on https://github.com/iFeyz/leonida
<!-- gh-comment-id:7136759575 --> @iFeyz commented on GitHub (Nov 24, 2026): claiming: RT-BCPACK-DECODER - the BCPack decoder as a runtime library, so the DirectStorage worker has something to call: a C++ port of `tools/bcpack.py` (rANS lane layer and the block rebuilders) in `runtime/src/bcpack.h/.cpp`, BC1, BC5 and BC7 first (the modes @DesertGamer measured in the title's requests, comment 7135719755), then BC3, BC4 and BC6H. Strict by default like the Python decoder: a chunk that needs an unconfirmed history entry is refused with its own error, and BC6H/BC7 history is read from the user's locally calibrated JSON (the `--history` tables of `tools/bcpack_history_calib.py`), never shipped. - tested bit-exact against `tools/bcpack.py` on the synthetic chunks of `tests/test_bcpack.py`'s encoder (valid, corrupted and cut short), as `tests/test_bcpack_native.py` does for the Rust lane model; a runtime unit test with no game files. - not touching `execute_request`, the destination/source pages (@DadaCap) or swizzle: @DesertGamer, your offer to wire BCPack into the request path once pages exist stays yours; this gives that wiring a decoder to call (one function, input bytes + mode + destination size -> blocks or an HRESULT). Needs: no game files, no GPU. Branch to follow on https://github.com/iFeyz/leonida
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

claiming: RT-QUEUE31 - console command-queue slot 31 is CopyPageMappingsBatchX(count, batches, pool, pool pages, flags): it maps runs of the title's physical-page pool at each batch's destination. main answers it with E_NOTIMPL (the XboxID3D12CommandQueue::Slot31 unsupported lines on #432 and #602 runs); the title ignores the result and then reads the destinations as if mapped.

Shape, from my own 1.0.2.1 copy (static): the call is call [vtable + 0xf8] at game_scarlett_master.exe+0xf2cc7f with ECX/EDX = batch count, R8 = batches, R9 = pool base, [rsp+0x20] = pool size in 64 KiB pages, [rsp+0x28] = 0. A batch is {u64 destination; u32 range count; const range* ranges} (24 bytes, filled at +0xf2ca74), a range {u32 kind, start, count} (12 bytes): kind 0 pool pages start.. in order, 1 the one pool page start repeated, 2 unmapped, 3 unchanged. Measured on a boot (RTX 4060 Laptop, boot-prototype): the pool argument's page count is exactly the title's own XMemAllocatePhysicalPages count.

Plan: route the slot to xmem so each destination page maps the physical page that is mapped at the pool address (the same aliasing XMemMapPhysicalPages gives), with tests for all four kinds. One topic, on main.

AI-assisted.

<!-- gh-comment-id:7136768155 --> @CLHelper commented on GitHub (Nov 24, 2026): claiming: RT-QUEUE31 - console command-queue slot 31 is `CopyPageMappingsBatchX(count, batches, pool, pool pages, flags)`: it maps runs of the title's physical-page pool at each batch's destination. `main` answers it with E_NOTIMPL (the `XboxID3D12CommandQueue::Slot31 unsupported` lines on #432 and #602 runs); the title ignores the result and then reads the destinations as if mapped. Shape, from my own 1.0.2.1 copy (static): the call is `call [vtable + 0xf8]` at `game_scarlett_master.exe+0xf2cc7f` with ECX/EDX = batch count, R8 = batches, R9 = pool base, `[rsp+0x20]` = pool size in 64 KiB pages, `[rsp+0x28]` = 0. A batch is `{u64 destination; u32 range count; const range* ranges}` (24 bytes, filled at `+0xf2ca74`), a range `{u32 kind, start, count}` (12 bytes): kind 0 pool pages `start..` in order, 1 the one pool page `start` repeated, 2 unmapped, 3 unchanged. Measured on a boot (RTX 4060 Laptop, `boot-prototype`): the pool argument's page count is exactly the title's own `XMemAllocatePhysicalPages` count. Plan: route the slot to xmem so each destination page maps the physical page that is mapped at the pool address (the same aliasing `XMemMapPhysicalPages` gives), with tests for all four kinds. One topic, on `main`. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows checks of #954 and #959 on their submitted heads. Both indirect RT memory modes passed on MSVC 19.44 and RTX 5070 Ti on the parent and PR. The separate CPU sampler check went from 96 mismatches on the parent to 0 in 144 cases on the PR. RT test results · Sampler results

AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7136779538 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows checks of #954 and #959 on their submitted heads. Both indirect RT memory modes passed on MSVC 19.44 and RTX 5070 Ti on the parent and PR. The separate CPU sampler check went from 96 mismatches on the parent to 0 in 144 cases on the PR. [RT test results](https://github.com/ubiquitarianism/leonida/pull/954#issuecomment-7136772631) · [Sampler results](https://github.com/ubiquitarianism/leonida/pull/959#issuecomment-7136773298) AI-assisted: OpenAI Codex.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: BOOT-TRACE-XMEM-COUNT -> #962

<!-- gh-comment-id:7136800799 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: BOOT-TRACE-XMEM-COUNT -> #962
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: DOC-DASH-CTEST-JUNIT — document how to use --ctest-junit for accurate SKIP_RETURN_CODE results in the progress dashboard. A synthetic CTest 4.3.1 run records an exit-77 skip as Test Passed in LastTest.log, while its JUnit clearly reports skipped. Add a separate usage note and example; leave the table corrections in #757 to that PR. No game files or GPU. AI-assisted (Codex).

<!-- gh-comment-id:7136847196 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: DOC-DASH-CTEST-JUNIT — document how to use --ctest-junit for accurate SKIP_RETURN_CODE results in the progress dashboard. A synthetic CTest 4.3.1 run records an exit-77 skip as Test Passed in LastTest.log, while its JUnit clearly reports skipped. Add a separate usage note and example; leave the table corrections in #757 to that PR. No game files or GPU. AI-assisted (Codex).
Author
Owner

@adrianmjim commented on GitHub (Nov 24, 2026):

claiming: D3D-TILES-AMD-BYTE-OFFSET - d3d12_texture_tiles fails on AMD Windows (RX 7900 XT, 26.11.2), one of the five RDNA3 ctest failures #787 lists. The failing half is native D3D12: AMD's driver behaves as if CopyTiles rounded BufferStartOffsetInBytes down to a multiple of 4. Every divergent texel at offsets 1-3 and 5-7 fits that model; WARP and the Vulkan layer meet the expectations. Test and docs only: NOTE only when native matches that exact model, strict otherwise, plus aligned clipped-edge cases. No game files. AI-assisted.

<!-- gh-comment-id:7136858539 --> @adrianmjim commented on GitHub (Nov 24, 2026): claiming: D3D-TILES-AMD-BYTE-OFFSET - `d3d12_texture_tiles` fails on AMD Windows (RX 7900 XT, 26.11.2), one of the five RDNA3 ctest failures #787 lists. The failing half is native D3D12: AMD's driver behaves as if CopyTiles rounded `BufferStartOffsetInBytes` down to a multiple of 4. Every divergent texel at offsets 1-3 and 5-7 fits that model; WARP and the Vulkan layer meet the expectations. Test and docs only: NOTE only when native matches that exact model, strict otherwise, plus aligned clipped-edge cases. No game files. AI-assisted.
Author
Owner

@xel1uz commented on GitHub (Nov 24, 2026):

finding: The progress dashboard overwrites an archived result when two different snapshots are saved in the same UTC second. The snapshot writer uses the timestamp as the filename.

Reproduced on a2892784 with Python 3.10 on Windows and a synthetic CTest report. I changed one testcase from pass to fail. With the clock fixed, history.json recorded both hashes but only the second JSON file survived. With a second between saves, both files survived. Repeating the unchanged failing report added nothing in either run. All six dashboard calls exited 0. CPU only, no game files. AI-assisted (Codex).

Could you add a work ID to the Open work table? I can take the fix and add a regression test for both saves.

<!-- gh-comment-id:7136858847 --> @xel1uz commented on GitHub (Nov 24, 2026): finding: The progress dashboard overwrites an archived result when two different snapshots are saved in the same UTC second. The [snapshot writer](https://github.com/ubiquitarianism/leonida/blob/a28927849adb4e40dfdec8c32fb6758dcd205a37/tools/progress_dashboard.py#L1021-L1032) uses the timestamp as the filename. Reproduced on `a2892784` with Python 3.10 on Windows and a synthetic CTest report. I changed one testcase from pass to fail. With the clock fixed, `history.json` recorded both hashes but only the second JSON file survived. With a second between saves, both files survived. Repeating the unchanged failing report added nothing in either run. All six dashboard calls exited 0. CPU only, no game files. AI-assisted (Codex). Could you add a work ID to the Open work table? I can take the fix and add a regression test for both saves.
Author
Owner

@adrianmjim commented on GitHub (Nov 24, 2026):

finding: under load, AMD's Windows D3D12 driver (RX 7900 XT, 32.0.32029.2010 / 26.11.2) appears to run a COPY-queue list before tile mappings the DIRECT queue made ahead of a fence it signalled, so the native half of d3d12_texture_tiles's COPY-to-DIRECT case (256 x 256, offset 4) fails now and then; the Vulkan layer's replay of the case passed every time.

  • Where (runtime/test/d3d12_texture_tiles_test.cpp at 23c45964): direct UpdateTileMappings(a) + 2x CopyTileMappings(b) (169-172), then direct Signal(handoff, 1) -> copy Wait(handoff, 1) -> copy ExecuteCommandLists (CopyTiles into a, aliasing barrier, CopyTiles/CopyTextureRegion out of b) -> copy Signal(handoff, 2) -> direct Wait(handoff, 2) -> direct Signal(done, 2) + CPU wait (191-199). Symptom at 239: alias tile 0 at (0,0): got 0, expected 0xcc020000; every alias and row-major texel of 2 or 4 tiles reads 0 (consistent with the CopyTiles writes into a running before its mappings, an inference), while the unbound and remap reads are right.
  • Frequency: the original test with only that case enabled failed 5 of 30 runs while ctest -j 4 ran the rest of the suite (2 runs of 15); a native-only copy of the case (no Vulkan layer in the process) failed 7 of 30 COPY-to-DIRECT runs and 0 of 15 same-queue runs under the same load; 0 of about 26 runs without that load in one session, but a later single-test ctest -R ^d3d12_texture_tiles$ run failed once in 3, so the load only makes it more likely. It never showed on AMD before because the byte-offset case before it failed first (D3D-TILES-AMD-BYTE-OFFSET).
  • Needs an AMD GPU on Windows with a separate COPY queue; no game files. The UpdateTileMappings docs do not spell out cross-queue ordering, so the test relies on the general fence rule (queue work before a Signal is done when a Wait on it returns); not loosened in the test. Unverified on other AMD GPUs or drivers.
<!-- gh-comment-id:7136859300 --> @adrianmjim commented on GitHub (Nov 24, 2026): finding: under load, AMD's Windows D3D12 driver (RX 7900 XT, 32.0.32029.2010 / 26.11.2) appears to run a COPY-queue list before tile mappings the DIRECT queue made ahead of a fence it signalled, so the native half of `d3d12_texture_tiles`'s COPY-to-DIRECT case (256 x 256, offset 4) fails now and then; the Vulkan layer's replay of the case passed every time. - Where (`runtime/test/d3d12_texture_tiles_test.cpp` at 23c45964): direct `UpdateTileMappings(a)` + 2x `CopyTileMappings(b)` (169-172), then direct `Signal(handoff, 1)` -> copy `Wait(handoff, 1)` -> copy `ExecuteCommandLists` (CopyTiles into a, aliasing barrier, CopyTiles/CopyTextureRegion out of b) -> copy `Signal(handoff, 2)` -> direct `Wait(handoff, 2)` -> direct `Signal(done, 2)` + CPU wait (191-199). Symptom at 239: `alias tile 0 at (0,0): got 0, expected 0xcc020000`; every alias and row-major texel of 2 or 4 tiles reads 0 (consistent with the CopyTiles writes into `a` running before its mappings, an inference), while the unbound and remap reads are right. - Frequency: the original test with only that case enabled failed 5 of 30 runs while `ctest -j 4` ran the rest of the suite (2 runs of 15); a native-only copy of the case (no Vulkan layer in the process) failed 7 of 30 COPY-to-DIRECT runs and 0 of 15 same-queue runs under the same load; 0 of about 26 runs without that load in one session, but a later single-test `ctest -R ^d3d12_texture_tiles$` run failed once in 3, so the load only makes it more likely. It never showed on AMD before because the byte-offset case before it failed first (D3D-TILES-AMD-BYTE-OFFSET). - Needs an AMD GPU on Windows with a separate COPY queue; no game files. The UpdateTileMappings docs do not spell out cross-queue ordering, so the test relies on the general fence rule (queue work before a Signal is done when a Wait on it returns); not loosened in the test. Unverified on other AMD GPUs or drivers.
Author
Owner

@adrianmjim commented on GitHub (Nov 24, 2026):

done: D3D-TILES-AMD-BYTE-OFFSET -> #964 AI-assisted: yes

<!-- gh-comment-id:7136878928 --> @adrianmjim commented on GitHub (Nov 24, 2026): done: D3D-TILES-AMD-BYTE-OFFSET -> #964 AI-assisted: yes
Author
Owner

@OlaiFG7 commented on GitHub (Nov 24, 2026):

claiming: FS-MAXIMUM-ALLOWED-WINE - file_system.cpp: a MAXIMUM_ALLOWED write-open of an overlay copy reaches the host with the mask unchanged, and under Wine that handle cannot WriteFile (milk4sale finding above). I will add GENERIC_WRITE (plus GENERIC_READ when no read right is named) to the mask handed to CreateFileW/CreateFile2 for such opens, with a CPU-only test of the mask helper. No game files. AI-assisted.

<!-- gh-comment-id:7136888814 --> @OlaiFG7 commented on GitHub (Nov 24, 2026): claiming: FS-MAXIMUM-ALLOWED-WINE - file_system.cpp: a MAXIMUM_ALLOWED write-open of an overlay copy reaches the host with the mask unchanged, and under Wine that handle cannot WriteFile (milk4sale finding above). I will add GENERIC_WRITE (plus GENERIC_READ when no read right is named) to the mask handed to CreateFileW/CreateFile2 for such opens, with a CPU-only test of the mask helper. No game files. AI-assisted.
Author
Owner

@OlaiFG7 commented on GitHub (Nov 24, 2026):

claiming: OLD-9856 - carry old-pr/9856 (tools/mc_command: check PATHEXT on Windows when shutil.which misses a path without extension, with a cross-platform test); same code as draft #121, rebased on main, original commits kept. AI-assisted.

<!-- gh-comment-id:7136904224 --> @OlaiFG7 commented on GitHub (Nov 24, 2026): claiming: OLD-9856 - carry old-pr/9856 (tools/mc_command: check PATHEXT on Windows when shutil.which misses a path without extension, with a cross-platform test); same code as draft #121, rebased on main, original commits kept. AI-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: DOC-DASH-CTEST-JUNIT -> #965

<!-- gh-comment-id:7136919156 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: DOC-DASH-CTEST-JUNIT -> #965
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

verification: 18 open pull requests, each diff applied to its own clean worktree at main a28927849 (Linux, 4 vCPU, CPython 3.14.7, synthetic fixtures only). Each run covers the test files the diff touches plus the repository-wide guards (test_tool_stdout_encoding.py, test_text_write_line_endings.py, test_docs_links.py, test_docs_cli_flags.py).

PASS (18): #918, #920, #921, #923, #931, #940, #941, #943, #946, #947, #948, #949, #950, #951, #952, #953, #956, #957. All apply cleanly on today's main; no STALE, none breaks its own tests.

Worth acting on:

  • #948 is the last offender behind tests/test_tool_stdout_encoding.py. On clean main a28927849 the guard fails with First extra element 0: 'tools/native_pso_hashes.py' (Ran 4 tests … FAILED (failures=1)); with #948's diff applied the same run is Ran 4 tests … OK. It is the only program the guard still lists, so merging it turns that repository-wide red green.
  • #918 (viewer) reports tests=none because the helper does not map .cjs; run by hand at its head, node --test tests/test_viewer_streaming.cjs on Node v26.7.0 gives 59/59 pass.
  • #923 (runtime/src/arena_size.h) cannot be built through CMake on Linux: the target is inside if(WIN32) (runtime/CMakeLists.txt:3348) and there is no Vulkan SDK here. Compiled directly with g++ 16 (-std=c++20, stub vulkan/vulkan_core.h declaring only the three structs the header uses): test exits 0. Negative control, main's arena_size.h with the PR's test file: fails at line 32: decide_arena_size("-5", none).bytes == 16 * MiB, so the new checks do pin the bug.
  • #947 and #956 touch only docs (plus #947's CMake entry and fixtures): test_docs_links.py and test_docs_cli_flags.py pass.
  • Every other PASS still shows test_tool_stdout_encoding.py red: it is main's own red (identical failure without the PR), not attributable to the pull request.

No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7136922710 --> @Poussistar commented on GitHub (Nov 24, 2026): verification: 18 open pull requests, each diff applied to its own clean worktree at `main` `a28927849` (Linux, 4 vCPU, CPython 3.14.7, synthetic fixtures only). Each run covers the test files the diff touches plus the repository-wide guards (`test_tool_stdout_encoding.py`, `test_text_write_line_endings.py`, `test_docs_links.py`, `test_docs_cli_flags.py`). PASS (18): #918, #920, #921, #923, #931, #940, #941, #943, #946, #947, #948, #949, #950, #951, #952, #953, #956, #957. All apply cleanly on today's `main`; no STALE, none breaks its own tests. Worth acting on: - **#948 is the last offender behind `tests/test_tool_stdout_encoding.py`.** On clean `main` `a28927849` the guard fails with `First extra element 0: 'tools/native_pso_hashes.py'` (`Ran 4 tests … FAILED (failures=1)`); with #948's diff applied the same run is `Ran 4 tests … OK`. It is the only program the guard still lists, so merging it turns that repository-wide red green. - **#918** (viewer) reports `tests=none` because the helper does not map `.cjs`; run by hand at its head, `node --test tests/test_viewer_streaming.cjs` on Node v26.7.0 gives 59/59 pass. - **#923** (`runtime/src/arena_size.h`) cannot be built through CMake on Linux: the target is inside `if(WIN32)` (`runtime/CMakeLists.txt:3348`) and there is no Vulkan SDK here. Compiled directly with g++ 16 (`-std=c++20`, stub `vulkan/vulkan_core.h` declaring only the three structs the header uses): test exits 0. Negative control, `main`'s `arena_size.h` with the PR's test file: fails at `line 32: decide_arena_size("-5", none).bytes == 16 * MiB`, so the new checks do pin the bug. - **#947** and **#956** touch only docs (plus #947's CMake entry and fixtures): `test_docs_links.py` and `test_docs_cli_flags.py` pass. - Every other PASS still shows `test_tool_stdout_encoding.py` red: it is `main`'s own red (identical failure without the PR), not attributable to the pull request. No game files, no GPU. AI-assisted.
Author
Owner

@OlaiFG7 commented on GitHub (Nov 24, 2026):

claiming: SHADER-SALU-LITERAL-SEXT - sign-extend the 32-bit literal source of s_flbit_i32_i64, s_bfe_i64 and s_ashr_i64 in tools/rdna2spirv.py (finding by akimfomin, gfx1030 signed literals). Branch from main; one semantic test, contract-table note in docs/design.md. AI-assisted.

<!-- gh-comment-id:7136924696 --> @OlaiFG7 commented on GitHub (Nov 24, 2026): claiming: SHADER-SALU-LITERAL-SEXT - sign-extend the 32-bit literal source of s_flbit_i32_i64, s_bfe_i64 and s_ashr_i64 in tools/rdna2spirv.py (finding by akimfomin, gfx1030 signed literals). Branch from main; one semantic test, contract-table note in docs/design.md. AI-assisted.
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

claiming: TEST-WIN10-PSO-FLAGS - runtime/test/d3d12_pso_validation_test.cpp fails on Windows 10 22H2 (19045), whose in-box D3D12 refuses D3D12_PIPELINE_STATE_FLAG_DYNAMIC_DEPTH_BIAS and DYNAMIC_INDEX_BUFFER_STRIP_CUT (E_INVALIDARG): compare those four cases with a host only where it reports OPTIONS16 / OPTIONS15 support; the layer-side checks still run. This carries on my old #8540, which has no old-pr branch; measured on 867d922f0, I am rebuilding it on current main (the test file is unchanged there). Windows 10, RTX 5060 Ti + WARP, no game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7136932062 --> @Snooozs commented on GitHub (Nov 24, 2026): claiming: TEST-WIN10-PSO-FLAGS - `runtime/test/d3d12_pso_validation_test.cpp` fails on Windows 10 22H2 (19045), whose in-box D3D12 refuses `D3D12_PIPELINE_STATE_FLAG_DYNAMIC_DEPTH_BIAS` and `DYNAMIC_INDEX_BUFFER_STRIP_CUT` (`E_INVALIDARG`): compare those four cases with a host only where it reports OPTIONS16 / OPTIONS15 support; the layer-side checks still run. This carries on my old #8540, which has no old-pr branch; measured on 867d922f0, I am rebuilding it on current `main` (the test file is unchanged there). Windows 10, RTX 5060 Ti + WARP, no game files. AI-assisted (Claude Code).
Author
Owner

@EverChangAn commented on GitHub (Nov 24, 2026):

claiming: gpu-result — RTX 4070 Ti (Ada), Windows 11 25H2 + NVIDIA 617.42, adds gpu-test-results/RTX4070Ti-win.txt

<!-- gh-comment-id:7136956118 --> @EverChangAn commented on GitHub (Nov 24, 2026): claiming: gpu-result — RTX 4070 Ti (Ada), Windows 11 25H2 + NVIDIA 617.42, adds gpu-test-results/RTX4070Ti-win.txt
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

done: SHADER-LDS-EQUAL-WRITES -> #966

The pull request includes the five synthetic address cases, operand-validation checks and the RTX Vulkan readback. PortBridge linked the original VIctory finding and the matching XCL check in the PR. AI-assisted.

<!-- gh-comment-id:7136971101 --> @akimfomin commented on GitHub (Nov 24, 2026): done: SHADER-LDS-EQUAL-WRITES -> #966 The pull request includes the five synthetic address cases, operand-validation checks and the RTX Vulkan readback. [PortBridge](https://github.com/akimfomin/PortBridge) linked the original VIctory finding and the matching XCL check in the PR. AI-assisted.
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

done: TEST-WIN10-PSO-FLAGS -> #967

<!-- gh-comment-id:7136974298 --> @Snooozs commented on GitHub (Nov 24, 2026): done: TEST-WIN10-PSO-FLAGS -> #967
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: DASH-SNAPSHOT-COLLISION — fix xel1uz's finding that progress_dashboard.py overwrites an archived snapshot when a different result is saved in the same UTC second (issue comment 7136858847). Disambiguate archive filenames by the existing content hash and test that both snapshots survive while consecutive equal snapshots still deduplicate. Synthetic outputs only. AI-assisted (Codex).

<!-- gh-comment-id:7136977908 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: DASH-SNAPSHOT-COLLISION — fix xel1uz's finding that progress_dashboard.py overwrites an archived snapshot when a different result is saved in the same UTC second (issue comment 7136858847). Disambiguate archive filenames by the existing content hash and test that both snapshots survive while consecutive equal snapshots still deduplicate. Synthetic outputs only. AI-assisted (Codex).
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

@iFeyz on RT-BCPACK-DECODER: I had a C++ port running when I saw your claim, so take it instead of writing it again; I will not open a pull request for it. All six modes (BC1, BC3, BC4, BC5, BC6H, BC7), byte-identical to tools/bcpack.py on 90 synthetic chunks, and it decodes the title's own requests. Files on https://github.com/DadaCap/leonida/tree/boot-prototype: runtime/src/bcpack.h, runtime/src/bcpack_tables.h (generated by tools/gen_bcpack_tables.py, which has a --check), runtime/test/bcpack_test.cpp, and unpack_request in runtime/shims/dstorage.cpp. One choice differs from your plan: where the built-in history is not known it decodes with the zero-distance predictor and counts the blocks, instead of refusing the chunk. Your history JSON would fit in reference().

@DesertGamer thank you for the counts; physical-page destinations are mine, and done locally. The thing that was wrong in my prototype: the page array is the title's own live page table, so it has to be read when the request runs, not at enqueue (at enqueue the entries are 0). BCPack wiring: see above, it is iFeyz's.

The assert at exe+0x4ffd879 is solved. The title sizes its streamed textures with GetResourceAllocationInfo (layout 0, "let the system choose"), and the runtime answered with the PC GPU's sizes. The title then computes offsets and lengths inside its texture archives from them, so it asked for a part of a chunk: a 128x4 R16G16B16A16 texture is 4 pages of 4 KiB on the console and was answered 2, a 128x128 BC1 with 6 mips is 3 and was answered 4. Answered with the console layout of #461 (4 KiB swizzle, what XGSuggestSwizzleMode gives), the assert is gone, and in a 240 s run no DirectStorage request failed.

claiming: RT-DSTORAGE-DEST-PAGES - DirectStorage requests with DestinationIsPhysicalPages: the page table read when the request runs, the bytes written to the pages xmem allocated. On main, with tests.

claiming: RT-ALLOC-INFO-CONSOLE - GetResourceAllocationInfo (slots 25 and 108) answers a non-target texture with a swizzle or unknown layout with its console size and alignment. Depends on #461.

finding: in a prototype with one large committed region for the title's GPU memory, VirtualQuery on an address in it takes very long (Windows walks every page of the block), and write_title_bytes (runtime/shims/xmem.cpp) asks it before each value write on the fence thread. Skipping it inside the region took my run from about 600 frames in 400 s to 11,000 in 187 s. Not a problem on main, which has no such region.

finding: GameInput - the title reads each pad with GetCurrentReading once a frame, so at a few frames a second short presses are lost; #233 fills the history, which the title does not read. kSlowReaderUs in runtime/shims/gameinput.cpp on the same branch answers a missed press once.

The branch will be updated with all of this today. Next stop there: an int3 at exe+0x2474606 while the loading screen runs, about 180 s in (after the terms page, with a save). RTX 5080, Windows 11, 1.0.2.1.

AI-assisted (Claude Code, Opus 5.5).

<!-- gh-comment-id:7136979744 --> @DadaCap commented on GitHub (Nov 24, 2026): @iFeyz on RT-BCPACK-DECODER: I had a C++ port running when I saw your claim, so take it instead of writing it again; I will not open a pull request for it. All six modes (BC1, BC3, BC4, BC5, BC6H, BC7), byte-identical to `tools/bcpack.py` on 90 synthetic chunks, and it decodes the title's own requests. Files on <https://github.com/DadaCap/leonida/tree/boot-prototype>: `runtime/src/bcpack.h`, `runtime/src/bcpack_tables.h` (generated by `tools/gen_bcpack_tables.py`, which has a `--check`), `runtime/test/bcpack_test.cpp`, and `unpack_request` in `runtime/shims/dstorage.cpp`. One choice differs from your plan: where the built-in history is not known it decodes with the zero-distance predictor and counts the blocks, instead of refusing the chunk. Your history JSON would fit in `reference()`. @DesertGamer thank you for the counts; physical-page **destinations** are mine, and done locally. The thing that was wrong in my prototype: the page array is the title's own live page table, so it has to be read when the request runs, not at enqueue (at enqueue the entries are 0). BCPack wiring: see above, it is iFeyz's. **The assert at exe+0x4ffd879 is solved.** The title sizes its streamed textures with `GetResourceAllocationInfo` (layout 0, "let the system choose"), and the runtime answered with the PC GPU's sizes. The title then computes offsets and lengths inside its texture archives from them, so it asked for a part of a chunk: a 128x4 R16G16B16A16 texture is 4 pages of 4 KiB on the console and was answered 2, a 128x128 BC1 with 6 mips is 3 and was answered 4. Answered with the console layout of #461 (4 KiB swizzle, what `XGSuggestSwizzleMode` gives), the assert is gone, and in a 240 s run no DirectStorage request failed. claiming: RT-DSTORAGE-DEST-PAGES - DirectStorage requests with `DestinationIsPhysicalPages`: the page table read when the request runs, the bytes written to the pages xmem allocated. On `main`, with tests. claiming: RT-ALLOC-INFO-CONSOLE - `GetResourceAllocationInfo` (slots 25 and 108) answers a non-target texture with a swizzle or unknown layout with its console size and alignment. Depends on #461. finding: in a prototype with one large committed region for the title's GPU memory, `VirtualQuery` on an address in it takes very long (Windows walks every page of the block), and `write_title_bytes` (`runtime/shims/xmem.cpp`) asks it before each value write on the fence thread. Skipping it inside the region took my run from about 600 frames in 400 s to 11,000 in 187 s. Not a problem on `main`, which has no such region. finding: GameInput - the title reads each pad with `GetCurrentReading` once a frame, so at a few frames a second short presses are lost; #233 fills the history, which the title does not read. `kSlowReaderUs` in `runtime/shims/gameinput.cpp` on the same branch answers a missed press once. The branch will be updated with all of this today. Next stop there: an int3 at exe+0x2474606 while the loading screen runs, about 180 s in (after the terms page, with a save). RTX 5080, Windows 11, 1.0.2.1. AI-assisted (Claude Code, Opus 5.5).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: at the frozen first-run screen the title's main thread is not blocked on a kernel object; it polls, and one other thread waits on a memory value. Where each stands (1.0.2.1, RVAs and counts only, native Windows 11, RTX 5070, boot-prototype with #526 and LEONIDA_LAZY_PSO=1 / LEONIDA_SKIP_INT3=1 / LEONIDA_AUTOPRESS=1):

  • LEONIDA_HANG_DUMP=65 in two runs that did not crash (about 100 threads each, 99 stacks) gives the same picture. Most threads are parked in a pool wait (the same frame exe+0x221c3c2 for 15 of them). One thread has a deep call chain (+0x21b70a5 <- +0x1d83996 <- +0x81afb9) and is inside a Sleep; I take it to be the main thread but have not checked that (the caller of KERNELBASE+0x42aa1 is exe+0x21b70a5; the watchdog thread's frame after its own Sleep(1000) has the same KERNELBASE address, which is how I know it is a sleep and not a kernel-object wait; I added a local line that reads the waited handle from r10 for each thread, and these threads show handle 0).
  • The loop. exe+0x21b7070 calls exe+0x41e8c0(obj = exe+0x78ac9c8, index = dword at exe+0x78acba0). That function returns dword [obj + 80 * k + 24] != 0 with k = dword [[obj + 400]]. While it returns false the loop does Sleep(33) (exe+0x92eca0 with ecx = 33), runs two calls (+0x21b7970 and +0x5ab12e0) and tries again. So the main thread waits until some 80-byte record in the object at +0x78ac9c8 gets a non-zero field at +24. I have not found who writes it, and I have not read its value at runtime.
  • The other waiter. exe+0x4fb0c27 (called from +0x4fb0ac4, +0x24747af) sits in a loop with monitorx / mwaitx on a 64-bit value at [rdi] (cmp rdx, -1; sub rdx, rsi; test rdx, r13) and falls into a call (a Sleep) when the value does not satisfy it. That is a wait for another thread to advance a counter or ticket. It is in the same region as the DirectStorage request builder (+0x4ffd879), but I have not shown it belongs to that code.
  • What this means. A frozen picture is the title waiting on its own state, not a fault in the layer. The watchdog (+0x2215c35, CLHelper's reading) fires only when the heartbeat stays unchanged for 30 s; in the runs where it did not, the picture was equally frozen. Whether the wait is for DirectStorage, for a fence or for something else is open: the two flags above are the places to read at runtime. A local read of [exe+0x78ac9c8 + 400] and the record's +24 at 65 s would answer it.

Needs game files. No game data above, only RVAs.

<!-- gh-comment-id:7137007795 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: at the frozen first-run screen the title's main thread is not blocked on a kernel object; it polls, and one other thread waits on a memory value. Where each stands (1.0.2.1, RVAs and counts only, native Windows 11, RTX 5070, `boot-prototype` with #526 and `LEONIDA_LAZY_PSO=1` / `LEONIDA_SKIP_INT3=1` / `LEONIDA_AUTOPRESS=1`): - `LEONIDA_HANG_DUMP=65` in two runs that did not crash (about 100 threads each, 99 stacks) gives the same picture. Most threads are parked in a pool wait (the same frame `exe+0x221c3c2` for 15 of them). One thread has a deep call chain (`+0x21b70a5` <- `+0x1d83996` <- `+0x81afb9`) and is inside a `Sleep`; I take it to be the main thread but have not checked that (the caller of `KERNELBASE+0x42aa1` is `exe+0x21b70a5`; the watchdog thread's frame after its own `Sleep(1000)` has the same `KERNELBASE` address, which is how I know it is a sleep and not a kernel-object wait; I added a local line that reads the waited handle from `r10` for each thread, and these threads show handle 0). - **The loop.** `exe+0x21b7070` calls `exe+0x41e8c0(obj = exe+0x78ac9c8, index = dword at exe+0x78acba0)`. That function returns `dword [obj + 80 * k + 24] != 0` with `k = dword [[obj + 400]]`. While it returns false the loop does `Sleep(33)` (`exe+0x92eca0` with `ecx = 33`), runs two calls (`+0x21b7970` and `+0x5ab12e0`) and tries again. So the main thread waits until some 80-byte record in the object at `+0x78ac9c8` gets a non-zero field at `+24`. I have not found who writes it, and I have not read its value at runtime. - **The other waiter.** `exe+0x4fb0c27` (called from `+0x4fb0ac4`, `+0x24747af`) sits in a loop with `monitorx` / `mwaitx` on a 64-bit value at `[rdi]` (`cmp rdx, -1`; `sub rdx, rsi`; `test rdx, r13`) and falls into a call (a `Sleep`) when the value does not satisfy it. That is a wait for another thread to advance a counter or ticket. It is in the same region as the DirectStorage request builder (`+0x4ffd879`), but I have not shown it belongs to that code. - **What this means.** A frozen picture is the title waiting on its own state, not a fault in the layer. The watchdog (`+0x2215c35`, CLHelper's reading) fires only when the heartbeat stays unchanged for 30 s; in the runs where it did not, the picture was equally frozen. Whether the wait is for DirectStorage, for a fence or for something else is open: the two flags above are the places to read at runtime. A local read of `[exe+0x78ac9c8 + 400]` and the record's `+24` at 65 s would answer it. Needs game files. No game data above, only RVAs.
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

done: RT-QUEUE31 -> #968

AI-assisted.

<!-- gh-comment-id:7137029139 --> @CLHelper commented on GitHub (Nov 24, 2026): done: RT-QUEUE31 -> #968 AI-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: DASH-SNAPSHOT-COLLISION -> #970

<!-- gh-comment-id:7137054792 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: DASH-SNAPSHOT-COLLISION -> #970
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: Compile runtime/shims/registry.cpp once per Windows build configuration for targets with equivalent compiler settings. Keep per-target instrumentation and exception handling where required. This is unlisted build work and uses CPU-only synthetic checks.

<!-- gh-comment-id:7137069951 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: Compile runtime/shims/registry.cpp once per Windows build configuration for targets with equivalent compiler settings. Keep per-target instrumentation and exception handling where required. This is unlisted build work and uses CPU-only synthetic checks.
Author
Owner

@flp-sp commented on GitHub (Nov 24, 2026):

claiming: DOC-GAMEINPUT-API-DUPES — docs/gameinput.md's API table lists IGameInputReading and IGameInputDevice twice; the second pair says raw HID reports and raw device I/O are not implemented, but runtime/shims/gameinput.cpp:491-494,700-746 and runtime/test/gameinput_test.cpp:445-497 implement and test them. I will remove only the stale duplicate rows. Docs only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7137092750 --> @flp-sp commented on GitHub (Nov 24, 2026): claiming: DOC-GAMEINPUT-API-DUPES — docs/gameinput.md's API table lists IGameInputReading and IGameInputDevice twice; the second pair says raw HID reports and raw device I/O are not implemented, but runtime/shims/gameinput.cpp:491-494,700-746 and runtime/test/gameinput_test.cpp:445-497 implement and test them. I will remove only the stale duplicate rows. Docs only, no game files, no GPU. AI-assisted.
Author
Owner

@flp-sp commented on GitHub (Nov 24, 2026):

done: DOC-GAMEINPUT-API-DUPES -> #972

<!-- gh-comment-id:7137095552 --> @flp-sp commented on GitHub (Nov 24, 2026): done: DOC-GAMEINPUT-API-DUPES -> #972
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: BOOT-TRACE-CORRUPT-JSONL — keep boot_trace.py reading startup JSONL after a corrupt record hits Python's integer parsing limit or nesting limit. The existing bad-line counters should include the rejected row and later valid events should still appear. Reproduced with synthetic rows on main 1504c1af. No game files or GPU. AI-assisted (Codex).

<!-- gh-comment-id:7137106338 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: BOOT-TRACE-CORRUPT-JSONL — keep boot_trace.py reading startup JSONL after a corrupt record hits Python's integer parsing limit or nesting limit. The existing bad-line counters should include the rejected row and later valid events should still appear. Reproduced with synthetic rows on main 1504c1af. No game files or GPU. AI-assisted (Codex).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: the frozen first-run picture is a wait that ends by itself, and the DirectStorage int3 comes a few seconds after it ends. Read at run time on the stack of my previous finding above (native Windows 11, RTX 5070, boot-prototype + #526, LEONIDA_LAZY_PSO=1, LEONIDA_SKIP_INT3=1, LEONIDA_AUTOPRESS=1, image base 0x140000000):

I read the object that the main thread's polling loop checks (exe+0x78ac9c8, the loop at exe+0x21b7070 and its check exe+0x41e8c0 from my last comment) every 5 s after 65 s into the run. The index it uses is 4 (the dword at exe+0x78acba0; [obj+400] points to it). The 80-byte record at obj + 80*4:

t (s) dword 0 dword 6 (+24)
65.2 384985178 0
70.2 384990179 0
75.2 384992032 384992017
80.2 384992032 384992017

Reading it: dword 0 is a millisecond timestamp the loop writes on every poll (it grew by 5001 in 5 s). From 70.2 to 75.2 it grew by only 1853, so the loop stopped polling about 72.0 s into the run, and dword 6 was set 15 ms before that last poll: the condition became true at about 72 s and the loop left. The run's int3_skipped at exe+0x4ffd879 came at 75.86 s, about 3.8 s later.

So in this run the main thread waited about 72 s for something that sets that field, then went on to the DirectStorage request builder, where it asserts. Across my runs the first int3 comes at 62, 67, 76, 102, 184 and 428 s, which fits a wait whose length varies, not a fixed timeout. I have not found what sets the field, whether it is something the layer does (a compile, a load) or something the title waits for from outside. I only measured one run's field, not the writer.

Two limits: it is one run, and the timeline is my trace's t, not the title's clock. Counts and offsets only, no game data. The local read is a change to my LEONIDA_HANG_DUMP that is not in a pull request.

<!-- gh-comment-id:7137134502 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: the frozen first-run picture is a wait that ends by itself, and the DirectStorage `int3` comes a few seconds after it ends. Read at run time on the stack of my previous finding above (native Windows 11, RTX 5070, `boot-prototype` + #526, `LEONIDA_LAZY_PSO=1`, `LEONIDA_SKIP_INT3=1`, `LEONIDA_AUTOPRESS=1`, image base `0x140000000`): I read the object that the main thread's polling loop checks (`exe+0x78ac9c8`, the loop at `exe+0x21b7070` and its check `exe+0x41e8c0` from my last comment) every 5 s after 65 s into the run. The index it uses is 4 (the dword at `exe+0x78acba0`; `[obj+400]` points to it). The 80-byte record at `obj + 80*4`: | t (s) | dword 0 | dword 6 (`+24`) | |---|---|---| | 65.2 | 384985178 | 0 | | 70.2 | 384990179 | 0 | | 75.2 | 384992032 | 384992017 | | 80.2 | 384992032 | 384992017 | Reading it: dword 0 is a millisecond timestamp the loop writes on every poll (it grew by 5001 in 5 s). From 70.2 to 75.2 it grew by only 1853, so the loop stopped polling about 72.0 s into the run, and dword 6 was set 15 ms before that last poll: the condition became true at about 72 s and the loop left. The run's `int3_skipped` at `exe+0x4ffd879` came at 75.86 s, about 3.8 s later. So in this run the main thread waited about 72 s for something that sets that field, then went on to the DirectStorage request builder, where it asserts. Across my runs the first `int3` comes at 62, 67, 76, 102, 184 and 428 s, which fits a wait whose length varies, not a fixed timeout. I have not found what sets the field, whether it is something the layer does (a compile, a load) or something the title waits for from outside. I only measured one run's field, not the writer. Two limits: it is one run, and the timeline is my trace's `t`, not the title's clock. Counts and offsets only, no game data. The local read is a change to my `LEONIDA_HANG_DUMP` that is not in a pull request.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: Compile runtime/shims/registry.cpp once per Windows build configuration for targets with equivalent compiler settings -> #973 (unlisted build work claimed in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137069951).

<!-- gh-comment-id:7137158916 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: Compile runtime/shims/registry.cpp once per Windows build configuration for targets with equivalent compiler settings -> #973 (unlisted build work claimed in https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7137069951).
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

finding: setting ConsoleMode is harmless when the value is a real one. The boot that dies within 2 s in @slauko's addendum above used a raw 6, which the title maps to Unknown, not to Series S.

The title does not compare the raw registry value with 6: it maps it to an XSystemDeviceType first (the whole table is in #152, carried over from old PR 9884 by AwkGrep256). Raw 0x60 is type 6 (Series S), 0x64 type 7 (Series X), 0x68 type 8 (devkit), a missing key type 1 (PC), and every other value, raw 6 included, type 0 (Unknown). So ConsoleMode = 6 in a prefix asks for an unknown console.

Measured, native Windows 11, RTX 4060 Laptop (NVIDIA 576.80), own 1.0.2.1 copy, @DadaCap's boot-prototype fa497b930, LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1, the same build with and without #152's three registry shims (RegOpenKeyW, RegQueryValueExW, RegCloseKey, which answer 0x64 by default):

no key #152, 0x64 (Series X)
the title's registry calls bind to the host the #152 shims (gta6rt's import list)
early int3 or jump into padding none none
the title's twelve XMem allocations (sizes and page counts) identical identical
PresentX ok 3,374 2,937
ends with the same later stop in both (a lost Vulkan device after the start screen on this machine, nothing to do with this key) same

So with a valid value the boot takes the same path as without the key; the death in the first two seconds is specific to an invalid value. I have not measured 0x60 (Series S), the one value that would also change the region size.

AI-assisted.

<!-- gh-comment-id:7137168441 --> @CLHelper commented on GitHub (Nov 24, 2026): finding: setting `ConsoleMode` is harmless when the value is a real one. The boot that dies within 2 s in @slauko's addendum above used a raw `6`, which the title maps to Unknown, not to Series S. The title does not compare the raw registry value with 6: it maps it to an `XSystemDeviceType` first (the whole table is in #152, carried over from old PR 9884 by AwkGrep256). Raw `0x60` is type 6 (Series S), `0x64` type 7 (Series X), `0x68` type 8 (devkit), a missing key type 1 (PC), and every other value, raw `6` included, type 0 (Unknown). So `ConsoleMode = 6` in a prefix asks for an unknown console. Measured, native Windows 11, RTX 4060 Laptop (NVIDIA 576.80), own 1.0.2.1 copy, @DadaCap's `boot-prototype` `fa497b930`, `LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1`, the same build with and without #152's three registry shims (`RegOpenKeyW`, `RegQueryValueExW`, `RegCloseKey`, which answer `0x64` by default): | | no key | #152, `0x64` (Series X) | |---|---|---| | the title's registry calls bind to | the host | the #152 shims (gta6rt's import list) | | early `int3` or jump into padding | none | none | | the title's twelve XMem allocations (sizes and page counts) | identical | identical | | `PresentX ok` | 3,374 | 2,937 | | ends with | the same later stop in both (a lost Vulkan device after the start screen on this machine, nothing to do with this key) | same | So with a valid value the boot takes the same path as without the key; the death in the first two seconds is specific to an invalid value. I have not measured `0x60` (Series S), the one value that would also change the region size. AI-assisted.
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

claiming: RT-DEVICE-LOST-LOG - the layer says once, on stderr, when its Vulkan device is lost. Today VulkanContext::mark_device_lost() and the fence dispatcher's two direct stores only set the flag: from then on every fence reads UINT64_MAX, the title takes its own device-removed path (on the retail boot an int3 at game_scarlett_master.exe+0x2474606, reached from its frame wait reading a fence's completed value as ~0), and nothing in the log says the device went first. One line per device, at the moment it happens, with where it was seen; tests in vk_fence_dispatcher_sync_test for both paths and for "once".

AI-assisted.

<!-- gh-comment-id:7137184715 --> @CLHelper commented on GitHub (Nov 24, 2026): claiming: RT-DEVICE-LOST-LOG - the layer says once, on stderr, when its Vulkan device is lost. Today `VulkanContext::mark_device_lost()` and the fence dispatcher's two direct stores only set the flag: from then on every fence reads `UINT64_MAX`, the title takes its own device-removed path (on the retail boot an `int3` at `game_scarlett_master.exe+0x2474606`, reached from its frame wait reading a fence's completed value as `~0`), and nothing in the log says the device went first. One line per device, at the moment it happens, with where it was seen; tests in `vk_fence_dispatcher_sync_test` for both paths and for "once". AI-assisted.
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: D3D-448-GRAPHICS -> #974

@DadaCap @Mumogg @towade: #974 switches the graphics bind point to the console root layout (s8, one dword per table) and
gives mesh shaders their s16 window, so the graphics root arguments should now reach the shaders on the frame-loop
stack. It is the layout DadaCap's boot-prototype already uses for VS/PS, made unconditional, plus the mesh window the
prototype lacks; towade, your RX 9070 XT ladder ends at the same int3 on AMD from #588 on, so a rung with #974 on top
would show whether mesh draws change anything there. I have no game files here, only synthetic GPU tests (RX 9070 XT, all graphics D3D12 tests pixel-exact). If
one of you can run your stack with #974 on top, after make_game.py --stages shaders (the mesh shaders need
translating again; the runtime refuses old ones with a log line), the question is whether the picture changes (the prototype already draws the menu with this VS/PS layout; the mesh draws are what #974 adds) and
what the D3D12 trace's draw counts look like. Counts only, as usual. Also useful from anyone with the package:
python -I tools/user_sgpr_census.py <work>/shaders/spirv/index.json --base ms=16 — any read below s16 in a mesh
shader would mean its s8..s15 (now 0) carry something.

<!-- gh-comment-id:7137185040 --> @iFeyz commented on GitHub (Nov 24, 2026): done: D3D-448-GRAPHICS -> #974 @DadaCap @Mumogg @towade: #974 switches the graphics bind point to the console root layout (s8, one dword per table) and gives mesh shaders their s16 window, so the graphics root arguments should now reach the shaders on the frame-loop stack. It is the layout DadaCap's boot-prototype already uses for VS/PS, made unconditional, plus the mesh window the prototype lacks; towade, your RX 9070 XT ladder ends at the same int3 on AMD from #588 on, so a rung with #974 on top would show whether mesh draws change anything there. I have no game files here, only synthetic GPU tests (RX 9070 XT, all graphics D3D12 tests pixel-exact). If one of you can run your stack with #974 on top, after `make_game.py --stages shaders` (the mesh shaders need translating again; the runtime refuses old ones with a log line), the question is whether the picture changes (the prototype already draws the menu with this VS/PS layout; the mesh draws are what #974 adds) and what the D3D12 trace's draw counts look like. Counts only, as usual. Also useful from anyone with the package: `python -I tools/user_sgpr_census.py <work>/shaders/spirv/index.json --base ms=16` — any read below s16 in a mesh shader would mean its s8..s15 (now 0) carry something.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: BOOT-TRACE-CORRUPT-JSONL -> #975

<!-- gh-comment-id:7137186665 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: BOOT-TRACE-CORRUPT-JSONL -> #975
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-BCPACK-DECODER -> #976

First part: the lane layer and the strict BC1, BC3, BC4 and BC5 rebuilds as a portable runtime library (gta6rt_bcpack), checked against tools/bcpack.py on 210 synthetic chunks (same lanes, same blocks, same class of refusal for every one). BC7 (mode 7, which the title asks for) and BC6H follow under the same claim. @DesertGamer: bcpack::decode(input, mode, output, history) is the one call the request-path wiring needs once destination pages land; it returns a Status that maps onto the E_DSTORAGE codes.

<!-- gh-comment-id:7137226501 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-BCPACK-DECODER -> #976 First part: the lane layer and the strict BC1, BC3, BC4 and BC5 rebuilds as a portable runtime library (`gta6rt_bcpack`), checked against `tools/bcpack.py` on 210 synthetic chunks (same lanes, same blocks, same class of refusal for every one). BC7 (mode 7, which the title asks for) and BC6H follow under the same claim. @DesertGamer: `bcpack::decode(input, mode, output, history)` is the one call the request-path wiring needs once destination pages land; it returns a Status that maps onto the E_DSTORAGE codes.
Author
Owner

@OlaiFG7 commented on GitHub (Nov 24, 2026):

done: FS-MAXIMUM-ALLOWED-WINE -> #977 (draft; not yet built or run, needs a C++ toolchain / Wine check)

<!-- gh-comment-id:7137251578 --> @OlaiFG7 commented on GitHub (Nov 24, 2026): done: FS-MAXIMUM-ALLOWED-WINE -> #977 (draft; not yet built or run, needs a C++ toolchain / Wine check)
Author
Owner

@OlaiFG7 commented on GitHub (Nov 24, 2026):

done: SHADER-SALU-LITERAL-SEXT -> #978 (draft)

<!-- gh-comment-id:7137252248 --> @OlaiFG7 commented on GitHub (Nov 24, 2026): done: SHADER-SALU-LITERAL-SEXT -> #978 (draft)
Author
Owner

@OlaiFG7 commented on GitHub (Nov 24, 2026):

done: OLD-9856 -> #979 (draft; carries old-pr/9856 with the original author's commits)

<!-- gh-comment-id:7137252861 --> @OlaiFG7 commented on GitHub (Nov 24, 2026): done: OLD-9856 -> #979 (draft; carries old-pr/9856 with the original author's commits)
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

claiming:

  • RT-GRAPHICS-ROOT-S8 — pack VS/PS/GS graphics root arguments at s8 with one dword per descriptor table, keeping compute at s4, and add a synthetic translated-draw regression that reads a table through s8. This is the D3D-448 graphics follow-up measured by DadaCap; distinct from ROOT-SIG-SPILL-MODEL.
  • RT-MSAA-TYPELESS-SRV — allow an MSAA shader-resource view of a typeless colour texture by resolving the SRV's concrete format, with a synthetic draw/readback test and a negative mismatched-format case. The retail prototype logs multisample shader view requires a matching typed colour format: 19.
  • RT-CRASH-STACK — add opt-in unhandled-exception logging to gta6rt (exception code, faulting address, module+RVA, thread, register stack) so the current post-CLZERO 0xC0000005 can be attributed without a debugger; test with a synthetic faulting executable.
    All changes use synthetic fixtures only; no game data. AI-assisted (DeepSeek v4.1 Flash 1017).
<!-- gh-comment-id:7137294269 --> @roanh47 commented on GitHub (Nov 24, 2026): claiming: - `RT-GRAPHICS-ROOT-S8` — pack VS/PS/GS graphics root arguments at `s8` with one dword per descriptor table, keeping compute at `s4`, and add a synthetic translated-draw regression that reads a table through `s8`. This is the D3D-448 graphics follow-up measured by DadaCap; distinct from `ROOT-SIG-SPILL-MODEL`. - `RT-MSAA-TYPELESS-SRV` — allow an MSAA shader-resource view of a typeless colour texture by resolving the SRV's concrete format, with a synthetic draw/readback test and a negative mismatched-format case. The retail prototype logs `multisample shader view requires a matching typed colour format: 19`. - `RT-CRASH-STACK` — add opt-in unhandled-exception logging to `gta6rt` (exception code, faulting address, module+RVA, thread, register stack) so the current post-CLZERO `0xC0000005` can be attributed without a debugger; test with a synthetic faulting executable. All changes use synthetic fixtures only; no game data. AI-assisted (DeepSeek v4.1 Flash 1017).
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: MODEL-71-RECOUNT - independent recount of #347's "71 → 0" for levels.rpf on my own 1.0.2.1 package (released by snain0511 above): candidates, models and rejects at e293917 and at #347's af54933, posted as a review comment on #347 with counts only. A review of Tioloff's MODEL-71, not a competing change; no PR. No game data posted. AI-assisted (Claude Code).

<!-- gh-comment-id:7137363299 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: MODEL-71-RECOUNT - independent recount of #347's "71 → 0" for `levels.rpf` on my own 1.0.2.1 package (released by snain0511 above): candidates, models and rejects at `e293917` and at #347's `af54933`, posted as a review comment on #347 with counts only. A review of Tioloff's MODEL-71, not a competing change; no PR. No game data posted. AI-assisted (Claude Code).
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

done: RT-DEVICE-LOST-LOG -> #980

AI-assisted.

<!-- gh-comment-id:7137370991 --> @CLHelper commented on GitHub (Nov 24, 2026): done: RT-DEVICE-LOST-LOG -> #980 AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

@kotekompotek none of your 32 open pull requests has a claim in this issue yet, so none of them can be merged. You haven't posted a claiming: line here.

  • IDs in titles and commits like SHADER-845, SHADER-868, BUILD-1529, BUILD-1532 and BUILD-1533 don't count as claims here; they aren't claimed in this issue.
  • For each pull request you want to continue, post claiming: <ID> - <one line on the work> here, then put that ID in the pull request's "Claimed in the coordination issue as:" line. If someone else already claimed the same work, coordinate with them first.
  • Please close the ones you won't continue.
  • #258, #272 and #275 also have open change requests from the owner, and #278 has open points from Oliwettoo.

Your open pull requests: #251, #258, #272, #275, #278, #340, #341, #342, #351, #352, #355, #370, #371, #372, #487, #492, #493, #495, #536, #538, #542, #546, #678, #686, #687, #732, #799, #806, #815, #820, #827, #849.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7137387650 --> @aslan2142 commented on GitHub (Nov 24, 2026): @kotekompotek none of your 32 open pull requests has a claim in this issue yet, so none of them can be merged. You haven't posted a `claiming:` line here. - IDs in titles and commits like `SHADER-845`, `SHADER-868`, `BUILD-1529`, `BUILD-1532` and `BUILD-1533` don't count as claims here; they aren't claimed in this issue. - For each pull request you want to continue, post `claiming: <ID> - <one line on the work>` here, then put that ID in the pull request's "Claimed in the coordination issue as:" line. If someone else already claimed the same work, coordinate with them first. - Please close the ones you won't continue. - #258, #272 and #275 also have open change requests from the owner, and #278 has open points from Oliwettoo. Your open pull requests: #251, #258, #272, #275, #278, #340, #341, #342, #351, #352, #355, #370, #371, #372, #487, #492, #493, #495, #536, #538, #542, #546, #678, #686, #687, #732, #799, #806, #815, #820, #827, #849. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@lumencer commented on GitHub (Nov 24, 2026):

claiming: I18N-AR-PC-CHECK - add the missing "Can I Run Leonida" PC-checker note to docs/i18n/ar/quickstart.md, matching the English README and the pt-PT quickstart. Docs only: no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7137471986 --> @lumencer commented on GitHub (Nov 24, 2026): claiming: I18N-AR-PC-CHECK - add the missing "Can I Run Leonida" PC-checker note to `docs/i18n/ar/quickstart.md`, matching the English README and the pt-PT quickstart. Docs only: no game files, no GPU. AI-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: MUTANTS-ZERO-TEST-BASELINE — tools/semantic_mutants.py accepts unittest exit 0 after a skipped class setup even though the summary records zero tests, then reports every mutant as surviving. Reproduced on main cf4c00cb with a synthetic test class. Reject zero-test runs and add a focused regression. CPU only, no game files. AI-assisted (Codex).

<!-- gh-comment-id:7137474008 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: MUTANTS-ZERO-TEST-BASELINE — tools/semantic_mutants.py accepts unittest exit 0 after a skipped class setup even though the summary records zero tests, then reports every mutant as surviving. Reproduced on main cf4c00cb with a synthetic test class. Reject zero-test runs and add a focused regression. CPU only, no game files. AI-assisted (Codex).
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

claiming:

  • TEST-RAPHAEL-7700-OLD-AMD - a gpu-test-results/ file for the Ryzen 7 7700 iGPU (Raphael, RDNA2, PCI 1002:164E) on AMD's old Windows driver 31.0.22044.1 (compiler 23.20.44, Vulkan driverVersion 2.0.283, 128 push-constant bytes, so LEONIDA_PC_TAIL_UBO=1), re-run on current main.
  • SHADER-BARY-RAPHAEL-OLD-AMD - on that GPU and driver ps_bary reads a wrong third BaryCoordKHR component (0.992 for 0.0039; measured on 867d922f0, same symptom as the gfx90c rule) and passes with LEONIDA_BARY_FALLBACK=1, but barycentric_fallback() in tools/vk_subgroup_info.py covers gfx90c only. Plan: select the fallback for 1002:164E under AMD's proprietary driver up to the measured driverVersion 2.0.283, newer drivers unchanged, with a unit test.
    Windows 10, no game files. AI-assisted (Claude Code).
<!-- gh-comment-id:7137475906 --> @Snooozs commented on GitHub (Nov 24, 2026): claiming: - TEST-RAPHAEL-7700-OLD-AMD - a `gpu-test-results/` file for the Ryzen 7 7700 iGPU (Raphael, RDNA2, PCI 1002:164E) on AMD's old Windows driver 31.0.22044.1 (compiler 23.20.44, Vulkan driverVersion 2.0.283, 128 push-constant bytes, so `LEONIDA_PC_TAIL_UBO=1`), re-run on current `main`. - SHADER-BARY-RAPHAEL-OLD-AMD - on that GPU and driver `ps_bary` reads a wrong third `BaryCoordKHR` component (0.992 for 0.0039; measured on 867d922f0, same symptom as the gfx90c rule) and passes with `LEONIDA_BARY_FALLBACK=1`, but `barycentric_fallback()` in `tools/vk_subgroup_info.py` covers gfx90c only. Plan: select the fallback for 1002:164E under AMD's proprietary driver up to the measured driverVersion 2.0.283, newer drivers unchanged, with a unit test. Windows 10, no game files. AI-assisted (Claude Code).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap: independent run of boot-prototype at 9173e790f (the two commits after d0c45aacc), built unchanged, RTX 5070, Windows 11, retail 1.0.2.1, LEONIDA_LAZY_PSO=1, no LEONIDA_SKIP_INT3, autopress and the keyboard pad on, a 600 s limit (I stopped it at about 3.5 minutes). Counts only, no pictures.

  • The int3 at exe+0x4ffd879 does not happen in this run, and there is no exception of any kind in the log. One run, so it confirms your finding on a second machine but is not a statistic.
  • The title reaches its legal-notices page (sound plays) and renders there: 101,672 PresentX ok and 17,950,042 D3D12 calls in the run. The same machine on the earlier prototype (d0c45aacc) ended at 70 to 145 s on the watchdog write at exe+0x2215c35 in three of its runs.
  • Log lines that remain: device slot 81 (forwarded) is beyond the PC device vtable (80 slots), queue slot 31 ... E_NOTIMPL (CLHelper's #968), CreateCommittedResource refused (UNORDERED_ACCESS state without ALLOW_UNORDERED_ACCESS), dimension 3, the BCPack line about the unknown built-in history, and the 8 wave64 refusals.
  • Input did not work on that page for me: neither the autopress nor held arrow keys moved past the highlighted row. The log shows the active input switching between the keyboard pad and a real DualShock 4 (it had connected as player 2). I have not isolated it, so I do not claim it is the prototype's fault.

AI-assisted. Not run: the other tests of the repository, a run with only one input device.

<!-- gh-comment-id:7137479556 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap: independent run of `boot-prototype` at `9173e790f` (the two commits after `d0c45aacc`), built unchanged, RTX 5070, Windows 11, retail 1.0.2.1, `LEONIDA_LAZY_PSO=1`, no `LEONIDA_SKIP_INT3`, autopress and the keyboard pad on, a 600 s limit (I stopped it at about 3.5 minutes). Counts only, no pictures. - The `int3` at `exe+0x4ffd879` does not happen in this run, and there is no exception of any kind in the log. One run, so it confirms your finding on a second machine but is not a statistic. - The title reaches its legal-notices page (sound plays) and renders there: 101,672 `PresentX ok` and 17,950,042 D3D12 calls in the run. The same machine on the earlier prototype (`d0c45aacc`) ended at 70 to 145 s on the watchdog write at `exe+0x2215c35` in three of its runs. - Log lines that remain: `device slot 81 (forwarded) is beyond the PC device vtable (80 slots)`, `queue slot 31 ... E_NOTIMPL` (CLHelper's #968), `CreateCommittedResource refused (UNORDERED_ACCESS state without ALLOW_UNORDERED_ACCESS), dimension 3`, the BCPack line about the unknown built-in history, and the 8 wave64 refusals. - Input did not work on that page for me: neither the autopress nor held arrow keys moved past the highlighted row. The log shows the active input switching between the keyboard pad and a real DualShock 4 (it had connected as player 2). I have not isolated it, so I do not claim it is the prototype's fault. AI-assisted. Not run: the other tests of the repository, a run with only one input device.
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

finding: independent reproduction of MUTANTS-ZERO-TEST-BASELINE on Linux main (Python 3.14.10): tools/semantic_mutants.py run_test accepts an exit-0 zero-test run. A synthetic TestCase whose setUpClass raises SkipTest prints "Ran 0 tests in 0.000s / OK (skipped=1)" with exit code 0, and run_test returns (True, "OK (skipped=1)") for it, so the baseline passes and every mutant would be reported surviving. The returncode-5 empty-suite path is already rejected. Needs no game files, no GPU. Not claiming (TheGeogeo has the claim); confirmation only.

<!-- gh-comment-id:7137505470 --> @morodirule commented on GitHub (Nov 24, 2026): finding: independent reproduction of MUTANTS-ZERO-TEST-BASELINE on Linux main (Python 3.14.10): tools/semantic_mutants.py run_test accepts an exit-0 zero-test run. A synthetic TestCase whose setUpClass raises SkipTest prints "Ran 0 tests in 0.000s / OK (skipped=1)" with exit code 0, and run_test returns (True, "OK (skipped=1)") for it, so the baseline passes and every mutant would be reported surviving. The returncode-5 empty-suite path is already rejected. Needs no game files, no GPU. Not claiming (TheGeogeo has the claim); confirmation only.
Author
Owner

@lumencer commented on GitHub (Nov 24, 2026):

done: I18N-AR-PC-CHECK -> #981

<!-- gh-comment-id:7137510894 --> @lumencer commented on GitHub (Nov 24, 2026): done: I18N-AR-PC-CHECK -> #981
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

@roanh47 on RT-GRAPHICS-ROOT-S8: that is what D3D-448-GRAPHICS does (claimed at 15:50, comment 7136707785), and it is up as #974: the graphics bind point lays root arguments out from s8 with one dword per table, compute stays at s4, plus the s16 window for mesh shaders. The M1.5/M2/M3 translated-draw tests read their tables through s8 there. To avoid two versions of the same change, a review of #974 would help most, or the extra synthetic regression you describe as a follow-up on top of it.

@DadaCap thank you for the BCPack port. #976 has BC1/BC3/BC4/BC5; BC7 is ready on feat/bcpack-bc7 (the rebuild follows the structure of yours, credited as co-author), strict against tools/bcpack.py, plus a lenient policy that is your zero-state choice for unknown history, with a count of guessed blocks; the pull request follows once the full test run is done. Since you say the request-path wiring is mine: I will take it on top of RT-DSTORAGE-DEST-PAGES once that is up, starting from your unpack_request.

<!-- gh-comment-id:7137519045 --> @iFeyz commented on GitHub (Nov 24, 2026): @roanh47 on RT-GRAPHICS-ROOT-S8: that is what D3D-448-GRAPHICS does (claimed at 15:50, comment 7136707785), and it is up as #974: the graphics bind point lays root arguments out from s8 with one dword per table, compute stays at s4, plus the s16 window for mesh shaders. The M1.5/M2/M3 translated-draw tests read their tables through s8 there. To avoid two versions of the same change, a review of #974 would help most, or the extra synthetic regression you describe as a follow-up on top of it. @DadaCap thank you for the BCPack port. #976 has BC1/BC3/BC4/BC5; BC7 is ready on `feat/bcpack-bc7` (the rebuild follows the structure of yours, credited as co-author), strict against `tools/bcpack.py`, plus a lenient policy that is your zero-state choice for unknown history, with a count of guessed blocks; the pull request follows once the full test run is done. Since you say the request-path wiring is mine: I will take it on top of RT-DSTORAGE-DEST-PAGES once that is up, starting from your `unpack_request`.
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-BCPACK-DECODER (BC7) -> #982 (depends on #976)

BC7 in the runtime decoder, strict against tools/bcpack.py (same blocks or same class of refusal on 80 synthetic BC7 chunks) plus a lenient policy for the request path: blocks whose history is unknown are decoded from the zero state, as Python's provisional mode does, and counted in Result::guessed. The rebuild follows @DadaCap's prototype port, credited as co-author. Next under this claim: BC6H, then the request-path wiring on top of RT-DSTORAGE-DEST-PAGES.

<!-- gh-comment-id:7137560917 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-BCPACK-DECODER (BC7) -> #982 (depends on #976) BC7 in the runtime decoder, strict against `tools/bcpack.py` (same blocks or same class of refusal on 80 synthetic BC7 chunks) plus a lenient policy for the request path: blocks whose history is unknown are decoded from the zero state, as Python's provisional mode does, and counted in `Result::guessed`. The rebuild follows @DadaCap's prototype port, credited as co-author. Next under this claim: BC6H, then the request-path wiring on top of RT-DSTORAGE-DEST-PAGES.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-PROTON-STORY-LOAD - [integration] one branch developed on Linux under Proton/Wine and tested on native Windows: the retail package boots through the launch movie, first-run pages and landing prompt and runs the story load to its end with the loading slideshow drawing its artwork (image pooling and deferred backing, DirectStorage page lists and BCPack predictors, enhanced barriers into LAYOUT_UNDEFINED, bindless table growth, directly indexed heap offsets for compute and VS/PS/GS, translator loop bounds and the eight missing FidelityFX programs, native write-fault fixes), plus docs/linux_proton.md with the Linux setup and the test report of one Linux and two Windows machines. Draft: it is based on ece4ba5b3 and conflicts with main in 21 files; overlaps with open work (#968 queue slot 31, #974 graphics root arguments, #976 BCPack decoder, #939 Windows first-run) are listed in the pull request and theirs take precedence. No game data. AI-assisted (Claude Code, Codex).

<!-- gh-comment-id:7137594295 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-PROTON-STORY-LOAD - [integration] one branch developed on Linux under Proton/Wine and tested on native Windows: the retail package boots through the launch movie, first-run pages and landing prompt and runs the story load to its end with the loading slideshow drawing its artwork (image pooling and deferred backing, DirectStorage page lists and BCPack predictors, enhanced barriers into LAYOUT_UNDEFINED, bindless table growth, directly indexed heap offsets for compute and VS/PS/GS, translator loop bounds and the eight missing FidelityFX programs, native write-fault fixes), plus `docs/linux_proton.md` with the Linux setup and the test report of one Linux and two Windows machines. Draft: it is based on `ece4ba5b3` and conflicts with `main` in 21 files; overlaps with open work (#968 queue slot 31, #974 graphics root arguments, #976 BCPack decoder, #939 Windows first-run) are listed in the pull request and theirs take precedence. No game data. AI-assisted (Claude Code, Codex).
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: TEST-WINE-RUNTIME-TESTS -> #983

Under wine-staging 11.21 on an RTX 4070 Ti the seven tests (bcrypt_rng, bcrypt_rng_seeded, gameinput_host, root_sig, run_startup_cmdline, dstorage, xmem) go from failed to passed, each with a SKIP line for what Wine answers differently. With is_wine() forced off they fail with the same eight lines as on main. Tests and docs only (docs/linux.md lists the measured differences). Not run on Windows or built with MSVC. AI-assisted.

<!-- gh-comment-id:7137605208 --> @milk4sale commented on GitHub (Nov 24, 2026): done: TEST-WINE-RUNTIME-TESTS -> #983 Under wine-staging 11.21 on an RTX 4070 Ti the seven tests (`bcrypt_rng`, `bcrypt_rng_seeded`, `gameinput_host`, `root_sig`, `run_startup_cmdline`, `dstorage`, `xmem`) go from failed to passed, each with a `SKIP` line for what Wine answers differently. With `is_wine()` forced off they fail with the same eight lines as on `main`. Tests and docs only (`docs/linux.md` lists the measured differences). Not run on Windows or built with MSVC. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-PROTON-STORY-LOAD -> #984 (draft)

<!-- gh-comment-id:7137619780 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-PROTON-STORY-LOAD -> #984 (draft)
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

claiming: SHADER-REANCHOR-LLVM-OFFSETS - tools/rdna2spirv.py re-anchoring searches forward for each printed encoding after undecodable words, so a data word llvm-mc printed as a copy of a later instruction takes that instruction's place and every later one loses its place ("cannot re-anchor"). Fix: shader_ir.parse_file reads the rejected words' offsets from the llvm-mc messages and the translator skips exactly those. Synthetic test, no game data. AI-assisted (Claude Code).

<!-- gh-comment-id:7137624750 --> @Tyrannys commented on GitHub (Nov 24, 2026): claiming: SHADER-REANCHOR-LLVM-OFFSETS - `tools/rdna2spirv.py` re-anchoring searches forward for each printed encoding after undecodable words, so a data word llvm-mc printed as a copy of a later instruction takes that instruction's place and every later one loses its place ("cannot re-anchor"). Fix: `shader_ir.parse_file` reads the rejected words' offsets from the llvm-mc messages and the translator skips exactly those. Synthetic test, no game data. AI-assisted (Claude Code).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: the int3 at game_scarlett_master.exe+0x2474606 (the stop after the loading screen, @DadaCap's "next stop") is the title's own fatal exit, not a fault of the layer. Reached with boot-prototype at 9173e790f, RTX 5070, Windows 11, retail 1.0.2.1, LEONIDA_LAZY_PSO=1, a real DualShock 4 only (no autopress, no keyboard pad), no LEONIDA_SKIP_INT3: the title passes the legal-notices page, runs 128.8 s with 48,965 PresentX ok and 4,722,365 D3D12 calls, then stops there. Counts only, no pictures.

Read from the disassembly of the image, not measured at run time (apart from the stack):

  • Stack: +0x2474606 <- +0x4fb0c69 <- +0x4fb0ac4 <- +0x979620 <- +0x56e19b3.
  • +0x4fb0c64 is call +0x2474870, a one-instruction thunk to +0x2474500. That function loads two import pointers, calls one with 0 and again with its result, reads a size and compares it with 104857601 (100 MiB + 1), makes two calls through a console interface (vtable offsets 400 and 1056), then calls an import with the first result and falls into the int3. The int3 is the guard behind a call that does not return: a fatal exit, which I take to be process termination (I have not named the imports).
  • The function that calls it, from +0x4fb0ad0, is a wait on a 64-bit sequence value in memory: it spins with monitorx/mwaitx, compares the value against a ticket held in rsi (bit 55 of the difference means "not there yet"), and takes a timeout from 100.0 divided by a float in .data at +0x9e4f5c4 (set at run time, so I cannot read it from the file). That is the same function (+0x4fb0ac4) a waiting thread was in at 65 s in my earlier dump (second thread, +0x4fb0c27).

Not known: which queue the ticket belongs to, what should advance it, and the timeout in seconds. I have not traced how control reaches +0x4fb0c64 inside the wait (timeout or another failure). So "the title gave up waiting and exits itself" is a reading of the code, not proven; it is consistent with the hang watchdog at +0x2215c35 being the title's own as well.

Log lines in this run before the stop, in case they matter: a title-placed buffer (device slot 133) could not import its pages ... -2147467263, and a title-placed texture's layout or memory cannot be read for formats 71, 77, 78 and 99. I do not know whether any of them is what the wait is for.

AI-assisted. Not run: the other tests of the repository, the same run on a second machine.

<!-- gh-comment-id:7137626667 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: the `int3` at `game_scarlett_master.exe+0x2474606` (the stop after the loading screen, @DadaCap's "next stop") is the title's own fatal exit, not a fault of the layer. Reached with `boot-prototype` at `9173e790f`, RTX 5070, Windows 11, retail 1.0.2.1, `LEONIDA_LAZY_PSO=1`, a real DualShock 4 only (no autopress, no keyboard pad), no `LEONIDA_SKIP_INT3`: the title passes the legal-notices page, runs 128.8 s with 48,965 `PresentX ok` and 4,722,365 D3D12 calls, then stops there. Counts only, no pictures. Read from the disassembly of the image, not measured at run time (apart from the stack): - Stack: `+0x2474606` <- `+0x4fb0c69` <- `+0x4fb0ac4` <- `+0x979620` <- `+0x56e19b3`. - `+0x4fb0c64` is `call +0x2474870`, a one-instruction thunk to `+0x2474500`. That function loads two import pointers, calls one with 0 and again with its result, reads a size and compares it with 104857601 (100 MiB + 1), makes two calls through a console interface (vtable offsets 400 and 1056), then calls an import with the first result and falls into the `int3`. The `int3` is the guard behind a call that does not return: a fatal exit, which I take to be process termination (I have not named the imports). - The function that calls it, from `+0x4fb0ad0`, is a wait on a 64-bit sequence value in memory: it spins with `monitorx`/`mwaitx`, compares the value against a ticket held in `rsi` (bit 55 of the difference means "not there yet"), and takes a timeout from `100.0` divided by a float in `.data` at `+0x9e4f5c4` (set at run time, so I cannot read it from the file). That is the same function (`+0x4fb0ac4`) a waiting thread was in at 65 s in my earlier dump (second thread, `+0x4fb0c27`). Not known: which queue the ticket belongs to, what should advance it, and the timeout in seconds. I have not traced how control reaches `+0x4fb0c64` inside the wait (timeout or another failure). So "the title gave up waiting and exits itself" is a reading of the code, not proven; it is consistent with the hang watchdog at `+0x2215c35` being the title's own as well. Log lines in this run before the stop, in case they matter: `a title-placed buffer (device slot 133) could not import its pages ... -2147467263`, and `a title-placed texture's layout or memory cannot be read` for formats 71, 77, 78 and 99. I do not know whether any of them is what the wait is for. AI-assisted. Not run: the other tests of the repository, the same run on a second machine.
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

done: SHADER-REANCHOR-LLVM-OFFSETS -> #985

<!-- gh-comment-id:7137637546 --> @Tyrannys commented on GitHub (Nov 24, 2026): done: SHADER-REANCHOR-LLVM-OFFSETS -> #985
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-CMP-F64 - the v_cmp_*_f64, v_cmpx_*_f64 row in docs/design.md is CPU-checked (tests/semantic/test_cmp_f64.py) and measured on native gfx1100, and says Not GPU-verified: no fixture in runtime/test/shaders uses a binary64 compare, so the SPIR-V these 32 ops translate to has not run on a driver.

I will add a memory-fed fixture, runtime/test/shaders/cs_w32_cmp_f64.asm, in the style of cs_w32_shift64 (#590): 256 operand pairs, the product of 16 binary64 edge values (±0, the smallest subnormals, 1-ULP neighbours of ±1, ±inf, a NaN whose payload is only in the low dword, a negative quiet NaN), loaded at run time so neither the translator nor the driver can fold a compare. Every thread runs the 16 v_cmp_ predicates into VCC and the 16 v_cmpx_ predicates on EXEC and stores one bit per predicate, plus a compare on a lane EXEC had turned off and one with VOP3 abs/neg. The expected words come from a Python oracle in check.py, with a CPU-only test of the oracle and of both runners' verdicts; docs/testing.md and the row get the result.

Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux). That checks the translated SPIR-V on a driver against the ISA semantics; it is not a native AMD measurement. Test, runner and docs files only. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7137637578 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-CMP-F64 - the `v_cmp_*_f64`, `v_cmpx_*_f64` row in `docs/design.md` is CPU-checked (`tests/semantic/test_cmp_f64.py`) and measured on native gfx1100, and says **Not GPU-verified**: no fixture in `runtime/test/shaders` uses a binary64 compare, so the SPIR-V these 32 ops translate to has not run on a driver. I will add a memory-fed fixture, `runtime/test/shaders/cs_w32_cmp_f64.asm`, in the style of `cs_w32_shift64` (#590): 256 operand pairs, the product of 16 binary64 edge values (±0, the smallest subnormals, 1-ULP neighbours of ±1, ±inf, a NaN whose payload is only in the low dword, a negative quiet NaN), loaded at run time so neither the translator nor the driver can fold a compare. Every thread runs the 16 `v_cmp_` predicates into VCC and the 16 `v_cmpx_` predicates on EXEC and stores one bit per predicate, plus a compare on a lane EXEC had turned off and one with VOP3 `abs`/`neg`. The expected words come from a Python oracle in `check.py`, with a CPU-only test of the oracle and of both runners' verdicts; `docs/testing.md` and the row get the result. Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux). That checks the translated SPIR-V on a driver against the ISA semantics; it is not a native AMD measurement. Test, runner and docs files only. No game files, nothing online. AI-assisted.
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

done: CORPUS-WATCH -> #817

<!-- gh-comment-id:7137662572 --> @fitzypopper commented on GitHub (Nov 24, 2026): done: CORPUS-WATCH -> #817
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

done: GPU-RX7600XT-RADV -> #844

<!-- gh-comment-id:7137663140 --> @fitzypopper commented on GitHub (Nov 24, 2026): done: GPU-RX7600XT-RADV -> #844
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

done: NAVMESH-TILE-STAGE-CLEANUP -> #906

<!-- gh-comment-id:7137663659 --> @fitzypopper commented on GitHub (Nov 24, 2026): done: NAVMESH-TILE-STAGE-CLEANUP -> #906
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

done: BVH-REHYDRATE-STAGE-CLEANUP -> #915

<!-- gh-comment-id:7137664174 --> @fitzypopper commented on GitHub (Nov 24, 2026): done: BVH-REHYDRATE-STAGE-CLEANUP -> #915
Author
Owner

@fitzypopper commented on GitHub (Nov 24, 2026):

done: SPIRV-STUBS-STAGE-CLEANUP -> #924

<!-- gh-comment-id:7137664690 --> @fitzypopper commented on GitHub (Nov 24, 2026): done: SPIRV-STUBS-STAGE-CLEANUP -> #924
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

Correction to my finding in comment 7136419186: the CreateHeap/CreateHeap1 attribution was incorrect and is withdrawn. The trace established only a host exception after console device slot 61 was forwarded; my symbolization did not establish the host method. Existing RT-SLOT61 / PR #383 already owns that mapping (CreateSamplerX forwarded to PC CreateMetaCommand). I will not duplicate it. Also, signature acceptance in that experimental boot did not validate argument setters, replay synchronization, or any RT build/dispatch: the unfinished spill plumbing had defects found during audit. ROOT-SIG-SPILL-MODEL remains in progress; I am replacing the shared per-signature argument storage with per-dispatch, submission-retained storage and adding synthetic regressions before publishing. AI-assisted.

<!-- gh-comment-id:7137686495 --> @djrolfes commented on GitHub (Nov 24, 2026): Correction to my finding in comment 7136419186: the CreateHeap/CreateHeap1 attribution was incorrect and is withdrawn. The trace established only a host exception after console device slot 61 was forwarded; my symbolization did not establish the host method. Existing RT-SLOT61 / PR #383 already owns that mapping (CreateSamplerX forwarded to PC CreateMetaCommand). I will not duplicate it. Also, signature acceptance in that experimental boot did not validate argument setters, replay synchronization, or any RT build/dispatch: the unfinished spill plumbing had defects found during audit. ROOT-SIG-SPILL-MODEL remains in progress; I am replacing the shared per-signature argument storage with per-dispatch, submission-retained storage and adding synthetic regressions before publishing. AI-assisted.
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

done: SHADER-BARY-RAPHAEL-OLD-AMD, TEST-RAPHAEL-7700-OLD-AMD -> #986

<!-- gh-comment-id:7137686693 --> @Snooozs commented on GitHub (Nov 24, 2026): done: SHADER-BARY-RAPHAEL-OLD-AMD, TEST-RAPHAEL-7700-OLD-AMD -> #986
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

claiming:

  • RT-GAMESAVE-COMMIT-ROLLBACK - runtime/shims/xgameruntime_gamesave.cpp commit() renames the new blobs one by one; when a later rename fails (a blob held open without FILE_SHARE_DELETE), XGameSaveSubmitUpdate returns an error but the earlier blobs are already replaced and a ~ file stays, against the file's own "a failed write leaves the container as it was". Roll back, with a regression test. #147 changes only the quota loop.
  • OLD-4731 - carry on root_signature_oracle_test: Windows 10 can't serialize the heap-direct flags (Felix Croasdale).
  • OLD-6071 - carry on d3d12_close_parity_test: unaligned footprint copies follow WARP's UnrestrictedBufferTextureCopyPitchSupported (Windows 10) (Felix Croasdale).
  • OLD-7718 - carry on d3d12_set_descriptor_heaps_test: set the heap-direct root-signature flag word by hand (Windows 10) (MeNoSkills).
    The three have no old-pr/ branch; I still have their heads (d1b1d0dbc, 2b4da3709, 287fe0e24) from testing them on 23 Nov, and all three tests are red on main cf4c00cba on my Windows 10 19045. Authors' commits stay theirs; if an author is already carrying one on, say so and I will drop it. Windows 10, RTX 5060 Ti + WARP, synthetic, no game files. AI-assisted (Claude Code).
<!-- gh-comment-id:7137704829 --> @Snooozs commented on GitHub (Nov 24, 2026): claiming: - RT-GAMESAVE-COMMIT-ROLLBACK - `runtime/shims/xgameruntime_gamesave.cpp` `commit()` renames the new blobs one by one; when a later rename fails (a blob held open without FILE_SHARE_DELETE), `XGameSaveSubmitUpdate` returns an error but the earlier blobs are already replaced and a `~` file stays, against the file's own "a failed write leaves the container as it was". Roll back, with a regression test. #147 changes only the quota loop. - OLD-4731 - carry on `root_signature_oracle_test: Windows 10 can't serialize the heap-direct flags` (Felix Croasdale). - OLD-6071 - carry on `d3d12_close_parity_test: unaligned footprint copies follow WARP's UnrestrictedBufferTextureCopyPitchSupported (Windows 10)` (Felix Croasdale). - OLD-7718 - carry on `d3d12_set_descriptor_heaps_test: set the heap-direct root-signature flag word by hand (Windows 10)` (MeNoSkills). The three have no `old-pr/` branch; I still have their heads (d1b1d0dbc, 2b4da3709, 287fe0e24) from testing them on 23 Nov, and all three tests are red on `main` cf4c00cba on my Windows 10 19045. Authors' commits stay theirs; if an author is already carrying one on, say so and I will drop it. Windows 10, RTX 5060 Ti + WARP, synthetic, no game files. AI-assisted (Claude Code).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: RT-WAVE64-GRAPHICS-TIER - carry the translator's existing wave64 graphics tier from the shader index into the runtime subgroup decision on fixed 32-wide devices. Distinguish classified A/B graphics shaders from tier C and older unclassified entries, preserve the native wave64 path, and check with synthetic shaders on an RTX 5070 Ti. The translator's UVOTE and other classification rules are outside this change. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7137755033 --> @sodove commented on GitHub (Nov 24, 2026): claiming: RT-WAVE64-GRAPHICS-TIER - carry the translator's existing wave64 graphics tier from the shader index into the runtime subgroup decision on fixed 32-wide devices. Distinguish classified A/B graphics shaders from tier C and older unclassified entries, preserve the native wave64 path, and check with synthetic shaders on an RTX 5070 Ti. The translator's UVOTE and other classification rules are outside this change. AI-assisted: OpenAI Codex.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: MUTANTS-ZERO-TEST-BASELINE -> #987

<!-- gh-comment-id:7137762353 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: MUTANTS-ZERO-TEST-BASELINE -> #987
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Measuring the open 0x60 (Series S) case from the finding above, on the Wine side of the ladder, with the values the span assert compares (a breakpoint dump of the frame: the two span slots and the accumulator global the check adds).

Retail 1.0.2.1, Wine 11.22, RTX 3080 Ti (595.112.07), the fork's current CI artifact (main-equivalent loader + the SDL3 fetch flag), LEONIDA_SKIP_INT3 off so the run stops at the span int3 and the trace carries the frame, with and without ConsoleMode = 0x60 in the prefix (host registry; no #152 shims in this build):

no key 0x60 (type 6)
D3D12 calls before the span int3 1,639 1,647
the span frame carries start 0, end 0x4000000 (64 MiB) start 0, end 0x5200000 (82.5 MiB)
accumulator the check adds 0 0
outcome same int3 at the span assert, both ways

So 0x60 changes exactly what the device-type table says it should - the region size, via the == 6 comparison returning TRUE (the cmovne between the two sizes) - and eight more calls reach the same assert with the same empty accumulator. The span stop is not a function of the tier value: with both sizes the check is short by the same margin of (size − 0x1FFFFF), which points at the missing sub-span/accumulator data rather than at the registry answer. This matches the arena-VA reading of the argument block in the ROOT-SIG-SPILL-MODEL measurements above: the accumulator is a value the layer feeds, not one the title derives from the tier.

The key is removed from the prefix again; the early-death case stays specific to invalid raw values (Unknown), per the finding above.

<!-- gh-comment-id:7137762707 --> @slauko commented on GitHub (Nov 24, 2026): Measuring the open `0x60` (Series S) case from the finding above, on the Wine side of the ladder, with the values the span assert compares (a breakpoint dump of the frame: the two span slots and the accumulator global the check adds). Retail 1.0.2.1, Wine 11.22, RTX 3080 Ti (595.112.07), the fork's current CI artifact (main-equivalent loader + the SDL3 fetch flag), `LEONIDA_SKIP_INT3` off so the run stops at the span int3 and the trace carries the frame, with and without `ConsoleMode = 0x60` in the prefix (host registry; no #152 shims in this build): | | no key | `0x60` (type 6) | |---|---|---| | D3D12 calls before the span int3 | 1,639 | 1,647 | | the span frame carries | start 0, end `0x4000000` (64 MiB) | start 0, end `0x5200000` (82.5 MiB) | | accumulator the check adds | 0 | 0 | | outcome | same int3 at the span assert, both ways | | So `0x60` changes exactly what the device-type table says it should - the region size, via the `== 6` comparison returning TRUE (the `cmovne` between the two sizes) - and eight more calls reach the same assert with the same empty accumulator. The span stop is not a function of the tier value: with both sizes the check is short by the same margin of (size − 0x1FFFFF), which points at the missing sub-span/accumulator data rather than at the registry answer. This matches the arena-VA reading of the argument block in the ROOT-SIG-SPILL-MODEL measurements above: the accumulator is a value the layer feeds, not one the title derives from the tier. The key is removed from the prefix again; the early-death case stays specific to invalid raw values (Unknown), per the finding above.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@CLHelper independent run of #968 (f2268abea) on top of boot-prototype at 9173e790f, RTX 5070, Windows 11, retail 1.0.2.1, LEONIDA_LAZY_PSO=1, a real DualShock 4 only, no LEONIDA_SKIP_INT3. Counts only, no pictures.

  • Slot 31 now runs: queue slot 31 (CopyPageMappingsBatchX) first call: 1 batch(es), pool 0x... of 99776 pages, no not mapped line, and the Slot31 ... E_NOTIMPL refusal is gone from the log. The pool is 99,776 pages in this run.
  • It does not move the stop. The title still ends with the int3 at exe+0x2474606, same stack as without #968 (+0x2474606 <- +0x4fb0c69 <- +0x4fb0ac4 <- +0x979620 <- +0x56e19b3), at 87.5 s here against 128.8 s in my run of the same prototype without #968 (31,007 PresentX ok and 2,158,437 calls before it). I do not know why the time differs: how long the title sat on its pages before the stop may depend on when I passed them, and I have not isolated that. The stop is the title's own fatal exit behind a wait (my earlier comment on +0x2474606), so I read this as: slot 31 is needed, it is not what that wait is for.
  • Still in the log before the stop: device slot 81 (forwarded) ... E_NOTIMPL, device slot 133 ... could not import its pages (-2147467263), title-placed textures with unreadable layout for formats 71, 77, 99, CreateCommittedResource refused (UNORDERED_ACCESS ...), dimension 3, and 152 slot 67 failures (compute programs without a translation).

Applying it: the commit does not apply on the prototype as is. Three files conflicted, all additions on both sides: d3d12_xs_device.cpp (the includes, the slot constants, the new function next to the PresentX section, and the dispatch of the prototype's slot switch, where I added the Slot == 31 branch after kQueuePresentX), xmem.h and xs_proxy_mock_test.cpp (kept both). I built only gta6rt, not the tests, so the merged xs_proxy_mock_test.cpp is unchecked.

@Moriz82 on #984: the stop above is where I am with the prototype; I have not run #984 and will not without a go-ahead from the person whose machine it is. AI-assisted.

<!-- gh-comment-id:7137775532 --> @DesertGamer commented on GitHub (Nov 24, 2026): @CLHelper independent run of #968 (`f2268abea`) on top of `boot-prototype` at `9173e790f`, RTX 5070, Windows 11, retail 1.0.2.1, `LEONIDA_LAZY_PSO=1`, a real DualShock 4 only, no `LEONIDA_SKIP_INT3`. Counts only, no pictures. - Slot 31 now runs: `queue slot 31 (CopyPageMappingsBatchX) first call: 1 batch(es), pool 0x... of 99776 pages`, no `not mapped` line, and the `Slot31 ... E_NOTIMPL` refusal is gone from the log. The pool is 99,776 pages in this run. - It does not move the stop. The title still ends with the `int3` at `exe+0x2474606`, same stack as without #968 (`+0x2474606` <- `+0x4fb0c69` <- `+0x4fb0ac4` <- `+0x979620` <- `+0x56e19b3`), at 87.5 s here against 128.8 s in my run of the same prototype without #968 (31,007 `PresentX ok` and 2,158,437 calls before it). I do not know why the time differs: how long the title sat on its pages before the stop may depend on when I passed them, and I have not isolated that. The stop is the title's own fatal exit behind a wait (my earlier comment on `+0x2474606`), so I read this as: slot 31 is needed, it is not what that wait is for. - Still in the log before the stop: `device slot 81 (forwarded) ... E_NOTIMPL`, `device slot 133 ... could not import its pages` (`-2147467263`), title-placed textures with unreadable layout for formats 71, 77, 99, `CreateCommittedResource refused (UNORDERED_ACCESS ...), dimension 3`, and 152 `slot 67` failures (compute programs without a translation). Applying it: the commit does not apply on the prototype as is. Three files conflicted, all additions on both sides: `d3d12_xs_device.cpp` (the includes, the slot constants, the new function next to the PresentX section, and the dispatch of the prototype's slot switch, where I added the `Slot == 31` branch after `kQueuePresentX`), `xmem.h` and `xs_proxy_mock_test.cpp` (kept both). I built only `gta6rt`, not the tests, so the merged `xs_proxy_mock_test.cpp` is unchecked. @Moriz82 on #984: the stop above is where I am with the prototype; I have not run #984 and will not without a go-ahead from the person whose machine it is. AI-assisted.
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

claiming: SHADER-SDWA-CARRY-SEL - tools/rdna2spirv.py, the SDWA operand setup in Gen: v_{add,sub,subrev}_co_ci_u32_sdwa print the carry-out (vcc) between the destination and the sources, so src0_sel lands on vcc and src1_sel on src0. On 3ed8e50b every form with a non-DWORD selector on either source gives the wrong result (v_add_co_ci_u32_sdwa ... src0_sel:WORD_1 src1_sel:DWORD ignores the selector). No game files. AI-assisted (Claude Code).

claiming: F64-DIFF-DIV-FIXUP-REF - tools/f64_diff.py, fixup: the reference still returns infinity when exp(S2) - exp(S1) >= 1024 and cuts off underflow at -1075, which the gfx1036 measurement in docs/design.md (v_div_fixup row) ruled out, so the tool reports false mismatches (--seed 770707). No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7137781845 --> @thesubtleties commented on GitHub (Nov 24, 2026): claiming: SHADER-SDWA-CARRY-SEL - `tools/rdna2spirv.py`, the SDWA operand setup in `Gen`: `v_{add,sub,subrev}_co_ci_u32_sdwa` print the carry-out (`vcc`) between the destination and the sources, so `src0_sel` lands on `vcc` and `src1_sel` on src0. On `3ed8e50b` every form with a non-DWORD selector on either source gives the wrong result (`v_add_co_ci_u32_sdwa ... src0_sel:WORD_1 src1_sel:DWORD` ignores the selector). No game files. AI-assisted (Claude Code). claiming: F64-DIFF-DIV-FIXUP-REF - `tools/f64_diff.py`, `fixup`: the reference still returns infinity when `exp(S2) - exp(S1) >= 1024` and cuts off underflow at `-1075`, which the gfx1036 measurement in `docs/design.md` (v_div_fixup row) ruled out, so the tool reports false mismatches (`--seed 770707`). No game files. AI-assisted (Claude Code).
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

done: OLD-4731 -> #988
done: OLD-6071 -> #989
done: OLD-7718 -> #990

<!-- gh-comment-id:7137797536 --> @Snooozs commented on GitHub (Nov 24, 2026): done: OLD-4731 -> #988 done: OLD-6071 -> #989 done: OLD-7718 -> #990
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-W32-VCCZ-VCC-HI - in wave32, s_cbranch_vccz/vccnz test VCC_LO only (vcc_hi is an ordinary SGPR there), which tools/rdna2spirv.py's branch_condition implements by reading %vcc_hi only under wave64 (if g.wave64 and "vcc" not in g.cur_masks, line 18497 on main), and which tests/semantic/test_control_flow_vcc.py's reference model assumes (eval_vccz masks VCC to the wave size). No test pins it: with tools/semantic_mutants.py from #734, and -> or on that line survives all four test files that reach branch_condition, run together. With vcc_lo = 0 and vcc_hi = 1 a wave32 s_cbranch_vccz is taken on main and falls through with the mutant. I will add a wave32 class to tests/semantic/test_wave64_vcc_data_branch.py, next to its wave64 cases, with SGPR-sourced and constant VCC writes. Test only. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7137813192 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-W32-VCCZ-VCC-HI - in wave32, s_cbranch_vccz/vccnz test VCC_LO only (vcc_hi is an ordinary SGPR there), which tools/rdna2spirv.py's branch_condition implements by reading %vcc_hi only under wave64 (`if g.wave64 and "vcc" not in g.cur_masks`, line 18497 on main), and which tests/semantic/test_control_flow_vcc.py's reference model assumes (eval_vccz masks VCC to the wave size). No test pins it: with tools/semantic_mutants.py from #734, `and -> or` on that line survives all four test files that reach branch_condition, run together. With vcc_lo = 0 and vcc_hi = 1 a wave32 s_cbranch_vccz is taken on main and falls through with the mutant. I will add a wave32 class to tests/semantic/test_wave64_vcc_data_branch.py, next to its wave64 cases, with SGPR-sourced and constant VCC writes. Test only. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-BCPACK-DECODER (BC6H) -> #991 (depends on #976 and #982)

With BC6H the runtime decoder covers all six BCPack modes, strict against tools/bcpack.py (250 synthetic chunks: same blocks or same class of refusal) and lenient for the request path. BC6H header bit plans come from _bc6h_plan through the generated table header, so the D3D11 layouts are not parsed twice. Next under this claim: the request-path wiring on top of RT-DSTORAGE-DEST-PAGES.

<!-- gh-comment-id:7137833457 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-BCPACK-DECODER (BC6H) -> #991 (depends on #976 and #982) With BC6H the runtime decoder covers all six BCPack modes, strict against `tools/bcpack.py` (250 synthetic chunks: same blocks or same class of refusal) and lenient for the request path. BC6H header bit plans come from `_bc6h_plan` through the generated table header, so the D3D11 layouts are not parsed twice. Next under this claim: the request-path wiring on top of RT-DSTORAGE-DEST-PAGES.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

Correction to my comment on #968 above (7137775532): the comparison of 87.5 s against 128.8 s is not clean, and the explanation I gave for the difference was wrong. In the #968 run the player did not reach the legal-notices page: they were waiting for a splash, which they then skipped, so the title ended before its first-run pages were on screen (what they saw was a grey window, then a black frame). In the 128.8 s run of the same prototype without #968 the pages had been passed. So the two runs differ in input as well as in #968, and what they show is only this: with #968 the title still ends in the same fatal exit (exe+0x2474606, same stack), at 87.5 s, before the first-run pages. Whether the stop depends on input, on #968 or on neither, I have not established; that needs two runs with the same input. Slot 31 itself ran without a refusal.

<!-- gh-comment-id:7137834111 --> @DesertGamer commented on GitHub (Nov 24, 2026): Correction to my comment on #968 above (7137775532): the comparison of 87.5 s against 128.8 s is not clean, and the explanation I gave for the difference was wrong. In the #968 run the player did not reach the legal-notices page: they were waiting for a splash, which they then skipped, so the title ended before its first-run pages were on screen (what they saw was a grey window, then a black frame). In the 128.8 s run of the same prototype without #968 the pages had been passed. So the two runs differ in input as well as in #968, and what they show is only this: with #968 the title still ends in the same fatal exit (`exe+0x2474606`, same stack), at 87.5 s, before the first-run pages. Whether the stop depends on input, on #968 or on neither, I have not established; that needs two runs with the same input. Slot 31 itself ran without a refusal.
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

done: RT-GAMESAVE-COMMIT-ROLLBACK -> #992

<!-- gh-comment-id:7137850734 --> @Snooozs commented on GitHub (Nov 24, 2026): done: RT-GAMESAVE-COMMIT-ROLLBACK -> #992
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

A boot-triage note for everyone chasing stops under Wine, from today's measurement rounds: the default way of running a boot (a shell wrapper with a generous timeout around wine gta6rt.exe --run … --trace) wastes minutes per iteration, none of them in the title. After the crash, Wine's in-process winedbg holds the dead process until something external tears it down, so a 4-second title run holds a 1200-second wrapper hostage. Polling the trace file instead and killing the tree the moment the exception event lands gets the same measurement in ~9 s wall on this machine (prefix warm, artifact installed) — start wine in the background, grep the JSONL for the exception event, sleep 0.3 s so the frame dump flushes, then wineserver -k. With the loader's own trace carrying the values a stopped assert compared (the frame dump the runtime can attach to a breakpoint event), one iteration is now: dispatch a windows-only build, pull the artifact when its upload step posts it (it runs before the CPU tests), install, and run — about eight minutes end to end, of which the boot itself is nine seconds. That cadence is what made a five-stop day possible on one GPU; anyone iterating on #14's boot ladder can have the same loop.

<!-- gh-comment-id:7137868417 --> @slauko commented on GitHub (Nov 24, 2026): A boot-triage note for everyone chasing stops under Wine, from today's measurement rounds: the default way of running a boot (a shell wrapper with a generous `timeout` around `wine gta6rt.exe --run … --trace`) wastes minutes per iteration, none of them in the title. After the crash, Wine's in-process winedbg holds the dead process until something external tears it down, so a 4-second title run holds a 1200-second wrapper hostage. Polling the trace file instead and killing the tree the moment the `exception` event lands gets the same measurement in ~9 s wall on this machine (prefix warm, artifact installed) — start wine in the background, grep the JSONL for the exception event, sleep 0.3 s so the frame dump flushes, then `wineserver -k`. With the loader's own trace carrying the values a stopped assert compared (the frame dump the runtime can attach to a breakpoint event), one iteration is now: dispatch a windows-only build, pull the artifact when its upload step posts it (it runs before the CPU tests), install, and run — about eight minutes end to end, of which the boot itself is nine seconds. That cadence is what made a five-stop day possible on one GPU; anyone iterating on `#14`'s boot ladder can have the same loop.
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

A small CI observation from today's fork rounds, not a claim — just signal for whoever owns the test: crt_timed_wait failed twice in three windows runs on a repo where nothing it covers changed, both times the same shape — an unnotified wait_for(200 ms) reported as returning early by about 1 ms (returned after 199 ms), on loaded GitHub-hosted runners. The third run of the identical tree was green. If the assertion compares against the requested timeout with >=, a 1 ms scheduling shortfall under load reads as a failure; a tolerance of a few ms on the early side (or comparing against the elapsed clock) would make it load-proof. Happy to PR it with an ID if the owner wants it hardened.

<!-- gh-comment-id:7137869957 --> @slauko commented on GitHub (Nov 24, 2026): A small CI observation from today's fork rounds, not a claim — just signal for whoever owns the test: `crt_timed_wait` failed twice in three windows runs on a repo where nothing it covers changed, both times the same shape — an unnotified `wait_for(200 ms)` reported as returning early by about 1 ms (`returned after 199 ms`), on loaded GitHub-hosted runners. The third run of the identical tree was green. If the assertion compares against the requested timeout with `>=`, a 1 ms scheduling shortfall under load reads as a failure; a tolerance of a few ms on the early side (or comparing against the elapsed clock) would make it load-proof. Happy to PR it with an ID if the owner wants it hardened.
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

claiming:

  • TEST-BATCH-LAUNCH-EXITCODE - tests/test_build_batch_launch.py is red on Windows (3 failures on cf4c00cba): the helper reads $p.ExitCode from Start-Process -PassThru with the handle taken after the stub has already exited, so it is usually null and becomes 0.
  • BUILD-DOTNET-SDKS-DECODE - make_game.py dotnet_sdk_ok() decodes dotnet --list-sdks strictly; an SDK path with a byte the locale cannot decode leaves stdout None and preflight dies with a TypeError. Decode with errors=replace, with a unit test.
    Windows 10, CPU only, synthetic, no game files. AI-assisted (Claude Code).
<!-- gh-comment-id:7137887651 --> @Snooozs commented on GitHub (Nov 24, 2026): claiming: - TEST-BATCH-LAUNCH-EXITCODE - `tests/test_build_batch_launch.py` is red on Windows (3 failures on cf4c00cba): the helper reads `$p.ExitCode` from `Start-Process -PassThru` with the handle taken after the stub has already exited, so it is usually null and becomes 0. - BUILD-DOTNET-SDKS-DECODE - `make_game.py` `dotnet_sdk_ok()` decodes `dotnet --list-sdks` strictly; an SDK path with a byte the locale cannot decode leaves stdout None and preflight dies with a TypeError. Decode with errors=replace, with a unit test. Windows 10, CPU only, synthetic, no game files. AI-assisted (Claude Code).
Author
Owner

@5headsmartbtw commented on GitHub (Nov 24, 2026):

claiming: CI-XMA2-FFI-LINKAGE — Adapt LeonidaReforge/Leonida#23 to link synchronization.lib in the standalone Windows XMA2 ABI smoke test and document the dependency. The runtime CMake scope is #877. Synthetic tests only. AI-assisted (Codex).

<!-- gh-comment-id:7137910994 --> @5headsmartbtw commented on GitHub (Nov 24, 2026): claiming: CI-XMA2-FFI-LINKAGE — Adapt LeonidaReforge/Leonida#23 to link synchronization.lib in the standalone Windows XMA2 ABI smoke test and document the dependency. The runtime CMake scope is #877. Synthetic tests only. AI-assisted (Codex).
Author
Owner

@5headsmartbtw commented on GitHub (Nov 24, 2026):

claiming: DASH-CI-ACTIONABLE-STATES — Adapt LeonidaReforge/Leonida#127 to use stable workflow IDs and the newest run, distinguish actionable CI states, and report workflow configuration separately. Synthetic regression tests only. AI-assisted (Codex).

<!-- gh-comment-id:7137911652 --> @5headsmartbtw commented on GitHub (Nov 24, 2026): claiming: DASH-CI-ACTIONABLE-STATES — Adapt LeonidaReforge/Leonida#127 to use stable workflow IDs and the newest run, distinguish actionable CI states, and report workflow configuration separately. Synthetic regression tests only. AI-assisted (Codex).
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

finding: independent reproduction for TEST-W32-VCCZ-VCC-HI on Linux main (stdlib only, no game/GPU): a synthetic 32-thread compute shader with SGPR-sourced vcc_lo=0, vcc_hi=1 gives s_cbranch_vccz TAKEN and s_cbranch_vccnz FALL-THROUGH through tools/rdna2spirv.py + spirv_mini_interp, i.e. wave32 correctly ignores the high word today. The and->or mutant on the branch_condition line would flip both. No test pins it yet, as claimed. Not claiming (qhukz13 has the claim); confirmation only.

<!-- gh-comment-id:7137931550 --> @morodirule commented on GitHub (Nov 24, 2026): finding: independent reproduction for TEST-W32-VCCZ-VCC-HI on Linux main (stdlib only, no game/GPU): a synthetic 32-thread compute shader with SGPR-sourced vcc_lo=0, vcc_hi=1 gives s_cbranch_vccz TAKEN and s_cbranch_vccnz FALL-THROUGH through tools/rdna2spirv.py + spirv_mini_interp, i.e. wave32 correctly ignores the high word today. The and->or mutant on the branch_condition line would flip both. No test pins it yet, as claimed. Not claiming (qhukz13 has the claim); confirmation only.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-W32-VCCZ-VCC-HI -> #993. AI-assisted (Claude Code).

<!-- gh-comment-id:7137932265 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-W32-VCCZ-VCC-HI -> #993. AI-assisted (Claude Code).
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9900 (+ IXPackageImpl4) — rebasing unclaimed draft #166 (\old-pr/9900\ by \ edin7: offline \XPackageEnumeratePackages, \XPackageCreateInstallationMonitor\ / slot 5, \XPackageRegisterPackageInstalled) onto current \main, plus adding \IXPackageImpl4\ (\

<!-- gh-comment-id:7137958048 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9900 (+ IXPackageImpl4) — rebasing unclaimed draft #166 (\old-pr/9900\ by \ edin7\: offline \XPackageEnumeratePackages\, \XPackageCreateInstallationMonitor\ / slot 5, \XPackageRegisterPackageInstalled\) onto current \main\, plus adding \IXPackageImpl4\ (\
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

claiming: RT-DEVICE-FAULT-INFO - when the layer's Vulkan device is lost, ask the driver why. Builds on #980 (RT-DEVICE-LOST-LOG, @CLHelper's one line), not a replacement: where the device has VK_EXT_device_fault, enable it at device creation and, the first time the device is lost, call vkGetDeviceFaultInfoEXT and print the description, each address fault (type, address, precision) and each vendor fault (description, code, data) on stderr. Nothing is printed and nothing changes on a device without the extension. Why: on boot-prototype here (RTX 4080, driver 621.24, Windows 11) the retail run loses the device about 70 s in, 7 runs of 7, at the start of loading; the Khronos validation layer reports no error before it (one SYNC-HAZARD-WRITE-AFTER-WRITE on small arena copies, well earlier) and the Windows event log has only nvlddmkm event 153 at the same second, so the fault address is the missing fact. Tests: a fake device function table for the query's two-call shape and the once-only print. AI-assisted.

<!-- gh-comment-id:7137960817 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): claiming: RT-DEVICE-FAULT-INFO - when the layer's Vulkan device is lost, ask the driver why. Builds on #980 (RT-DEVICE-LOST-LOG, @CLHelper's one line), not a replacement: where the device has `VK_EXT_device_fault`, enable it at device creation and, the first time the device is lost, call `vkGetDeviceFaultInfoEXT` and print the description, each address fault (type, address, precision) and each vendor fault (description, code, data) on stderr. Nothing is printed and nothing changes on a device without the extension. Why: on `boot-prototype` here (RTX 4080, driver 621.24, Windows 11) the retail run loses the device about 70 s in, 7 runs of 7, at the start of loading; the Khronos validation layer reports no error before it (one SYNC-HAZARD-WRITE-AFTER-WRITE on small arena copies, well earlier) and the Windows event log has only nvlddmkm event 153 at the same second, so the fault address is the missing fact. Tests: a fake device function table for the query's two-call shape and the once-only print. AI-assisted.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

finding: The Open work table still marks SHADER-1264 (tests/semantic/test_exec_computed.py) and TEST-ATOMIC-GUARD (tests/semantic/test_image_atomics_guard.py) as failing, although both are fixed upstream and their rows are stale. Rechecked current main 3aa975421d with the documented unittest discovery style: python3 -I -B -m unittest discover -s tests/semantic -p test_exec_computed.py passed 2/2; python3 -I -B -m unittest discover -s tests/semantic -p test_image_atomics_guard.py passed 5/5. Earlier verification on 3ed8e50b7 was recorded here; this is the newer main result. I did not claim either ID. No game data or GPU required.

Rechecked against current upstream main 6293c1c4f88c7ea2088ec595fea51362f1759996 on 2026-11-24: the same commands still pass, test_exec_computed 2/2 and test_image_atomics_guard 5/5. The Open work table entries remain stale; no claim was made.

<!-- gh-comment-id:7137964902 --> @KernelSmoker commented on GitHub (Nov 24, 2026): finding: The Open work table still marks SHADER-1264 (tests/semantic/test_exec_computed.py) and TEST-ATOMIC-GUARD (tests/semantic/test_image_atomics_guard.py) as failing, although both are fixed upstream and their rows are stale. Rechecked current main 3aa975421d470b76da1aa986a91282c59e20d642 with the documented unittest discovery style: `python3 -I -B -m unittest discover -s tests/semantic -p test_exec_computed.py` passed 2/2; `python3 -I -B -m unittest discover -s tests/semantic -p test_image_atomics_guard.py` passed 5/5. Earlier verification on 3ed8e50b7 was recorded here; this is the newer main result. I did not claim either ID. No game data or GPU required. Rechecked against current upstream main `6293c1c4f88c7ea2088ec595fea51362f1759996` on 2026-11-24: the same commands still pass, `test_exec_computed` 2/2 and `test_image_atomics_guard` 5/5. The Open work table entries remain stale; no claim was made.
Author
Owner

@markankamaransheogarat-sys commented on GitHub (Nov 24, 2026):

claiming: BUILD-XMA2-OPT-IN — runtime/CMakeLists.txt gates the configure-time cargo build for runtime/xma_decoder behind -DLEONIDA_XMA2_DECODER=ON (or -DLEONIDA_REQUIRE_XMA2_DECODER=ON) as suggested in #963. AI-assisted: yes, no game files.

<!-- gh-comment-id:7137981493 --> @markankamaransheogarat-sys commented on GitHub (Nov 24, 2026): claiming: `BUILD-XMA2-OPT-IN` — `runtime/CMakeLists.txt` gates the configure-time `cargo build` for `runtime/xma_decoder` behind `-DLEONIDA_XMA2_DECODER=ON` (or `-DLEONIDA_REQUIRE_XMA2_DECODER=ON`) as suggested in #963. AI-assisted: yes, no game files.
Author
Owner

@markankamaransheogarat-sys commented on GitHub (Nov 24, 2026):

done: BUILD-XMA2-OPT-IN -> https://github.com/ubiquitarianism/leonida/pull/995 (addresses #963). AI-assisted: yes.

<!-- gh-comment-id:7137983546 --> @markankamaransheogarat-sys commented on GitHub (Nov 24, 2026): done: `BUILD-XMA2-OPT-IN` -> https://github.com/ubiquitarianism/leonida/pull/995 (addresses #963). AI-assisted: yes.
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

done: RT-CRASH-STACK -> #994

<!-- gh-comment-id:7137985558 --> @roanh47 commented on GitHub (Nov 24, 2026): done: RT-CRASH-STACK -> #994
Author
Owner

@Sangonapou commented on GitHub (Nov 24, 2026):

done: tools/vk_fuzz_run.py wave32 words=1 dump (my claim above, https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7121846026) -> #388 (merged).

<!-- gh-comment-id:7137990149 --> @Sangonapou commented on GitHub (Nov 24, 2026): done: `tools/vk_fuzz_run.py` wave32 `words=1` dump (my claim above, https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7121846026) -> #388 (merged).
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

claiming: SHADER-W64-SDST-PAIR - in wave64 programs, a VALU lane-mask operand the listing names by its low SGPR is the pair. The listings come from llvm-mc without +wavefrontsize64, so v_cmp_gt_u32_e64 s8, ... is printed for the s[8:9] the hardware writes, and v_cndmask_b32_e64 ..., s10 for s[10:11]. The translator wrote only s8; the next s_mov_b64 exec, s[8:9] then takes lanes 32..63 from the stale s9 (mask_src, since 804f4aeff). The semantic tests did not see it because they print the pair. It is in every wave64 compute listing with that pattern: 800 of 900 sampled listings in dxbc/disasm have the single form next to 64-bit EXEC writes, none has the pair. I have the fix and a test; the whole semantic suite stays green with it. No game data.

It shows as a GPU hang: lib_cs_03141 (a 128-thread pipeline-library compute shader the title dispatches while the loading screen runs) loops for ever on an RTX 5080, and the same translated shader loops for ever in the semantic suite's interpreter with the title's own constants; with the fix it ends after 76 barriers.

finding for RT-DEVICE-FAULT-INFO / #980 (@quartz-heron-58, @CLHelper): on NVIDIA 621.24 a loss is not always reported as VK_ERROR_DEVICE_LOST. After the hang above vkGetSemaphoreCounterValue answers VK_SUCCESS with the value UINT64_MAX for every timeline, so VulkanFence::completed() (runtime/src/vulkan_backend.h) hands the title -1 (its "device removed" value) while the layer never marks the device lost and nothing is logged. Treating that value as a loss there made the report fire. VK_NV_device_diagnostic_checkpoints then named the dispatch; VK_EXT_device_fault reported nothing for a hang. My version is runtime/src/gpu_debug.h on the boot-prototype branch once I push it today; take what is useful.

AI-assisted (Claude Code, Opus 5.5).

<!-- gh-comment-id:7137991126 --> @DadaCap commented on GitHub (Nov 24, 2026): claiming: SHADER-W64-SDST-PAIR - in wave64 programs, a VALU lane-mask operand the listing names by its low SGPR is the pair. The listings come from llvm-mc without `+wavefrontsize64`, so `v_cmp_gt_u32_e64 s8, ...` is printed for the `s[8:9]` the hardware writes, and `v_cndmask_b32_e64 ..., s10` for `s[10:11]`. The translator wrote only `s8`; the next `s_mov_b64 exec, s[8:9]` then takes lanes 32..63 from the stale `s9` (`mask_src`, since 804f4aeff). The semantic tests did not see it because they print the pair. It is in every wave64 compute listing with that pattern: 800 of 900 sampled listings in `dxbc/disasm` have the single form next to 64-bit EXEC writes, none has the pair. I have the fix and a test; the whole semantic suite stays green with it. No game data. It shows as a GPU hang: `lib_cs_03141` (a 128-thread pipeline-library compute shader the title dispatches while the loading screen runs) loops for ever on an RTX 5080, and the same translated shader loops for ever in the semantic suite's interpreter with the title's own constants; with the fix it ends after 76 barriers. finding for RT-DEVICE-FAULT-INFO / #980 (@quartz-heron-58, @CLHelper): on NVIDIA 621.24 a loss is not always reported as `VK_ERROR_DEVICE_LOST`. After the hang above `vkGetSemaphoreCounterValue` answers `VK_SUCCESS` with the value `UINT64_MAX` for **every** timeline, so `VulkanFence::completed()` (`runtime/src/vulkan_backend.h`) hands the title -1 (its "device removed" value) while the layer never marks the device lost and nothing is logged. Treating that value as a loss there made the report fire. `VK_NV_device_diagnostic_checkpoints` then named the dispatch; `VK_EXT_device_fault` reported nothing for a hang. My version is `runtime/src/gpu_debug.h` on the boot-prototype branch once I push it today; take what is useful. AI-assisted (Claude Code, Opus 5.5).
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: WINE-DUPLICATE-TEST-NAMES — scripts/run_wine_tests.py collapses results by name, so a passing CTest entry hides an earlier failure with the same name and can make --require exit zero. Reproduced on main 3ed8e50b with CTest 4.3.1-msvc1 listing two synthetic tests in separate directories. Keep each listed result in the totals and require every matching entry to pass. CPU only, no game files. AI-assisted (Codex).

<!-- gh-comment-id:7137997010 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: WINE-DUPLICATE-TEST-NAMES — scripts/run_wine_tests.py collapses results by name, so a passing CTest entry hides an earlier failure with the same name and can make --require exit zero. Reproduced on main 3ed8e50b with CTest 4.3.1-msvc1 listing two synthetic tests in separate directories. Keep each listed result in the totals and require every matching entry to pass. CPU only, no game files. AI-assisted (Codex).
Author
Owner

@5headsmartbtw commented on GitHub (Nov 24, 2026):

done: CI-XMA2-FFI-LINKAGE -> #996

<!-- gh-comment-id:7138037007 --> @5headsmartbtw commented on GitHub (Nov 24, 2026): done: CI-XMA2-FFI-LINKAGE -> #996
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: GPU-PIN-EXIT-STATUS — In the two GPU test runners, require a successful helper exit before interpreting the subgroup-pin warning as a skip. A dispatch can fail after that warning and should stay a failure. I will verify with synthetic runner tests and the RTX 5090 Laptop on Linux. AI-assisted.

<!-- gh-comment-id:7138045642 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: GPU-PIN-EXIT-STATUS — In the two GPU test runners, require a successful helper exit before interpreting the subgroup-pin warning as a skip. A dispatch can fail after that warning and should stay a failure. I will verify with synthetic runner tests and the RTX 5090 Laptop on Linux. AI-assisted.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9900 (+ IXPackageImpl4) -> #997

<!-- gh-comment-id:7138066561 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9900 (+ IXPackageImpl4) -> #997
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap on SHADER-W64-SDST-PAIR and the fence finding: I can run your fix on a second NVIDIA setup once it is pushed. Windows 11, RTX 5070, driver 617.14 (your 5080 run is on 621.24, so a different driver as well as a different card), retail 1.0.2.1, boot-prototype at 9173e790f plus #968, a real DualShock 4.

What I have that bears on it, and what I do not:

  • The fatal exit at exe+0x2474606 (behind the wait in exe+0x4fb0ad0, my comment above) is the same address you name as the next stop, and I reach it on this machine at 87.5 s and 128.8 s in two runs with different input.
  • I have not checked whether a hang is behind it here. I do not log the fence value the title reads, so I cannot say whether completed() returned UINT64_MAX before the exit. A run that passed the loading screen is what would tell; the runs so far ended before it or at it.
  • In a run with no input on the first screen the GPU sits at 62 to 94 % (sampled with nvidia-smi), which is rendering, not a hang. That is before the loading-screen phase, so it says nothing about lib_cs_03141.

When your gpu_debug.h and the SDST-PAIR change are up, tell me the branch or PR and I will build them on top of the prototype, run to the exit, and report whether the fence reads UINT64_MAX before it, with counts only.

<!-- gh-comment-id:7138096463 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap on SHADER-W64-SDST-PAIR and the fence finding: I can run your fix on a second NVIDIA setup once it is pushed. Windows 11, RTX 5070, driver 617.14 (your 5080 run is on 621.24, so a different driver as well as a different card), retail 1.0.2.1, `boot-prototype` at `9173e790f` plus #968, a real DualShock 4. What I have that bears on it, and what I do not: - The fatal exit at `exe+0x2474606` (behind the wait in `exe+0x4fb0ad0`, my comment above) is the same address you name as the next stop, and I reach it on this machine at 87.5 s and 128.8 s in two runs with different input. - I have **not** checked whether a hang is behind it here. I do not log the fence value the title reads, so I cannot say whether `completed()` returned `UINT64_MAX` before the exit. A run that passed the loading screen is what would tell; the runs so far ended before it or at it. - In a run with no input on the first screen the GPU sits at 62 to 94 % (sampled with `nvidia-smi`), which is rendering, not a hang. That is before the loading-screen phase, so it says nothing about `lib_cs_03141`. When your `gpu_debug.h` and the SDST-PAIR change are up, tell me the branch or PR and I will build them on top of the prototype, run to the exit, and report whether the fence reads `UINT64_MAX` before it, with counts only.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-IID-INVENTORY-RETAIL - the doc block in docs/d3d12_command_objects.md (2.1) says the four slots' callers are unmeasurable because the package has no executable, and that tools/d3d12_iid_scan.py run on it "shows whether it carries these IIDs". I have the retail 1.0.2.1 executable locally, ran the existing tool on it, and will record the inventory (which SDK IIDs it carries and which are absent) in that doc, text only, no game data committed. Docs-only change plus the doc's existing tool test; no GPU and no build needed.

<!-- gh-comment-id:7138102572 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-IID-INVENTORY-RETAIL - the doc block in `docs/d3d12_command_objects.md` (2.1) says the four slots' callers are unmeasurable because the package has no executable, and that `tools/d3d12_iid_scan.py` run on it "shows whether it carries these IIDs". I have the retail 1.0.2.1 executable locally, ran the existing tool on it, and will record the inventory (which SDK IIDs it carries and which are absent) in that doc, text only, no game data committed. Docs-only change plus the doc's existing tool test; no GPU and no build needed.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: WINE-DUPLICATE-TEST-NAMES -> #999

<!-- gh-comment-id:7138105230 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: WINE-DUPLICATE-TEST-NAMES -> #999
Author
Owner

@5headsmartbtw commented on GitHub (Nov 24, 2026):

done: DASH-CI-ACTIONABLE-STATES -> #1001

<!-- gh-comment-id:7138110040 --> @5headsmartbtw commented on GitHub (Nov 24, 2026): done: DASH-CI-ACTIONABLE-STATES -> #1001
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

done: GPU-PIN-EXIT-STATUS -> #1000

<!-- gh-comment-id:7138111410 --> @Okachamie commented on GitHub (Nov 24, 2026): done: GPU-PIN-EXIT-STATUS -> #1000
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@Moriz82 on #984: I took only the bindless part (runtime/src/vulkan_bindless.h and runtime/src/descriptor_table.h, from the PR's file list) and ran it on boot-prototype at 9173e790f plus #968. RTX 5070, driver 617.14, Windows 11, retail 1.0.2.1, LEONIDA_LAZY_PSO=1, no input for 240 s on the first screen, same script for both runs, counts only.

  • It applies to the prototype with git apply without a conflict, and gta6rt builds.
  • Without it the log has bindless set: 65536 2D images, 3936 samplers, 1024 2D-array, 256 3D, 256 1D, 4096 storage indices in 2D and then a bindless image array is full; dimension 1. With it the set line reads 65536 2D images, 3936 samplers, 16384 2D-array, 4096 3D, 4096 1D, 4096 storage indices in 2D and the array is full line is gone.
  • Neither run has an exception in 240 s; frames were 195,452 without and 186,950 with, which I take as noise (one run each, nothing pressed), not a difference.

What this does not show: both runs sat on the first screen, so the title had not reached the pages that stream the images, and I do not know whether the full array was a consequence of the stop or only next to it. I did not build or run bindless_sizing_test, descriptor_table_test or vk_bindless_grow_test, so those are untested here.

If you split #984 into small pull requests, this is a piece that stands alone, and a second card and driver (5070, 617.14) than your 4070 Ti run, both NVIDIA: tell me when it is its own PR and I will rerun it past the legal pages with a pad.

<!-- gh-comment-id:7138113376 --> @DesertGamer commented on GitHub (Nov 24, 2026): @Moriz82 on #984: I took only the bindless part (`runtime/src/vulkan_bindless.h` and `runtime/src/descriptor_table.h`, from the PR's file list) and ran it on `boot-prototype` at `9173e790f` plus #968. RTX 5070, driver 617.14, Windows 11, retail 1.0.2.1, `LEONIDA_LAZY_PSO=1`, no input for 240 s on the first screen, same script for both runs, counts only. - It applies to the prototype with `git apply` without a conflict, and `gta6rt` builds. - Without it the log has `bindless set: 65536 2D images, 3936 samplers, 1024 2D-array, 256 3D, 256 1D, 4096 storage indices in 2D` and then `a bindless image array is full; dimension 1`. With it the set line reads `65536 2D images, 3936 samplers, 16384 2D-array, 4096 3D, 4096 1D, 4096 storage indices in 2D` and the `array is full` line is gone. - Neither run has an exception in 240 s; frames were 195,452 without and 186,950 with, which I take as noise (one run each, nothing pressed), not a difference. What this does not show: both runs sat on the first screen, so the title had not reached the pages that stream the images, and I do not know whether the full array was a consequence of the stop or only next to it. I did not build or run `bindless_sizing_test`, `descriptor_table_test` or `vk_bindless_grow_test`, so those are untested here. If you split #984 into small pull requests, this is a piece that stands alone, and a second card and driver (5070, 617.14) than your 4070 Ti run, both NVIDIA: tell me when it is its own PR and I will rerun it past the legal pages with a pad.
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

done: TEST-BATCH-LAUNCH-EXITCODE -> #1002
done: BUILD-DOTNET-SDKS-DECODE -> #1003

<!-- gh-comment-id:7138119303 --> @Snooozs commented on GitHub (Nov 24, 2026): done: TEST-BATCH-LAUNCH-EXITCODE -> #1002 done: BUILD-DOTNET-SDKS-DECODE -> #1003
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

done: SHADER-SDWA-CARRY-SEL -> #1004
done: F64-DIFF-DIV-FIXUP-REF -> #1005

<!-- gh-comment-id:7138123307 --> @thesubtleties commented on GitHub (Nov 24, 2026): done: SHADER-SDWA-CARRY-SEL -> #1004 done: F64-DIFF-DIV-FIXUP-REF -> #1005
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-IID-INVENTORY-RETAIL -> #1006

<!-- gh-comment-id:7138149042 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-IID-INVENTORY-RETAIL -> #1006
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

finding: main 1504c1af6 alone, RTX 4070 Ti under Wine: the retail boot ends at D3D12 call 1,639 in 5 of 5 runs, on the title's own int3 that #375 (RT-XMEM-LEASE) describes. A confirmation of the 4070 / Wine run above on a second card, not a new stop

  • Where: nothing new to fix; this is where main stands. It is the stop of https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136392416 and the 1,639-call row of https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131480453: after device slot 25 and two slot 127 textures with their SRV, RTV and UAV views. tools/int3_cause.py on my copy reads it as a "value above a limit" check, the budget check #375's description names.
  • Measured: five runs with a 240 s limit. Each: the same 1,639 calls up to the stop, method and outcome identical in order (1,619 ok, 20 void calls recorded as called), none failed, unsupported, refused or partial, 0 unimplemented imports, no pipeline created, no PresentX, no subgroup-size line. The int3 comes 2 to 25 s after the start (the machine was busy with other work). Under Wine the process then lives on for another 35 to 110 s while Wine's debugger handles the exception (four runs; the fifth is left out of that figure because another process used the same Wine prefix after its stop). In one run the title went on for 16 more calls after it (1,655 in the log) and stopped on the caller's check of that routine's result.
  • LEONIDA_LAZY_PSO=1 was set in two of the five runs. main does not read it (#511 is open), so they are plain runs.
  • Why it matters: main alone still ends here. What clears it is open: #375 names this check, and the runs above that got past it used the stack through #427 or #432. All three conflict with main as I post this. None was applied here.
  • Needs: game files and a Vulkan GPU.

One weaker observation: with LEONIDA_SKIP_INT3=1 one int3 is stepped over, the title calls device slots 16 and 62 (the first compute pipeline), no further D3D12 call is recorded, and 30 s later the title's own hang watchdog ends the run (an access violation on a title thread, the one the two watchdog findings above describe). One run, on a heavily loaded machine, so it does not show that the pipeline build is slow on NVIDIA.

Setup: CachyOS, wine-staging 11.21, NVIDIA 620.70.06 (subgroup size 32 only), clang-cl + xwin build with -DLEONIDA_SDL3_FETCH=ON, LEONIDA_D3D12=vulkan, network off (an empty network namespace), --overlay outside the package, shaders translated earlier the same day by an older main (29,104 loaded). main has moved 68 commits since 1504c1af6; not measured again there. Counts, slot numbers and [rt] classes only; no game data. AI-assisted (Claude Code).

<!-- gh-comment-id:7138150939 --> @milk4sale commented on GitHub (Nov 24, 2026): finding: `main` 1504c1af6 alone, RTX 4070 Ti under Wine: the retail boot ends at D3D12 call 1,639 in 5 of 5 runs, on the title's own `int3` that #375 (RT-XMEM-LEASE) describes. A confirmation of the 4070 / Wine run above on a second card, not a new stop - **Where:** nothing new to fix; this is where `main` stands. It is the stop of https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136392416 and the 1,639-call row of https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7131480453: after device slot 25 and two slot 127 textures with their SRV, RTV and UAV views. `tools/int3_cause.py` on my copy reads it as a "value above a limit" check, the budget check #375's description names. - **Measured:** five runs with a 240 s limit. Each: the same 1,639 calls up to the stop, method and outcome identical in order (1,619 `ok`, 20 void calls recorded as `called`), none failed, unsupported, refused or partial, 0 unimplemented imports, no pipeline created, no `PresentX`, no subgroup-size line. The `int3` comes 2 to 25 s after the start (the machine was busy with other work). Under Wine the process then lives on for another 35 to 110 s while Wine's debugger handles the exception (four runs; the fifth is left out of that figure because another process used the same Wine prefix after its stop). In one run the title went on for 16 more calls after it (1,655 in the log) and stopped on the caller's check of that routine's result. - **`LEONIDA_LAZY_PSO=1`** was set in two of the five runs. `main` does not read it (#511 is open), so they are plain runs. - **Why it matters:** `main` alone still ends here. What clears it is open: #375 names this check, and the runs above that got past it used the stack through #427 or #432. All three conflict with `main` as I post this. None was applied here. - **Needs:** game files and a Vulkan GPU. One weaker observation: with `LEONIDA_SKIP_INT3=1` one `int3` is stepped over, the title calls device slots 16 and 62 (the first compute pipeline), no further D3D12 call is recorded, and 30 s later the title's own hang watchdog ends the run (an access violation on a title thread, the one the two watchdog findings above describe). One run, on a heavily loaded machine, so it does not show that the pipeline build is slow on NVIDIA. Setup: CachyOS, wine-staging 11.21, NVIDIA 620.70.06 (subgroup size 32 only), clang-cl + xwin build with `-DLEONIDA_SDL3_FETCH=ON`, `LEONIDA_D3D12=vulkan`, network off (an empty network namespace), `--overlay` outside the package, shaders translated earlier the same day by an older `main` (29,104 loaded). `main` has moved 68 commits since 1504c1af6; not measured again there. Counts, slot numbers and `[rt]` classes only; no game data. AI-assisted (Claude Code).
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: D3D-BARRIER-INTO-UNDEFINED - the barrier half of item 2 in the split @Moriz82 proposes in #984 ("How this can land"), carried onto current main as its own pull request with Moriz82 as co-author.

On main (82a2aabcc) CommandList::barrier(const TextureBarrier&) (runtime/src/command_list.h:693) refuses an enhanced texture barrier whose LayoutAfter is D3D12_BARRIER_LAYOUT_UNDEFINED from a defined layout, so the list's Close fails; #984 reports that the retail title ends a depth buffer's use this way and takes the failed Close as fatal, and that WARP closes such a list.

The change: the rule goes, and replay keeps each piece's Vulkan layout and the tracker's (Vulkan has no transition into UNDEFINED) and only orders the accesses, with #984's cases in command_list_test, replay_texture_barrier_test and d3d12_close_parity_test. UNDEFINED -> UNDEFINED stays with #600 (VK-TEXTURE-BARRIER-UNDEF-NOOP); the bindless flush of the same item is not part of this claim.

No game files. I will check it under wine-staging 11.21 on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), clang-cl + xwin build; I cannot run WARP here, so the host column stays #984's measurement. AI-assisted (Claude Code).

<!-- gh-comment-id:7138180483 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: D3D-BARRIER-INTO-UNDEFINED - the barrier half of item 2 in the split @Moriz82 proposes in #984 ("How this can land"), carried onto current `main` as its own pull request with Moriz82 as co-author. On `main` (82a2aabcc) `CommandList::barrier(const TextureBarrier&)` (`runtime/src/command_list.h:693`) refuses an enhanced texture barrier whose `LayoutAfter` is `D3D12_BARRIER_LAYOUT_UNDEFINED` from a defined layout, so the list's `Close` fails; #984 reports that the retail title ends a depth buffer's use this way and takes the failed `Close` as fatal, and that WARP closes such a list. The change: the rule goes, and replay keeps each piece's Vulkan layout and the tracker's (Vulkan has no transition into UNDEFINED) and only orders the accesses, with #984's cases in `command_list_test`, `replay_texture_barrier_test` and `d3d12_close_parity_test`. UNDEFINED -> UNDEFINED stays with #600 (VK-TEXTURE-BARRIER-UNDEF-NOOP); the bindless flush of the same item is not part of this claim. No game files. I will check it under wine-staging 11.21 on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), clang-cl + xwin build; I cannot run WARP here, so the host column stays #984's measurement. AI-assisted (Claude Code).
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

finding: two device-slot facts in docs/d3d12_vulkan.md are wrong or blank: slot 76 is called "Xbox texture creation" but has no call site on the device, and slot 62 takes five parameters, not the three of CreateComputePipelineState.

Where: docs/d3d12_vulkan.md:2134 (the ID3D12Device row: "slot 62 is called as CreateComputePipelineState" and "slot 76 is Xbox texture creation").

Why it matters: both feed the proxy's slot map, and a wrong arity loses the arguments that follow. Resolving the device global (0x148759D00) by dataflow in the renderer init (0x142478440) gives 71 device call sites over 40 offsets; none at 0x260/slot 76, and the 54 global 0x260 sites are bool predicates with no object receiver. The slot 62 site (0x14247FE66) is call [rax+0x1F0] with (desc, 0, 0, &riid, &out) — five parameters and an explicit IID/out pair, the same shape as slots 8 and 9, where the PC method it forwards to takes three.

Needs: the retail executable, no GPU. Measured on 1.0.2.1 static only; nothing executed.

(The same pass confirms slot 26 as RCX = return buffer / RDX = device, which the doc already says, and slot 9 CreateCommandAllocator with (type, &riid, &out).)

<!-- gh-comment-id:7138181681 --> @robot00f commented on GitHub (Nov 24, 2026): finding: two device-slot facts in `docs/d3d12_vulkan.md` are wrong or blank: slot 76 is called "Xbox texture creation" but has no call site on the device, and slot 62 takes five parameters, not the three of `CreateComputePipelineState`. Where: `docs/d3d12_vulkan.md:2134` (the `ID3D12Device` row: "slot 62 is called as `CreateComputePipelineState`" and "slot 76 is Xbox texture creation"). Why it matters: both feed the proxy's slot map, and a wrong arity loses the arguments that follow. Resolving the device global (`0x148759D00`) by dataflow in the renderer init (`0x142478440`) gives 71 device call sites over 40 offsets; **none at `0x260`/slot 76**, and the 54 global `0x260` sites are `bool` predicates with no object receiver. The slot 62 site (`0x14247FE66`) is `call [rax+0x1F0]` with `(desc, 0, 0, &riid, &out)` — five parameters and an explicit IID/out pair, the same shape as slots 8 and 9, where the PC method it forwards to takes three. Needs: the retail executable, no GPU. Measured on 1.0.2.1 static only; nothing executed. (The same pass confirms slot 26 as RCX = return buffer / RDX = device, which the doc already says, and slot 9 `CreateCommandAllocator` with `(type, &riid, &out)`.)
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-DEVICE-SLOT-ARITY - correct the device row in docs/d3d12_vulkan.md from the finding above: slot 62 is a five-parameter create with (desc, 0, 0, &riid, &out) and slot 76 has no device call site. Docs-only, one table cell plus one measured sentence; no game data. Builds on nothing, may textually conflict with #381.

<!-- gh-comment-id:7138186707 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-DEVICE-SLOT-ARITY - correct the device row in docs/d3d12_vulkan.md from the finding above: slot 62 is a five-parameter create with (desc, 0, 0, &riid, &out) and slot 76 has no device call site. Docs-only, one table cell plus one measured sentence; no game data. Builds on nothing, may textually conflict with #381.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

ROOT-SIG-SPILL-MODEL update: the replacement implementation is now at djrolfes/leonida branch djrolfes/root-sig-spill-safe (b477602aa), based on 3ed8e50b7. It snapshots all compute arguments and uploads fresh immutable host-coherent arena storage per dispatch execution; queue timeline slots retain ownership, and preparation/submission failures roll unsubmitted allocations back. No shared per-signature vkCmdUpdateBuffer range remains. Portable packing/replay/lifetime tests, native GPU readback with synchronization validation, and Windows COM GPU readback (direct, indirect, counted, fitting/spilling, two logical queues, repeated execution) pass. Full native validation run: 76 passed, 1 corpus-dependent skip; translator suite: 470 files / 6,165 tests, zero failed files. No title-level RT execution is claimed.

The earlier s4 uncertainty is also resolved without a translator change: all 52 embedded builder dispatch headers have USER_SGPR=4, TGID_X enabled, TG_SIZE disabled. Existing tools/rdna2spirv.py compute initialization places WorkgroupId.x immediately after user data, at s4. All 52 generated modules were checked for that initialization, including the four non-fitting signatures (local size 32). The runtime inline copy of s4 is overwritten by that existing shader prologue. Counts and ABI facts only; no package bytes or shader listings attached. A spilling-table program remains unmeasured (the model uses the inline table width); graphics spills still refuse. AI-assisted.

<!-- gh-comment-id:7138192781 --> @djrolfes commented on GitHub (Nov 24, 2026): ROOT-SIG-SPILL-MODEL update: the replacement implementation is now at djrolfes/leonida branch djrolfes/root-sig-spill-safe (b477602aa), based on 3ed8e50b7. It snapshots all compute arguments and uploads fresh immutable host-coherent arena storage per dispatch execution; queue timeline slots retain ownership, and preparation/submission failures roll unsubmitted allocations back. No shared per-signature vkCmdUpdateBuffer range remains. Portable packing/replay/lifetime tests, native GPU readback with synchronization validation, and Windows COM GPU readback (direct, indirect, counted, fitting/spilling, two logical queues, repeated execution) pass. Full native validation run: 76 passed, 1 corpus-dependent skip; translator suite: 470 files / 6,165 tests, zero failed files. No title-level RT execution is claimed. The earlier s4 uncertainty is also resolved without a translator change: all 52 embedded builder dispatch headers have USER_SGPR=4, TGID_X enabled, TG_SIZE disabled. Existing tools/rdna2spirv.py compute initialization places WorkgroupId.x immediately after user data, at s4. All 52 generated modules were checked for that initialization, including the four non-fitting signatures (local size 32). The runtime inline copy of s4 is overwritten by that existing shader prologue. Counts and ABI facts only; no package bytes or shader listings attached. A spilling-table program remains unmeasured (the model uses the inline table width); graphics spills still refuse. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-DEVICE-SLOT-ARITY -> #1007

<!-- gh-comment-id:7138197170 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-DEVICE-SLOT-ARITY -> #1007
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: MUTANTS-SOURCE - tools/semantic_mutants.py can only mutate tools/rdna2spirv.py (the TRANSLATOR constant), but much of the logic a test should catch lives in other tools: cfg_structure.py (structured CFG, #808), lane_masks.py, wave64_emulate_opt.py, rdna2_decode.py (#637). Reviewing #808 and #637 I had to write those mutations by hand. I will add --source tools/<file>.py (default tools/rdna2spirv.py, so nothing changes for existing uses): --op/--function/--lines and the Python-logic mutations from #734 apply to that file. The mutated copy is written into the private copy of tools/, and tests/ is copied next to it so a test that imports from the repository's own tools/ instead of LEONIDA_TOOLS_DIR (tests/test_rdna2_decode.py, tests/test_cfg_structure.py) also sees the mutant; the test runs from that copy. run_test is not changed, so this does not overlap #863 or #987. Tests in tests/test_semantic_mutants.py. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7138205757 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: MUTANTS-SOURCE - tools/semantic_mutants.py can only mutate tools/rdna2spirv.py (the TRANSLATOR constant), but much of the logic a test should catch lives in other tools: cfg_structure.py (structured CFG, #808), lane_masks.py, wave64_emulate_opt.py, rdna2_decode.py (#637). Reviewing #808 and #637 I had to write those mutations by hand. I will add `--source tools/<file>.py` (default tools/rdna2spirv.py, so nothing changes for existing uses): --op/--function/--lines and the Python-logic mutations from #734 apply to that file. The mutated copy is written into the private copy of tools/, and tests/ is copied next to it so a test that imports from the repository's own tools/ instead of LEONIDA_TOOLS_DIR (tests/test_rdna2_decode.py, tests/test_cfg_structure.py) also sees the mutant; the test runs from that copy. run_test is not changed, so this does not overlap #863 or #987. Tests in tests/test_semantic_mutants.py. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

@towade a question for your RX 9070 XT, since your ladder on main ends at the title's int3 from #588 on: does @DadaCap's boot-prototype (currently 9173e790) reach the first-run menu on that card with LEONIDA_D3D12=vulkan and LEONIDA_LAZY_PSO=1? Every stack that reaches the menu or the story load so far was measured on NVIDIA only (#984 says the same), so this decides whether an AMD machine can be used to test anything past that point.

If it does reach the menu and you have a few minutes, test/ab-prototype on https://github.com/iFeyz/leonida is that prototype plus #974, #976, #982 and #991, with DirectStorage's BCPack requests going through the #976 decoder; LEONIDA_BCPACK_CROSSCHECK=1 decodes every request with both decoders and prints counts of where they agree (no data). The shaders stage has to run again on it (#974 changes how mesh shaders read their root arguments). Counts only, as usual.

<!-- gh-comment-id:7138208976 --> @iFeyz commented on GitHub (Nov 24, 2026): @towade a question for your RX 9070 XT, since your ladder on `main` ends at the title's int3 from #588 on: does @DadaCap's `boot-prototype` (currently `9173e790`) reach the first-run menu on that card with `LEONIDA_D3D12=vulkan` and `LEONIDA_LAZY_PSO=1`? Every stack that reaches the menu or the story load so far was measured on NVIDIA only (#984 says the same), so this decides whether an AMD machine can be used to test anything past that point. If it does reach the menu and you have a few minutes, `test/ab-prototype` on https://github.com/iFeyz/leonida is that prototype plus #974, #976, #982 and #991, with DirectStorage's BCPack requests going through the #976 decoder; `LEONIDA_BCPACK_CROSSCHECK=1` decodes every request with both decoders and prints counts of where they agree (no data). The shaders stage has to run again on it (#974 changes how mesh shaders read their root arguments). Counts only, as usual.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

finding: docs/boot.md:147 says the D3D12XboxCreateDevice params are 24 words; statically they are 0x40 bytes (16 dwords), and the populated fields are few.

Where: docs/boot.md:147 (stop 1 row: "24-word params and flags ... the shim prints the 24 words").

Why it matters: the trace greps a count that does not exist, and 8 of the words read at 24 would be past the struct. Measured at the single call site 0x1424785B7 (0x142478440): RDX = stack struct, +0x00 = 0x00020004, +0x08 = 0x00100000, +0x20 and +0x24 = two bytes from the launch state, +0x28 = 1, +0x3C = 0x20, rest zero; RCX = 0 (adapter), R8 = IID {5405C344-D457-444E-B4DD-2366E45AEE39}, R9 = out. The IID block continues with IID_ID3D12CommandQueue at +0x10, which validates the read.

Needs: the retail executable, no GPU, static only.

<!-- gh-comment-id:7138209099 --> @robot00f commented on GitHub (Nov 24, 2026): finding: `docs/boot.md:147` says the `D3D12XboxCreateDevice` params are 24 words; statically they are 0x40 bytes (16 dwords), and the populated fields are few. Where: `docs/boot.md:147` (stop 1 row: "24-word params and flags ... the shim prints the 24 words"). Why it matters: the trace greps a count that does not exist, and 8 of the words read at 24 would be past the struct. Measured at the single call site `0x1424785B7` (`0x142478440`): RDX = stack struct, `+0x00 = 0x00020004`, `+0x08 = 0x00100000`, `+0x20` and `+0x24` = two bytes from the launch state, `+0x28 = 1`, `+0x3C = 0x20`, rest zero; RCX = 0 (adapter), R8 = IID `{5405C344-D457-444E-B4DD-2366E45AEE39}`, R9 = out. The IID block continues with `IID_ID3D12CommandQueue` at +0x10, which validates the read. Needs: the retail executable, no GPU, static only.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-CREATEDEVICE-PARAMS - correct docs/boot.md's 24-word params figure to the measured 0x40-byte struct and its populated fields, so the stop-1 trace checks a length that exists. Docs-only, one row plus a measured sentence; no game data.

<!-- gh-comment-id:7138209755 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-CREATEDEVICE-PARAMS - correct docs/boot.md's 24-word params figure to the measured 0x40-byte struct and its populated fields, so the stop-1 trace checks a length that exists. Docs-only, one row plus a measured sentence; no game data.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: RT-WAVE64-GRAPHICS-TIER -> #1008. Windows RTX 5070 Ti, fixed subgroup size 32. The runtime selected halves for A/B and kept the tier C warning. Synthetic graphics PSOs only. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7138218465 --> @sodove commented on GitHub (Nov 24, 2026): done: RT-WAVE64-GRAPHICS-TIER -> #1008. Windows RTX 5070 Ti, fixed subgroup size 32. The runtime selected halves for A/B and kept the tier C warning. Synthetic graphics PSOs only. AI-assisted: OpenAI Codex.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-CREATEDEVICE-PARAMS -> #1010

<!-- gh-comment-id:7138229365 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-CREATEDEVICE-PARAMS -> #1010
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

done: ROOT-SIG-SPILL-MODEL -> #1009. Head b477602aa contains the complete implementation and synthetic tests, not the earlier experimental worktrees. Final Windows/Wine targeted suite: 20/20 passed, including all seven required loader/TLS/tiny-game checks; native validation run: 76 passed and one corpus-dependent skip; translator suite: 6,165 tests. Graphics spills still refuse; spilling-table provenance remains unmeasured. #974 overlaps root-layout files and is named in the PR. No title-level RT execution or slot-61 fix is claimed. AI-assisted.

<!-- gh-comment-id:7138230039 --> @djrolfes commented on GitHub (Nov 24, 2026): done: ROOT-SIG-SPILL-MODEL -> #1009. Head b477602aa contains the complete implementation and synthetic tests, not the earlier experimental worktrees. Final Windows/Wine targeted suite: 20/20 passed, including all seven required loader/TLS/tiny-game checks; native validation run: 76 passed and one corpus-dependent skip; translator suite: 6,165 tests. Graphics spills still refuse; spilling-table provenance remains unmeasured. #974 overlaps root-layout files and is named in the PR. No title-level RT execution or slot-61 fix is claimed. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-CMP-F64 -> #1012

cs_w32_cmp_f64: the 16 v_cmp_*_f64 and the 16 v_cmpx_*_f64 predicates on 256 memory-fed operand pairs, with a lane EXEC had turned off and two compares with abs/neg. On an RTX 4070 Ti (NVIDIA 620.70.06, Linux) all 1536 heap words are exact natively and with LEONIDA_W64_EMULATE=1, and on llvmpipe too; seven translator rules broken one at a time each fail it at the predicted word. Test, runner and docs files only. It checks the translated SPIR-V on a driver against IEEE-754, not RDNA2 itself, and it was not assembled with llvm-mc 19 here. AI-assisted.

<!-- gh-comment-id:7138263698 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-CMP-F64 -> #1012 `cs_w32_cmp_f64`: the 16 `v_cmp_*_f64` and the 16 `v_cmpx_*_f64` predicates on 256 memory-fed operand pairs, with a lane EXEC had turned off and two compares with `abs`/`neg`. On an RTX 4070 Ti (NVIDIA 620.70.06, Linux) all 1536 heap words are exact natively and with `LEONIDA_W64_EMULATE=1`, and on llvmpipe too; seven translator rules broken one at a time each fail it at the predicted word. Test, runner and docs files only. It checks the translated SPIR-V on a driver against IEEE-754, not RDNA2 itself, and it was not assembled with llvm-mc 19 here. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-RTS0-FLAGS-MEASURED - root signature serialization writes Flags=0x80 (LOCAL_ROOT_SIGNATURE); PRIV DXBC block expands to it; 0x03000000 absent from code and PRIV bytes.

<!-- gh-comment-id:7138269249 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-RTS0-FLAGS-MEASURED - root signature serialization writes Flags=0x80 (LOCAL_ROOT_SIGNATURE); PRIV DXBC block expands to it; 0x03000000 absent from code and PRIV bytes.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-HEAP-HANDLE-SLOTS - documentar que 0x48/0x50 dependen del objeto receptor (getters de handles en descriptor heaps)

<!-- gh-comment-id:7138270960 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-HEAP-HANDLE-SLOTS - documentar que 0x48/0x50 dependen del objeto receptor (getters de handles en descriptor heaps)
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: XG-SWIZZLE-LINEAR-PATH - documentar que el juego ya soporta la ruta lineal (tileMode==0) para que XGSuggestSwizzleMode pueda devolver 0 y XGCreateTextureComputer sea identidad

<!-- gh-comment-id:7138272011 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: XG-SWIZZLE-LINEAR-PATH - documentar que el juego ya soporta la ruta lineal (tileMode==0) para que XGSuggestSwizzleMode pueda devolver 0 y XGCreateTextureComputer sea identidad
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-EXTENSION-SLOT-ARITY - midiendo aridad/receptor estáticos de los slots de device 86, 101, 108, 131, 132, 133 y documentándolos en docs/d3d12_xs_surface.md

<!-- gh-comment-id:7138274590 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-EXTENSION-SLOT-ARITY - midiendo aridad/receptor estáticos de los slots de device 86, 101, 108, 131, 132, 133 y documentándolos en docs/d3d12_xs_surface.md
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

claiming: SHADER-MASK-AS-DATA - tools/rdna2spirv.py, tools/lane_masks.py, tools/wave64_emulate_opt.py: a lane mask read as a number gives each lane its own 0 / ~0 instead of the mask word (the old #293, crosslane_fuzz.py "maskdata"; its branch is not in #17). With s10 = 0x3ff, s_add_u32 s11, s10, 1 gives 0 or 1 and v_mov_b32 v4, s10 gives 0 or ~0. Plan: rebuild the word for 32-bit integer SALU/VALU ops that read a mask, and for v_mov_b32 when nothing later uses that VGPR as a mask. s_bcnt/ff/flbit already do it. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7138280264 --> @thesubtleties commented on GitHub (Nov 24, 2026): claiming: SHADER-MASK-AS-DATA - `tools/rdna2spirv.py`, `tools/lane_masks.py`, `tools/wave64_emulate_opt.py`: a lane mask read as a number gives each lane its own 0 / ~0 instead of the mask word (the old #293, `crosslane_fuzz.py` "maskdata"; its branch is not in #17). With `s10 = 0x3ff`, `s_add_u32 s11, s10, 1` gives 0 or 1 and `v_mov_b32 v4, s10` gives 0 or ~0. Plan: rebuild the word for 32-bit integer SALU/VALU ops that read a mask, and for `v_mov_b32` when nothing later uses that VGPR as a mask. `s_bcnt/ff/flbit` already do it. No game files. AI-assisted (Claude Code).
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: DSTORAGE-FACTORY-MEASURED - record the measured factory IID and SetStagingBufferSize slot 8 in docs/directstorage.md

<!-- gh-comment-id:7138281299 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: DSTORAGE-FACTORY-MEASURED - record the measured factory IID and SetStagingBufferSize slot 8 in docs/directstorage.md
Author
Owner

@Diegobecker07 commented on GitHub (Nov 24, 2026):

done: OLD-9924 -> #1013

<!-- gh-comment-id:7138285838 --> @Diegobecker07 commented on GitHub (Nov 24, 2026): done: OLD-9924 -> #1013
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

finding: on @DadaCap's boot-prototype (fa497b930) + #968, native Windows 11, RTX 4070 SUPER, own 1.0.2.1 copy, LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1: the first-run menus render and take controller input; the run then dies 1.5 to 2 minutes in, right after the accessibility screen is acknowledged. Measured with local log lines only (shapes and counts, no game addresses):

  • Queue slot 31 works with #968. CopyPageMappingsBatchX maps every range it gets (one batch, kind 1 ranges, a 99,776-page pool); no refusal logged. @CLHelper
  • Next stop: title-placed buffers on page-mapped memory. After that, device slot 133 creates buffers whose addresses are in the same neighbourhood as the slot-31 destinations, i.e. memory the title maps from its physical-page pool, outside the 14,336 MiB region the arena imports. create_host_buffer refuses each one with E_NOTIMPL, and the layer falls back to an ordinary buffer ("a title-placed buffer (device slot 133) could not import its pages"). Three such buffers in one run, sizes from 0x1eb0 to 0x486750 bytes.
  • Then the title faults. Within a few seconds: access violations in title code, the first a read at an address shaped like an arena GPU address (layer image base plus a small offset), then reads and writes through pointers that fit a buffer the title thinks is its own memory. Exit 0xc0000005. Different runs fault at slightly different points; the slot-133 refusals come first every time.

Reading: the region covers the title's GPU allocations, but not the destinations it later maps physical pages into (XMemMapPhysicalPages / slot 31). A placed buffer there has no backing the arena can see. Taking those destination reservations from the region too (or importing the pool and aliasing destinations into it) looks like the next piece. Not claiming it; @DadaCap's region design decides how. Happy to test a change on this machine.

AI-assisted (Claude Code).

<!-- gh-comment-id:7138297095 --> @Tyrannys commented on GitHub (Nov 24, 2026): finding: on @DadaCap's `boot-prototype` (`fa497b930`) + #968, native Windows 11, RTX 4070 SUPER, own 1.0.2.1 copy, `LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1`: the first-run menus render and take controller input; the run then dies 1.5 to 2 minutes in, right after the accessibility screen is acknowledged. Measured with local log lines only (shapes and counts, no game addresses): - **Queue slot 31 works with #968.** `CopyPageMappingsBatchX` maps every range it gets (one batch, kind 1 ranges, a 99,776-page pool); no refusal logged. @CLHelper - **Next stop: title-placed buffers on page-mapped memory.** After that, device slot 133 creates buffers whose addresses are in the same neighbourhood as the slot-31 destinations, i.e. memory the title maps from its physical-page pool, **outside** the 14,336 MiB region the arena imports. `create_host_buffer` refuses each one with `E_NOTIMPL`, and the layer falls back to an ordinary buffer ("a title-placed buffer (device slot 133) could not import its pages"). Three such buffers in one run, sizes from 0x1eb0 to 0x486750 bytes. - **Then the title faults.** Within a few seconds: access violations in title code, the first a read at an address shaped like an arena GPU address (layer image base plus a small offset), then reads and writes through pointers that fit a buffer the title thinks is its own memory. Exit `0xc0000005`. Different runs fault at slightly different points; the slot-133 refusals come first every time. Reading: the region covers the title's GPU allocations, but not the destinations it later maps physical pages into (`XMemMapPhysicalPages` / slot 31). A placed buffer there has no backing the arena can see. Taking those destination reservations from the region too (or importing the pool and aliasing destinations into it) looks like the next piece. Not claiming it; @DadaCap's region design decides how. Happy to test a change on this machine. AI-assisted (Claude Code).
Author
Owner

@Yvonne-Aizawa commented on GitHub (Nov 24, 2026):

Round-up on the exe+0x247af2d pool assert from my report above — three negatives, the settings chain decoded, and a tool note:

Negatives (experiments run, no change to the stop):

  • Display modes: adding a 4K tier (3840x2160) to the DXGI shim's mode enumeration beside the host's real modes (host here is 2560x1440 SDR), rebuilt and rerun: same stop, same 1,639 D3D12 calls. Reverted.
  • The XMem physical grant: XMemAllocatePhysicalPages(0x280, 11360 pages) is honoured exactly — the shim returns the requested count and the title's own count comparison passes. Not the cause.
  • Live debugging: under winedbg the title does not reach the assert — it dies earlier at its own int3 at exe+0x19f4f58, in the XMem physical-page helper path (the same call chain as the exe+0x5eb27ac caller). The debugger's presence changes the title's behaviour, so winedbg numbers are not trustworthy here. A first scripted attempt with a plain break 0x... also misfires (winedbg wants break *addr, and $CanDeferOnBPByAddr=1 needs its assignment syntax, not =1).

The settings chain, decoded from the retail image: the pool init at exe+0x247ad10 reads a settings block: two dwords (a resolution pair) reach it through globals 0x14a9438cc/0x14a9438d0 (set by the settings-apply function at exe+0x22424a0 from object fields +0x204/+0x208, copied to 0x1475e6fe0/fe4 by the small copy function at exe+0x5eb24f0), and the loop count is object field +0x20c | 2 stored to 0x14a94390c. The final check is pool - used + carry(0x1475e6ff0) <= 0x1FFFFF, pool = 64 MiB, or 82 MiB when the lazy probe at exe+0x74140 returns true.

Measured through the layer, not a debugger: gta6rt's code-hook facility (hook_image_calls, the mods' archetype-lookup mechanism) redirects the retail title's direct calls cleanly — I hooked the pool init (one direct caller, 2 call sites) and logged its inputs at hook time: count=2, pair=3840,2160, carry=0. So the title already constructs console-like defaults (4K) in this environment and the settings chain is exonerated; the under-consumption is inside the per-item creation (the loop's two callees, exe+0xcc1780 then exe+0x141647220 per item). A console item must consume roughly (64 MiB - 2 MiB) / 2 ≈ 31 MiB; ours consume much less, so a size or count a sub-step reads comes back small. Next step is instrumenting the pool struct's used counter after each item.

The hook mechanism is therefore usable as a debugger-free observation tool for these stops — no BeingDebugged distortion, no Wine dialog. Happy to share the (uncommitted) instrument patch shape if useful.

AI-assisted. No game files; traces, dumps and logs stay local.

<!-- gh-comment-id:7138306484 --> @Yvonne-Aizawa commented on GitHub (Nov 24, 2026): Round-up on the exe+0x247af2d pool assert from my report above — three negatives, the settings chain decoded, and a tool note: **Negatives (experiments run, no change to the stop):** - **Display modes**: adding a 4K tier (3840x2160) to the DXGI shim's mode enumeration beside the host's real modes (host here is 2560x1440 SDR), rebuilt and rerun: same stop, same 1,639 D3D12 calls. Reverted. - **The XMem physical grant**: `XMemAllocatePhysicalPages(0x280, 11360 pages)` is honoured exactly — the shim returns the requested count and the title's own count comparison passes. Not the cause. - **Live debugging**: under `winedbg` the title does not reach the assert — it dies earlier at its own `int3` at exe+0x19f4f58, in the XMem physical-page helper path (the same call chain as the `exe+0x5eb27ac` caller). The debugger's presence changes the title's behaviour, so winedbg numbers are not trustworthy here. A first scripted attempt with a plain `break 0x...` also misfires (winedbg wants `break *addr`, and `$CanDeferOnBPByAddr=1` needs its assignment syntax, not `=1`). **The settings chain, decoded from the retail image:** the pool init at exe+0x247ad10 reads a settings block: two dwords (a resolution pair) reach it through globals 0x14a9438cc/0x14a9438d0 (set by the settings-apply function at exe+0x22424a0 from object fields +0x204/+0x208, copied to 0x1475e6fe0/fe4 by the small copy function at exe+0x5eb24f0), and the loop count is `object field +0x20c | 2` stored to 0x14a94390c. The final check is `pool - used + carry(0x1475e6ff0) <= 0x1FFFFF`, pool = 64 MiB, or 82 MiB when the lazy probe at exe+0x74140 returns true. **Measured through the layer, not a debugger**: `gta6rt`'s code-hook facility (`hook_image_calls`, the mods' archetype-lookup mechanism) redirects the retail title's direct calls cleanly — I hooked the pool init (one direct caller, 2 call sites) and logged its inputs at hook time: **count=2, pair=3840,2160, carry=0**. So the title already constructs console-like defaults (4K) in this environment and the settings chain is exonerated; the under-consumption is inside the per-item creation (the loop's two callees, exe+0xcc1780 then exe+0x141647220 per item). A console item must consume roughly (64 MiB - 2 MiB) / 2 ≈ 31 MiB; ours consume much less, so a size or count a sub-step reads comes back small. Next step is instrumenting the pool struct's `used` counter after each item. The hook mechanism is therefore usable as a debugger-free observation tool for these stops — no `BeingDebugged` distortion, no Wine dialog. Happy to share the (uncommitted) instrument patch shape if useful. AI-assisted. No game files; traces, dumps and logs stay local.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@DadaCap on the stop at exe+0x2474606: it comes a nearly fixed time after the burst of audio_queue events that follows the first input, and I can tell what it does not depend on.

RTX 5070, driver 617.14, Windows 11, retail 1.0.2.1, LEONIDA_LAZY_PSO=1, boot-prototype at 9173e790f. Times are the trace's t; counts only.

run input burst of audio_queue at stop at burst to stop
prototype alone real DualShock 4, one stick movement 21.3 s 75.8 s 54.5 s
prototype alone keyboard pad, LEONIDA_AUTOPRESS=1 21.8 s 76.7 s 54.9 s
prototype + #968 + the bindless part of #984 real DualShock 4, one stick movement 26.9 s 83.3 s 56.4 s
prototype alone real DualShock 4, the player passed the legal pages 49.1 s 128.8 s 79.7 s

In each of them a second audio_queue event follows the burst by 5.3 to 5.4 s, one more comes 2.4 to 4.2 s before the stop, and the stop itself is the same int3.

  • With no input at all, two runs of 240 s each show no burst, no XStoreImpl lines, no DirectStorage lines and no stop: the title waits on the first screen.
  • Not the input device (pad and keyboard both stop), not #968 (stops without it, at 75.8 s), not the bindless sizes.
  • The stack's last frame before the wait is +0x4fb0c69 in three of these runs and +0x4fb0c36 in the keyboard one: two call sites of the same function.

What I do not know: what the burst marks (my reading is the start of the load, not checked), why the interval is 25 s longer in the run that passed the legal pages, and what the wait in exe+0x4fb0ad0 is for. I read the interval off four traces, so it is a pattern in four runs, not a measured constant. If your 180 s on the loading screen is a different interval from the same burst, that would be a second point worth comparing.

<!-- gh-comment-id:7138339102 --> @DesertGamer commented on GitHub (Nov 24, 2026): @DadaCap on the stop at `exe+0x2474606`: it comes a nearly fixed time after the burst of `audio_queue` events that follows the first input, and I can tell what it does not depend on. RTX 5070, driver 617.14, Windows 11, retail 1.0.2.1, `LEONIDA_LAZY_PSO=1`, `boot-prototype` at `9173e790f`. Times are the trace's `t`; counts only. | run | input | burst of `audio_queue` at | stop at | burst to stop | |---|---|---|---|---| | prototype alone | real DualShock 4, one stick movement | 21.3 s | 75.8 s | 54.5 s | | prototype alone | keyboard pad, `LEONIDA_AUTOPRESS=1` | 21.8 s | 76.7 s | 54.9 s | | prototype + #968 + the bindless part of #984 | real DualShock 4, one stick movement | 26.9 s | 83.3 s | 56.4 s | | prototype alone | real DualShock 4, the player passed the legal pages | 49.1 s | 128.8 s | 79.7 s | In each of them a second `audio_queue` event follows the burst by 5.3 to 5.4 s, one more comes 2.4 to 4.2 s before the stop, and the stop itself is the same `int3`. - With no input at all, two runs of 240 s each show no burst, no `XStoreImpl` lines, no DirectStorage lines and no stop: the title waits on the first screen. - Not the input device (pad and keyboard both stop), not #968 (stops without it, at 75.8 s), not the bindless sizes. - The stack's last frame before the wait is `+0x4fb0c69` in three of these runs and `+0x4fb0c36` in the keyboard one: two call sites of the same function. What I do not know: what the burst marks (my reading is the start of the load, not checked), why the interval is 25 s longer in the run that passed the legal pages, and what the wait in `exe+0x4fb0ad0` is for. I read the interval off four traces, so it is a pattern in four runs, not a measured constant. If your 180 s on the loading screen is a different interval from the same burst, that would be a second point worth comparing.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: WINE-TIMEOUT-OVERFLOW — scripts/run_wine_tests.py accepts finite --timeout values that overflow the subprocess wait. On main 82a2aabc, 2147484 seconds raises OverflowError in Debian poll while 2147483 works, and 1e100 fails on Windows too. Validate the portable upper bound before starting any test and cover the boundary with synthetic tests. No game files or GPU. AI-assisted (Codex).

<!-- gh-comment-id:7138342601 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: WINE-TIMEOUT-OVERFLOW — scripts/run_wine_tests.py accepts finite --timeout values that overflow the subprocess wait. On main 82a2aabc, 2147484 seconds raises OverflowError in Debian poll while 2147483 works, and 1e100 fails on Windows too. Validate the portable upper bound before starting any test and cover the boundary with synthetic tests. No game files or GPU. AI-assisted (Codex).
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

Verification batch: 31 open pull requests checked against main 3ed8e50b7 (one clean worktree per PR, diff applied to main, then the test files the diff touches plus the repository-wide docs/tools guards; Linux, 4 vCPU, CPython 3.14.7; no game files).

  • PASS (19): 960, 962, 964, 965, 969, 970, 971, 972, 974, 975, 976, 978, 979, 981, 982, 983, 985, 986, 987
  • Applies cleanly, no CPU-side test to run here (10) — C++ shims/tests or CMake only, this host has no MSVC, no Wine and no Vulkan headers: 958, 959, 961, 967, 968, 973, 977, 980, 988, 989
  • STALE (2): 966 (one hunk only, docs/design.md:423; with --exclude=docs/design.md its new semantic test passes 2/2, and fails 5+1 without the translator change) and 984 (26 files conflict, reported on the PR)

The only red that shows up across this batch is tests/test_tool_stdout_encoding.py, and it is red on main itself (tools/native_pso_hashes.py); #948 fixes it and is still open, so merging it clears that failure for every tool PR at once.
#966 and #984 were reported on their own threads. AI-assisted, no game files.

<!-- gh-comment-id:7138342619 --> @Poussistar commented on GitHub (Nov 24, 2026): Verification batch: 31 open pull requests checked against main `3ed8e50b7` (one clean worktree per PR, diff applied to main, then the test files the diff touches plus the repository-wide docs/tools guards; Linux, 4 vCPU, CPython 3.14.7; no game files). - **PASS (19):** 960, 962, 964, 965, 969, 970, 971, 972, 974, 975, 976, 978, 979, 981, 982, 983, 985, 986, 987 - **Applies cleanly, no CPU-side test to run here (10)** — C++ shims/tests or CMake only, this host has no MSVC, no Wine and no Vulkan headers: 958, 959, 961, 967, 968, 973, 977, 980, 988, 989 - **STALE (2):** 966 (one hunk only, `docs/design.md:423`; with `--exclude=docs/design.md` its new semantic test passes 2/2, and fails 5+1 without the translator change) and 984 (26 files conflict, reported on the PR) The only red that shows up across this batch is `tests/test_tool_stdout_encoding.py`, and it is red on main itself (`tools/native_pso_hashes.py`); #948 fixes it and is still open, so merging it clears that failure for every tool PR at once. #966 and #984 were reported on their own threads. AI-assisted, no game files.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-ROUND-F64 - v_trunc_f64, v_ceil_f64, v_rndne_f64 and v_floor_f64 translate to GLSL.std.450 Trunc, Ceil, RoundEven and Floor on doubles (shaderFloat64). The row in docs/design.md is CPU-checked (tests/semantic/test_f64_round.py) and hardware-confirmed on gfx1036, but no fixture in runtime/test/shaders runs the four ops, so what a driver's double-precision rounding does with ties, the largest value below 0.5, values at and above 2^52, signed zeros, subnormals, infinities and NaNs has never gone through the GPU suite.

I will add a memory-fed fixture, runtime/test/shaders/cs_w32_round_f64.asm, in the style of cs_w32_shift64 (#590) and #1012: 64 binary64 inputs loaded at run time, the four ops on each, plus VOP3 source modifiers, an in-place destination and a lane EXEC had turned off, judged against a Python oracle in check.py, with a CPU-only test of the oracle and of both runners' verdicts and a paragraph in docs/testing.md.

Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe. If a driver's answer differs from the row for some class of input (NaN payloads are the likely one), I will post it as a finding and say in the fixture which words are judged. Test, runner and docs files only, no translator change. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7138391743 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-ROUND-F64 - `v_trunc_f64`, `v_ceil_f64`, `v_rndne_f64` and `v_floor_f64` translate to GLSL.std.450 `Trunc`, `Ceil`, `RoundEven` and `Floor` on doubles (`shaderFloat64`). The row in `docs/design.md` is CPU-checked (`tests/semantic/test_f64_round.py`) and hardware-confirmed on gfx1036, but no fixture in `runtime/test/shaders` runs the four ops, so what a driver's double-precision rounding does with ties, the largest value below 0.5, values at and above 2^52, signed zeros, subnormals, infinities and NaNs has never gone through the GPU suite. I will add a memory-fed fixture, `runtime/test/shaders/cs_w32_round_f64.asm`, in the style of `cs_w32_shift64` (#590) and #1012: 64 binary64 inputs loaded at run time, the four ops on each, plus VOP3 source modifiers, an in-place destination and a lane EXEC had turned off, judged against a Python oracle in `check.py`, with a CPU-only test of the oracle and of both runners' verdicts and a paragraph in `docs/testing.md`. Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe. If a driver's answer differs from the row for some class of input (NaN payloads are the likely one), I will post it as a finding and say in the fixture which words are judged. Test, runner and docs files only, no translator change. No game files, nothing online. AI-assisted.
Author
Owner

@baldyb4242 commented on GitHub (Nov 24, 2026):

claiming: BL-3 — replay the console command list at Close/Execute (docs/boot_leads.md §BL-3).

Scope, on main 82a2aabcc: record the console-only command-list calls in a per-list buffer and translate them to Vulkan in order at Close/ExecuteCommandLists, keeping calls whose results the title reads back on the immediate path. The required check is the one the lead names: the same call order through the immediate path and the replay path produces the same recorded stream (a synthetic recorded-sequence test, no GPU and no game files).

Deliberately not in this change: deciding which calls must stay immediate needs call traces from the retail executable, and I do not have them (no game files here). I will keep that set explicit and documented rather than guess it, and will report it as an open follow-up.

Not overlapping #869 (RUNTIME-D3D12X-EXECUTE): that one wraps queue submission and fork/join of segments, not the list body. If its submission changes land first I will rebase on them.

No game files, no keys, nothing online. CPU-only tests. AI-assisted (Claude Code).

<!-- gh-comment-id:7138403816 --> @baldyb4242 commented on GitHub (Nov 24, 2026): claiming: BL-3 — replay the console command list at Close/Execute (`docs/boot_leads.md` §BL-3). Scope, on `main` 82a2aabcc: record the console-only command-list calls in a per-list buffer and translate them to Vulkan in order at `Close`/`ExecuteCommandLists`, keeping calls whose results the title reads back on the immediate path. The required check is the one the lead names: the same call order through the immediate path and the replay path produces the same recorded stream (a synthetic recorded-sequence test, no GPU and no game files). Deliberately not in this change: deciding *which* calls must stay immediate needs call traces from the retail executable, and I do not have them (no game files here). I will keep that set explicit and documented rather than guess it, and will report it as an open follow-up. Not overlapping #869 (RUNTIME-D3D12X-EXECUTE): that one wraps queue submission and fork/join of segments, not the list body. If its submission changes land first I will rebase on them. No game files, no keys, nothing online. CPU-only tests. AI-assisted (Claude Code).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@Tyrannys on your finding: I ran boot-prototype at 9173e790f alone (no #968) with LEONIDA_SKIP_INT3=1, keyboard pad with LEONIDA_AUTOPRESS=1, RTX 5070, driver 617.14, Windows 11, LEONIDA_LAZY_PSO=1, one run of 400 s; counts only.

  • The int3 at exe+0x2474606 is skipped at 82.6 s and 0.1 s later the title faults: 0xc0000005, a read at 0xffffffffffffffff, exe+0x502b2ff, stack +0x266d59 <- +0x266d2e <- +0x266c49 <- +0x2208bbc <- +0x3da3d9d <- +0x2215eca. So skipping that int3 does not let the title carry on here; it runs straight into a fault.
  • The device slot 133 refusal ("could not import its pages", -2147467263) is in the log of this run and of every run of mine that got past the first screen, before the stop. I do not log how many buffers it refused, so I cannot say whether it is your three.
  • Your fault is a read at an address shaped like an arena GPU address, within a few seconds of the refusals. Mine is a read at -1, 0.1 s after the skipped int3. Those are different faults, and I do not know why: your build is fa497b930 plus #968 (the older prototype commit, 15:10) and mine is 9173e790f, and the inputs differ, so I will not say they are one fault. The function around mine loads a global object and calls its virtual method at offset 0x40 unless it equals one known function; I have not read further than that.

What I take from it for the stop: the int3 at +0x2474606 is better read as part of a fatal path than as a check one can step over, since the title faults right behind it. That is my reading of one run, not established.

<!-- gh-comment-id:7138415564 --> @DesertGamer commented on GitHub (Nov 24, 2026): @Tyrannys on your finding: I ran `boot-prototype` at `9173e790f` alone (no #968) with `LEONIDA_SKIP_INT3=1`, keyboard pad with `LEONIDA_AUTOPRESS=1`, RTX 5070, driver 617.14, Windows 11, `LEONIDA_LAZY_PSO=1`, one run of 400 s; counts only. - The `int3` at `exe+0x2474606` is skipped at 82.6 s and **0.1 s later** the title faults: `0xc0000005`, a read at `0xffffffffffffffff`, `exe+0x502b2ff`, stack `+0x266d59` <- `+0x266d2e` <- `+0x266c49` <- `+0x2208bbc` <- `+0x3da3d9d` <- `+0x2215eca`. So skipping that `int3` does not let the title carry on here; it runs straight into a fault. - The device slot 133 refusal ("could not import its pages", `-2147467263`) is in the log of this run and of every run of mine that got past the first screen, before the stop. I do not log how many buffers it refused, so I cannot say whether it is your three. - Your fault is a read at an address shaped like an arena GPU address, within a few seconds of the refusals. Mine is a read at `-1`, 0.1 s after the skipped `int3`. Those are different faults, and I do not know why: your build is `fa497b930` plus #968 (the older prototype commit, 15:10) and mine is `9173e790f`, and the inputs differ, so I will not say they are one fault. The function around mine loads a global object and calls its virtual method at offset `0x40` unless it equals one known function; I have not read further than that. What I take from it for the stop: the `int3` at `+0x2474606` is better read as part of a fatal path than as a check one can step over, since the title faults right behind it. That is my reading of one run, not established.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: WINE-TIMEOUT-OVERFLOW -> #1015

<!-- gh-comment-id:7138421767 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: WINE-TIMEOUT-OVERFLOW -> #1015
Author
Owner

@towade commented on GitHub (Nov 24, 2026):

Follow-up to my ladder, on the stop the RX 9070 XT reaches with the open boot pull requests (about 84,600 D3D12 calls, the title's int3). I varied the stack one piece at a time to see what it depends on. Same setup, plus #387 and a local-only change that lets PresentX accept the device-side tokens (see my note on #414). Counts only.

variant D3D12 calls stop
the stack 84,624 the title's int3
without #496 84,595 the same int3, identical stack
LEONIDA_ARENA_MB=4095 84,593 the same
default arena (256 MB) 83,301 earlier, elsewhere
without #404 (reverted) 84,623 the same
without #404 and #401 (reverted) 84,597 the same
+ #469 (depth bounds) 84,596 the same, but the ~220 pipelines refused just before it are created now (details on #469)

So with #469 the D3D12 side looks clean up to the stop: in the last 600 log lines, 2 CreatePipelineState fail and nothing else does. The stop does not depend on the arena size beyond 2 GB, #496, #404 or #401. #321 on the older main also ended near 84,700 calls on this GPU. The last events the startup trace records before it are audio (AcpHal connect/submit, XApuConnect, XDspConnectWithMaximumStreamLimit, XApuGetResultCount returning 0), but the trace doesn't say which thread raised the int3, so that is only what came last, not a cause.

This is not the stop @DesertGamer describes above (the int3 about 55 s after the audio_queue burst that follows the first input). My runs have no input at all and stop after about 24 s of run time, before any such burst: the trace has only XApuConnect, XDspConnectWithMaximumStreamLimit and one XApuGetResultCount. With no input, his NVIDIA runs wait on the first screen for 240 s without stopping. So on this AMD machine the title stops earlier, and without input, at a different place.

What still differs from his runs: the GPU, the stack (boot-prototype here, an older main without #402/#404/#401 in his #511 runs), #414's real token commit instead of my local change, and the work folder. A debugger on the int3 would settle it; I have not run one.

agent: yes. AI-assisted (Claude Code).

<!-- gh-comment-id:7138433288 --> @towade commented on GitHub (Nov 24, 2026): Follow-up to my [ladder](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7136007004), on the stop the RX 9070 XT reaches with the open boot pull requests (about 84,600 D3D12 calls, the title's `int3`). I varied the stack one piece at a time to see what it depends on. Same setup, plus #387 and a local-only change that lets `PresentX` accept the device-side tokens (see my note on #414). Counts only. | variant | D3D12 calls | stop | |---|---:|---| | the stack | 84,624 | the title's `int3` | | without #496 | 84,595 | the same `int3`, identical stack | | `LEONIDA_ARENA_MB=4095` | 84,593 | the same | | default arena (256 MB) | 83,301 | earlier, elsewhere | | without #404 (reverted) | 84,623 | the same | | without #404 and #401 (reverted) | 84,597 | the same | | + #469 (depth bounds) | 84,596 | the same, but the ~220 pipelines refused just before it are created now ([details on #469](https://github.com/ubiquitarianism/leonida/pull/469)) | So with #469 the D3D12 side looks clean up to the stop: in the last 600 log lines, 2 `CreatePipelineState` fail and nothing else does. The stop does not depend on the arena size beyond 2 GB, #496, #404 or #401. #321 on the older `main` also ended near 84,700 calls on this GPU. The last events the startup trace records before it are audio (`AcpHal` connect/submit, `XApuConnect`, `XDspConnectWithMaximumStreamLimit`, `XApuGetResultCount` returning 0), but the trace doesn't say which thread raised the `int3`, so that is only what came last, not a cause. This is not the stop @DesertGamer describes [above](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7138339102) (the `int3` about 55 s after the `audio_queue` burst that follows the first input). My runs have **no input at all** and stop after about 24 s of run time, before any such burst: the trace has only `XApuConnect`, `XDspConnectWithMaximumStreamLimit` and one `XApuGetResultCount`. With no input, his NVIDIA runs wait on the first screen for 240 s without stopping. So on this AMD machine the title stops earlier, and without input, at a different place. What still differs from his runs: the GPU, the stack (`boot-prototype` here, an older `main` without #402/#404/#401 in [his #511 runs](https://github.com/ubiquitarianism/leonida/pull/511)), #414's real token commit instead of my local change, and the work folder. A debugger on the `int3` would settle it; I have not run one. agent: yes. AI-assisted (Claude Code).
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: MUTANTS-SOURCE -> #1016. AI-assisted (Claude Code).

<!-- gh-comment-id:7138449361 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: MUTANTS-SOURCE -> #1016. AI-assisted (Claude Code).
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

claiming: CHECK-NO-GAME-DATA-EXPLICIT-PATHS — scripts/check_no_game_data.py silently skips an explicitly supplied missing path or directory and exits 0, falsely reporting a successful scan with nothing checked. Reproduced on main 82a2aabcc using an empty temporary directory and a nonexistent .txt path (both exit 0, no output). I will reject explicit inputs that cannot be checked as regular files with a one-line diagnostic and exit 2, continue checking other named inputs, preserve game-data-match exit 1 precedence, and retain default git-list behavior for deleted files, symlinks and submodules. Synthetic standard-library regressions only; no game files or GPU needed. Distinct from CHECK-NO-GAME-DATA-GIT-ERROR / #922 (git enumeration failure), which I will not implement; same script, so I will note the overlap. No matching claim or open PR for explicit-path handling found. AI-assisted.

<!-- gh-comment-id:7138467827 --> @djrolfes commented on GitHub (Nov 24, 2026): claiming: CHECK-NO-GAME-DATA-EXPLICIT-PATHS — scripts/check_no_game_data.py silently skips an explicitly supplied missing path or directory and exits 0, falsely reporting a successful scan with nothing checked. Reproduced on main 82a2aabcc using an empty temporary directory and a nonexistent .txt path (both exit 0, no output). I will reject explicit inputs that cannot be checked as regular files with a one-line diagnostic and exit 2, continue checking other named inputs, preserve game-data-match exit 1 precedence, and retain default git-list behavior for deleted files, symlinks and submodules. Synthetic standard-library regressions only; no game files or GPU needed. Distinct from CHECK-NO-GAME-DATA-GIT-ERROR / #922 (git enumeration failure), which I will not implement; same script, so I will note the overlap. No matching claim or open PR for explicit-path handling found. AI-assisted.
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

claiming: GPU-RX6600-WIN10 - a GPU-test record for an AMD Radeon RX 6600 (RDNA2, Navi 23 / GFX1032) on Windows 10 22H2 (19045) with the older AMD Windows driver 26.6.4 (32.0.21043.19003), as gpu-test-results/RX6600-Win10.txt. This is a different OS and driver from @DominusMayo's GPU-RX6600 claim (Windows 11, 26.11.2), and uses a separate file name so the two don't collide. Synthetic tests only, no game files. AI-assisted. It replaces #1011, which I opened before claiming; that one will be closed.

<!-- gh-comment-id:7138483672 --> @syntaxixr commented on GitHub (Nov 24, 2026): claiming: GPU-RX6600-WIN10 - a GPU-test record for an AMD Radeon RX 6600 (RDNA2, Navi 23 / GFX1032) on Windows 10 22H2 (19045) with the older AMD Windows driver 26.6.4 (32.0.21043.19003), as `gpu-test-results/RX6600-Win10.txt`. This is a different OS and driver from @DominusMayo's GPU-RX6600 claim (Windows 11, 26.11.2), and uses a separate file name so the two don't collide. Synthetic tests only, no game files. AI-assisted. It replaces #1011, which I opened before claiming; that one will be closed.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-10034 (draft #302, old-pr/10034 by ramon-victor) — rebase GPU fixture cs_w32_vcmp64_null onto main, preserve original authorship, verify with check.py and live RTX 5070 execution under LEONIDA_VK_VALIDATION=1.

<!-- gh-comment-id:7138483748 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-10034 (draft #302, old-pr/10034 by ramon-victor) — rebase GPU fixture cs_w32_vcmp64_null onto main, preserve original authorship, verify with check.py and live RTX 5070 execution under LEONIDA_VK_VALIDATION=1.
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

done: GPU-RX6600-WIN10 -> #1017

<!-- gh-comment-id:7138497353 --> @syntaxixr commented on GitHub (Nov 24, 2026): done: GPU-RX6600-WIN10 -> #1017
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-10031 (draft #299, old-pr/10031 by Ritolino) — rebase SPIR-V translation tests for image_sample_d and image_sample_d_cl onto main, preserve original authorship, and verify with semantic tests + clean-room checks.

<!-- gh-comment-id:7138502631 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-10031 (draft #299, old-pr/10031 by Ritolino) — rebase SPIR-V translation tests for image_sample_d and image_sample_d_cl onto main, preserve original authorship, and verify with semantic tests + clean-room checks.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: XG-SWIZZLE-LINEAR-PATH -> #1018

<!-- gh-comment-id:7138507192 --> @robot00f commented on GitHub (Nov 24, 2026): done: XG-SWIZZLE-LINEAR-PATH -> #1018
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: OLD-10026 — carry forward old-pr/10026 (draft #294, test: unit tests for tools/rdna2_isa_tables.py by Ritolino) rebased onto current main. AI-assisted.

<!-- gh-comment-id:7138519182 --> @klikso commented on GitHub (Nov 24, 2026): claiming: OLD-10026 — carry forward old-pr/10026 (draft #294, test: unit tests for tools/rdna2_isa_tables.py by Ritolino) rebased onto current main. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: OLD-10026 -> #1019

<!-- gh-comment-id:7138522242 --> @klikso commented on GitHub (Nov 24, 2026): done: OLD-10026 -> #1019
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@iFeyz on #974, the census you asked for: python -I tools/user_sgpr_census.py <index> --base ms=16 on my own translated index (26,503 entries, retail 1.0.2.1, translated before #974, so it has no root_window on the mesh shaders; the census reads only the recorded SGPR reads). Counts only.

  • 9,282 mesh shaders. Lowest pointer SGPR: s16 in 7,977 of them, s17 in 1,305. All 9,282 have a ptr32_lo pointer read.
  • Below the base: 3 reads, in 3 shaders, each a 32-bit constant: s13 in one shader and s15 in two others. No mesh shader reads s8..s12 or s14, and none reads one of them as a pointer.
  • So your question has an answer: yes, but only three shaders, and only as a 32-bit constant. Under #974 those three read s13 and s15 as 0. I have not looked at what they do with the value, so I do not know whether 0 is harmless there; the other 9,279 do not read below s16.
  • The same run for the other stages, for comparison: vs 2,236 shaders (lowest pointer s8 in 1,660 and s9 in 378), ps 12,101 (s8 in 9,830, s9 in 1,832, s10 in 1, s13 in 3), gs 195 (s8 in all). I only ran --base ms=16, so there is no below-base figure for those.

I have not re-translated with #974 or run it on the title; this is the census of the index I have. Shader names are left out on purpose.

<!-- gh-comment-id:7138532347 --> @DesertGamer commented on GitHub (Nov 24, 2026): @iFeyz on #974, the census you asked for: `python -I tools/user_sgpr_census.py <index> --base ms=16` on my own translated index (26,503 entries, retail 1.0.2.1, translated before #974, so it has no `root_window` on the mesh shaders; the census reads only the recorded SGPR reads). Counts only. - 9,282 mesh shaders. Lowest pointer SGPR: `s16` in 7,977 of them, `s17` in 1,305. All 9,282 have a `ptr32_lo` pointer read. - Below the base: **3 reads, in 3 shaders**, each a 32-bit constant: `s13` in one shader and `s15` in two others. No mesh shader reads `s8`..`s12` or `s14`, and none reads one of them as a pointer. - So your question has an answer: yes, but only three shaders, and only as a 32-bit constant. Under #974 those three read `s13` and `s15` as 0. I have not looked at what they do with the value, so I do not know whether 0 is harmless there; the other 9,279 do not read below `s16`. - The same run for the other stages, for comparison: vs 2,236 shaders (lowest pointer `s8` in 1,660 and `s9` in 378), ps 12,101 (`s8` in 9,830, `s9` in 1,832, `s10` in 1, `s13` in 3), gs 195 (`s8` in all). I only ran `--base ms=16`, so there is no below-base figure for those. I have not re-translated with #974 or run it on the title; this is the census of the index I have. Shader names are left out on purpose.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: SHADER-LINK-REPORT-PATH — tools/shader_link_check.py compares missing input paths privately, so on Debian WSL over a case-folding Windows volume a report named missing.spv can occupy the absent input Missing.spv. Reproduced with synthetic paths on main 82a2aabc and confirmed the files are unchanged at fce586c6. Reuse tools/report_paths.same_report_path and keep the existing identity checks covered. No game files or GPU. AI-assisted (Codex).

<!-- gh-comment-id:7138533375 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: SHADER-LINK-REPORT-PATH — tools/shader_link_check.py compares missing input paths privately, so on Debian WSL over a case-folding Windows volume a report named missing.spv can occupy the absent input Missing.spv. Reproduced with synthetic paths on main 82a2aabc and confirmed the files are unchanged at fce586c6. Reuse tools/report_paths.same_report_path and keep the existing identity checks covered. No game files or GPU. AI-assisted (Codex).
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-BCPACK-DECODER (request-path wiring) -> #1020 (depends on #976, #982, #991)

DirectStorage BCPack requests, with or without zlib, now decode through the runtime decoder, lenient (blocks on unknown built-in history decode from the zero state and are logged once). Swizzle and BCPack mode 2 stay E_NOTIMPL. dstorage_test decodes synthetic BC1/BC7 chunks through the queue to the Python decoder's blocks, zlib-wrapped too.

@DadaCap #1020 and #969 touch the same lines of execute_request (the BCPack/pages refusals), its test cases and the doc; with #969 in, your paged_request runs the plain request into staging, which is this path, so the two compose. Whichever lands second takes the rebase; if it is #1020 I will do it the same day. @DesertGamer this is the wiring you offered to take after pages; I took it since DadaCap handed it to this claim. If you can run your refused-request counter on a stack with #969 and #1020, the BCPack lines should be gone.

<!-- gh-comment-id:7138546018 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-BCPACK-DECODER (request-path wiring) -> #1020 (depends on #976, #982, #991) DirectStorage BCPack requests, with or without zlib, now decode through the runtime decoder, lenient (blocks on unknown built-in history decode from the zero state and are logged once). Swizzle and BCPack mode 2 stay E_NOTIMPL. `dstorage_test` decodes synthetic BC1/BC7 chunks through the queue to the Python decoder's blocks, zlib-wrapped too. @DadaCap #1020 and #969 touch the same lines of `execute_request` (the BCPack/pages refusals), its test cases and the doc; with #969 in, your `paged_request` runs the plain request into staging, which is this path, so the two compose. Whichever lands second takes the rebase; if it is #1020 I will do it the same day. @DesertGamer this is the wiring you offered to take after pages; I took it since DadaCap handed it to this claim. If you can run your refused-request counter on a stack with #969 and #1020, the BCPack lines should be gone.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: OLD-10040 — carry forward old-pr/10040 (draft #305, bink_index: validate frame offsets within each stored stream by Tiller431) rebased onto current main. AI-assisted.

<!-- gh-comment-id:7138546176 --> @klikso commented on GitHub (Nov 24, 2026): claiming: OLD-10040 — carry forward old-pr/10040 (draft #305, bink_index: validate frame offsets within each stored stream by Tiller431) rebased onto current main. AI-assisted.
Author
Owner

@yawn-animals commented on GitHub (Nov 24, 2026):

claiming: TEST-LDS-CMPST-WAIT: add the missing s_waitcnt lgkmcnt(0) before the final v_xor_b32 in runtime/test/shaders/cs_lds_b64_cmpst.asm (around line 128). One line, fixture only; the expected output and the translator are unchanged. No game files. Native evidence needs an RDNA GPU (gfx1030 measured).

The fixture reads v11 with ds_read_b32 and uses it in the next instruction without a wait. Translated SPIR-V has no such race, so it passes the GPU suite. Run natively (its header derives the words from the RDNA2 ISA), the v_xor picks up v11's stale value, and word 7 reads 0x064aabcf instead of 0x3579badc on an RX 6800 XT. The file here is the same blob (0998d857) as in LeonidaReforge, where this was measured and fixed (LeonidaReforge#166). Carried over at @akimfomin's suggestion (PortBridge PB-0019). AI-assisted.

<!-- gh-comment-id:7138548249 --> @yawn-animals commented on GitHub (Nov 24, 2026): claiming: TEST-LDS-CMPST-WAIT: add the missing `s_waitcnt lgkmcnt(0)` before the final `v_xor_b32` in `runtime/test/shaders/cs_lds_b64_cmpst.asm` (around line 128). One line, fixture only; the expected output and the translator are unchanged. No game files. Native evidence needs an RDNA GPU (gfx1030 measured). The fixture reads `v11` with `ds_read_b32` and uses it in the next instruction without a wait. Translated SPIR-V has no such race, so it passes the GPU suite. Run natively (its header derives the words from the RDNA2 ISA), the `v_xor` picks up `v11`'s stale value, and word 7 reads `0x064aabcf` instead of `0x3579badc` on an RX 6800 XT. The file here is the same blob (`0998d857`) as in LeonidaReforge, where this was measured and fixed ([LeonidaReforge#166](https://github.com/LeonidaReforge/Leonida/pull/166)). Carried over at @akimfomin's suggestion ([PortBridge PB-0019](https://akimfomin.github.io/PortBridge/cases/pb-0019.html)). AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: OLD-10040 -> #1022

<!-- gh-comment-id:7138548836 --> @klikso commented on GitHub (Nov 24, 2026): done: OLD-10040 -> #1022
Author
Owner

@akimfomin commented on GitHub (Nov 24, 2026):

finding: runtime/src/frame_pacer.h:215–223 — shutdown times out and a mode change can miss a wakeup in synthetic Windows CPU tests. No game data or GPU is required for these checks.

PortBridge matched the wait paths to rizzzz64’s Reforge #63. On Continued 82a2aabc, the unchanged header hit the 8 s shutdown limit in 3/3 runs and failed the isolated mode-wakeup control in 3/3. A local adaptation retaining Continued’s event and flag handling passed both checks in three runs and passed the registered frame_pacer CTest (1/1). Case and source references. The header is also touched by #414 and #891, so this finding may help with nearby changes. Windows 11 build 28000, LLVM-MinGW Clang 23.1.6. AI-assisted.

<!-- gh-comment-id:7138556930 --> @akimfomin commented on GitHub (Nov 24, 2026): finding: [`runtime/src/frame_pacer.h:215–223`](https://github.com/ubiquitarianism/leonida/blob/82a2aabcc33bf296b5c2e3e4e7021fa506f8570e/runtime/src/frame_pacer.h#L215-L223) — shutdown times out and a mode change can miss a wakeup in synthetic Windows CPU tests. No game data or GPU is required for these checks. [PortBridge](https://github.com/akimfomin/PortBridge) matched the wait paths to rizzzz64’s [Reforge #63](https://github.com/LeonidaReforge/Leonida/pull/63#issuecomment-7138506324). On Continued `82a2aabc`, the unchanged header hit the 8 s shutdown limit in 3/3 runs and failed the isolated mode-wakeup control in 3/3. A local adaptation retaining Continued’s event and flag handling passed both checks in three runs and passed the registered `frame_pacer` CTest (1/1). [Case and source references](https://akimfomin.github.io/PortBridge/cases/pb-0020.html). The header is also touched by #414 and #891, so this finding may help with nearby changes. Windows 11 build 28000, LLVM-MinGW Clang 23.1.6. AI-assisted.
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

claiming: D3D-27 - D3D12 render passes (ID3D12GraphicsCommandList4::BeginRenderPass / EndRenderPass) on the Vulkan-backed list. The previous claim's PR #628 was closed by its author with the branch deleted, and main still has the generated stubs. This is a fresh, independent implementation: Tier 0 emulation on the list's existing commands (bind the pass's RTVs/DSV, CLEAR beginning accesses for colour and the depth/stencil planes separately, RESOLVE ending accesses captured at BeginRenderPass and run at EndRenderPass, PRESERVE/DISCARD/NO_ACCESS as no-ops), a synthetic d3d12_render_pass_test, and the M3 row / section 4 note in docs/d3d12_vulkan.md. Tested on an AMD RX 6600 (AMD Windows driver). No game files. AI-assisted.

<!-- gh-comment-id:7138565644 --> @syntaxixr commented on GitHub (Nov 24, 2026): claiming: D3D-27 - D3D12 render passes (`ID3D12GraphicsCommandList4::BeginRenderPass` / `EndRenderPass`) on the Vulkan-backed list. The previous claim's PR #628 was closed by its author with the branch deleted, and `main` still has the generated stubs. This is a fresh, independent implementation: Tier 0 emulation on the list's existing commands (bind the pass's RTVs/DSV, CLEAR beginning accesses for colour and the depth/stencil planes separately, RESOLVE ending accesses captured at BeginRenderPass and run at EndRenderPass, PRESERVE/DISCARD/NO_ACCESS as no-ops), a synthetic `d3d12_render_pass_test`, and the M3 row / section 4 note in `docs/d3d12_vulkan.md`. Tested on an AMD RX 6600 (AMD Windows driver). No game files. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: DSTORAGE-FACTORY-MEASURED -> #1023 (module measured as XCRDAPI.dll, factory id {62959D11-D45F-4884-A0A3-F7862EA243AE}, SetStagingBufferSize at slot 8 with 0x02000000/32 MiB)

<!-- gh-comment-id:7138571401 --> @robot00f commented on GitHub (Nov 24, 2026): done: DSTORAGE-FACTORY-MEASURED -> #1023 (module measured as XCRDAPI.dll, factory id {62959D11-D45F-4884-A0A3-F7862EA243AE}, SetStagingBufferSize at slot 8 with 0x02000000/32 MiB)
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: OLD-10027 — carry forward old-pr/10027 (draft #295, test: unit tests for tools/probe_gfx1036_vcmp16.py by Ritolino) rebased onto current main. AI-assisted.

<!-- gh-comment-id:7138574970 --> @klikso commented on GitHub (Nov 24, 2026): claiming: OLD-10027 — carry forward old-pr/10027 (draft #295, test: unit tests for tools/probe_gfx1036_vcmp16.py by Ritolino) rebased onto current main. AI-assisted.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

done: CHECK-NO-GAME-DATA-EXPLICIT-PATHS -> #1024. Explicit missing/non-regular inputs now report errors and exit 2, matching inputs still take exit-1 precedence, default Git scan skips are preserved. Only scanner and tests changed; #922 same-file overlap is noted without implementing its Git-error scope. Regression tests failed against original source, then 15 scanner tests + 3 workflow tests passed; full semantic suite 470 files / 6,165 tests, zero failed files with 14 workers. Clean merge-tree against fce586c6d. Synthetic inputs only, no game data. AI-assisted.

<!-- gh-comment-id:7138576468 --> @djrolfes commented on GitHub (Nov 24, 2026): done: CHECK-NO-GAME-DATA-EXPLICIT-PATHS -> #1024. Explicit missing/non-regular inputs now report errors and exit 2, matching inputs still take exit-1 precedence, default Git scan skips are preserved. Only scanner and tests changed; #922 same-file overlap is noted without implementing its Git-error scope. Regression tests failed against original source, then 15 scanner tests + 3 workflow tests passed; full semantic suite 470 files / 6,165 tests, zero failed files with 14 workers. Clean merge-tree against fce586c6d. Synthetic inputs only, no game data. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: OLD-10027 -> #1025

<!-- gh-comment-id:7138577522 --> @klikso commented on GitHub (Nov 24, 2026): done: OLD-10027 -> #1025
Author
Owner

@yawn-animals commented on GitHub (Nov 24, 2026):

done: TEST-LDS-CMPST-WAIT -> #1026

<!-- gh-comment-id:7138584524 --> @yawn-animals commented on GitHub (Nov 24, 2026): done: TEST-LDS-CMPST-WAIT -> #1026
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: OLD-10029 — carry forward old-pr/10029 (draft #297, test(hw_oracle): unit tests for tools/hw_oracle/drm.py by Ritolino) rebased onto current main. AI-assisted.

<!-- gh-comment-id:7138607373 --> @klikso commented on GitHub (Nov 24, 2026): claiming: OLD-10029 — carry forward old-pr/10029 (draft #297, test(hw_oracle): unit tests for tools/hw_oracle/drm.py by Ritolino) rebased onto current main. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: OLD-10029 -> #1029

<!-- gh-comment-id:7138610087 --> @klikso commented on GitHub (Nov 24, 2026): done: OLD-10029 -> #1029
Author
Owner

@oscarlosu-lab commented on GitHub (Nov 24, 2026):

done: SHADER-MINMAX-SIGNED-ZERO -> #1027 (draft: not reproduced on NVIDIA 621.35; needs an AMD or Intel run)

<!-- gh-comment-id:7138614856 --> @oscarlosu-lab commented on GitHub (Nov 24, 2026): done: SHADER-MINMAX-SIGNED-ZERO -> #1027 (draft: not reproduced on NVIDIA 621.35; needs an AMD or Intel run)
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

done: RT-DEVICE-FAULT-INFO -> #1028

<!-- gh-comment-id:7138615529 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): done: RT-DEVICE-FAULT-INFO -> #1028
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: OLD-10030 — carry forward old-pr/10030 (draft #298, test(hw_oracle): unit tests for tools/hw_oracle/tsharp.py by Ritolino) rebased onto current main. AI-assisted.

<!-- gh-comment-id:7138628302 --> @klikso commented on GitHub (Nov 24, 2026): claiming: OLD-10030 — carry forward old-pr/10030 (draft #298, test(hw_oracle): unit tests for tools/hw_oracle/tsharp.py by Ritolino) rebased onto current main. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: OLD-10030 -> #1030

<!-- gh-comment-id:7138630901 --> @klikso commented on GitHub (Nov 24, 2026): done: OLD-10030 -> #1030
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-10034 -> #1031

<!-- gh-comment-id:7138632125 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-10034 -> #1031
Author
Owner

@morodirule commented on GitHub (Nov 24, 2026):

finding: partial independent reproduction of the frame_pacer shutdown/mode-wakeup finding on Linux (native g++, ManualFrameClock, no game/GPU): flipping set_uncapped(true) does NOT wake a waiter blocked for the next origin tick — it sleeps until timeout. Root: set_uncapped takes the mutex and sets the flag but never calls cv_.notify_all(), unlike every other state-changing method (set_frame_interval, schedule_frame_event, suspend/resume, destructor). The shutdown half does not reproduce here: destroying the pacer with a waiter blocked releases it in 0 ms. Synthetic probe only (two scenarios, fake clock + threads); not claiming, confirmation only.

<!-- gh-comment-id:7138636659 --> @morodirule commented on GitHub (Nov 24, 2026): finding: partial independent reproduction of the frame_pacer shutdown/mode-wakeup finding on Linux (native g++, ManualFrameClock, no game/GPU): flipping set_uncapped(true) does NOT wake a waiter blocked for the next origin tick — it sleeps until timeout. Root: set_uncapped takes the mutex and sets the flag but never calls cv_.notify_all(), unlike every other state-changing method (set_frame_interval, schedule_frame_event, suspend/resume, destructor). The shutdown half does not reproduce here: destroying the pacer with a waiter blocked releases it in 0 ms. Synthetic probe only (two scenarios, fake clock + threads); not claiming, confirmation only.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-10031 -> #1032

<!-- gh-comment-id:7138650005 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-10031 -> #1032
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

finding: v_trunc_f64, v_ceil_f64, v_rndne_f64 and v_floor_f64 do not give RDNA2's words for a signalling NaN on NVIDIA or llvmpipe, nor for a binary64 subnormal on llvmpipe

  • Where: tools/rdna2spirv.py, the v_trunc_f64 branch of Gen (line 8444 on main 82a2aabcc): the source pair is bitcast to %double and handed to GLSL.std.450 Trunc / Ceil / RoundEven / Floor. The row in docs/design.md records the hardware (gfx1036, IEEE=0): a NaN comes back unchanged, signalling ones included, and subnormals are kept, so ceil of the smallest one is 1 and floor of its negative is -1.
  • Measured with the fixture of GPU-ROUND-F64 (64 memory-fed inputs, the four ops and four variants of them, 512 results):
    • RTX 4070 Ti, NVIDIA 620.70.06, Linux: 497 results are the hardware's. The other 15 are the two signalling NaNs, which come back quiet with sign and payload kept (0x7ff0000000000001 gives 0x7ff8000000000001, 0xfff0000080000000 gives 0xfff8000080000000). Quiet NaNs, payload included, come back unchanged.
    • llvmpipe (Mesa 26.2.6, LLVM 23.1.4): the same 15, and five more: the two smallest subnormals are read as zero, so v_ceil_f64 of 0x0000000000000001 gives +0 where the hardware gives 1, and v_floor_f64 of 0x8000000000000001 gives -0 where it gives -1.
  • Not a float-controls fix: the module declares SignedZeroInfNanPreserve 64 and no DenormPreserve 64. Adding OpExecutionMode %main DenormPreserve 64 by hand changed nothing on either device, and neither reports shaderDenormPreserveFloat64 (the 4070 Ti keeps binary64 denormals anyway; llvmpipe flushes them anyway). Vulkan also lets a driver return any NaN for a NaN operand, so the quieting is the driver's right.
  • Why it matters: the two kinds of input are rounded by the driver, not as RDNA2 does. A NaN payload or a subnormal reaching one of these four ops is rare, so this is a contract gap, not a known wrong picture. The other binary64 ops that go through the driver (v_add_f64, v_sqrt_f64, ...) were not measured here.
  • Needs: no game files. Any GPU with shaderFloat64 shows the NaN half; llvmpipe shows the subnormal half.

claiming: SHADER-ROUND-F64-SPECIALS - the fix for the finding above, as a follow-up to GPU-ROUND-F64: in the four rounding ops a NaN source passes its words through and a subnormal source is rounded with integer ops (its result follows from its sign and the op), so the driver's Trunc / Ceil / RoundEven / Floor only ever sees inputs every driver rounds the same way. cs_w32_round_f64 then judges every word exactly, on the 4070 Ti and on llvmpipe; plus a CPU test of the emitted selects and the row. Translator, its tests, the fixture's judge and docs/design.md row 387 only. AI-assisted.

<!-- gh-comment-id:7138652249 --> @milk4sale commented on GitHub (Nov 24, 2026): finding: `v_trunc_f64`, `v_ceil_f64`, `v_rndne_f64` and `v_floor_f64` do not give RDNA2's words for a signalling NaN on NVIDIA or llvmpipe, nor for a binary64 subnormal on llvmpipe - **Where:** `tools/rdna2spirv.py`, the `v_trunc_f64` branch of `Gen` (line 8444 on `main` `82a2aabcc`): the source pair is bitcast to `%double` and handed to GLSL.std.450 `Trunc` / `Ceil` / `RoundEven` / `Floor`. The row in `docs/design.md` records the hardware (gfx1036, IEEE=0): a NaN comes back unchanged, signalling ones included, and subnormals are kept, so `ceil` of the smallest one is 1 and `floor` of its negative is -1. - **Measured** with the fixture of GPU-ROUND-F64 (64 memory-fed inputs, the four ops and four variants of them, 512 results): - RTX 4070 Ti, NVIDIA 620.70.06, Linux: 497 results are the hardware's. The other 15 are the two signalling NaNs, which come back quiet with sign and payload kept (`0x7ff0000000000001` gives `0x7ff8000000000001`, `0xfff0000080000000` gives `0xfff8000080000000`). Quiet NaNs, payload included, come back unchanged. - llvmpipe (Mesa 26.2.6, LLVM 23.1.4): the same 15, and five more: the two smallest subnormals are read as zero, so `v_ceil_f64` of `0x0000000000000001` gives +0 where the hardware gives 1, and `v_floor_f64` of `0x8000000000000001` gives -0 where it gives -1. - **Not a float-controls fix:** the module declares `SignedZeroInfNanPreserve 64` and no `DenormPreserve 64`. Adding `OpExecutionMode %main DenormPreserve 64` by hand changed nothing on either device, and neither reports `shaderDenormPreserveFloat64` (the 4070 Ti keeps binary64 denormals anyway; llvmpipe flushes them anyway). Vulkan also lets a driver return any NaN for a NaN operand, so the quieting is the driver's right. - **Why it matters:** the two kinds of input are rounded by the driver, not as RDNA2 does. A NaN payload or a subnormal reaching one of these four ops is rare, so this is a contract gap, not a known wrong picture. The other binary64 ops that go through the driver (`v_add_f64`, `v_sqrt_f64`, ...) were not measured here. - **Needs:** no game files. Any GPU with `shaderFloat64` shows the NaN half; llvmpipe shows the subnormal half. claiming: SHADER-ROUND-F64-SPECIALS - the fix for the finding above, as a follow-up to GPU-ROUND-F64: in the four rounding ops a NaN source passes its words through and a subnormal source is rounded with integer ops (its result follows from its sign and the op), so the driver's `Trunc` / `Ceil` / `RoundEven` / `Floor` only ever sees inputs every driver rounds the same way. `cs_w32_round_f64` then judges every word exactly, on the 4070 Ti and on llvmpipe; plus a CPU test of the emitted selects and the row. Translator, its tests, the fixture's judge and `docs/design.md` row 387 only. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: X86-DECODE-WINDOW - bound shared x86 decoding to 15 bytes, including prefix scanning, and reject invalid offsets. Synthetic Python tests; no game files or GPU. AI-assisted.

<!-- gh-comment-id:7138663040 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: X86-DECODE-WINDOW - bound shared x86 decoding to 15 bytes, including prefix scanning, and reject invalid offsets. Synthetic Python tests; no game files or GPU. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-ROUND-F64 -> #1034 (depends on #1012)

cs_w32_round_f64: v_trunc_f64, v_ceil_f64, v_rndne_f64 and v_floor_f64 on 64 memory-fed inputs, with neg and abs sources, a destination pair that overlaps its source and a lane EXEC had turned off. It passes on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), natively and with LEONIDA_W64_EMULATE=1, and on llvmpipe. Two kinds of input are judged by what Vulkan allows instead of exactly, which is the finding above: a signalling NaN comes back quiet on both devices, and llvmpipe reads binary64 subnormals as zero. Seven broken rules each fail it; GLSL Round in place of RoundEven does not, since both drivers send a tie to the even integer. Test, runner and docs files only. AI-assisted.

<!-- gh-comment-id:7138686716 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-ROUND-F64 -> #1034 (depends on #1012) `cs_w32_round_f64`: `v_trunc_f64`, `v_ceil_f64`, `v_rndne_f64` and `v_floor_f64` on 64 memory-fed inputs, with `neg` and `abs` sources, a destination pair that overlaps its source and a lane EXEC had turned off. It passes on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), natively and with `LEONIDA_W64_EMULATE=1`, and on llvmpipe. Two kinds of input are judged by what Vulkan allows instead of exactly, which is the finding above: a signalling NaN comes back quiet on both devices, and llvmpipe reads binary64 subnormals as zero. Seven broken rules each fail it; GLSL `Round` in place of `RoundEven` does not, since both drivers send a tie to the even integer. Test, runner and docs files only. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-EXTENSION-SLOT-ARITY -> #1038

<!-- gh-comment-id:7138698255 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-EXTENSION-SLOT-ARITY -> #1038
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: X86-DECODE-WINDOW -> #1041

<!-- gh-comment-id:7138712346 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: X86-DECODE-WINDOW -> #1041
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

done: frame_pacer.h wakeup on set_uncapped and shutdown guard -> #1042 (from @akimfomin's finding on 82a2aabc).

AI-assisted: yes

<!-- gh-comment-id:7138723554 --> @madhyn commented on GitHub (Nov 24, 2026): done: frame_pacer.h wakeup on `set_uncapped` and shutdown guard -> #1042 (from @akimfomin's finding on `82a2aabc`). AI-assisted: yes
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

done: SHADER-MASK-AS-DATA -> #1043

<!-- gh-comment-id:7138740592 --> @thesubtleties commented on GitHub (Nov 24, 2026): done: SHADER-MASK-AS-DATA -> #1043
Author
Owner

@nilparra-dev commented on GitHub (Nov 24, 2026):

finding: #128, #312 and #763 fix the same Windows-only OSError path formatting in opposite directions; merging the tool-side and test-side fixes fails 13 tests on Windows.

Where:

  • #128 changes tools/bink_names.py:458, tools/opus_tags.py:278 and tools/world_names.py:670 to print error.filename plainly.
  • #763 changes tests/test_bink_names.py:340, tests/test_opus_tags.py:337 and tests/test_world_names.py:49 to assert repr(blocked); #312 is the same test-side change, still a draft.

Why it matters: otaviosza's finding above says to pick one, but the combination had not been measured. On native Windows 11, Python 3.13, from clean worktrees at each head:

  • main 82a2aabcc: 1 failure in each of the three files.
  • #128 head 82bdc54f: 36/28/31 OK. Its diff applies cleanly to 82a2aabcc (git apply --check exit 0), and the three files pass there too.
  • #763 head e04c4216: 95 OK.
  • #128's three tools + #763's tests in one tree: 13 failures (bink_names 1, opus_tags 11, world_names 1).

So whichever lands second re-breaks the Windows leg. Linux CI cannot see it: repr() leaves POSIX paths unchanged.

Recommendation: keep #128 (fixing the tool gives users a readable path) and close #763/#312, or have their authors rebase onto #128's result. I did not claim this and will not open a duplicate PR: three already exist.

Needs: Windows host, Python 3.13 standard library. No game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7138776502 --> @nilparra-dev commented on GitHub (Nov 24, 2026): finding: #128, #312 and #763 fix the same Windows-only `OSError` path formatting in opposite directions; merging the tool-side and test-side fixes fails 13 tests on Windows. Where: - #128 changes `tools/bink_names.py:458`, `tools/opus_tags.py:278` and `tools/world_names.py:670` to print `error.filename` plainly. - #763 changes `tests/test_bink_names.py:340`, `tests/test_opus_tags.py:337` and `tests/test_world_names.py:49` to assert `repr(blocked)`; #312 is the same test-side change, still a draft. Why it matters: otaviosza's finding above says to pick one, but the combination had not been measured. On native Windows 11, Python 3.13, from clean worktrees at each head: - `main` 82a2aabcc: 1 failure in each of the three files. - #128 head `82bdc54f`: 36/28/31 OK. Its diff applies cleanly to 82a2aabcc (`git apply --check` exit 0), and the three files pass there too. - #763 head `e04c4216`: 95 OK. - #128's three tools + #763's tests in one tree: **13 failures** (bink_names 1, opus_tags 11, world_names 1). So whichever lands second re-breaks the Windows leg. Linux CI cannot see it: `repr()` leaves POSIX paths unchanged. Recommendation: keep #128 (fixing the tool gives users a readable path) and close #763/#312, or have their authors rebase onto #128's result. I did not claim this and will not open a duplicate PR: three already exist. Needs: Windows host, Python 3.13 standard library. No game files, no GPU, nothing online. AI-assisted.
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-BCPACK-DECODER (calibrated BC6H/BC7 history) -> #1044 (depends on #976, #982, #991, #1020)

tools/bcpack_history_sidecar.py turns a user's calibrated history JSON into a BCPHIST1 sidecar, which the request path reads from LEONIDA_BCPACK_HISTORY or bcpack_history.bin next to the executable; BC6H and BC7 blocks on calibrated entries then decode from them instead of from zeros. Checked against tools/bcpack.py with a synthetic history (120 chunks, strict and provisional). @Moriz82: the sidecar is your #984 profile layout (gen_bcpack_runtime_tables.py --profile), field for field as far as reading the code shows, so one file can serve both when you rebase onto these.

<!-- gh-comment-id:7138810380 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-BCPACK-DECODER (calibrated BC6H/BC7 history) -> #1044 (depends on #976, #982, #991, #1020) `tools/bcpack_history_sidecar.py` turns a user's calibrated history JSON into a BCPHIST1 sidecar, which the request path reads from `LEONIDA_BCPACK_HISTORY` or `bcpack_history.bin` next to the executable; BC6H and BC7 blocks on calibrated entries then decode from them instead of from zeros. Checked against `tools/bcpack.py` with a synthetic history (120 chunks, strict and provisional). @Moriz82: the sidecar is your #984 profile layout (`gen_bcpack_runtime_tables.py --profile`), field for field as far as reading the code shows, so one file can serve both when you rebase onto these.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: RT-INFLATE-MATCH-COPY — speed up the shared CPU inflater used by DirectStorage and shader loading. I’m batching Adler-32 reductions and copying repeated matches in blocks. I’ll include synthetic boundary coverage and CPU measurements. AI-assisted.

<!-- gh-comment-id:7138821737 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: RT-INFLATE-MATCH-COPY — speed up the shared CPU inflater used by DirectStorage and shader loading. I’m batching Adler-32 reductions and copying repeated matches in blocks. I’ll include synthetic boundary coverage and CPU measurements. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-HEAP-HANDLE-SLOTS -> #1045

<!-- gh-comment-id:7138856044 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-HEAP-HANDLE-SLOTS -> #1045
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

@DesertGamer thank you for the census. It is in #974's docs now (161314c2): 9,279 of 9,282 mesh shaders read nothing below s16, three read one 32-bit constant (s13, s15), and they read it as 0 under #974; its meaning stays open, recorded as such.

@towade thank you, that answers what I asked: on an RX 9070 XT the prototype stops on its own after about 24 s with no input, where NVIDIA waits on the first screen. So an AMD run of the frame-loop stacks currently ends before any test of #974 or of the BCPack path past start-up can mean much; noted for anyone planning AMD runs.

<!-- gh-comment-id:7138880703 --> @iFeyz commented on GitHub (Nov 24, 2026): @DesertGamer thank you for the census. It is in #974's docs now (161314c2): 9,279 of 9,282 mesh shaders read nothing below s16, three read one 32-bit constant (`s13`, `s15`), and they read it as 0 under #974; its meaning stays open, recorded as such. @towade thank you, that answers what I asked: on an RX 9070 XT the prototype stops on its own after about 24 s with no input, where NVIDIA waits on the first screen. So an AMD run of the frame-loop stacks currently ends before any test of #974 or of the BCPack path past start-up can mean much; noted for anyone planning AMD runs.
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

claiming: GPU verification of #1027 (SHADER-MINMAX-SIGNED-ZERO) on real AMD RDNA2 Windows iGPU (128B push constants) + RTX 4070 SUPER — the draft explicitly asks for an AMD run before it leaves draft. AI-assisted.
claiming: AMD RDNA2 fuzz sweep on the Ryzen 5 7600 iGPU (driver 24.10.24): valu_fuzz seeds across --family f16/mem/valu, lds_fuzz, image_fuzz with LEONIDA_VK_VALIDATION=1, hunting LLPC miscompiles like OLD-1506/OLD-2105. AI-assisted.
claiming: investigate milk4sale's finding on v_trunc_f64/v_ceil_f64/v_rndne_f64/v_floor_f64 sNaN + binary64 subnormal words — check what real AMD RDNA2 hardware produces vs the translator's lowering; fix + PR if it's a translator bug. AI-assisted.
status: whoalin1 — rebasing our 7 open PRs (#761 #762 #765 #767 #768 #802 #808) onto current main (windows CI xma2 link break is already fixed on main by #877's efe544dac); then continuing the overnight queue.

<!-- gh-comment-id:7138882558 --> @whoalin1 commented on GitHub (Nov 24, 2026): claiming: GPU verification of #1027 (SHADER-MINMAX-SIGNED-ZERO) on real AMD RDNA2 Windows iGPU (128B push constants) + RTX 4070 SUPER — the draft explicitly asks for an AMD run before it leaves draft. AI-assisted. claiming: AMD RDNA2 fuzz sweep on the Ryzen 5 7600 iGPU (driver 24.10.24): valu_fuzz seeds across --family f16/mem/valu, lds_fuzz, image_fuzz with LEONIDA_VK_VALIDATION=1, hunting LLPC miscompiles like OLD-1506/OLD-2105. AI-assisted. claiming: investigate milk4sale's finding on v_trunc_f64/v_ceil_f64/v_rndne_f64/v_floor_f64 sNaN + binary64 subnormal words — check what real AMD RDNA2 hardware produces vs the translator's lowering; fix + PR if it's a translator bug. AI-assisted. status: whoalin1 — rebasing our 7 open PRs (#761 #762 #765 #767 #768 #802 #808) onto current main (windows CI xma2 link break is already fixed on main by #877's efe544dac); then continuing the overnight queue.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@iFeyz on #974: ran it on my stack. Counts only; one machine, RTX 5070, driver 617.14, Windows 11.

  • Stack: DadaCap's boot-prototype at 9173e790f plus the two #974 commits (5fdd6abbc, 74e55acfb). Cherry-picking onto the prototype conflicted in d3d12_com.cpp, d3d12_com.h and d3d12_mesh_test.cpp (the prototype has its own graphics_stage flag and a mesh-test block of its own); I kept both fields and both test blocks and took your table-dword rule. It builds; I did not run the unit tests.
  • Shaders: re-translated the 9,282 mesh shaders of my index with --wave64-emulate and the same flags as the rest; 9,282 of 9,282 translated and pass spirv-val, all 9,282 have root_window. VS/PS/CS/GS untouched.
  • Run: keyboard autopress, LEONIDA_LAZY_PSO=1, three runs of 600 s limit. Every run ends at the title's int3 at exe+0x2474606: 90.3 s and 79.1 s with #974, 76.7 s and 79.6 s on the same prototype without it. No log line about a refused mesh PSO, a mesh root signature too large for the window, or a missing root_window.
  • Mesh draws: none. The D3D12 trace of these runs has no DispatchMesh before the stop, so I cannot answer your question whether mesh draws change the picture; before the stop the title does not issue one on this stack.
  • Picture: no difference that I can tell. The legal-notices page did not appear in any of the last four runs, with or without #974 (it did in an earlier run of mine; I do not know why it comes and goes).
  • Census for the three mesh shaders that read below s16: the comment above.

So on my side #974 changes nothing that I can see up to the stop, and does not make anything worse. I have not run it past the int3.

<!-- gh-comment-id:7138889766 --> @DesertGamer commented on GitHub (Nov 24, 2026): @iFeyz on #974: ran it on my stack. Counts only; one machine, RTX 5070, driver 617.14, Windows 11. - **Stack:** DadaCap's `boot-prototype` at `9173e790f` plus the two #974 commits (5fdd6abbc, 74e55acfb). Cherry-picking onto the prototype conflicted in `d3d12_com.cpp`, `d3d12_com.h` and `d3d12_mesh_test.cpp` (the prototype has its own `graphics_stage` flag and a mesh-test block of its own); I kept both fields and both test blocks and took your table-dword rule. It builds; I did not run the unit tests. - **Shaders:** re-translated the 9,282 mesh shaders of my index with `--wave64-emulate` and the same flags as the rest; 9,282 of 9,282 translated and pass `spirv-val`, all 9,282 have `root_window`. VS/PS/CS/GS untouched. - **Run:** keyboard autopress, `LEONIDA_LAZY_PSO=1`, three runs of 600 s limit. Every run ends at the title's `int3` at `exe+0x2474606`: 90.3 s and 79.1 s with #974, 76.7 s and 79.6 s on the same prototype without it. No log line about a refused mesh PSO, a mesh root signature too large for the window, or a missing `root_window`. - **Mesh draws:** none. The D3D12 trace of these runs has no `DispatchMesh` before the stop, so I cannot answer your question whether mesh draws change the picture; before the stop the title does not issue one on this stack. - **Picture:** no difference that I can tell. The legal-notices page did not appear in any of the last four runs, with or without #974 (it did in an earlier run of mine; I do not know why it comes and goes). - **Census** for the three mesh shaders that read below `s16`: the comment above. So on my side #974 changes nothing that I can see up to the stop, and does not make anything worse. I have not run it past the `int3`.
Author
Owner

@lumencer commented on GitHub (Nov 24, 2026):

claiming: TEXT-SCRIPT-COVERAGE - tools/text_tables.py language guessing recognizes one more script by its Unicode block; docs/text.md and README.md list the covered scripts; synthetic assertion in tests/test_text_tables.py::test_language. No game files, no GPU, no build changes. AI-assisted (OpenCode).

<!-- gh-comment-id:7138917308 --> @lumencer commented on GitHub (Nov 24, 2026): claiming: TEXT-SCRIPT-COVERAGE - `tools/text_tables.py` language guessing recognizes one more script by its Unicode block; `docs/text.md` and `README.md` list the covered scripts; synthetic assertion in `tests/test_text_tables.py::test_language`. No game files, no GPU, no build changes. AI-assisted (OpenCode).
Author
Owner

@lumencer commented on GitHub (Nov 24, 2026):

done: TEXT-SCRIPT-COVERAGE -> #1046

<!-- gh-comment-id:7138930449 --> @lumencer commented on GitHub (Nov 24, 2026): done: TEXT-SCRIPT-COVERAGE -> #1046
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

@iFeyz on #969 and #1020: I tried to put them on DadaCap's boot-prototype (9173e790f, the stack I run on) to count refused requests, and they do not apply. Nothing was run; this is only what the cherry-pick says.

  • #1020 (with #976, #982 and #991 under it, five commits): add/add conflicts in runtime/src/bcpack.h, runtime/src/bcpack_tables.h and runtime/test/bcpack_test.cpp. The prototype already carries its own BCPack decoder in files of the same names (649 and 1,795 lines), added by its commit "BCPack, physical pages read late, ...".
  • #969: content conflicts in runtime/shims/dstorage.cpp, runtime/shims/xmem.cpp and runtime/shims/xmem.h; the prototype writes into the title's physical pages in its own way, in the same functions.
  • So I cannot count the BCPack lines "with #969 and #1020" on that stack: it is not a rebase of mine to do, because it means choosing whose decoder and whose page write stay. @DadaCap, do you plan to move the prototype onto #969 and #1020 (or the other way)? If you do, I can run the refused-request counter on the result the same day on an RTX 5070.
  • main alone does not help for this count either: from other runs in this thread it stops at D3D12 call 1,639 before DirectStorage is reached.
<!-- gh-comment-id:7138960886 --> @DesertGamer commented on GitHub (Nov 24, 2026): @iFeyz on #969 and #1020: I tried to put them on DadaCap's `boot-prototype` (`9173e790f`, the stack I run on) to count refused requests, and they do not apply. Nothing was run; this is only what the cherry-pick says. - **#1020** (with #976, #982 and #991 under it, five commits): `add/add` conflicts in `runtime/src/bcpack.h`, `runtime/src/bcpack_tables.h` and `runtime/test/bcpack_test.cpp`. The prototype already carries its own BCPack decoder in files of the same names (649 and 1,795 lines), added by its commit "BCPack, physical pages read late, ...". - **#969:** content conflicts in `runtime/shims/dstorage.cpp`, `runtime/shims/xmem.cpp` and `runtime/shims/xmem.h`; the prototype writes into the title's physical pages in its own way, in the same functions. - So I cannot count the BCPack lines "with #969 and #1020" on that stack: it is not a rebase of mine to do, because it means choosing whose decoder and whose page write stay. @DadaCap, do you plan to move the prototype onto #969 and #1020 (or the other way)? If you do, I can run the refused-request counter on the result the same day on an RTX 5070. - `main` alone does not help for this count either: from other runs in this thread it stops at D3D12 call 1,639 before DirectStorage is reached.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: SHADER-ROUND-F64-SPECIALS -> #1047 (depends on #1034, which depends on #1012)

In v_trunc_f64, v_ceil_f64, v_rndne_f64 and v_floor_f64 a NaN's words now pass through and a subnormal is rounded with integer ops, so those two sources no longer depend on the driver's double-precision function. cs_w32_round_f64 compares all 1152 words exactly and passes on an RTX 4070 Ti (NVIDIA 620.70.06, Linux; natively and with LEONIDA_W64_EMULATE=1) and on llvmpipe, where 15 and 20 of the 512 results differed before. A new CPU class runs the ops under a driver model that quiets and flushes; without the change it fails in 18 subtests. Translator suite: 470 files, 6,169 tests, 0 failed. None of the 25,734 listings in my work folder uses one of the four ops, so no game shader's translation changes. AI-assisted.

<!-- gh-comment-id:7138989077 --> @milk4sale commented on GitHub (Nov 24, 2026): done: SHADER-ROUND-F64-SPECIALS -> #1047 (depends on #1034, which depends on #1012) In `v_trunc_f64`, `v_ceil_f64`, `v_rndne_f64` and `v_floor_f64` a NaN's words now pass through and a subnormal is rounded with integer ops, so those two sources no longer depend on the driver's double-precision function. `cs_w32_round_f64` compares all 1152 words exactly and passes on an RTX 4070 Ti (NVIDIA 620.70.06, Linux; natively and with `LEONIDA_W64_EMULATE=1`) and on llvmpipe, where 15 and 20 of the 512 results differed before. A new CPU class runs the ops under a driver model that quiets and flushes; without the change it fails in 18 subtests. Translator suite: 470 files, 6,169 tests, 0 failed. None of the 25,734 listings in my work folder uses one of the four ops, so no game shader's translation changes. AI-assisted.
Author
Owner

@shwepz commented on GitHub (Nov 24, 2026):

claiming: SEMANTIC-RUNNER-EXIT-CODE - scripts/run_semantic_tests.py prints a failed module as ==== FAILED: <name> followed by its output, but never its exit code. A module whose interpreter crashes prints nothing, so it shows up as a bare header with nothing under it. On a Windows 11 machine I saw 4-9 files a run (a different set each time) fail exactly like that, with python.exe exiting 0xC0000005, an access violation, in pure-Python tests that pass when run alone. I will add the exit code to the header, spelled out as the POSIX signal or the Windows NTSTATUS (0xC0000005 access violation, 0xC00000FD stack overflow, ...), plus a "no output" line when the module printed nothing, with tests in tests/test_run_semantic_tests.py. It only touches the FAILED print in main(), not run_module, so it should not conflict with #662. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7138999168 --> @shwepz commented on GitHub (Nov 24, 2026): claiming: SEMANTIC-RUNNER-EXIT-CODE - `scripts/run_semantic_tests.py` prints a failed module as `==== FAILED: <name>` followed by its output, but never its exit code. A module whose interpreter crashes prints nothing, so it shows up as a bare header with nothing under it. On a Windows 11 machine I saw 4-9 files a run (a different set each time) fail exactly like that, with `python.exe` exiting 0xC0000005, an access violation, in pure-Python tests that pass when run alone. I will add the exit code to the header, spelled out as the POSIX signal or the Windows NTSTATUS (0xC0000005 access violation, 0xC00000FD stack overflow, ...), plus a "no output" line when the module printed nothing, with tests in `tests/test_run_semantic_tests.py`. It only touches the FAILED print in `main()`, not `run_module`, so it should not conflict with #662. No game files, no GPU. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: BL-4 (docs/boot_leads.md) - a census of the descriptor words the title writes into its descriptor heaps: how many are valid addresses inside the arena and how many are not, per heap type. I run the retail boot on an RTX 5070 (Windows 11, driver 617.14) on DadaCap's boot-prototype, which already traces D3D12, so the counts come from real runs. If the census holds I will add the word → buffer address / bindless index translation, with a synthetic-heap test that needs no game files, and record the counts in docs/d3d12_vulkan.md. First step is the census only; counts only, nothing from the game quoted. AI-assisted (Claude Code).

<!-- gh-comment-id:7139012963 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: BL-4 (`docs/boot_leads.md`) - a census of the descriptor words the title writes into its descriptor heaps: how many are valid addresses inside the arena and how many are not, per heap type. I run the retail boot on an RTX 5070 (Windows 11, driver 617.14) on DadaCap's `boot-prototype`, which already traces D3D12, so the counts come from real runs. If the census holds I will add the word → buffer address / bindless index translation, with a synthetic-heap test that needs no game files, and record the counts in `docs/d3d12_vulkan.md`. First step is the census only; counts only, nothing from the game quoted. AI-assisted (Claude Code).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming:

  • TEST-W64G-REF-DEFAULT: fix the tier C saved-reference check in w64_graphics.py when the default draw is 64-wide. Cover dual-width and fixed-width devices by CPU replay.
  • TEST-PIPELINE-LIBRARY-HOST-ADAPTER: report the actual native D3D12 adapter name and LUID in d3d12_pipeline_library_host_test. Follow-up to the adapter identification discussion in #533. Diagnostics only.

Synthetic tests only. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7139030018 --> @sodove commented on GitHub (Nov 24, 2026): claiming: - TEST-W64G-REF-DEFAULT: fix the tier C saved-reference check in w64_graphics.py when the default draw is 64-wide. Cover dual-width and fixed-width devices by CPU replay. - TEST-PIPELINE-LIBRARY-HOST-ADAPTER: report the actual native D3D12 adapter name and LUID in d3d12_pipeline_library_host_test. Follow-up to the adapter identification discussion in #533. Diagnostics only. Synthetic tests only. AI-assisted: OpenAI Codex.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: gdk_runtime_calls: track immediate high-byte writes (X86-HIGH8-IMMEDIATE)

<!-- gh-comment-id:7139037007 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: gdk_runtime_calls: track immediate high-byte writes (X86-HIGH8-IMMEDIATE)
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-RTS0-FLAGS-MEASURED -> #1048

<!-- gh-comment-id:7139040408 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-RTS0-FLAGS-MEASURED -> #1048
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: gdk_runtime_calls: track immediate high-byte writes (X86-HIGH8-IMMEDIATE) -> #1049

<!-- gh-comment-id:7139041755 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: gdk_runtime_calls: track immediate high-byte writes (X86-HIGH8-IMMEDIATE) -> #1049
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: RT-PSO-STREAM-SLOT55 CreateDerivedPipelineState (slot 55) - restore runtime/shims/d3d12_xs_pso_stream.{h,cpp} and runtime/test/pso_stream_test.cpp from ancestor 6946344eb0 (dropped by merge 6dece9231), harden STREAM_OUTPUT/INPUT_LAYOUT deep copy, wire Xbox device slot 55 on DeviceProxy, update d3d12_vulkan_device_test (CreateReservedResource1 via the real PC device behind the proxy), and add synthetic WARP and mock tests (Depends on: #727 for console slot 86 stream capture). No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7139045785 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: RT-PSO-STREAM-SLOT55 CreateDerivedPipelineState (slot 55) - restore `runtime/shims/d3d12_xs_pso_stream.{h,cpp}` and `runtime/test/pso_stream_test.cpp` from ancestor `6946344eb0` (dropped by merge `6dece9231`), harden STREAM_OUTPUT/INPUT_LAYOUT deep copy, wire Xbox device slot 55 on `DeviceProxy`, update `d3d12_vulkan_device_test` (`CreateReservedResource1` via the real PC device behind the proxy), and add synthetic WARP and mock tests (`Depends on: #727` for console slot 86 stream capture). No game files, nothing online. AI-assisted.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9876 (draft #144, old-pr/9876 by ramon-victor) — rebase GPU fixture cs_w32_min3_med3_16 onto main, preserve original authorship, add regen_fixtures metadata, and verify live on RTX 5070 under LEONIDA_VK_VALIDATION=1.

<!-- gh-comment-id:7139059967 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9876 (draft #144, old-pr/9876 by ramon-victor) — rebase GPU fixture cs_w32_min3_med3_16 onto main, preserve original authorship, add regen_fixtures metadata, and verify live on RTX 5070 under LEONIDA_VK_VALIDATION=1.
Author
Owner

@baldyb4242 commented on GitHub (Nov 24, 2026):

done: BL-3 -> #1050 (draft: the record decoder and its test; wiring it into the list proxy is the open follow-up)

<!-- gh-comment-id:7139068519 --> @baldyb4242 commented on GitHub (Nov 24, 2026): done: BL-3 -> #1050 (draft: the record decoder and its test; wiring it into the list proxy is the open follow-up)
Author
Owner

@Mykolas009 commented on GitHub (Nov 24, 2026):

claiming: NVIDIA Blackwell GPU verification of #1036 and #1037 (RTX 5060 8 GB, driver 610.88, Windows 11): the new fixtures under run_gpu_tests.py, native wave32. AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7139071365 --> @Mykolas009 commented on GitHub (Nov 24, 2026): claiming: NVIDIA Blackwell GPU verification of #1036 and #1037 (RTX 5060 8 GB, driver 610.88, Windows 11): the new fixtures under `run_gpu_tests.py`, native wave32. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-FREXP-LDEXP - v_frexp_mant_f32, v_frexp_exp_i32_f32, v_ldexp_f32, v_frexp_mant_f64 and v_frexp_exp_i32_f64 are lowered with integer ops on the float's words, CPU-checked and measured natively on gfx1036, but no fixture in runtime/test/shaders runs any of the five, so those lowerings have never gone through a driver in the GPU suite.

I will add a memory-fed fixture, runtime/test/shaders/cs_w32_frexp_ldexp.asm, in the style of cs_w32_shift64 (#590) and #1012 / #1034: 64 records of a binary32 value, an ldexp exponent and a binary64 value, loaded at run time. They cover normals, the exponent clamp of v_ldexp_f32 at ±512, results that overflow to infinity and that fall below the smallest normal, binary32 denormals (read as zero), binary64 subnormals (normalized, with single bits on both sides of the dword boundary), zeros, infinities and NaNs, plus a neg and an abs source and a lane EXEC had turned off. The expected words come from a Python oracle written from the rows of docs/design.md, cross-checked against math.frexp and math.ldexp where those agree with the hardware, with a CPU-only test of the oracle and of both runners' verdicts and a paragraph in docs/testing.md.

Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe. Test, runner and docs files only, no translator change; if a word differs on a driver I will post it as a finding. The binary16 forms and v_ldexp_f64 (GPU-LDEXP-F64 is claimed) are not in this. Builds on #1034. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7139072105 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-FREXP-LDEXP - `v_frexp_mant_f32`, `v_frexp_exp_i32_f32`, `v_ldexp_f32`, `v_frexp_mant_f64` and `v_frexp_exp_i32_f64` are lowered with integer ops on the float's words, CPU-checked and measured natively on gfx1036, but no fixture in `runtime/test/shaders` runs any of the five, so those lowerings have never gone through a driver in the GPU suite. I will add a memory-fed fixture, `runtime/test/shaders/cs_w32_frexp_ldexp.asm`, in the style of `cs_w32_shift64` (#590) and #1012 / #1034: 64 records of a binary32 value, an `ldexp` exponent and a binary64 value, loaded at run time. They cover normals, the exponent clamp of `v_ldexp_f32` at ±512, results that overflow to infinity and that fall below the smallest normal, binary32 denormals (read as zero), binary64 subnormals (normalized, with single bits on both sides of the dword boundary), zeros, infinities and NaNs, plus a `neg` and an `abs` source and a lane EXEC had turned off. The expected words come from a Python oracle written from the rows of `docs/design.md`, cross-checked against `math.frexp` and `math.ldexp` where those agree with the hardware, with a CPU-only test of the oracle and of both runners' verdicts and a paragraph in `docs/testing.md`. Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe. Test, runner and docs files only, no translator change; if a word differs on a driver I will post it as a finding. The binary16 forms and `v_ldexp_f64` (GPU-LDEXP-F64 is claimed) are not in this. Builds on #1034. No game files, nothing online. AI-assisted.
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

claiming: OLD-9938 (draft #205, old-pr/9938 by AGInformatique81) — rebase bench_wave64 skipped-shader reporting fix and unit tests onto main, preserve original authorship, and verify with test_bench_wave64.py and clean-room checks.

<!-- gh-comment-id:7139074526 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): claiming: OLD-9938 (draft #205, old-pr/9938 by AGInformatique81) — rebase bench_wave64 skipped-shader reporting fix and unit tests onto main, preserve original authorship, and verify with test_bench_wave64.py and clean-room checks.
Author
Owner

@shwepz commented on GitHub (Nov 24, 2026):

done: SEMANTIC-RUNNER-EXIT-CODE -> #1051

scripts/run_semantic_tests.py now heads a failed module with its exit code: the signal for a POSIX kill, and the NTSTATUS with its meaning for a Windows crash (exit code 0xC0000005, access violation (the process crashed)). A module that printed nothing gets a (no output ...) line. Two files, +67/-3. Only the FAILED print in main() changes, so it doesn't overlap #662. tests/test_run_semantic_tests.py: 22/22 on Linux (Python 3.12). On Windows (Python 3.11) the three new tests pass, and the one failure there (test_empty_package_alone_is_not_a_false_green, jobs=1) fails the same way on main, since 3.11's discover exits 0 when nothing ran. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7139074741 --> @shwepz commented on GitHub (Nov 24, 2026): done: SEMANTIC-RUNNER-EXIT-CODE -> #1051 `scripts/run_semantic_tests.py` now heads a failed module with its exit code: the signal for a POSIX kill, and the NTSTATUS with its meaning for a Windows crash (`exit code 0xC0000005, access violation (the process crashed)`). A module that printed nothing gets a `(no output ...)` line. Two files, +67/-3. Only the FAILED print in `main()` changes, so it doesn't overlap #662. `tests/test_run_semantic_tests.py`: 22/22 on Linux (Python 3.12). On Windows (Python 3.11) the three new tests pass, and the one failure there (`test_empty_package_alone_is_not_a_false_green`, jobs=1) fails the same way on `main`, since 3.11's discover exits 0 when nothing ran. No game files, no GPU. AI-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: SHADER-LINK-REPORT-PATH -> #1052

<!-- gh-comment-id:7139076870 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: SHADER-LINK-REPORT-PATH -> #1052
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9876 -> #1053

<!-- gh-comment-id:7139099489 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9876 -> #1053
Author
Owner

@TanmaySatyam commented on GitHub (Nov 24, 2026):

done: OLD-9938 -> #1054

<!-- gh-comment-id:7139114118 --> @TanmaySatyam commented on GitHub (Nov 24, 2026): done: OLD-9938 -> #1054
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

correction on D3D12-CREATEDEVICE-PARAMS (#1010): re-measured the frame, the struct is 0x50 bytes (20 dwords), not 0x40 — the zeroing covers +0x00..+0x4F and +0x200 in a 0x228 frame is the saved xmm6, so a 24-word struct would overlap it. '24 words' is still wrong, by four words. PR title/body and the row are updated (force-pushed). Also verified the call site is D3D12XboxCreateDevice: thunk 0x145F3FD80 -> IAT 0x146793C18, third d3d12_xs.dll slot.

<!-- gh-comment-id:7139115744 --> @robot00f commented on GitHub (Nov 24, 2026): correction on D3D12-CREATEDEVICE-PARAMS (#1010): re-measured the frame, the struct is 0x50 bytes (20 dwords), not 0x40 — the zeroing covers +0x00..+0x4F and +0x200 in a 0x228 frame is the saved xmm6, so a 24-word struct would overlap it. '24 words' is still wrong, by four words. PR title/body and the row are updated (force-pushed). Also verified the call site is D3D12XboxCreateDevice: thunk 0x145F3FD80 -> IAT 0x146793C18, third d3d12_xs.dll slot.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: D3D-BARRIER-INTO-UNDEFINED -> #1055

On an RTX 4070 Ti (NVIDIA 620.70.06, Linux): the five tests that cover it pass natively and under wine-staging 11.21, and the new barriers give no validation error with VK_LAYER_KHRONOS_validation 1.4.363, where the same barriers with newLayout = UNDEFINED give VUID-VkImageMemoryBarrier2-newLayout-01198 four times. Without the change d3d12_close_parity fails on the two rows into UNDEFINED and d3d12_com fails at Close. It merges cleanly with #600, and both pull requests' tests pass on the merged tree. Not run on Windows or with a live WARP: the WARP column of the three new rows is #984's measurement. AI-assisted.

<!-- gh-comment-id:7139129922 --> @milk4sale commented on GitHub (Nov 24, 2026): done: D3D-BARRIER-INTO-UNDEFINED -> #1055 On an RTX 4070 Ti (NVIDIA 620.70.06, Linux): the five tests that cover it pass natively and under wine-staging 11.21, and the new barriers give no validation error with VK_LAYER_KHRONOS_validation 1.4.363, where the same barriers with `newLayout = UNDEFINED` give VUID-VkImageMemoryBarrier2-newLayout-01198 four times. Without the change `d3d12_close_parity` fails on the two rows into `UNDEFINED` and `d3d12_com` fails at `Close`. It merges cleanly with #600, and both pull requests' tests pass on the merged tree. Not run on Windows or with a live WARP: the WARP column of the three new rows is #984's measurement. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

correction on D3D12-DEVICE-SLOT-ARITY (#1007): 'slot 76 has no call site' is only true for the executable. The shipped FidelityFX upscaler does call device slot 76 (seven CreateCommittedResource arguments, d3d12_command_objects.md §4.2), so the doc's slot 76 meaning stays; the cell and title now scope the statement to the executable and name the real caller.

<!-- gh-comment-id:7139159635 --> @robot00f commented on GitHub (Nov 24, 2026): correction on D3D12-DEVICE-SLOT-ARITY (#1007): 'slot 76 has no call site' is only true for the executable. The shipped FidelityFX upscaler does call device slot 76 (seven CreateCommittedResource arguments, d3d12_command_objects.md §4.2), so the doc's slot 76 meaning stays; the cell and title now scope the statement to the executable and name the real caller.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-OTHER-PAGES-CONSISTENCY - the same two stale device facts live in other docs: d3d12_xs_surface.md calls the CreateDevice block 24 words (measured: 0x50 bytes) and d3d12_command_objects.md §4.2 still says slot 62 is CreateComputePipelineState (measured: five parameters). Docs-only, one row and one bullet; depends on and mirrors #1010/#1007.

<!-- gh-comment-id:7139160368 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-OTHER-PAGES-CONSISTENCY - the same two stale device facts live in other docs: d3d12_xs_surface.md calls the CreateDevice block 24 words (measured: 0x50 bytes) and d3d12_command_objects.md §4.2 still says slot 62 is CreateComputePipelineState (measured: five parameters). Docs-only, one row and one bullet; depends on and mirrors #1010/#1007.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

finding: v_frexp_mant_f32 and v_ldexp_f32 with a VOP3 neg or abs source return NVIDIA's default NaN, 0x7fffffff, for a NaN source, where the hardware returns the source with its sign bit moved

  • Where: tools/rdna2spirv.py, the v_frexp_mant_f32 / v_frexp_exp_i32_f32 / v_ldexp_f32 branch of Gen (line 11629 on main 82a2aabcc): it reads its float source with self.src_u(a[1]), which applies abs and neg through Gen.modify as FAbs and OpFNegate. The three ops only move bits, and Gen.src_u_sign_mods exists for exactly that case (the min/max family uses it): it clears or flips bit 31 on the raw word.
  • Measured with the fixture of GPU-FREXP-LDEXP on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), 64 memory-fed records, 512 result words: 506 are the oracle's. The other six are the NaN sources under a modifier: v_frexp_mant_f32 -x gives 0x7fffffff for 0x7fc00000, 0x7f800001, 0xffc12345 and 0xff800001 (expected 0xffc00000, 0xff800001, 0x7fc12345, 0x7f800001), and v_ldexp_f32 |x|, n gives 0x7fffffff for 0x7fc00000 and 0xffc12345. The same NaNs without a modifier come back unchanged. On llvmpipe all 512 words are the oracle's.
  • Why it matters: the row in docs/design.md has infinities and NaNs give the input unchanged and neg/abs apply as on the hardware, which moves the sign bit of any value. Vulkan lets a driver return any NaN from OpFNegate or FAbs of a NaN, so the answer depends on the driver. None of the 25,734 listings in my work folder uses a frexp or ldexp op, so no game shader is affected today.
  • Needs: no game files; an NVIDIA GPU shows it.

claiming: SHADER-FREXP-LDEXP-SIGN-MODS - the fix for the finding above, in the same pull request as GPU-FREXP-LDEXP because that fixture cannot pass on NVIDIA without it: the binary32 frexp/ldexp branch reads its source through Gen.src_u_sign_mods, with a CPU test that the modifiers are emitted as sign-bit ops and that a NaN under them keeps its payload, and the row. This corrects the "no translator change" of my GPU-FREXP-LDEXP claim: one line of tools/rdna2spirv.py changes. AI-assisted.

<!-- gh-comment-id:7139171475 --> @milk4sale commented on GitHub (Nov 24, 2026): finding: `v_frexp_mant_f32` and `v_ldexp_f32` with a VOP3 `neg` or `abs` source return NVIDIA's default NaN, `0x7fffffff`, for a NaN source, where the hardware returns the source with its sign bit moved - **Where:** `tools/rdna2spirv.py`, the `v_frexp_mant_f32` / `v_frexp_exp_i32_f32` / `v_ldexp_f32` branch of `Gen` (line 11629 on `main` `82a2aabcc`): it reads its float source with `self.src_u(a[1])`, which applies `abs` and `neg` through `Gen.modify` as `FAbs` and `OpFNegate`. The three ops only move bits, and `Gen.src_u_sign_mods` exists for exactly that case (the min/max family uses it): it clears or flips bit 31 on the raw word. - **Measured** with the fixture of GPU-FREXP-LDEXP on an RTX 4070 Ti (NVIDIA 620.70.06, Linux), 64 memory-fed records, 512 result words: 506 are the oracle's. The other six are the NaN sources under a modifier: `v_frexp_mant_f32 -x` gives `0x7fffffff` for `0x7fc00000`, `0x7f800001`, `0xffc12345` and `0xff800001` (expected `0xffc00000`, `0xff800001`, `0x7fc12345`, `0x7f800001`), and `v_ldexp_f32 |x|, n` gives `0x7fffffff` for `0x7fc00000` and `0xffc12345`. The same NaNs without a modifier come back unchanged. On llvmpipe all 512 words are the oracle's. - **Why it matters:** the row in `docs/design.md` has infinities and NaNs give the input unchanged and `neg`/`abs` apply as on the hardware, which moves the sign bit of any value. Vulkan lets a driver return any NaN from `OpFNegate` or `FAbs` of a NaN, so the answer depends on the driver. None of the 25,734 listings in my work folder uses a frexp or ldexp op, so no game shader is affected today. - **Needs:** no game files; an NVIDIA GPU shows it. claiming: SHADER-FREXP-LDEXP-SIGN-MODS - the fix for the finding above, in the same pull request as GPU-FREXP-LDEXP because that fixture cannot pass on NVIDIA without it: the binary32 frexp/ldexp branch reads its source through `Gen.src_u_sign_mods`, with a CPU test that the modifiers are emitted as sign-bit ops and that a NaN under them keeps its payload, and the row. This corrects the "no translator change" of my GPU-FREXP-LDEXP claim: one line of `tools/rdna2spirv.py` changes. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: leonida_mods: reject pack outputs aliasing source files (MODS-PACK-OUTPUT-ALIAS)

<!-- gh-comment-id:7139172950 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: leonida_mods: reject pack outputs aliasing source files (MODS-PACK-OUTPUT-ALIAS)
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: leonida_mods: reject pack outputs aliasing source files (MODS-PACK-OUTPUT-ALIAS) -> #1057

<!-- gh-comment-id:7139184745 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: leonida_mods: reject pack outputs aliasing source files (MODS-PACK-OUTPUT-ALIAS) -> #1057
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-OTHER-PAGES-CONSISTENCY -> #1056

<!-- gh-comment-id:7139185725 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-OTHER-PAGES-CONSISTENCY -> #1056
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

BL-4 first census (claimed above): counts only, one run, RTX 5070, driver 617.14, DadaCap's boot-prototype at 9173e790f plus #974. I added a read-only scan of the descriptor heaps (32-byte slots, LEONIDA_DESC_CENSUS=1) at the 50th, 500th and 5000th queue submit; it reads the heap memory under a guard and does not change anything the title sees.

  • One heap dominates: a console-addressed CBV/SRV/UAV heap of 1,245,184 slots. All other heaps seen (11 of 3,128 slots, 2 sampler heaps of 128) hold at most 3 non-empty slots.
  • That heap at submit 500 and 5000 (identical counts, so nothing is written after submit 500): 910,244 empty; 261 T# whose address is above 4 GiB and outside the title window; 3,024 V# with a null base and 2,816 V# with a base below 4 GiB; 1,296 non-empty slots that decode as neither; and 327,543 slots with exactly one non-zero dword.
  • Those 327,543 are not addresses. In 327,542 of them the value is the slot's own index plus one, and the last is 0xFFFFFFFF: a free list of "next free slot" links, not 32-bit GPU addresses. At submit 50 the same slots hold the same links.
  • So what BL-4 asked is not supported by this census for those slots: I found no heap slot whose only content is a 32-bit GPU address. The 261 T# sit above 4 GiB and not in the title's window, which matches the addresses the layer gives textures it created through Create*View (the title builds them through that call, not by hand), but I did not check that one by one.
  • Not covered: the 1,296 slots that decode as neither T# nor V# (I have not looked at what they are; samplers or constant-buffer words are possible), a run past submit 5000 (the title stops at its int3 at about 80 s, before that point is far from the retail frame loop), and any other card.

I have not written a translation from a descriptor word to an address or bindless index: with this result there is no word to translate yet. Next I will look at the 1,296 slots; if they turn out to be neither addresses nor T#/V#, BL-4 as stated has no case on this stack, and I will say so on the claim.

<!-- gh-comment-id:7139194706 --> @DesertGamer commented on GitHub (Nov 24, 2026): BL-4 first census (claimed above): counts only, one run, RTX 5070, driver 617.14, DadaCap's `boot-prototype` at `9173e790f` plus #974. I added a read-only scan of the descriptor heaps (32-byte slots, `LEONIDA_DESC_CENSUS=1`) at the 50th, 500th and 5000th queue submit; it reads the heap memory under a guard and does not change anything the title sees. - **One heap dominates:** a console-addressed CBV/SRV/UAV heap of 1,245,184 slots. All other heaps seen (11 of 3,128 slots, 2 sampler heaps of 128) hold at most 3 non-empty slots. - **That heap at submit 500 and 5000 (identical counts, so nothing is written after submit 500):** 910,244 empty; 261 T# whose address is above 4 GiB and outside the title window; 3,024 V# with a null base and 2,816 V# with a base below 4 GiB; 1,296 non-empty slots that decode as neither; and **327,543 slots with exactly one non-zero dword**. - **Those 327,543 are not addresses.** In 327,542 of them the value is the slot's own index plus one, and the last is `0xFFFFFFFF`: a free list of "next free slot" links, not 32-bit GPU addresses. At submit 50 the same slots hold the same links. - **So what BL-4 asked is not supported by this census for those slots:** I found no heap slot whose only content is a 32-bit GPU address. The 261 T# sit above 4 GiB and not in the title's window, which matches the addresses the layer gives textures it created through `Create*View` (the title builds them through that call, not by hand), but I did not check that one by one. - **Not covered:** the 1,296 slots that decode as neither T# nor V# (I have not looked at what they are; samplers or constant-buffer words are possible), a run past submit 5000 (the title stops at its `int3` at about 80 s, before that point is far from the retail frame loop), and any other card. I have not written a translation from a descriptor word to an address or bindless index: with this result there is no word to translate yet. Next I will look at the 1,296 slots; if they turn out to be neither addresses nor T#/V#, BL-4 as stated has no case on this stack, and I will say so on the claim.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-4070TI-RERUN - bring gpu-test-results/RTX4070Ti.txt (my record from #234, taken at 84347bbb6) up to main 32950551e: the two failures it lists, cs_imgload_tfe and cs_imgload_d16_tfe, pass since #892 (SHADER-1266), and four fixtures were added since. Measured on the same machine (RTX 4070 Ti, NVIDIA 620.70.06, CachyOS): 261 shaders translated and valid, native 203/252 passed with 49 skipped, LEONIDA_W64_EMULATE=1 235/252 with 17 skipped, no failure in either, and ctest 74/74. One file, the record only. Own hardware, no game files, nothing online. AI-assisted.

<!-- gh-comment-id:7139223046 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-4070TI-RERUN - bring `gpu-test-results/RTX4070Ti.txt` (my record from #234, taken at `84347bbb6`) up to `main` `32950551e`: the two failures it lists, `cs_imgload_tfe` and `cs_imgload_d16_tfe`, pass since #892 (SHADER-1266), and four fixtures were added since. Measured on the same machine (RTX 4070 Ti, NVIDIA 620.70.06, CachyOS): 261 shaders translated and valid, native 203/252 passed with 49 skipped, `LEONIDA_W64_EMULATE=1` 235/252 with 17 skipped, no failure in either, and ctest 74/74. One file, the record only. Own hardware, no game files, nothing online. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: RT-PSO-STREAM-SLOT55 CreateDerivedPipelineState (slot 55) #1058

<!-- gh-comment-id:7139234714 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: RT-PSO-STREAM-SLOT55 CreateDerivedPipelineState (slot 55) #1058
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-4070TI-RERUN -> #1059

gpu-test-results/RTX4070Ti.txt at main 32950551e: 261 shaders translated and valid, native 203/252 passed with 49 skipped, LEONIDA_W64_EMULATE=1 235/252 with 17 skipped, no failure in either (the two tfe fixtures pass since #892), ctest 74/74. One file. AI-assisted.

<!-- gh-comment-id:7139241926 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-4070TI-RERUN -> #1059 `gpu-test-results/RTX4070Ti.txt` at `main` `32950551e`: 261 shaders translated and valid, native 203/252 passed with 49 skipped, `LEONIDA_W64_EMULATE=1` 235/252 with 17 skipped, no failure in either (the two `tfe` fixtures pass since #892), ctest 74/74. One file. AI-assisted.
Author
Owner

@djrolfes commented on GitHub (Nov 24, 2026):

claiming: RT-PROTON-3070TI-VALIDATION — independent validation of the existing #984 integration head ac7c3449da4ab69dc2b27e1c198c8747f8f768b4 on an RTX 3070 Ti 8 GiB, NVIDIA 620.73.04, Linux/Wine 11.22. This is testing/triage, not a competing implementation or ownership of #984’s fixes. I will build in a separate worktree, run relevant synthetic checks first, and attempt a bounded, network-isolated offline startup with the package read-only, using the existing local shader corpus. Report counts, error classes, and first reproducible blocker only; no package content or raw boot logs uploaded. No world-frame or title RT correctness claim unless actually verified. Existing runtime/code claims keep their owners; any newly identified fix will be checked for overlap before a separate claim. AI-assisted.

<!-- gh-comment-id:7139248330 --> @djrolfes commented on GitHub (Nov 24, 2026): claiming: RT-PROTON-3070TI-VALIDATION — independent validation of the existing #984 integration head ac7c3449da4ab69dc2b27e1c198c8747f8f768b4 on an RTX 3070 Ti 8 GiB, NVIDIA 620.73.04, Linux/Wine 11.22. This is testing/triage, not a competing implementation or ownership of #984’s fixes. I will build in a separate worktree, run relevant synthetic checks first, and attempt a bounded, network-isolated offline startup with the package read-only, using the existing local shader corpus. Report counts, error classes, and first reproducible blocker only; no package content or raw boot logs uploaded. No world-frame or title RT correctness claim unless actually verified. Existing runtime/code claims keep their owners; any newly identified fix will be checked for overlap before a separate claim. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: TEST-W64G-REF-DEFAULT -> #1060. CPU replay and a fixed-32 RTX 5070 Ti draw verified the saved-reference decision. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7139253016 --> @sodove commented on GitHub (Nov 24, 2026): done: TEST-W64G-REF-DEFAULT -> #1060. CPU replay and a fixed-32 RTX 5070 Ti draw verified the saved-reference decision. AI-assisted: OpenAI Codex.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: TEST-PIPELINE-LIBRARY-HOST-ADAPTER -> #1061. The native D3D12 device name and LUID matched DXGI enumeration on RTX 5070 Ti and WARP. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7139253893 --> @sodove commented on GitHub (Nov 24, 2026): done: TEST-PIPELINE-LIBRARY-HOST-ADAPTER -> #1061. The native D3D12 device name and LUID matched DXGI enumeration on RTX 5070 Ti and WARP. AI-assisted: OpenAI Codex.
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

done: D3D-27 -> #1062

<!-- gh-comment-id:7139331078 --> @syntaxixr commented on GitHub (Nov 24, 2026): done: D3D-27 -> #1062
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

finding: on Windows 10 22H2 (19045) eight runtime ctests fail on main because of the OS's older D3D12 runtime/WARP, not the layer: root_signature_oracle (the serializer rejects root-signature flags 0xc7f), d3d12_pso_validation (the host accepts nothing for DYNAMIC_DEPTH_BIAS), d3d12_set_descriptor_heaps (empty blob, line 341), d3d12_close_parity, d3d12_clear, d3d12_texture_tiles (row-major alias byte order), d3d12_mesh (pipeline statistics, line 482) and d3d12_vulkan_device. These tests could detect the host's D3D12 version and skip the newer-OS cases. It was measured on main 3ed8e50 with an AMD RX 6600 on AMD driver 26.6.4, MSVC 14.44 and SDK 26100. It needs Windows 10 hardware and no game files. AI-assisted.

<!-- gh-comment-id:7139331893 --> @syntaxixr commented on GitHub (Nov 24, 2026): finding: on Windows 10 22H2 (19045) eight runtime ctests fail on `main` because of the OS's older D3D12 runtime/WARP, not the layer: `root_signature_oracle` (the serializer rejects root-signature flags 0xc7f), `d3d12_pso_validation` (the host accepts nothing for `DYNAMIC_DEPTH_BIAS`), `d3d12_set_descriptor_heaps` (empty blob, line 341), `d3d12_close_parity`, `d3d12_clear`, `d3d12_texture_tiles` (row-major alias byte order), `d3d12_mesh` (pipeline statistics, line 482) and `d3d12_vulkan_device`. These tests could detect the host's D3D12 version and skip the newer-OS cases. It was measured on `main` 3ed8e50 with an AMD RX 6600 on AMD driver 26.6.4, MSVC 14.44 and SDK 26100. It needs Windows 10 hardware and no game files. AI-assisted.
Author
Owner

@ohshitwaddup commented on GitHub (Nov 24, 2026):

finding: docs/design.md uses "GPU-verified" / "GPU-checked" for two different things — running the translator's SPIR-V on a GPU, and measuring the native instruction on silicon — and the two are not interchangeable. A reader cannot tell which a row means without tracing its fixture.

Where. The contract table in docs/design.md: 44 rows still contain not GPU-verified, not GPU-checked, no GPU fixture or not yet GPU-verified, and 29 of those are still flagged today. The two usages already coexist in single rows, e.g. the v_mac_legacy_f32 row says "GPU-checked ... the translated SPIR-V, not the opcode on silicon" next to a "Not GPU-verified", and the 8/16-bit global-store row carries a "Hardware-measured natively on gfx1100" clause and a "Not GPU-verified." clause a few sentences apart.

Why it matters. Every fixture in runtime/test/shaders is gfx1013 assembly that build.py assembles and tools/rdna2spirv.py translates, so what the GPU executes is the translator's output. That makes those runs an excellent test of the translator — which is what the project is for — but it is not evidence about the native instruction. Without the distinction written down, a row can be flipped to "verified" by a fixture that never ran the opcode, and the next contributor cannot tell whether a "GPU-verified" claim is stronger or weaker than a "Hardware-measured natively" one in the same table. It also propagates: PR #373 is currently adding GPU-checked by cs_vfloat_ext.asm to five rows, one of which (v_mac_legacy_f32) provably cannot run on any RDNA2 or RDNA3 part.

Concrete example of the confusion. llvm-mc 22.1.8 rejects v_mac_legacy_f32 for gfx1030 and gfx1100 and accepts it only for gfx1013 — those four bytes decode as v_fmac_legacy_f32 on gfx1030 and v_fmac_dx9_zero_f32 on gfx1100. So on an RX 6900 XT the "legacy 0 * anything = +0" rule is an OpSelect the translator emitted from the same rule the row cites, and the probe cannot fail unless the driver miscompiles that select. Verified: on an RX 6900 XT (RADV NAVI21, Mesa 26.2.4) cs_vfloat_ext returns all eight words exact, which is a real result about the translator and not about the opcode.

What needs deciding. Add one sentence to the contract table's preamble naming the two confirmations explicitly — for example "GPU-checked: the fixture's translated SPIR-V ran on a GPU and returned the expected words" versus "Hardware-measured natively: the instruction itself ran on the named part" — and then let each row use exactly one of those two phrases. Rows that switch from one to the other would then be read correctly without auditing their fixture.

Hardware. None needed to agree the wording. Confirming the ~29 currently unflagged rows can mostly be done from the fixtures plus tools/hw_oracle; a few will need a native run on the specific part a row names, and v_mac_legacy_f32 will never get one, so its row should say so permanently rather than carry a stale "Not GPU-verified".

No game files, nothing online.

<!-- gh-comment-id:7139340740 --> @ohshitwaddup commented on GitHub (Nov 24, 2026): finding: `docs/design.md` uses "GPU-verified" / "GPU-checked" for two different things — running the translator's SPIR-V on a GPU, and measuring the native instruction on silicon — and the two are not interchangeable. A reader cannot tell which a row means without tracing its fixture. **Where.** The contract table in `docs/design.md`: 44 rows still contain `not GPU-verified`, `not GPU-checked`, `no GPU fixture` or `not yet GPU-verified`, and 29 of those are still flagged today. The two usages already coexist in single rows, e.g. the `v_mac_legacy_f32` row says "GPU-checked ... the translated SPIR-V, not the opcode on silicon" next to a "**Not GPU-verified**", and the 8/16-bit global-store row carries a "**Hardware-measured natively on `gfx1100`**" clause and a "**Not GPU-verified.**" clause a few sentences apart. **Why it matters.** Every fixture in `runtime/test/shaders` is gfx1013 assembly that `build.py` assembles and `tools/rdna2spirv.py` translates, so what the GPU executes is the translator's output. That makes those runs an excellent test of *the translator* — which is what the project is for — but it is not evidence about the native instruction. Without the distinction written down, a row can be flipped to "verified" by a fixture that never ran the opcode, and the next contributor cannot tell whether a "GPU-verified" claim is stronger or weaker than a "Hardware-measured natively" one in the same table. It also propagates: PR #373 is currently adding `GPU-checked by cs_vfloat_ext.asm` to five rows, one of which (`v_mac_legacy_f32`) provably cannot run on any RDNA2 or RDNA3 part. **Concrete example of the confusion.** `llvm-mc 22.1.8` rejects `v_mac_legacy_f32` for `gfx1030` and `gfx1100` and accepts it only for `gfx1013` — those four bytes decode as `v_fmac_legacy_f32` on gfx1030 and `v_fmac_dx9_zero_f32` on gfx1100. So on an RX 6900 XT the "legacy `0 * anything = +0`" rule is an `OpSelect` the translator emitted from the same rule the row cites, and the probe cannot fail unless the driver miscompiles that select. Verified: on an RX 6900 XT (RADV NAVI21, Mesa 26.2.4) `cs_vfloat_ext` returns all eight words exact, which is a real result about the translator and not about the opcode. **What needs deciding.** Add one sentence to the contract table's preamble naming the two confirmations explicitly — for example "GPU-checked: the fixture's translated SPIR-V ran on a GPU and returned the expected words" versus "Hardware-measured natively: the instruction itself ran on the named part" — and then let each row use exactly one of those two phrases. Rows that switch from one to the other would then be read correctly without auditing their fixture. **Hardware.** None needed to agree the wording. Confirming the ~29 currently unflagged rows can mostly be done from the fixtures plus `tools/hw_oracle`; a few will need a native run on the specific part a row names, and `v_mac_legacy_f32` will never get one, so its row should say so permanently rather than carry a stale "Not GPU-verified". No game files, nothing online.
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

Verification batch on main 32950551e — 20 open pull requests, one clean worktree each, Linux 4 vCPU, CPython 3.14.7, no GPU, no game files.

  • PASS (16) — 729, 731, 733, 736, 738, 740, 743, 752, 753, 754, 755, 756, 759, 762, 765, 770. Every test file the diff touches passes, plus the repository-wide guards (test_docs_links.py, test_docs_cli_flags.py for docs/; test_tool_stdout_encoding.py, test_text_write_line_endings.py for tools/ and scripts/). #756, which rewrites the CI workflow and both test runners, passes all five of its files; re-checked on a second slot before posting.
  • Not verifiable here (2) — 761 (runtime/CMakeLists.txt) and 766 (runtime/shims/file_system.cpp + runtime/test/file_system_test.cpp): C++/CMake, and this host has no MSVC, no Wine and no Vulkan headers. Both diffs apply cleanly to 32950551e.
  • STALE (2) — 750 and 772.
    • #750: the first tools/spirv_asm.py hunk no longer matches — main imports from fractions import Fraction in that block, so from spirv_asm_tables import ( now sits at line 32 and wraps differently. The rest is current: re-applying the import and the two-line same_report_path guard by hand on 32950551e gives python -I tests/test_spirv_asm.py → Ran 38 tests … OK (skipped=1), and with the guard removed → FAILED (failures=4). The fix and its test are sound, it just needs a rebase; said so on the PR.
    • #772: docs/d3d12_vulkan.md conflicts — the section it appends to has moved with the RT measurements — so it needs a rebase before review. Its runtime/CMakeLists.txt part cannot be built on this host either.

test_tool_stdout_encoding.py is green on main again: #948, its last offender, merged at 17:05Z and the guard passed in all 16 PASS runs above.

No game files were involved; nothing online. AI-assisted.

<!-- gh-comment-id:7139359026 --> @Poussistar commented on GitHub (Nov 24, 2026): **Verification batch on `main` `32950551e`** — 20 open pull requests, one clean worktree each, Linux 4 vCPU, CPython 3.14.7, no GPU, no game files. - **PASS (16)** — 729, 731, 733, 736, 738, 740, 743, 752, 753, 754, 755, 756, 759, 762, 765, 770. Every test file the diff touches passes, plus the repository-wide guards (`test_docs_links.py`, `test_docs_cli_flags.py` for `docs/`; `test_tool_stdout_encoding.py`, `test_text_write_line_endings.py` for `tools/` and `scripts/`). #756, which rewrites the CI workflow and both test runners, passes all five of its files; re-checked on a second slot before posting. - **Not verifiable here (2)** — 761 (`runtime/CMakeLists.txt`) and 766 (`runtime/shims/file_system.cpp` + `runtime/test/file_system_test.cpp`): C++/CMake, and this host has no MSVC, no Wine and no Vulkan headers. Both diffs apply cleanly to `32950551e`. - **STALE (2)** — 750 and 772. - **#750**: the first `tools/spirv_asm.py` hunk no longer matches — `main` imports `from fractions import Fraction` in that block, so `from spirv_asm_tables import (` now sits at line 32 and wraps differently. The rest is current: re-applying the import and the two-line `same_report_path` guard by hand on `32950551e` gives `python -I tests/test_spirv_asm.py` → `Ran 38 tests … OK (skipped=1)`, and with the guard removed → `FAILED (failures=4)`. The fix and its test are sound, it just needs a rebase; said so on the PR. - **#772**: `docs/d3d12_vulkan.md` conflicts — the section it appends to has moved with the RT measurements — so it needs a rebase before review. Its `runtime/CMakeLists.txt` part cannot be built on this host either. `test_tool_stdout_encoding.py` is green on `main` again: #948, its last offender, merged at 17:05Z and the guard passed in all 16 PASS runs above. No game files were involved; nothing online. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-FREXP-LDEXP, SHADER-FREXP-LDEXP-SIGN-MODS -> #1063 (depends on #1034, which depends on #1012)

cs_w32_frexp_ldexp: v_frexp_mant_f32, v_frexp_exp_i32_f32, v_ldexp_f32, v_frexp_mant_f64 and v_frexp_exp_i32_f64 on 64 memory-fed records, with a neg and an abs source and a lane EXEC had turned off. The binary32 branch now reads its source through Gen.src_u_sign_mods, so neg/abs move the sign bit instead of going through OpFNegate/FAbs. With that all 768 words are exact on an RTX 4070 Ti (NVIDIA 620.70.06, Linux; natively and with LEONIDA_W64_EMULATE=1) and on llvmpipe; without it six words fail on the 4070 Ti (a NaN under a modifier comes back as 0x7fffffff). Ten broken rules each fail the fixture. Translator suite: 470 files, 6,169 tests, 0 failed. No listing in my work folder uses a frexp or ldexp op. AI-assisted.

<!-- gh-comment-id:7139370578 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-FREXP-LDEXP, SHADER-FREXP-LDEXP-SIGN-MODS -> #1063 (depends on #1034, which depends on #1012) `cs_w32_frexp_ldexp`: `v_frexp_mant_f32`, `v_frexp_exp_i32_f32`, `v_ldexp_f32`, `v_frexp_mant_f64` and `v_frexp_exp_i32_f64` on 64 memory-fed records, with a `neg` and an `abs` source and a lane EXEC had turned off. The binary32 branch now reads its source through `Gen.src_u_sign_mods`, so `neg`/`abs` move the sign bit instead of going through `OpFNegate`/`FAbs`. With that all 768 words are exact on an RTX 4070 Ti (NVIDIA 620.70.06, Linux; natively and with `LEONIDA_W64_EMULATE=1`) and on llvmpipe; without it six words fail on the 4070 Ti (a NaN under a modifier comes back as `0x7fffffff`). Ten broken rules each fail the fixture. Translator suite: 470 files, 6,169 tests, 0 failed. No listing in my work folder uses a frexp or ldexp op. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming:

  • SHADER-MUBUF-OFFSET-WRAP - Gen.buffer_address in tools/rdna2spirv.py forms the MUBUF/MTBUF byte offset (off + soffset + index * stride) in 32 bits; the hardware does not wrap there, so index 0xFFFFFFFF with a 20-byte stride becomes base - 20 and passes OOB_SELECT 2 and 3. Form it in 64 bits and treat a value above 0xFFFFFFFF as out of range, with a semantic test that fails on main.
  • RT-DIRECT-HEAP-COMPUTE - a compute dispatch whose root signature sets CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED / SAMPLER_HEAP_DIRECTLY_INDEXED receives the bound heap's arena offset after its explicit root arguments (runtime/shims/d3d12_com.cpp), with a GPU test and a rollback switch. Inline compute layout only; adjacent to #683, #974 and #1009.

Both are children of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7139398473 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: - SHADER-MUBUF-OFFSET-WRAP - `Gen.buffer_address` in `tools/rdna2spirv.py` forms the MUBUF/MTBUF byte offset (`off + soffset + index * stride`) in 32 bits; the hardware does not wrap there, so index 0xFFFFFFFF with a 20-byte stride becomes base - 20 and passes OOB_SELECT 2 and 3. Form it in 64 bits and treat a value above 0xFFFFFFFF as out of range, with a semantic test that fails on main. - RT-DIRECT-HEAP-COMPUTE - a compute dispatch whose root signature sets `CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED` / `SAMPLER_HEAP_DIRECTLY_INDEXED` receives the bound heap's arena offset after its explicit root arguments (`runtime/shims/d3d12_com.cpp`), with a GPU test and a rollback switch. Inline compute layout only; adjacent to #683, #974 and #1009. Both are children of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@veqzo commented on GitHub (Nov 24, 2026):

claiming: GPU-GTX1080-WIN — GPU test results for NVIDIA GeForce GTX 1080, driver 582.78, Windows 11. Full synthetic GPU suite in native and wave64 emulation modes; no game files. AI-assisted.

<!-- gh-comment-id:7139405180 --> @veqzo commented on GitHub (Nov 24, 2026): claiming: GPU-GTX1080-WIN — GPU test results for NVIDIA GeForce GTX 1080, driver 582.78, Windows 11. Full synthetic GPU suite in native and wave64 emulation modes; no game files. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-DIRECT-HEAP-COMPUTE -> #1064

<!-- gh-comment-id:7139408209 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-DIRECT-HEAP-COMPUTE -> #1064
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

BL-4, the 1,296 slots from my census above (same run setup, one more run with a histogram added; counts only).

  • All 1,296 have non-zero words 4..7, so none is a lone 32-bit word. By the top nibble of word 3: 216 with 0, 216 with 4, 432 with 11 and 432 with 15. The proportions are exactly 1:2:2:1 and identical at submit 50, 500 and 5000, so they come in a regular pattern, not at random.
  • Nibbles 11 and 15 are image TYPE values (8 + 3 and 8 + 7), so 864 of the 1,296 look like T# that my decoder call rejected (a field contradicting another, such as a last level before the first or a cube whose layers are not whole cubes); I did not look at which. Nibbles 0 and 4 are not image types and have eight non-zero-tailed dwords; I do not know what they are.
  • None of the four groups is a 32-bit GPU address, which is what BL-4 asked about.

So on this stack the census finds no descriptor word that is a bare 32-bit GPU address: the heap holds a free list of slot indices (327,542 of 327,543 single-dword slots), 261 T# at layer-assigned addresses above 4 GiB, V# with a null or sub-4-GiB base, and these 1,296 undecoded slots. I am keeping the claim open for the undecoded ones: whether the 864 image-type slots are the title's own T# that gfx10::decode should accept is a decoder question, and I will look at it before I say anything about BL-4 being closed.

<!-- gh-comment-id:7139437245 --> @DesertGamer commented on GitHub (Nov 24, 2026): BL-4, the 1,296 slots from my census above (same run setup, one more run with a histogram added; counts only). - All 1,296 have non-zero words 4..7, so none is a lone 32-bit word. By the top nibble of word 3: 216 with 0, 216 with 4, 432 with 11 and 432 with 15. The proportions are exactly 1:2:2:1 and identical at submit 50, 500 and 5000, so they come in a regular pattern, not at random. - Nibbles 11 and 15 are image TYPE values (8 + 3 and 8 + 7), so 864 of the 1,296 look like T# that my decoder call rejected (a field contradicting another, such as a last level before the first or a cube whose layers are not whole cubes); I did not look at which. Nibbles 0 and 4 are not image types and have eight non-zero-tailed dwords; I do not know what they are. - None of the four groups is a 32-bit GPU address, which is what BL-4 asked about. So on this stack the census finds no descriptor word that is a bare 32-bit GPU address: the heap holds a free list of slot indices (327,542 of 327,543 single-dword slots), 261 T# at layer-assigned addresses above 4 GiB, V# with a null or sub-4-GiB base, and these 1,296 undecoded slots. I am keeping the claim open for the undecoded ones: whether the 864 image-type slots are the title's own T# that `gfx10::decode` should accept is a decoder question, and I will look at it before I say anything about BL-4 being closed.
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

claiming: independent Windows verification of #1062 (D3D-27 render passes), #1055 (D3D-BARRIER-INTO-UNDEFINED) and #1064 (RT-DIRECT-HEAP-COMPUTE): each PR head built with MSVC 19.44 (RelWithDebInfo, Ninja) and run through the full runtime ctest on native Windows 11 26300 with an NVIDIA RTX 5070 Ti and live WARP, compared with its merge base. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7139437626 --> @Luna-OS commented on GitHub (Nov 24, 2026): claiming: independent Windows verification of #1062 (D3D-27 render passes), #1055 (D3D-BARRIER-INTO-UNDEFINED) and #1064 (RT-DIRECT-HEAP-COMPUTE): each PR head built with MSVC 19.44 (RelWithDebInfo, Ninja) and run through the full runtime ctest on native Windows 11 26300 with an NVIDIA RTX 5070 Ti and live WARP, compared with its merge base. No game files. AI-assisted (Claude Code).
Author
Owner

@veqzo commented on GitHub (Nov 24, 2026):

done: GPU-GTX1080-WIN -> #1065

<!-- gh-comment-id:7139439165 --> @veqzo commented on GitHub (Nov 24, 2026): done: GPU-GTX1080-WIN -> #1065
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

On @syntaxixr's Windows 10 finding (eight ctests on 19045): four of them already have open PRs, each red on main and green with the PR on my Windows 10 19045: d3d12_pso_validation #967, root_signature_oracle #988, d3d12_close_parity #989, d3d12_set_descriptor_heaps #990. The other four (d3d12_clear, d3d12_texture_tiles, d3d12_mesh, d3d12_vulkan_device) pass here on the same Windows build with an RTX 5060 Ti (621.01, main cf4c00cba, full ctest: 4 of 295 failed, exactly the four above). So those four probably come from the RX 6600 or its driver rather than from Windows 10 alone. AI-assisted (Claude Code).

<!-- gh-comment-id:7139480118 --> @Snooozs commented on GitHub (Nov 24, 2026): On @syntaxixr's Windows 10 finding (eight ctests on 19045): four of them already have open PRs, each red on `main` and green with the PR on my Windows 10 19045: `d3d12_pso_validation` #967, `root_signature_oracle` #988, `d3d12_close_parity` #989, `d3d12_set_descriptor_heaps` #990. The other four (`d3d12_clear`, `d3d12_texture_tiles`, `d3d12_mesh`, `d3d12_vulkan_device`) pass here on the same Windows build with an RTX 5060 Ti (621.01, `main` cf4c00cba, full ctest: 4 of 295 failed, exactly the four above). So those four probably come from the RX 6600 or its driver rather than from Windows 10 alone. AI-assisted (Claude Code).
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: MODEL-71-RECOUNT -> https://github.com/ubiquitarianism/leonida/pull/347#issuecomment-7139258764 - #347's levels.rpf row is confirmed on a second 1.0.2.1 package: 235,580 candidates, 343,648 models, 0 rejects at af54933, and the docs' 235,330 / 343,327 / 71 at e293917. Counts only, no PR. AI-assisted (Claude Code).

<!-- gh-comment-id:7139484140 --> @milk4sale commented on GitHub (Nov 24, 2026): done: MODEL-71-RECOUNT -> https://github.com/ubiquitarianism/leonida/pull/347#issuecomment-7139258764 - #347's `levels.rpf` row is confirmed on a second 1.0.2.1 package: 235,580 candidates, 343,648 models, 0 rejects at `af54933`, and the docs' 235,330 / 343,327 / 71 at `e293917`. Counts only, no PR. AI-assisted (Claude Code).
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

claiming: SHADER-1266-DESIGN-ROW - the follow-up @aslan2142 named when merging #892: a docs/design.md contract row for the image_load tfe/lwe status VGPR. The row records that a resident load leaves it unchanged and the translator writes nothing there, with the native and GPU evidence from #98/#892 and the refusing forms, so a zeroing change like #291 does not come back. Docs only, no game files. AI-assisted.

<!-- gh-comment-id:7139494723 --> @syntaxixr commented on GitHub (Nov 24, 2026): claiming: SHADER-1266-DESIGN-ROW - the follow-up @aslan2142 named when merging #892: a `docs/design.md` contract row for the `image_load` `tfe`/`lwe` status VGPR. The row records that a resident load leaves it unchanged and the translator writes nothing there, with the native and GPU evidence from #98/#892 and the refusing forms, so a zeroing change like #291 does not come back. Docs only, no game files. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: D3D-EXECIND-RANGE-CARRY - carry forward the closed #337 (D3D-EXECIND-RANGE, one commit by @natterman12, author kept) onto current main: d3d12_execute_indirect_validation still fails the five #504 rows on main, and no open pull request has the fix since #337 was closed by its author. Needs no game files; measured on Windows 11 26200 with an RTX 3060 Ti. AI-assisted.

<!-- gh-comment-id:7139506810 --> @klikso commented on GitHub (Nov 24, 2026): claiming: D3D-EXECIND-RANGE-CARRY - carry forward the closed #337 (`D3D-EXECIND-RANGE`, one commit by @natterman12, author kept) onto current `main`: `d3d12_execute_indirect_validation` still fails the five #504 rows on `main`, and no open pull request has the fix since #337 was closed by its author. Needs no game files; measured on Windows 11 26200 with an RTX 3060 Ti. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: D3D-EXECIND-RANGE-CARRY -> #1066

<!-- gh-comment-id:7139512828 --> @klikso commented on GitHub (Nov 24, 2026): done: D3D-EXECIND-RANGE-CARRY -> #1066
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: GPU-PASCAL4GB-WIN - GPU test results from a 4 GB NVIDIA Pascal-class card on Windows 10 (model withheld; complements the Pascal coverage in GPU-GTX1080-WIN/#1065, but at 4 GB VRAM and 768 shaders). Record as gpu-test-results/NvidiaPascal4GB.txt, native and LEONIDA_W64_EMULATE=1. Needs a Vulkan driver and the GPU, no game files.

<!-- gh-comment-id:7139537973 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: GPU-PASCAL4GB-WIN - GPU test results from a 4 GB NVIDIA Pascal-class card on Windows 10 (model withheld; complements the Pascal coverage in GPU-GTX1080-WIN/#1065, but at 4 GB VRAM and 768 shaders). Record as gpu-test-results/NvidiaPascal4GB.txt, native and LEONIDA_W64_EMULATE=1. Needs a Vulkan driver and the GPU, no game files.
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

done: SHADER-1266-DESIGN-ROW -> #1067

<!-- gh-comment-id:7139552685 --> @syntaxixr commented on GitHub (Nov 24, 2026): done: SHADER-1266-DESIGN-ROW -> #1067
Author
Owner

@Yvonne-Aizawa commented on GitHub (Nov 24, 2026):

finding: fiestorra's +0x247af2d assert still reproduces on today's main with the full shader library, and the LEONIDA_SKIP_INT3=1 continuation past it stops in guest code, not at the recorded host CreateMetaCommand stop

On 32950551e (main, 2026-11-24), cross-built with clang-cl/xwin, run under Wine 11.21 on Fedora 44, RTX 4070, RADV-less native NVIDIA Vulkan (LEONIDA_D3D12=vulkan), against the retail 1.0.2.1 package: device, queues, fences, heaps all ok, 28257 translated shaders loaded from the full work-folder SPIR-V set, 1,647 D3D12 calls with zero failures, then the title's 0x80000003 at game_scarlett_master.exe+0x247af2d from +0x2479430, after the same slot-25/127 CreateCommittedResource3 (dimension=3) + SRV/RTV/UAV run fiestorra described — so that stop is not an artifact of the partial 70-shader setup, it persists at call-count parity (1,647 vs 1,619) on current main with everything translated. One local, marked never-commit experiment was in the build: runtime/shims/dxgi_com.cpp reporting a 4K primary current mode regardless of host monitor.

Two additions to the record:

  • With LEONIDA_SKIP_INT3=1, boot continues past the assert through the first device slot-16 CreateRootSignature and slot-62 CreateComputePipelineState and then stops in guest code: 0xc0000005 write 0x0 at game_scarlett_master.exe+0x2215c35, thread proc +0x2215eca — the same frame every assert stack here ends on. The root-sig spill refusal ("root parameter 8 does not fit in the user SGPRs from s4") prints just before, so this is a next-stop data point for ROOT-SIG-SPILL: past the spill fix, the guest itself is the next suspect, not the runtime.
  • Triage tip for Wine reproducers I found nowhere: ln -s <dir> ~/.wine/dosdevices/t: lets the title's WER actually save its game-*.crash.log state dump (it otherwise only debug-prints "Failed to save t:\game-*.crash.log"). The dump confirms the stop is System Init, frame 0, Lockhart, version 930.048.020, and gives a free per-run state snapshot.

Needs game files; the assert reproduces on any Vulkan device per fiestorra, the SKIP_INT3 continuation was only measured on this one setup. Nothing claimed. AI-assisted.

<!-- gh-comment-id:7139554493 --> @Yvonne-Aizawa commented on GitHub (Nov 24, 2026): finding: fiestorra's `+0x247af2d` assert still reproduces on today's `main` with the **full** shader library, and the `LEONIDA_SKIP_INT3=1` continuation past it stops in guest code, not at the recorded host `CreateMetaCommand` stop On `32950551e` (main, 2026-11-24), cross-built with clang-cl/xwin, run under Wine 11.21 on Fedora 44, RTX 4070, RADV-less native NVIDIA Vulkan (`LEONIDA_D3D12=vulkan`), against the retail 1.0.2.1 package: device, queues, fences, heaps all ok, `28257 translated shaders` loaded from the full work-folder SPIR-V set, 1,647 D3D12 calls with zero failures, then the title's `0x80000003` at `game_scarlett_master.exe+0x247af2d` from `+0x2479430`, after the same slot-25/127 `CreateCommittedResource3` (dimension=3) + SRV/RTV/UAV run fiestorra described — so that stop is not an artifact of the partial 70-shader setup, it persists at call-count parity (1,647 vs 1,619) on current `main` with everything translated. One local, marked never-commit experiment was in the build: `runtime/shims/dxgi_com.cpp` reporting a 4K primary current mode regardless of host monitor. Two additions to the record: - With `LEONIDA_SKIP_INT3=1`, boot continues past the assert through the first device slot-16 `CreateRootSignature` and slot-62 `CreateComputePipelineState` and then stops in **guest** code: `0xc0000005` write 0x0 at `game_scarlett_master.exe+0x2215c35`, thread proc `+0x2215eca` — the same frame every assert stack here ends on. The root-sig spill refusal ("root parameter 8 does not fit in the user SGPRs from s4") prints just before, so this is a next-stop data point for ROOT-SIG-SPILL: past the spill fix, the guest itself is the next suspect, not the runtime. - Triage tip for Wine reproducers I found nowhere: `ln -s <dir> ~/.wine/dosdevices/t:` lets the title's WER actually save its `game-*.crash.log` state dump (it otherwise only debug-prints "Failed to save t:\game-*.crash.log"). The dump confirms the stop is System Init, frame 0, Lockhart, version 930.048.020, and gives a free per-run state snapshot. Needs game files; the assert reproduces on any Vulkan device per fiestorra, the SKIP_INT3 continuation was only measured on this one setup. Nothing claimed. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-MUBUF-OFFSET-WRAP -> #1068

<!-- gh-comment-id:7139555774 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-MUBUF-OFFSET-WRAP -> #1068
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

claiming: HASHDICT-EXTRA-READ-ERROR - tools/hashdict.py lets an unreadable regular file passed to --extra escape as a traceback; report one ERROR line and exit 2 without replacing an existing --out, with a synthetic regression test. No game files or GPU. AI-assisted.

<!-- gh-comment-id:7139578822 --> @j-weiner commented on GitHub (Nov 24, 2026): claiming: HASHDICT-EXTRA-READ-ERROR - `tools/hashdict.py` lets an unreadable regular file passed to `--extra` escape as a traceback; report one `ERROR` line and exit 2 without replacing an existing `--out`, with a synthetic regression test. No game files or GPU. AI-assisted.
Author
Owner

@LewisCodesWebsites commented on GitHub (Nov 24, 2026):

claiming: OLD-10058 - carry forward old-pr/10058 (draft #324, by wail-arch): rdna2spirv writes out a carry-out subtract of a register from itself, fixing the amdvlk64.dll crash in native wave64 (the same crash as my finding above). Will rebase onto main and verify on AMD Radeon 660M with the 7-instruction reproducer and crosslane_fuzz seed 20261124 (6 harness errors today). AI-assisted.

<!-- gh-comment-id:7139581966 --> @LewisCodesWebsites commented on GitHub (Nov 24, 2026): claiming: OLD-10058 - carry forward old-pr/10058 (draft #324, by wail-arch): rdna2spirv writes out a carry-out subtract of a register from itself, fixing the amdvlk64.dll crash in native wave64 (the same crash as my finding above). Will rebase onto main and verify on AMD Radeon 660M with the 7-instruction reproducer and crosslane_fuzz seed 20261124 (6 harness errors today). AI-assisted.
Author
Owner

@CLHelper commented on GitHub (Nov 24, 2026):

@DadaCap a third machine on boot-prototype 9173e790f, built unchanged: Windows 11, RTX 4060 Laptop (8 GB, NVIDIA 576.80), MSVC 19.44, own 1.0.2.1 copy, LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1, autopress and the keyboard pad, 300 s limit, a shader library translated today by the prototype's translator.

  • 300 s without a single exception or skipped int3 (the +0x4ffd879 assert does not come), 67,210 PresentX ok, 13.1 M D3D12 calls. The first-run prompts draw (ACCOUNT PICKER, SCREEN NARRATION).
  • Same picture as @DesertGamer's legal-notices page: one highlighted row whose text barely shows, and the autopress does not move past it.
  • Log lines that remain: the BCPack "unknown built-in history: some blocks have wrong colours" line, eight wave64 VS/PS refusals (among them FTexTGEAlphaMul, VTexTGCxformDither, VTexTGTexTG and the executable's container_00/container_06), queue slot 31 ... E_NOTIMPL (#968; on fa497b930 a port of it handled every page the title sent), device slot 81 beyond the PC table.
  • One thing others may hit: with a shader library translated by an older translator (the stale one from yesterday), the same prototype lost its Vulkan device about 22 s in, every run; the title then took its own device-removed exit (int3 at +0x2474606). A library from the current translator fixed that here. #980 makes the layer say when the device is lost.

AI-assisted. No game data; no pictures posted.

<!-- gh-comment-id:7139584214 --> @CLHelper commented on GitHub (Nov 24, 2026): @DadaCap a third machine on `boot-prototype` `9173e790f`, built unchanged: Windows 11, RTX 4060 Laptop (8 GB, NVIDIA 576.80), MSVC 19.44, own 1.0.2.1 copy, `LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1`, autopress and the keyboard pad, 300 s limit, a shader library translated today by the prototype's translator. - 300 s without a single exception or skipped `int3` (the `+0x4ffd879` assert does not come), 67,210 `PresentX ok`, 13.1 M D3D12 calls. The first-run prompts draw (ACCOUNT PICKER, SCREEN NARRATION). - Same picture as @DesertGamer's legal-notices page: one highlighted row whose text barely shows, and the autopress does not move past it. - Log lines that remain: the BCPack "unknown built-in history: some blocks have wrong colours" line, eight wave64 VS/PS refusals (among them `FTexTGEAlphaMul`, `VTexTGCxformDither`, `VTexTGTexTG` and the executable's `container_00`/`container_06`), `queue slot 31 ... E_NOTIMPL` (#968; on `fa497b930` a port of it handled every page the title sent), device slot 81 beyond the PC table. - One thing others may hit: with a shader library translated by an older translator (the stale one from yesterday), the same prototype lost its Vulkan device about 22 s in, every run; the title then took its own device-removed exit (`int3` at `+0x2474606`). A library from the current translator fixed that here. #980 makes the layer say when the device is lost. AI-assisted. No game data; no pictures posted.
Author
Owner

@thedanmaor commented on GitHub (Nov 24, 2026):

finding: GTX 1660 SUPER / Win11 26300: live WARP and NVIDIA D3D12 return S_OK on 5 d3d12_execute_indirect_validation cases the table expects to fail (details in #1069); likely a D3D12 runtime change, layer unchanged.

finding: crt_timed_wait is intermittent on GTX 1660 SUPER / Win11 26300 (2 fails in ~26 runs, see #1069).

(AI-assisted, Claude Code)

<!-- gh-comment-id:7139597389 --> @thedanmaor commented on GitHub (Nov 24, 2026): finding: GTX 1660 SUPER / Win11 26300: live WARP and NVIDIA D3D12 return S_OK on 5 d3d12_execute_indirect_validation cases the table expects to fail (details in #1069); likely a D3D12 runtime change, layer unchanged. finding: crt_timed_wait is intermittent on GTX 1660 SUPER / Win11 26300 (2 fails in ~26 runs, see #1069). (AI-assisted, Claude Code)
Author
Owner

@DominusMayo commented on GitHub (Nov 24, 2026):

done: GPU-RX6600 -> #1070

<!-- gh-comment-id:7139621730 --> @DominusMayo commented on GitHub (Nov 24, 2026): done: GPU-RX6600 -> #1070
Author
Owner

@azsekazvamdimitar commented on GitHub (Nov 24, 2026):

claiming: TEST-WINE-PROTON-LEFTOVERS - the runtime tests that still fail under Wine and Proton once #519, #983, #913 and #977 are counted, measured on Linux (RTX 3090, NVIDIA 590.48.01, clang-cl + xwin cross build) under WineHQ 11.22 and GE-Proton11-14:

  • vk_device_filter_tools: the cross build runs check_device_filter_tools.py with the Windows executables directly (runtime/CMakeLists.txt, no CMAKE_CROSSCOMPILING_EMULATOR as its neighbours pass), so it fails with Exec format error on a Linux host. The tools go through the emulator.
  • run_startup_cmdline fail_init under Proton (Wine 11.0): gta6rt prints Unknown exception instead of DllMain returned FALSE. Wine 11.0's rethrow_exception throws the stored object itself, which the exception_ptr local in runtime/src/main.cpp frees while the throw unwinds. main.cpp keeps a copy of the error instead.
  • dxgi_host_answers, dxgi_waitable_latency: the swapchain presents to a window that is never shown, and under winewayland the first FIFO present then never returns. The tests show the window, as vk_presenter_sync does. Depends on #519.
  • xbox_present: under winewayland SW_MINIMIZE holds only until the compositor's next configure (Wayland has no minimised state), so no present is skipped. That case is reported as not checked when the window is no longer minimised.
  • file_system: the two checks milk4sale's finding above names as the host's own answers (ReadFile into a reserve-only view succeeds under Wine; Wine's short search for *.?. lists mesh.txt). The shim's side is still checked.
  • d3d12_clear, d3d12_clear_formats (left out of #519) and d3d12_pipeline_library_host (vkd3d-proton answers 23 cases differently under Proton): the WARP / host reference is skipped under Wine with host_wine.h, the layer's own checks still run.

Tests and one gta6rt change; no game files.

Not in this, for the open pull requests: for #983 I measured the same seven tests under WineHQ 11.22 and GE-Proton11-14 and fixed bcrypt_rng and root_sig in the shim instead (STATUS_NOT_IMPLEMENTED mapped to STATUS_NOT_FOUND; the all-zero-checksum copy is signed before the host sees it), and xmem by committing a page when it is mapped under Wine; for #977, host_access() asking for FILE_ALL_ACCESS under Wine makes the six MAXIMUM_ALLOWED checks pass under both. Those are notes for the pull requests, not competing ones. AI-assisted.

<!-- gh-comment-id:7139622075 --> @azsekazvamdimitar commented on GitHub (Nov 24, 2026): claiming: TEST-WINE-PROTON-LEFTOVERS - the runtime tests that still fail under Wine and Proton once #519, #983, #913 and #977 are counted, measured on Linux (RTX 3090, NVIDIA 590.48.01, clang-cl + xwin cross build) under WineHQ 11.22 and GE-Proton11-14: - `vk_device_filter_tools`: the cross build runs `check_device_filter_tools.py` with the Windows executables directly (`runtime/CMakeLists.txt`, no `CMAKE_CROSSCOMPILING_EMULATOR` as its neighbours pass), so it fails with `Exec format error` on a Linux host. The tools go through the emulator. - `run_startup_cmdline` `fail_init` under Proton (Wine 11.0): `gta6rt` prints `Unknown exception` instead of `DllMain returned FALSE`. Wine 11.0's `rethrow_exception` throws the stored object itself, which the `exception_ptr` local in `runtime/src/main.cpp` frees while the throw unwinds. `main.cpp` keeps a copy of the error instead. - `dxgi_host_answers`, `dxgi_waitable_latency`: the swapchain presents to a window that is never shown, and under winewayland the first FIFO present then never returns. The tests show the window, as `vk_presenter_sync` does. Depends on #519. - `xbox_present`: under winewayland `SW_MINIMIZE` holds only until the compositor's next configure (Wayland has no minimised state), so no present is skipped. That case is reported as not checked when the window is no longer minimised. - `file_system`: the two checks milk4sale's finding above names as the host's own answers (ReadFile into a reserve-only view succeeds under Wine; Wine's short search for `*.?.` lists `mesh.txt`). The shim's side is still checked. - `d3d12_clear`, `d3d12_clear_formats` (left out of #519) and `d3d12_pipeline_library_host` (vkd3d-proton answers 23 cases differently under Proton): the WARP / host reference is skipped under Wine with `host_wine.h`, the layer's own checks still run. Tests and one `gta6rt` change; no game files. Not in this, for the open pull requests: for #983 I measured the same seven tests under WineHQ 11.22 and GE-Proton11-14 and fixed `bcrypt_rng` and `root_sig` in the shim instead (STATUS_NOT_IMPLEMENTED mapped to STATUS_NOT_FOUND; the all-zero-checksum copy is signed before the host sees it), and `xmem` by committing a page when it is mapped under Wine; for #977, `host_access()` asking for `FILE_ALL_ACCESS` under Wine makes the six MAXIMUM_ALLOWED checks pass under both. Those are notes for the pull requests, not competing ones. AI-assisted.
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

claiming: RT-MSAA-DEPTH-SRV — extend the MSAA work from #1014 to depth-stencil: serve a multisampled depth/stencil SRV (retail format 19 is R32G8X24_TYPELESS, mapped to D32_SFLOAT_S8_UINT) and lower image_msaa_load for translated shaders, with synthetic per-sample readback and a negative non-MSAA/mismatched-format case. This is the actual retail line behind multisample shader view requires a matching typed colour format: 19; #1014 covers the colour family only. No game data. AI-assisted (DeepSeek v4.1 Flash 1017).

<!-- gh-comment-id:7139661742 --> @roanh47 commented on GitHub (Nov 24, 2026): claiming: `RT-MSAA-DEPTH-SRV` — extend the MSAA work from #1014 to depth-stencil: serve a multisampled depth/stencil SRV (retail format 19 is `R32G8X24_TYPELESS`, mapped to `D32_SFLOAT_S8_UINT`) and lower `image_msaa_load` for translated shaders, with synthetic per-sample readback and a negative non-MSAA/mismatched-format case. This is the actual retail line behind `multisample shader view requires a matching typed colour format: 19`; #1014 covers the colour family only. No game data. AI-assisted (DeepSeek v4.1 Flash 1017).
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

done: HASHDICT-EXTRA-READ-ERROR -> #1071

<!-- gh-comment-id:7139689278 --> @j-weiner commented on GitHub (Nov 24, 2026): done: HASHDICT-EXTRA-READ-ERROR -> #1071
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

claiming: SHADER-468 — finishing a local measured fix for 16-bit interpolation (f16 P10/P20 deltas rounded to f16, p2 narrows toward zero; measured on gfx1036 via tools/f16_interp_probe.py, 98,274/98,304 samples) that was left uncommitted in a worktree; will rebase onto main, re-verify on the AMD RDNA2 iGPU + RTX 4070 SUPER, and open a PR. AI-assisted.
done: f64-rounding investigation -> verified open PR #1047 on AMD RDNA2 (PASS 1152/1152) + NVIDIA (fix confirmed; main reproduces the sNaN quieting); posted results on the PR.

<!-- gh-comment-id:7139740114 --> @whoalin1 commented on GitHub (Nov 24, 2026): claiming: SHADER-468 — finishing a local measured fix for 16-bit interpolation (f16 P10/P20 deltas rounded to f16, p2 narrows toward zero; measured on gfx1036 via tools/f16_interp_probe.py, 98,274/98,304 samples) that was left uncommitted in a worktree; will rebase onto main, re-verify on the AMD RDNA2 iGPU + RTX 4070 SUPER, and open a PR. AI-assisted. done: f64-rounding investigation -> verified open PR #1047 on AMD RDNA2 (PASS 1152/1152) + NVIDIA (fix confirmed; main reproduces the sNaN quieting); posted results on the PR.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: SHADER-COMPACT-SPIRV - --compact-spirv for tools/rdna2spirv.py and make_game.py: run a fixed set of SPIRV-Tools passes (local load, redundancy and dead-code elimination, interfaces/bindings/spec constants preserved) on the assembled module before validation. Off by default; two regression tests that error on main.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7139774662 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: SHADER-COMPACT-SPIRV - `--compact-spirv` for `tools/rdna2spirv.py` and `make_game.py`: run a fixed set of SPIRV-Tools passes (local load, redundancy and dead-code elimination, interfaces/bindings/spec constants preserved) on the assembled module before validation. Off by default; two regression tests that error on main. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-COMPACT-SPIRV -> #1073

<!-- gh-comment-id:7139776889 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-COMPACT-SPIRV -> #1073
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-INPUT-SCRIPT-LENGTH - LEONIDA_INPUT_SCRIPT in runtime/shims/gameinput.cpp: the shim read environment settings into a 64-byte buffer, so a script of 64 characters or more read as unset. Read the full value and schedule its button@seconds presses on the keyboard pad, with a Wine regression test for a press beyond byte 63. Adjacent to #955 (physical right-stick keys).

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7139824543 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-INPUT-SCRIPT-LENGTH - `LEONIDA_INPUT_SCRIPT` in `runtime/shims/gameinput.cpp`: the shim read environment settings into a 64-byte buffer, so a script of 64 characters or more read as unset. Read the full value and schedule its `button@seconds` presses on the keyboard pad, with a Wine regression test for a press beyond byte 63. Adjacent to #955 (physical right-stick keys). Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-INPUT-SCRIPT-LENGTH -> #1074

<!-- gh-comment-id:7139827161 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-INPUT-SCRIPT-LENGTH -> #1074
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent RTX 5070 Ti / Windows verification of #1073. Compare plain and compact translation of hand-written shader fixtures, validation, shader index metadata and GPU readback using the same inputs. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7139857979 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent RTX 5070 Ti / Windows verification of #1073. Compare plain and compact translation of hand-written shader fixtures, validation, shader index metadata and GPU readback using the same inputs. AI-assisted: OpenAI Codex.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

claiming: GPU-GRANITERIDGE-WIN - a gpu-test-results/ record for the Ryzen 9 9950X3D integrated Radeon (Granite Ridge, RDNA2, PCI 1002:13c0) on AMD's Windows driver 32.0.21042.62, subgroup 32..64: run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1 on current main. No record for this device or driver is in the folder. One new file, no game data. AI-assisted.

<!-- gh-comment-id:7139949595 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): claiming: GPU-GRANITERIDGE-WIN - a `gpu-test-results/` record for the Ryzen 9 9950X3D integrated Radeon (Granite Ridge, RDNA2, PCI 1002:13c0) on AMD's Windows driver 32.0.21042.62, subgroup 32..64: `run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1` on current `main`. No record for this device or driver is in the folder. One new file, no game data. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent Windows / RTX 5070 Ti verification of #1073 -> https://github.com/ubiquitarianism/leonida/pull/1073#issuecomment-7139959352. GPU readback and two-shard cache checks passed on b22d5af4.

AI-assisted: yes (OpenAI Codex).

<!-- gh-comment-id:7139962941 --> @sodove commented on GitHub (Nov 24, 2026): done: independent Windows / RTX 5070 Ti verification of #1073 -> https://github.com/ubiquitarianism/leonida/pull/1073#issuecomment-7139959352. GPU readback and two-shard cache checks passed on `b22d5af4`. AI-assisted: yes (OpenAI Codex).
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

claiming: D3D-BUNDLE-INDIRECT-DISPATCH — defer fixed-count ExecuteIndirect(DISPATCH) with one operation in a bundle, then record it against the parent list compute state. Synthetic only. AI-assisted.

<!-- gh-comment-id:7139963909 --> @PyZikYG commented on GitHub (Nov 24, 2026): claiming: D3D-BUNDLE-INDIRECT-DISPATCH — defer fixed-count ExecuteIndirect(DISPATCH) with one operation in a bundle, then record it against the parent list compute state. Synthetic only. AI-assisted.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

done: GPU-GRANITERIDGE-WIN -> #1075

<!-- gh-comment-id:7139993909 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): done: GPU-GRANITERIDGE-WIN -> #1075
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent native Windows verification of #1074. I will check the final scheduled press and release beyond the old 64-byte input buffer through GameInput, including a held key. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7140003789 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent native Windows verification of #1074. I will check the final scheduled press and release beyond the old 64-byte input buffer through GameInput, including a held key. AI-assisted: OpenAI Codex.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: GPU-PASCAL4GB-WIN -> #1076

<!-- gh-comment-id:7140035430 --> @robot00f commented on GitHub (Nov 24, 2026): done: GPU-PASCAL4GB-WIN -> #1076
Author
Owner

@Aminou973 commented on GitHub (Nov 24, 2026):

finding: main lost the XMemAllocationHooks descriptor-heap port (355201c51) and its follow-up (ae322dafc, RT-5 stop 17)
Where: runtime/shims/d3d12_xs_device.cpp on main. 355201c51 has 16 lines with custom_cpu_start / translate_cpu_handle; main has 0, and TitleMemoryLease is gone too, although both commits are ancestors of main (a merge resolution dropped them).
Why: without it, GetCPUDescriptorHandleForHeapStart no longer returns the address the title allocated through its own hooks (the title asserts it equals the value it holds: docs/retail_boot_chain.md stop 13), and committed resources stop leasing their size through the hooks (the stop-17 budget assert).
Needs game files: no (xs_proxy_mock_test covers both). Hardware: none.

finding: the hooks port translates CPU descriptor handles only in device slots 17-24; command lists still dereference them raw
Where: runtime/shims/d3d12_com.cpp OMSetRenderTargets, ClearRenderTargetView, ClearDepthStencilView, ClearUnorderedAccessViewUint/Float; d3d12_xs_device.cpp proxy_create_sampler_x (slot 61) also forwards dest untranslated; and proxy_create_descriptor_heap calls the title's hook for console-extended heaps too (the console does not: their memory is the title's already).
Why: once a heap is title-backed, those calls read a leonida::TargetView from title memory the layer never wrote (empty or garbage render targets), and samplers land outside the real heap.
Fix ready on our side (a translate hook the layer calls, plus mock tests). Needs game files: no.

finding: v_interp_p2_f16 refused when the blob sets op_sel[3] (dword0 bit 14, destination high half), which llvm-mc's gfx10 definition drops
Where: tools/rdna2spirv.py, the printed-encoding check ("a field the disassembler dropped"). 121 fspx_gfx programs of 1.0.2.1 are refused only for this.
Why: the bit only selects the destination half; the rest of the print is faithful. Fix ready: take the bit from the blob, write the high half and keep the low half (hand-built test). Not yet confirmed on AMD hardware (tools/hw_oracle): needs an RDNA2 GPU.

(AI-assisted; measured on my own copy with an RTX 3080, driver 621.14, Windows 11. No game data attached.)

<!-- gh-comment-id:7140042354 --> @Aminou973 commented on GitHub (Nov 24, 2026): finding: main lost the __XMemAllocationHooks__ descriptor-heap port (355201c51) and its follow-up (ae322dafc, RT-5 stop 17) Where: runtime/shims/d3d12_xs_device.cpp on main. 355201c51 has 16 lines with custom_cpu_start / translate_cpu_handle; main has 0, and TitleMemoryLease is gone too, although both commits are ancestors of main (a merge resolution dropped them). Why: without it, GetCPUDescriptorHandleForHeapStart no longer returns the address the title allocated through its own hooks (the title asserts it equals the value it holds: docs/retail_boot_chain.md stop 13), and committed resources stop leasing their size through the hooks (the stop-17 budget assert). Needs game files: no (xs_proxy_mock_test covers both). Hardware: none. finding: the hooks port translates CPU descriptor handles only in device slots 17-24; command lists still dereference them raw Where: runtime/shims/d3d12_com.cpp OMSetRenderTargets, ClearRenderTargetView, ClearDepthStencilView, ClearUnorderedAccessViewUint/Float; d3d12_xs_device.cpp proxy_create_sampler_x (slot 61) also forwards dest untranslated; and proxy_create_descriptor_heap calls the title's hook for console-extended heaps too (the console does not: their memory is the title's already). Why: once a heap is title-backed, those calls read a leonida::TargetView from title memory the layer never wrote (empty or garbage render targets), and samplers land outside the real heap. Fix ready on our side (a translate hook the layer calls, plus mock tests). Needs game files: no. finding: v_interp_p2_f16 refused when the blob sets op_sel[3] (dword0 bit 14, destination high half), which llvm-mc's gfx10 definition drops Where: tools/rdna2spirv.py, the printed-encoding check ("a field the disassembler dropped"). 121 fspx_gfx programs of 1.0.2.1 are refused only for this. Why: the bit only selects the destination half; the rest of the print is faithful. Fix ready: take the bit from the blob, write the high half and keep the low half (hand-built test). Not yet confirmed on AMD hardware (tools/hw_oracle): needs an RDNA2 GPU. (AI-assisted; measured on my own copy with an RTX 3080, driver 621.14, Windows 11. No game data attached.)
Author
Owner

@kotekompotek commented on GitHub (Nov 24, 2026):

@aslan2142 Thank you for the heads-up on the missing #14 claims and review follow-ups!

  • Updated fixes for #278, #806, #815, and #820 are now pushed.
  • #258, #272, #275, #251, and #492 follow-ups are queued next; #546 is held pending overlap check against #375.

Claiming the 31 active non-overlapping open PRs below (all synthetic/existing PR scopes, AI-assisted):

claiming: SHADER-868 (#251 — rdna2spirv: add --int64-atomics option for 64-bit OpAtomicExchange on atomic_swap_x2)
claiming: BUILD-1532 (#258 — tools: fix skinned GLB export and vertex skinning weights)
claiming: BUILD-1533 (#272 — raytracing: fix BVH index building and validation)
claiming: SHADER-845 (#275 — rdna2spirv: support VOP3 clamp on v_sad
ops)
claiming: BUILD-1529 (#278 — rdna2spirv: decode gfx1013 VOP3 0x16b opcode)
claiming: TEST-GEN-GDK-RUNTIME (#340 — test: unit tests for tools/gen_gdk_runtime_classes.py)
claiming: TEST-CONFORMANCE-COMPARE (#341 — test: unit tests for tools/conformance/compare.py)
claiming: TEST-HW-ORACLE-RUNNER (#342 — test: unit tests for tools/hw_oracle/runner.py)
claiming: TEST-HW-ORACLE-ASM (#351 — test: unit tests for tools/hw_oracle/asm.py)
claiming: TEST-RUN-GUEST-SCENE (#352 — test: unit tests for scripts/run_guest_scene.py)
claiming: TEST-BUFFER-FORMAT-FUZZ (#355 — test: unit tests for tools/buffer_format_fuzz.py)
claiming: TEST-SANDBOX (#370 — test: unit tests for tools/sandbox.py)
claiming: TEST-SHADERS-CHECK (#371 — test: unit tests for runtime/test/shaders/check.py)
claiming: TEST-SHADERS-BUILD (#372 — test: unit tests for runtime/test/shaders/build.py)
claiming: TEST-D3D12-GUID-SITES (#487 — d3d12_guid_sites: load known GDK runtime GUIDs)
claiming: TOOL-PE-INSPECT-GAMEDIR (#492 — pe_inspect: reject missing --game-dir before scanning images)
claiming: TEST-ZEXEC-BUFFER (#493 — test: cover memoryview, inverted slices, and multi-window spans)
claiming: TEST-FILE-MODE-PROBE (#495 — test: cover probe collision retries and fallback in file_mode)
claiming: TEST-INLINE-SCAN (#536 — tests: add edge-case tests for inline_scan add-advance and --sites)
claiming: TEST-FSSM-HEADER (#538 — tests: add edge-case tests for fssm_header wave_size and binding_table)
claiming: TEST-CFG-STRUCTURE (#542 — tests: add edge-case tests for cfg_structure single-block, irreducible, and nested loops)
claiming: D3D-XS-CMDLIST-SLOTS (#678 — d3d12_xs: verify title inline command-list fallback slots)
claiming: D3D-XS-ALLOC-UPLOAD (#686 — d3d12_xs: implement console list slot 148 AllocateUploadMemory)
claiming: D3D-XS-DISPATCHX (#687 — d3d12_xs: map console list slot 80 DispatchX to PC Dispatch slot 14)
claiming: D3D-CHECK-FEATURE-LOG (#732 — d3d12: log CheckFeatureSupport answers for boot trace diagnostics)
claiming: D3D-DEPTH-STENCIL2-MASKS (#799 — d3d12: support separate front/back stencil masks in DEPTH_STENCIL2 streams)
claiming: D3D-RASTERIZER-FLOAT-BIAS (#806 — d3d12: preserve float DepthBias in RASTERIZER1 and RASTERIZER2 streams)
claiming: D3D-DEPTH-BOUNDS (#815 — d3d12: support hardware depth-bounds testing and OMSetDepthBounds)
claiming: DXGI-QUERY-RESIDENCY (#820 — d3d12_xs: implement IDXGIDevice::QueryResourceResidency on Xbox DeviceProxy)
claiming: D3D-MULTI-VIEWPORT (#827 — d3d12: support multi-viewport and multi-scissor up to 16 entries)
claiming: D3D-HOST-TRANSFER-FALLBACK (#849 — d3d12: fall back to staging copies when host-transfer image has no memory type)

<!-- gh-comment-id:7140050149 --> @kotekompotek commented on GitHub (Nov 24, 2026): @aslan2142 Thank you for the heads-up on the missing `#14` claims and review follow-ups! - Updated fixes for `#278`, `#806`, `#815`, and `#820` are now pushed. - `#258`, `#272`, `#275`, `#251`, and `#492` follow-ups are queued next; `#546` is held pending overlap check against `#375`. Claiming the 31 active non-overlapping open PRs below (all synthetic/existing PR scopes, AI-assisted): claiming: SHADER-868 (#251 — rdna2spirv: add --int64-atomics option for 64-bit OpAtomicExchange on *_atomic_swap_x2) claiming: BUILD-1532 (#258 — tools: fix skinned GLB export and vertex skinning weights) claiming: BUILD-1533 (#272 — raytracing: fix BVH index building and validation) claiming: SHADER-845 (#275 — rdna2spirv: support VOP3 clamp on v_sad_* ops) claiming: BUILD-1529 (#278 — rdna2spirv: decode gfx1013 VOP3 0x16b opcode) claiming: TEST-GEN-GDK-RUNTIME (#340 — test: unit tests for tools/gen_gdk_runtime_classes.py) claiming: TEST-CONFORMANCE-COMPARE (#341 — test: unit tests for tools/conformance/compare.py) claiming: TEST-HW-ORACLE-RUNNER (#342 — test: unit tests for tools/hw_oracle/runner.py) claiming: TEST-HW-ORACLE-ASM (#351 — test: unit tests for tools/hw_oracle/asm.py) claiming: TEST-RUN-GUEST-SCENE (#352 — test: unit tests for scripts/run_guest_scene.py) claiming: TEST-BUFFER-FORMAT-FUZZ (#355 — test: unit tests for tools/buffer_format_fuzz.py) claiming: TEST-SANDBOX (#370 — test: unit tests for tools/sandbox.py) claiming: TEST-SHADERS-CHECK (#371 — test: unit tests for runtime/test/shaders/check.py) claiming: TEST-SHADERS-BUILD (#372 — test: unit tests for runtime/test/shaders/build.py) claiming: TEST-D3D12-GUID-SITES (#487 — d3d12_guid_sites: load known GDK runtime GUIDs) claiming: TOOL-PE-INSPECT-GAMEDIR (#492 — pe_inspect: reject missing --game-dir before scanning images) claiming: TEST-ZEXEC-BUFFER (#493 — test: cover memoryview, inverted slices, and multi-window spans) claiming: TEST-FILE-MODE-PROBE (#495 — test: cover probe collision retries and fallback in file_mode) claiming: TEST-INLINE-SCAN (#536 — tests: add edge-case tests for inline_scan add-advance and --sites) claiming: TEST-FSSM-HEADER (#538 — tests: add edge-case tests for fssm_header wave_size and binding_table) claiming: TEST-CFG-STRUCTURE (#542 — tests: add edge-case tests for cfg_structure single-block, irreducible, and nested loops) claiming: D3D-XS-CMDLIST-SLOTS (#678 — d3d12_xs: verify title inline command-list fallback slots) claiming: D3D-XS-ALLOC-UPLOAD (#686 — d3d12_xs: implement console list slot 148 AllocateUploadMemory) claiming: D3D-XS-DISPATCHX (#687 — d3d12_xs: map console list slot 80 DispatchX to PC Dispatch slot 14) claiming: D3D-CHECK-FEATURE-LOG (#732 — d3d12: log CheckFeatureSupport answers for boot trace diagnostics) claiming: D3D-DEPTH-STENCIL2-MASKS (#799 — d3d12: support separate front/back stencil masks in DEPTH_STENCIL2 streams) claiming: D3D-RASTERIZER-FLOAT-BIAS (#806 — d3d12: preserve float DepthBias in RASTERIZER1 and RASTERIZER2 streams) claiming: D3D-DEPTH-BOUNDS (#815 — d3d12: support hardware depth-bounds testing and OMSetDepthBounds) claiming: DXGI-QUERY-RESIDENCY (#820 — d3d12_xs: implement IDXGIDevice::QueryResourceResidency on Xbox DeviceProxy) claiming: D3D-MULTI-VIEWPORT (#827 — d3d12: support multi-viewport and multi-scissor up to 16 entries) claiming: D3D-HOST-TRANSFER-FALLBACK (#849 — d3d12: fall back to staging copies when host-transfer image has no memory type)
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

done: D3D-BUNDLE-INDIRECT-DISPATCH -> #1077 (draft).

<!-- gh-comment-id:7140058266 --> @PyZikYG commented on GitHub (Nov 24, 2026): done: D3D-BUNDLE-INDIRECT-DISPATCH -> #1077 (draft).
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

claiming: ANIM-CLIPS-SHARED-REPORT-PATH - replace anim_clips.py's private output/input path comparison with the required shared report_paths.same_report_path helper, retaining archive-overwrite protection. Existing regression covers same-path refusal; I also verified refusal against a local package archive without parsing or modifying it. No game data in the PR. AI-assisted.

<!-- gh-comment-id:7140060112 --> @j-weiner commented on GitHub (Nov 24, 2026): claiming: ANIM-CLIPS-SHARED-REPORT-PATH - replace anim_clips.py's private output/input path comparison with the required shared report_paths.same_report_path helper, retaining archive-overwrite protection. Existing regression covers same-path refusal; I also verified refusal against a local package archive without parsing or modifying it. No game data in the PR. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-TITLE-TEXTURE-VIEWS - Xbox device slots 70 (SRV) and 71 (UAV) in runtime/shims/d3d12_xs_device.cpp / d3d12_vulkan_device.cpp: a view that names a live texture placed by slot 133 through its address and description gets that image instead of a null descriptor (slot 71 could reach an unrelated PC method). Null fallback kept for unmatched views; GPU test with a rollback switch. Views of live images only; CPU-source uploads are a separate topic. Adjacent to #356 and #461.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140073053 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-TITLE-TEXTURE-VIEWS - Xbox device slots 70 (SRV) and 71 (UAV) in `runtime/shims/d3d12_xs_device.cpp` / `d3d12_vulkan_device.cpp`: a view that names a live texture placed by slot 133 through its address and description gets that image instead of a null descriptor (slot 71 could reach an unrelated PC method). Null fallback kept for unmatched views; GPU test with a rollback switch. Views of live images only; CPU-source uploads are a separate topic. Adjacent to #356 and #461. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-TITLE-TEXTURE-VIEWS -> #1079

<!-- gh-comment-id:7140075391 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-TITLE-TEXTURE-VIEWS -> #1079
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: independent native Windows verification of #1074 -> https://github.com/ubiquitarianism/leonida/pull/1074#issuecomment-7140082800. The final scripted press and release reached GameInput in all 14 PR runs, including the 4,096-byte case. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7140087324 --> @sodove commented on GitHub (Nov 24, 2026): done: independent native Windows verification of #1074 -> https://github.com/ubiquitarianism/leonida/pull/1074#issuecomment-7140082800. The final scripted press and release reached GameInput in all 14 PR runs, including the 4,096-byte case. AI-assisted: OpenAI Codex.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: RT-INFLATE-MATCH-COPY -> #1081

<!-- gh-comment-id:7140092985 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: RT-INFLATE-MATCH-COPY -> #1081
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

claiming: TEST-GUEST-SCENE-LOCALE - tests/test_guest_scene_reference.py:115 (test_launch_failure_preserves_run_record_and_logs) decodes the runner's output as strict UTF-8. On a non-English Windows the launch error carries the OS message in the ANSI code page, for example [WinError 216] Эта версия "%1"… in cp1251 on Russian Windows 10, so the test raises UnicodeDecodeError before it reaches its assertions. The fix is errors="replace", as the test above it at line 95 already does. The assertions only read the return code and the JSON files, so nothing they check changes. Test only, no game files. AI-assisted.

<!-- gh-comment-id:7140102942 --> @syntaxixr commented on GitHub (Nov 24, 2026): claiming: TEST-GUEST-SCENE-LOCALE - `tests/test_guest_scene_reference.py:115` (`test_launch_failure_preserves_run_record_and_logs`) decodes the runner's output as strict UTF-8. On a non-English Windows the launch error carries the OS message in the ANSI code page, for example `[WinError 216] Эта версия "%1"…` in cp1251 on Russian Windows 10, so the test raises `UnicodeDecodeError` before it reaches its assertions. The fix is `errors="replace"`, as the test above it at line 95 already does. The assertions only read the return code and the JSON files, so nothing they check changes. Test only, no game files. AI-assisted.
Author
Owner

@syntaxixr commented on GitHub (Nov 24, 2026):

done: TEST-GUEST-SCENE-LOCALE -> #1082

<!-- gh-comment-id:7140117571 --> @syntaxixr commented on GitHub (Nov 24, 2026): done: TEST-GUEST-SCENE-LOCALE -> #1082
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX3080-62073 - GPU test results for an NVIDIA GeForce RTX 3080 on CachyOS, NVIDIA 620.73.04, main 3aa97542: the full run_gpu_tests.py suite, native and LEONIDA_W64_EMULATE=1. A second 3080 Linux record next to #415 (Ubuntu, 580.178.04, older main), in its own file so the two do not collide. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7140134569 --> @thesubtleties commented on GitHub (Nov 24, 2026): claiming: GPU-RTX3080-62073 - GPU test results for an NVIDIA GeForce RTX 3080 on CachyOS, NVIDIA 620.73.04, main `3aa97542`: the full `run_gpu_tests.py` suite, native and `LEONIDA_W64_EMULATE=1`. A second 3080 Linux record next to #415 (Ubuntu, 580.178.04, older main), in its own file so the two do not collide. No game files. AI-assisted (Claude Code).
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

done: GPU-RTX3080-62073 -> #1083

<!-- gh-comment-id:7140137271 --> @thesubtleties commented on GitHub (Nov 24, 2026): done: GPU-RTX3080-62073 -> #1083
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

done: ANIM-CLIPS-SHARED-REPORT-PATH -> #1084

<!-- gh-comment-id:7140145732 --> @j-weiner commented on GitHub (Nov 24, 2026): done: ANIM-CLIPS-SHARED-REPORT-PATH -> #1084
Author
Owner

@Anderson-Ferreira-Costa commented on GitHub (Nov 24, 2026):

claiming: GPU-RX9070-RADV - RX 9070 (RDNA4 GFX1201) on CachyOS / radv Mesa 26.3.1. Native + LEONIDA_W64_EMULATE=1, 236/252 passed, 16 skipped, 0 failed. AI-assisted.

<!-- gh-comment-id:7140181134 --> @Anderson-Ferreira-Costa commented on GitHub (Nov 24, 2026): claiming: GPU-RX9070-RADV - RX 9070 (RDNA4 GFX1201) on CachyOS / radv Mesa 26.3.1. Native + LEONIDA_W64_EMULATE=1, 236/252 passed, 16 skipped, 0 failed. AI-assisted.
Author
Owner

@Anderson-Ferreira-Costa commented on GitHub (Nov 24, 2026):

done: GPU-RX9070-RADV -> #1085

<!-- gh-comment-id:7140194229 --> @Anderson-Ferreira-Costa commented on GitHub (Nov 24, 2026): done: GPU-RX9070-RADV -> #1085
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

finding: device slots 70 and 71 also make buffer views, and the missing ones are a cause of the world-phase GPU fault. @Moriz82 this is next to your RT-TITLE-TEXTURE-VIEWS (#1079), which resolves placed textures; I am not opening a competing pull request, the buffer half is yours to take into #1079 or a follow-up.

Where: runtime/shims/d3d12_xs_device.cpp, slot 70 (proxy_create_srv_from_raw_x) and slot 71 (forwarded to PC CreateSamplerFeedbackUnorderedAccessView on main).

Measured (native Windows 11, RTX 5080, own 1.0.2.1 copy, my local stack, slot arguments logged at the title's first dozen calls of slot 71):

  • Arguments: (resource description, view description, destination CPU handle), no return value. Both descriptions have the PC layout: D3D12_RESOURCE_DESC (dimension 1, width, 1 x 1 x 1, flags 0x20004, so mask the flags), and D3D12_UNORDERED_ACCESS_VIEW_DESC (40 bytes) followed by the 8-byte GPU address at +40. Slot 70 is the same with D3D12_SHADER_RESOURCE_VIEW_DESC.
  • The logged slot 71 calls are all buffer views, typed R32_UINT (format 42) and structured (stride 16 and 32), of small buffers.
  • With slot 71 not writing its destination, the descriptor tables of the instance-culling dispatches hold leftover process memory (recognisably SPIR-V words), read as a V#. In five runs the device was lost in three different pipeline-library culling programs (lib_cs_01457, lib_cs_01405, lib_cs_01416), with or right after such a table.
  • With both slots writing a buffer view through the same code as CreateUnorderedAccessView / CreateShaderResourceView (typed, structured, raw), every V# in the tables that the loss report dumps is valid, and the GPU gets past those programs.

Implementation notes: a Vulkan-layer callback next to set_placed_at_va_handler that takes the description, the address and the view; the existing buffer-UAV writer split so that it needs a width, flags and an address instead of a Resource. A null or non-buffer view stays the null descriptor (your texture lookup replaces that part).

The next stop after it, in case you reach it on #984: a read fault at heap_base + a raw title address. The title reserves a 24 GiB window with protection 0x801 (no CPU or GPU access) and places buffers there before mapping their physical pages, so create_host_buffer finds uncommitted pages and refuses; the views still carry the title address. The first of these is also what could not import its pages reports. A 3.3 GiB window of protection 0x2404 did the same here until LEONIDA_GPU_REGION_MB=16384 (my prototype's region size) made room for it. Covering the 24 GiB window with a sparse buffer, with the title's physical pages to be bound as it maps them, gave one run with no device loss on this machine; that run still ended in an access violation at 167 s which I have not looked into, so this is one run and no claim that the stage works.

Needs: game files to see it, none to implement it. Counts and shapes only, no game data. AI-assisted.

<!-- gh-comment-id:7140195321 --> @DadaCap commented on GitHub (Nov 24, 2026): finding: device slots 70 and 71 also make **buffer** views, and the missing ones are a cause of the world-phase GPU fault. @Moriz82 this is next to your RT-TITLE-TEXTURE-VIEWS (#1079), which resolves placed textures; I am not opening a competing pull request, the buffer half is yours to take into #1079 or a follow-up. **Where:** `runtime/shims/d3d12_xs_device.cpp`, slot 70 (`proxy_create_srv_from_raw_x`) and slot 71 (forwarded to PC `CreateSamplerFeedbackUnorderedAccessView` on `main`). **Measured** (native Windows 11, RTX 5080, own 1.0.2.1 copy, my local stack, slot arguments logged at the title's first dozen calls of slot 71): - Arguments: `(resource description, view description, destination CPU handle)`, no return value. Both descriptions have the PC layout: `D3D12_RESOURCE_DESC` (dimension 1, width, 1 x 1 x 1, flags `0x20004`, so mask the flags), and `D3D12_UNORDERED_ACCESS_VIEW_DESC` (40 bytes) followed by the 8-byte GPU address at +40. Slot 70 is the same with `D3D12_SHADER_RESOURCE_VIEW_DESC`. - The logged slot 71 calls are all buffer views, typed `R32_UINT` (format 42) and structured (stride 16 and 32), of small buffers. - With slot 71 not writing its destination, the descriptor tables of the instance-culling dispatches hold leftover process memory (recognisably SPIR-V words), read as a V#. In five runs the device was lost in three different pipeline-library culling programs (`lib_cs_01457`, `lib_cs_01405`, `lib_cs_01416`), with or right after such a table. - With both slots writing a buffer view through the same code as `CreateUnorderedAccessView` / `CreateShaderResourceView` (typed, structured, raw), every V# in the tables that the loss report dumps is valid, and the GPU gets past those programs. **Implementation notes:** a Vulkan-layer callback next to `set_placed_at_va_handler` that takes the description, the address and the view; the existing buffer-UAV writer split so that it needs a width, flags and an address instead of a `Resource`. A null or non-buffer view stays the null descriptor (your texture lookup replaces that part). **The next stop after it,** in case you reach it on #984: a read fault at `heap_base` + a raw title address. The title reserves a 24 GiB window with protection `0x801` (no CPU or GPU access) and places buffers there before mapping their physical pages, so `create_host_buffer` finds uncommitted pages and refuses; the views still carry the title address. The first of these is also what `could not import its pages` reports. A 3.3 GiB window of protection `0x2404` did the same here until `LEONIDA_GPU_REGION_MB=16384` (my prototype's region size) made room for it. Covering the 24 GiB window with a sparse buffer, with the title's physical pages to be bound as it maps them, gave one run with no device loss on this machine; that run still ended in an access violation at 167 s which I have not looked into, so this is one run and no claim that the stage works. Needs: game files to see it, none to implement it. Counts and shapes only, no game data. AI-assisted.
Author
Owner

@Aminou973 commented on GitHub (Nov 24, 2026):

@Mumogg the five commits ported onto the forge integration branch (git.kriegman.cc ottomans/leonida, wip/first-boot 2d325e658 + 601da0b1b), with the console-size helper restored, the lease test adapted to the current mock, and CPU-handle translation added in command lists and slot 61: in case it saves you a rebase. Not opening a PR, it's yours.

<!-- gh-comment-id:7140220273 --> @Aminou973 commented on GitHub (Nov 24, 2026): @Mumogg the five commits ported onto the forge integration branch (git.kriegman.cc ottomans/leonida, `wip/first-boot` 2d325e658 + 601da0b1b), with the console-size helper restored, the lease test adapted to the current mock, and CPU-handle translation added in command lists and slot 61: in case it saves you a rebase. Not opening a PR, it's yours.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-PRESENT-SLOTS-MEASURED - midiendo los slots 78-81 con capstone sobre vt_calls.pkl antes de documentar

<!-- gh-comment-id:7140229785 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-PRESENT-SLOTS-MEASURED - midiendo los slots 78-81 con capstone sobre vt_calls.pkl antes de documentar
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-DESCRIPTOR-INCREMENTS - measure device-slot-15 GetDescriptorHandleIncrementSize call sites (heap type arg + use of return) in the retail image and narrow the Open in docs/d3d12_vulkan.md.

<!-- gh-comment-id:7140235047 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-DESCRIPTOR-INCREMENTS - measure device-slot-15 GetDescriptorHandleIncrementSize call sites (heap type arg + use of return) in the retail image and narrow the Open in docs/d3d12_vulkan.md.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-SLOT108-QUERY - identifying which query device slot 108 asks for (GUID/constant, buffer/pointer usage) and writing it into docs/d3d12_xs_surface.md 5.2

<!-- gh-comment-id:7140237065 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-SLOT108-QUERY - identifying which query device slot 108 asks for (GUID/constant, buffer/pointer usage) and writing it into docs/d3d12_xs_surface.md 5.2
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: AUDIO-IMPORT-CALL-SHAPES - midiendo sitios de llamada de los 19 imports de audio sin shim (chad/xapu/AcpHal) en docs/audio_hal_exe_calls.md

<!-- gh-comment-id:7140241351 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: AUDIO-IMPORT-CALL-SHAPES - midiendo sitios de llamada de los 19 imports de audio sin shim (chad/xapu/AcpHal) en docs/audio_hal_exe_calls.md
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

Verification batch: 32 open pull requests on main 3aa975421d, one clean worktree per PR (git apply pull/<n>.diff), Linux 4 vCPU, CPython 3.14.7, Node 26.7.0, no game files, nothing online.

PASS (23) — the test file the diff touches, plus the repository-wide guards (test_docs_links, test_docs_cli_flags, test_text_write_line_endings, test_tool_stdout_encoding):
630, 631, 632, 633, 635, 637, 638, 639, 640, 643, 648, 649, 650, 651, 654, 656, 659, 662, 663, 665, 669, 672, 674.
Notes: #650 also runs tests/semantic/test_scalar_mem_smem.py and test_smem_oob_safe_address.py (all green), #654 test_saveexec_ext_fixture.py, #662 test_run_semantic_tests.py, #651 node --test tests/test_viewer_streaming.cjs 67/67.

Applies cleanly, not verifiable on this host (7) — C++, CMake or a GPU-test record; no MSVC, no Wine, no Vulkan headers here:
634, 644, 645, 646, 657, 664.

STALE, needs a rebase (2)

  • #641 — conflicts at runtime/shims/d3d12_xs_device.cpp:1018, where main already carries kXboxGraphicsCommandListXIid (line 1013) and maps it (line 1056). What is left of the PR may be only its d3d12_xs_command_list_iid.h extraction and mock test; worth a look before anyone rebases it.
  • #671 — conflicts at runtime/src/frame_pacer.h:333 (the file is 501 lines on main); the mailbox replace it adds is not on main.

Self-breaking (1)

  • #653 — its own test_runtime_shim_dlls_follow_the_registry fails at head: main's owns_dll host list also names ws2_32.dll and wsock32.dll (runtime/shims/registry.cpp:497-498), so runtime_shim_dlls() reports those two as shim-owned. One-line fix and both measured counts in the comment.

Nothing claimed: the three Open work rows are covered (SHADER-1264 → #24, TEST-ATOMIC-GUARD → #20, COORD-CLAIM-CHECK → #221). AI-assisted.

<!-- gh-comment-id:7140242739 --> @Poussistar commented on GitHub (Nov 24, 2026): Verification batch: 32 open pull requests on `main` `3aa975421d`, one clean worktree per PR (`git apply pull/<n>.diff`), Linux 4 vCPU, CPython 3.14.7, Node 26.7.0, no game files, nothing online. **PASS (23)** — the test file the diff touches, plus the repository-wide guards (`test_docs_links`, `test_docs_cli_flags`, `test_text_write_line_endings`, `test_tool_stdout_encoding`): 630, 631, 632, 633, 635, 637, 638, 639, 640, 643, 648, 649, 650, 651, 654, 656, 659, 662, 663, 665, 669, 672, 674. Notes: #650 also runs `tests/semantic/test_scalar_mem_smem.py` and `test_smem_oob_safe_address.py` (all green), #654 `test_saveexec_ext_fixture.py`, #662 `test_run_semantic_tests.py`, #651 `node --test tests/test_viewer_streaming.cjs` 67/67. **Applies cleanly, not verifiable on this host (7)** — C++, CMake or a GPU-test record; no MSVC, no Wine, no Vulkan headers here: 634, 644, 645, 646, 657, 664. **STALE, needs a rebase (2)** - **#641** — conflicts at `runtime/shims/d3d12_xs_device.cpp:1018`, where `main` already carries `kXboxGraphicsCommandListXIid` (line 1013) and maps it (line 1056). What is left of the PR may be only its `d3d12_xs_command_list_iid.h` extraction and mock test; worth a look before anyone rebases it. - **#671** — conflicts at `runtime/src/frame_pacer.h:333` (the file is 501 lines on `main`); the mailbox replace it adds is not on `main`. **Self-breaking (1)** - **#653** — its own `test_runtime_shim_dlls_follow_the_registry` fails at head: `main`'s `owns_dll` host list also names `ws2_32.dll` and `wsock32.dll` (`runtime/shims/registry.cpp:497-498`), so `runtime_shim_dlls()` reports those two as shim-owned. One-line fix and both measured counts in [the comment](https://github.com/ubiquitarianism/leonida/pull/653#issuecomment-7140231015). Nothing claimed: the three **Open work** rows are covered (`SHADER-1264` → #24, `TEST-ATOMIC-GUARD` → #20, `COORD-CLAIM-CHECK` → #221). AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: DOC-BVH-BUILDER-52 - docs/d3d12_vulkan.md (eight passages), docs/embedded_shaders.md (sections 4, 5 and 7) and the index row in docs/README.md still say 51 of the 52 XboxBvhBuilder.dll programs translate and one rule, buffer_store_short, is missing.

The rule has been in tools/rdna2spirv.py since 8f208d09a, and embedded_shaders.md section 7 already records 52 of 52 for main 8575d36e. Measured again on main 3aa975421 with my own 1.0.2.1 package: 52 extracted, 52 translated, 52 pass spirv-val, natively and with --wave64-emulate (counts only).

I will bring those statements up to date, repair the paragraph in section 7.2 of d3d12_vulkan.md that a merge left there twice, and correct one sentence in section 3.6 that says pipeline-state streams (CreatePipelineState) are not implemented, 50 lines above the section that documents them. Docs only.

Open question 20's row has the same number and is left alone: #381 rewrites that line. Checked with git merge-tree against the 96 open pull requests that touch these files: none conflicts with this change. AI-assisted (Claude Code).

<!-- gh-comment-id:7140281473 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: DOC-BVH-BUILDER-52 - `docs/d3d12_vulkan.md` (eight passages), `docs/embedded_shaders.md` (sections 4, 5 and 7) and the index row in `docs/README.md` still say 51 of the 52 `XboxBvhBuilder.dll` programs translate and one rule, `buffer_store_short`, is missing. The rule has been in `tools/rdna2spirv.py` since `8f208d09a`, and `embedded_shaders.md` section 7 already records 52 of 52 for `main` `8575d36e`. Measured again on `main` `3aa975421` with my own 1.0.2.1 package: 52 extracted, 52 translated, 52 pass `spirv-val`, natively and with `--wave64-emulate` (counts only). I will bring those statements up to date, repair the paragraph in section 7.2 of `d3d12_vulkan.md` that a merge left there twice, and correct one sentence in section 3.6 that says pipeline-state streams (`CreatePipelineState`) are not implemented, 50 lines above the section that documents them. Docs only. Open question 20's row has the same number and is left alone: #381 rewrites that line. Checked with `git merge-tree` against the 96 open pull requests that touch these files: none conflicts with this change. AI-assisted (Claude Code).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

BL-4 result (claimed above; counts only, same single run setup as my two earlier comments).

What the 1,296 undecoded slots are: not descriptors. I printed two example slots of each of the four groups (locally; not quoted here). All eight dwords of each read as data, not as a T#/V#/S#: most are IEEE-754 floats of the kind a constant buffer holds (1.0, -1.0, -3.0 and a pair that reads as the screen size) and a few small integers. The title keeps constant data in the same memory as the heap's descriptors. The 1:2:2:1 pattern is the same repeated block, not four kinds of descriptor.

So the census of the one big console heap (1,245,184 slots) is complete: 910,244 empty; 327,543 free-list links (value = next slot index, last 0xFFFFFFFF); 261 T# at layer-assigned addresses above 4 GiB; 5,840 V# (3,024 with a null base, 2,816 with a base below 4 GiB); 1,296 slots of constant data; 0 slots that are a bare 32-bit GPU address.

BL-4 is not supported on this stack: no descriptor word is a 32-bit GPU address, so there is nothing to translate and I am not writing a translation. If someone sees descriptor words that are not T#/V# on another stack (the census prints one line per heap, and costs nothing when LEONIDA_DESC_CENSUS is unset), I will look at them.

I am releasing the claim on BL-4 now. The census code is a read-only scan of the heaps at three submit counts; it lives in my local build on top of boot-prototype (it uses its title window), and I have not opened a pull request for it. If you want the counts recorded in docs/d3d12_vulkan.md as boot_leads.md asks, say so and I will send that as a docs-only pull request.

AI-assisted (Claude Code); one machine, RTX 5070, driver 617.14, Windows 11.

<!-- gh-comment-id:7140302247 --> @DesertGamer commented on GitHub (Nov 24, 2026): BL-4 result (claimed above; counts only, same single run setup as my two earlier comments). **What the 1,296 undecoded slots are: not descriptors.** I printed two example slots of each of the four groups (locally; not quoted here). All eight dwords of each read as data, not as a T#/V#/S#: most are IEEE-754 floats of the kind a constant buffer holds (`1.0`, `-1.0`, `-3.0` and a pair that reads as the screen size) and a few small integers. The title keeps constant data in the same memory as the heap's descriptors. The 1:2:2:1 pattern is the same repeated block, not four kinds of descriptor. So the census of the one big console heap (1,245,184 slots) is complete: **910,244 empty; 327,543 free-list links (value = next slot index, last `0xFFFFFFFF`); 261 T# at layer-assigned addresses above 4 GiB; 5,840 V# (3,024 with a null base, 2,816 with a base below 4 GiB); 1,296 slots of constant data; 0 slots that are a bare 32-bit GPU address.** **BL-4 is not supported on this stack:** no descriptor word is a 32-bit GPU address, so there is nothing to translate and I am not writing a translation. If someone sees descriptor words that are not T#/V# on another stack (the census prints one line per heap, and costs nothing when `LEONIDA_DESC_CENSUS` is unset), I will look at them. I am releasing the claim on BL-4 now. The census code is a read-only scan of the heaps at three submit counts; it lives in my local build on top of `boot-prototype` (it uses its title window), and I have not opened a pull request for it. If you want the counts recorded in `docs/d3d12_vulkan.md` as `boot_leads.md` asks, say so and I will send that as a docs-only pull request. AI-assisted (Claude Code); one machine, RTX 5070, driver 617.14, Windows 11.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: DOC-BVH-BUILDER-52 -> #1087

Docs only, three files. Measured on main 3aa975421 with my own 1.0.2.1 package: 52 programs extracted, 52 translated, 52 pass spirv-val, natively and with --wave64-emulate. Open question 20 in docs/d3d12_vulkan.md still says 51/52 and is left to #381, which rewrites that line. AI-assisted.

<!-- gh-comment-id:7140303575 --> @milk4sale commented on GitHub (Nov 24, 2026): done: DOC-BVH-BUILDER-52 -> #1087 Docs only, three files. Measured on `main` `3aa975421` with my own 1.0.2.1 package: 52 programs extracted, 52 translated, 52 pass `spirv-val`, natively and with `--wave64-emulate`. Open question 20 in `docs/d3d12_vulkan.md` still says 51/52 and is left to #381, which rewrites that line. AI-assisted.
Author
Owner

@tiguan26 commented on GitHub (Nov 24, 2026):

claiming: RECOMP-CENSUS-WRONG-INPUT - tools/recomp_census.py stops with a traceback on a wrong input: an image path that does not exist (FileNotFoundError), a folder instead of an image (IsADirectoryError), and --out naming an existing file (FileExistsError from os.makedirs). It now prints one ERROR line and exits 2, like tools/navmesh_nodes.py and the fixes in #952 (which covers gbuffer_census, navmesh_cell_fit and root_spill_census, not this tool). A PE that is not x86-64 or has no MZ header keeps its current message. The module docstring also says it writes /.json and .md, while it writes .recomp.json and .recomp.md; that line is corrected. Synthetic regression tests in tests/test_recomp_census.py with the byte-built PE fixture already there. Tools only: no game files, no GPU, nothing online. AI-assisted (Claude Opus 5.5).

<!-- gh-comment-id:7140305644 --> @tiguan26 commented on GitHub (Nov 24, 2026): claiming: RECOMP-CENSUS-WRONG-INPUT - tools/recomp_census.py stops with a traceback on a wrong input: an image path that does not exist (FileNotFoundError), a folder instead of an image (IsADirectoryError), and --out naming an existing file (FileExistsError from os.makedirs). It now prints one ERROR line and exits 2, like tools/navmesh_nodes.py and the fixes in #952 (which covers gbuffer_census, navmesh_cell_fit and root_spill_census, not this tool). A PE that is not x86-64 or has no MZ header keeps its current message. The module docstring also says it writes <out>/<file>.json and .md, while it writes <file>.recomp.json and .recomp.md; that line is corrected. Synthetic regression tests in tests/test_recomp_census.py with the byte-built PE fixture already there. Tools only: no game files, no GPU, nothing online. AI-assisted (Claude Opus 5.5).
Author
Owner

@azsekazvamdimitar commented on GitHub (Nov 24, 2026):

done: TEST-WINE-PROTON-LEFTOVERS -> #1086 (depends on #519). Under WineHQ 11.22 and GE-Proton11-14 on an RTX 3090 (NVIDIA 590.48.01): vk_device_filter_tools and d3d12_pipeline_library_host pass, d3d12_clear(_formats) skip, file_system's two host checks pass, run_startup_cmdline passes on Proton with #983's script. The window tests were last run with the desktop unlocked on the previous base. AI-assisted.

<!-- gh-comment-id:7140306421 --> @azsekazvamdimitar commented on GitHub (Nov 24, 2026): done: TEST-WINE-PROTON-LEFTOVERS -> #1086 (depends on #519). Under WineHQ 11.22 and GE-Proton11-14 on an RTX 3090 (NVIDIA 590.48.01): vk_device_filter_tools and d3d12_pipeline_library_host pass, d3d12_clear(_formats) skip, file_system's two host checks pass, run_startup_cmdline passes on Proton with #983's script. The window tests were last run with the desktop unlocked on the previous base. AI-assisted.
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-VEX-BOUNDS

tools/x64_recomp.py decode_one says in its docstring that it never reads past end, but the VEX/EVEX prefix path breaks that promise in two ways: the three-byte VEX form reads buf[pos+2] behind a pos + 1 < end guard, and both the VEX and EVEX forms read the opcode that follows the prefix at buf[pos] after advancing pos past end, with no bound check. A buffer that ends inside a prefix raises IndexError, which disasm() does not catch (it only catches DecodeError), so the walk dies.

Not theoretical: on the retail image (game_scarlett_master.exe, SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993) ten .pdata functions end this way (RVAs 0xa4ab00, 0x1fcf4d0, 0x348a250, 0x35b4ec0, 0x3b88490, 0x3cb18c0, 0x3ede150, 0x4c703e0, 0x4d56520, 0x58430e0; 0xa4ab00 ends c4 68 c3), so python -I tools/recomp_census.py <exe> aborts with IndexError: index out of range instead of reporting. Fix: raise DecodeError where the prefix loop and the REX path already do; regression tests are synthetic (decoder bytes and a byte-built PE), no game files.

Not #847 (opcode 0x90), not #950 (qemu path), not #1041/#1049 (both tools/gdk_runtime_calls.py), and not RECOMP-CENSUS-WRONG-INPUT (wrong inputs, other lines) - my added census test is in the same test file as that one. AI-assisted (DeepSeek V4.1 Flash).

<!-- gh-comment-id:7140338734 --> @kett1m commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-VEX-BOUNDS `tools/x64_recomp.py` `decode_one` says in its docstring that it never reads past `end`, but the VEX/EVEX prefix path breaks that promise in two ways: the three-byte VEX form reads `buf[pos+2]` behind a `pos + 1 < end` guard, and both the VEX and EVEX forms read the opcode that follows the prefix at `buf[pos]` after advancing `pos` past `end`, with no bound check. A buffer that ends inside a prefix raises `IndexError`, which `disasm()` does not catch (it only catches `DecodeError`), so the walk dies. Not theoretical: on the retail image (`game_scarlett_master.exe`, SHA-256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`) ten `.pdata` functions end this way (RVAs `0xa4ab00`, `0x1fcf4d0`, `0x348a250`, `0x35b4ec0`, `0x3b88490`, `0x3cb18c0`, `0x3ede150`, `0x4c703e0`, `0x4d56520`, `0x58430e0`; `0xa4ab00` ends `c4 68 c3`), so `python -I tools/recomp_census.py <exe>` aborts with `IndexError: index out of range` instead of reporting. Fix: raise `DecodeError` where the prefix loop and the REX path already do; regression tests are synthetic (decoder bytes and a byte-built PE), no game files. Not #847 (opcode 0x90), not #950 (qemu path), not #1041/#1049 (both `tools/gdk_runtime_calls.py`), and not `RECOMP-CENSUS-WRONG-INPUT` (wrong inputs, other lines) - my added census test is in the same test file as that one. AI-assisted (DeepSeek V4.1 Flash).
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: REPO-RPFPREVIEW-CACHE-IGNORE - ignore RpfPreview/ in .gitignore and say in docs/design.md ("Full-scan indexes") where rpf9-explorer's index cache goes on Linux. rpf9dump models and rpf9dump textures write it to ./RpfPreview/Indexes/ when the local application-data folder does not exist (measured on Linux, .NET 10.0.14: XDG_DATA_HOME pointing at a missing folder, and a home folder without .local/share). The cache holds the archive's path and entry names, so from the repository root it is untracked game data. No cache attached; the measurement uses a 64 KiB file of zeros. AI-assisted (Claude Code).

<!-- gh-comment-id:7140345521 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: REPO-RPFPREVIEW-CACHE-IGNORE - ignore `RpfPreview/` in `.gitignore` and say in `docs/design.md` ("Full-scan indexes") where rpf9-explorer's index cache goes on Linux. `rpf9dump models` and `rpf9dump textures` write it to `./RpfPreview/Indexes/` when the local application-data folder does not exist (measured on Linux, .NET 10.0.14: `XDG_DATA_HOME` pointing at a missing folder, and a home folder without `.local/share`). The cache holds the archive's path and entry names, so from the repository root it is untracked game data. No cache attached; the measurement uses a 64 KiB file of zeros. AI-assisted (Claude Code).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: OLD-9769 — rebase Joaco9020's GameInput current-callback token fix from draft #46 onto main, preserve the original author and run the self-stop/self-unregister regressions on native Windows with SDL virtual pads. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7140345943 --> @sodove commented on GitHub (Nov 24, 2026): claiming: OLD-9769 — rebase Joaco9020's GameInput current-callback token fix from draft #46 onto main, preserve the original author and run the self-stop/self-unregister regressions on native Windows with SDL virtual pads. AI-assisted: OpenAI Codex.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: TEST-W64-SDST-PAIR-GPU - a GPU fixture and whole-corpus counts for SHADER-W64-SDST-PAIR (#1021), which has neither. runtime/test/shaders/cs_w64x_cmp_sdst.asm is written like the game's listings (no mattr line, so llvm-mc prints one register): six compares and a carry-out whose pairs are read back across both halves by s_and_b64, s_or_b64, s_xor_b64, s_andn2_b64, s_and_saveexec_b64, s_mov_b64 exec, s_bcnt1/s_ff1 and SCC. On an RTX 4070 Ti (Linux, 620.70.06, subgroup 32) with LEONIDA_W64_EMULATE=1, main gives none of its eight ISA-derived words and #1021 gives all eight. Also a semantic twin of the fixture and a docs/design.md row with counts over all 26,503 shaders. Depends on #1021. No game data. AI-assisted.

<!-- gh-comment-id:7140348620 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: TEST-W64-SDST-PAIR-GPU - a GPU fixture and whole-corpus counts for SHADER-W64-SDST-PAIR (#1021), which has neither. `runtime/test/shaders/cs_w64x_cmp_sdst.asm` is written like the game's listings (no `mattr` line, so llvm-mc prints one register): six compares and a carry-out whose pairs are read back across both halves by `s_and_b64`, `s_or_b64`, `s_xor_b64`, `s_andn2_b64`, `s_and_saveexec_b64`, `s_mov_b64 exec`, `s_bcnt1`/`s_ff1` and SCC. On an RTX 4070 Ti (Linux, 620.70.06, subgroup 32) with `LEONIDA_W64_EMULATE=1`, `main` gives none of its eight ISA-derived words and #1021 gives all eight. Also a semantic twin of the fixture and a `docs/design.md` row with counts over all 26,503 shaders. Depends on #1021. No game data. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: SHADER-W64-WQM-UVOTE - tools/wave64_halves.py: a vccz/vccnz on a compare of immediates and scalars made while EXEC is s_wqm_b64 exec, exec of the launch mask is no lane vote, so tier A instead of unsafe-vote-branch. The mask is every lane of EXEC or none, and the whole quads of the launch mask have a lane in every 32-lane half that runs (a quad never straddles the halves). VGPR sources, whole quads of a narrowed EXEC and paths where a scalar was read across lanes from a uniform VGPR stay tier C. Corpus (all 26,503, on top of #1021): 452 pixel shaders go from C to A, none the other way (C 7,741 -> 7,289). With semantic tests (ten near misses), a GPU fixture ps_w64_a_wqm_uniform_vote (RTX 4070 Ti) and a docs/design.md row. Depends on #1021. It edits the same lines of uniform_cmp as #805, which covers EXEC after it is put back from whole quads; this is the compare under them, so whichever lands second needs a rebase. No game data. AI-assisted.

<!-- gh-comment-id:7140349095 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: SHADER-W64-WQM-UVOTE - `tools/wave64_halves.py`: a `vccz`/`vccnz` on a compare of immediates and scalars made while EXEC is `s_wqm_b64 exec, exec` of the launch mask is no lane vote, so tier A instead of `unsafe-vote-branch`. The mask is every lane of EXEC or none, and the whole quads of the launch mask have a lane in every 32-lane half that runs (a quad never straddles the halves). VGPR sources, whole quads of a narrowed EXEC and paths where a scalar was read across lanes from a uniform VGPR stay tier C. Corpus (all 26,503, on top of #1021): 452 pixel shaders go from C to A, none the other way (C 7,741 -> 7,289). With semantic tests (ten near misses), a GPU fixture `ps_w64_a_wqm_uniform_vote` (RTX 4070 Ti) and a `docs/design.md` row. Depends on #1021. It edits the same lines of `uniform_cmp` as #805, which covers EXEC after it is put back from whole quads; this is the compare under them, so whichever lands second needs a rebase. No game data. AI-assisted.
Author
Owner

@tiguan26 commented on GitHub (Nov 24, 2026):

done: RECOMP-CENSUS-WRONG-INPUT -> #1088

<!-- gh-comment-id:7140377408 --> @tiguan26 commented on GitHub (Nov 24, 2026): done: RECOMP-CENSUS-WRONG-INPUT -> #1088
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX3090-BAZZITE-62073 — add an independent gpu-test-results/ record for the RTX 3090 on Bazzite/NVIDIA 620.73.04, built from main 3aa97542. I will run the native and LEONIDA_W64_EMULATE=1 GPU suites if the isolated toolchain can build the matching runtime, and report exact pass/skip/failure counts and environment-only limits. No game data.

<!-- gh-comment-id:7140379430 --> @KernelSmoker commented on GitHub (Nov 24, 2026): claiming: GPU-RTX3090-BAZZITE-62073 — add an independent `gpu-test-results/` record for the RTX 3090 on Bazzite/NVIDIA 620.73.04, built from main `3aa97542`. I will run the native and `LEONIDA_W64_EMULATE=1` GPU suites if the isolated toolchain can build the matching runtime, and report exact pass/skip/failure counts and environment-only limits. No game data.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-BINDLESS-TABLE-DEGRADE - runtime/src/vulkan_bindless.h: a bindless table replacement that cannot allocate made ExecuteCommandLists refuse the whole submission. Fall back to host-visible memory, release completed generations and retry, rewrite an idle table in place, and otherwise keep the last table that reached the GPU (new keys read the fallback, removed indices stay reserved) until a later flush catches up. Also sizes the 2D-array, 3D and 1D sampled arrays from the device limits. New GPU test that refuses allocations on a real device. Independent of #425 (descriptor-set recycling).

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140400896 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-BINDLESS-TABLE-DEGRADE - `runtime/src/vulkan_bindless.h`: a bindless table replacement that cannot allocate made ExecuteCommandLists refuse the whole submission. Fall back to host-visible memory, release completed generations and retry, rewrite an idle table in place, and otherwise keep the last table that reached the GPU (new keys read the fallback, removed indices stay reserved) until a later flush catches up. Also sizes the 2D-array, 3D and 1D sampled arrays from the device limits. New GPU test that refuses allocations on a real device. Independent of #425 (descriptor-set recycling). Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-BINDLESS-TABLE-DEGRADE -> #1092

<!-- gh-comment-id:7140403187 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-BINDLESS-TABLE-DEGRADE -> #1092
Author
Owner

@veqzo commented on GitHub (Nov 24, 2026):

claiming: TEST-METHOD-VARIANTS-HEAP-TIER1 — fix d3d12_method_variants heap setup for tier-1 hosts by using resource-specific heaps and checking heap creation. Reproduced on GTX 1080, Windows 11, without game files. PR #111 changes the same test file for a different issue. AI-assisted.

<!-- gh-comment-id:7140426444 --> @veqzo commented on GitHub (Nov 24, 2026): claiming: TEST-METHOD-VARIANTS-HEAP-TIER1 — fix d3d12_method_variants heap setup for tier-1 hosts by using resource-specific heaps and checking heap creation. Reproduced on GTX 1080, Windows 11, without game files. PR #111 changes the same test file for a different issue. AI-assisted.
Author
Owner

@LewisCodesWebsites commented on GitHub (Nov 24, 2026):

done: OLD-10058 -> #1093

<!-- gh-comment-id:7140457123 --> @LewisCodesWebsites commented on GitHub (Nov 24, 2026): done: OLD-10058 -> #1093
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: GPU-SALU-EXT - 38 scalar ALU ops that no fixture in runtime/test/shaders runs: s_sub_i32, s_andn2_b32, s_orn2_b32, s_xor_b32, s_ashr_i32, s_mul_hi_u32, s_lshl3_add_u32, s_lshl4_add_u32, s_pack_ll_b32_b16, s_pack_hh_b32_b16, s_abs_i32, s_bcnt0_i32_b32, s_bitset0_b32, s_bitset1_b32, s_brev_b32, s_flbit_i32, s_flbit_i32_b32, s_sext_i32_i8, the six s_cmp_*_i32, s_cmp_gt_u32, s_cmp_le_u32, s_bitcmp0_b32, s_bitcmp1_b32, s_addk_i32, s_mulk_i32, s_cmovk_i32, s_ashr_i64, s_lshl_b64, s_lshr_b64, s_bcnt0_i32_b64, s_bitset0_b64, s_cmov_b64 and s_ff0_i32_b64. They are CPU-checked, and tools/salu_diff.py holds a reference for them that was compared with hardware, but the SPIR-V they translate to has never run on a driver in the GPU suite.

I will add one fixture, runtime/test/shaders/cs_w32_salu_ext.asm: sixteen operand words arrive in s4..s19 at run time (VKC_SGPRS), so nothing folds; each op runs on operands chosen for its edge (a signed overflow, a shift count above 31 or 63, a bit shifted out of s_lshlN_add_u32, a zero result, both senses of each compare), and every destination and every SCC, written or kept, is stored. The expected words are literals in check.py, and a CPU-only test recomputes them from the fixture's own instruction lines with the reference of tools/salu_diff.py, and checks both runners' verdicts. A paragraph goes into docs/testing.md.

Based on main alone, not on my #1012 stack. Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe. Test, runner and docs files only; if a word differs on a driver or from the reference I will post it as a finding. No game files, nothing online. AI-assisted.

<!-- gh-comment-id:7140488039 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: GPU-SALU-EXT - 38 scalar ALU ops that no fixture in `runtime/test/shaders` runs: `s_sub_i32`, `s_andn2_b32`, `s_orn2_b32`, `s_xor_b32`, `s_ashr_i32`, `s_mul_hi_u32`, `s_lshl3_add_u32`, `s_lshl4_add_u32`, `s_pack_ll_b32_b16`, `s_pack_hh_b32_b16`, `s_abs_i32`, `s_bcnt0_i32_b32`, `s_bitset0_b32`, `s_bitset1_b32`, `s_brev_b32`, `s_flbit_i32`, `s_flbit_i32_b32`, `s_sext_i32_i8`, the six `s_cmp_*_i32`, `s_cmp_gt_u32`, `s_cmp_le_u32`, `s_bitcmp0_b32`, `s_bitcmp1_b32`, `s_addk_i32`, `s_mulk_i32`, `s_cmovk_i32`, `s_ashr_i64`, `s_lshl_b64`, `s_lshr_b64`, `s_bcnt0_i32_b64`, `s_bitset0_b64`, `s_cmov_b64` and `s_ff0_i32_b64`. They are CPU-checked, and `tools/salu_diff.py` holds a reference for them that was compared with hardware, but the SPIR-V they translate to has never run on a driver in the GPU suite. I will add one fixture, `runtime/test/shaders/cs_w32_salu_ext.asm`: sixteen operand words arrive in `s4..s19` at run time (`VKC_SGPRS`), so nothing folds; each op runs on operands chosen for its edge (a signed overflow, a shift count above 31 or 63, a bit shifted out of `s_lshlN_add_u32`, a zero result, both senses of each compare), and every destination and every SCC, written or kept, is stored. The expected words are literals in `check.py`, and a CPU-only test recomputes them from the fixture's own instruction lines with the reference of `tools/salu_diff.py`, and checks both runners' verdicts. A paragraph goes into `docs/testing.md`. Based on `main` alone, not on my #1012 stack. Run on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe. Test, runner and docs files only; if a word differs on a driver or from the reference I will post it as a finding. No game files, nothing online. AI-assisted.
Author
Owner

@veqzo commented on GitHub (Nov 24, 2026):

done: TEST-METHOD-VARIANTS-HEAP-TIER1 -> #1094

<!-- gh-comment-id:7140495631 --> @veqzo commented on GitHub (Nov 24, 2026): done: TEST-METHOD-VARIANTS-HEAP-TIER1 -> #1094
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: OLD-9769 -> #1095. Carried forward @Joaco9020's GameInput fix from draft #46. Native Windows reproduced three failures without the fix and passed all 371 checks with it. AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7140510281 --> @sodove commented on GitHub (Nov 24, 2026): done: OLD-9769 -> #1095. Carried forward @Joaco9020's GameInput fix from draft #46. Native Windows reproduced three failures without the fix and passed all 371 checks with it. AI-assisted: OpenAI Codex.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-STARTUP-TRACE - runtime/shims/startup_trace.h: the opt-in startup trace's access-violation event gains the memory region at the faulting address (base, allocation base, size, state, protection, type from VirtualQuery), so a free range, a read-only page and a mapped view can be told apart. One assertion added to startup_trace_test; no exception disposition changes. Next to #41 and #638, which record other things.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140523327 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-STARTUP-TRACE - `runtime/shims/startup_trace.h`: the opt-in startup trace's access-violation event gains the memory region at the faulting address (base, allocation base, size, state, protection, type from VirtualQuery), so a free range, a read-only page and a mapped view can be told apart. One assertion added to `startup_trace_test`; no exception disposition changes. Next to #41 and #638, which record other things. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-STARTUP-TRACE -> #1096

<!-- gh-comment-id:7140525615 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-STARTUP-TRACE -> #1096
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: SHADER-BUFFER-BOUNDS - CreateShaderResourceView in runtime/shims/d3d12_vulkan_device.cpp: a structured buffer SRV got the typed view's index-only bounds mode (OOB_SELECT 1), so a field at the end of a record could read the next record. Use mode 0 (index and field offset against the stride), as structured UAVs already do; raw and typed views unchanged. GPU test with a typed control. Next to #220, #513 and #1068.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140526569 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: SHADER-BUFFER-BOUNDS - `CreateShaderResourceView` in `runtime/shims/d3d12_vulkan_device.cpp`: a structured buffer SRV got the typed view's index-only bounds mode (OOB_SELECT 1), so a field at the end of a record could read the next record. Use mode 0 (index and field offset against the stride), as structured UAVs already do; raw and typed views unchanged. GPU test with a typed control. Next to #220, #513 and #1068. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-BUFFER-BOUNDS -> #1097

<!-- gh-comment-id:7140529136 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-BUFFER-BOUNDS -> #1097
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: TEST-CRT-ARGV-WINE - runtime/test/fixtures/tiny_startup_cmdline.cpp: the startup command-line fixture fails under Wine before the loader runs, because Wine's UCRT has both argv widths configured at process attach. Under Wine only, accept an early argv when its count, widths and every argument equal the entry snapshot; native Windows keeps the existing checks.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140533204 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: TEST-CRT-ARGV-WINE - `runtime/test/fixtures/tiny_startup_cmdline.cpp`: the startup command-line fixture fails under Wine before the loader runs, because Wine's UCRT has both argv widths configured at process attach. Under Wine only, accept an early argv when its count, widths and every argument equal the entry snapshot; native Windows keeps the existing checks. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: TEST-CRT-ARGV-WINE -> #1098

<!-- gh-comment-id:7140535376 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: TEST-CRT-ARGV-WINE -> #1098
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-STREAM-TRANSFER-BARRIER - runtime/src/vulkan_replay.h: back-to-back plain buffer copies on one queue need a Vulkan memory dependency between a transfer write and the next copy's read or write; D3D12 orders them implicitly. Emit the transfer barrier before each plain buffer copy (the dependency from the closed, unmerged #354 by natterman12, credited), with a rollback switch and a replay fixture that checks stage and access masks.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140536595 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-STREAM-TRANSFER-BARRIER - `runtime/src/vulkan_replay.h`: back-to-back plain buffer copies on one queue need a Vulkan memory dependency between a transfer write and the next copy's read or write; D3D12 orders them implicitly. Emit the transfer barrier before each plain buffer copy (the dependency from the closed, unmerged #354 by natterman12, credited), with a rollback switch and a replay fixture that checks stage and access masks. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-STREAM-TRANSFER-BARRIER -> #1099

<!-- gh-comment-id:7140539081 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-STREAM-TRANSFER-BARRIER -> #1099
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-PLACED-IMAGE-DEFER - Xbox device slot 133 in runtime/shims/d3d12_vulkan_device.cpp: a placed render target, depth/stencil target or unordered-access texture took private Vulkan memory at creation even when only a logical descriptor ever named it. Keep the image and its metadata, bind memory at the first replay, shader view or CPU subresource copy that needs it (one bind shared by concurrent callers, a failed bind can be retried); LEONIDA_PLACED_IMAGE_DEFER=0 restores eager allocation. GPU test with readback under both settings. Placed GPU attachments only; streamed sources are a separate topic. Next to #1079.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140549546 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-PLACED-IMAGE-DEFER - Xbox device slot 133 in `runtime/shims/d3d12_vulkan_device.cpp`: a placed render target, depth/stencil target or unordered-access texture took private Vulkan memory at creation even when only a logical descriptor ever named it. Keep the image and its metadata, bind memory at the first replay, shader view or CPU subresource copy that needs it (one bind shared by concurrent callers, a failed bind can be retried); `LEONIDA_PLACED_IMAGE_DEFER=0` restores eager allocation. GPU test with readback under both settings. Placed GPU attachments only; streamed sources are a separate topic. Next to #1079. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-PLACED-IMAGE-DEFER -> #1100

<!-- gh-comment-id:7140551912 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-PLACED-IMAGE-DEFER -> #1100
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: SHADER-LOOP-GUARD - tools/spirv_loop_guard.py and --loop-limit N in tools/rdna2spirv.py / make_game.py: a translated loop whose exit condition cannot be met by its input never returns. Count header visits per invocation and loop entry and take the structured merge at the limit (default 65,536, 0 disables; dispatch-loop form included). Contract row in docs/design.md; semantic tests where the unbounded module exceeds the interpreter's step limit on main. Merges beside #1068 and #1073 in either order.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7140556817 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: SHADER-LOOP-GUARD - `tools/spirv_loop_guard.py` and `--loop-limit N` in `tools/rdna2spirv.py` / `make_game.py`: a translated loop whose exit condition cannot be met by its input never returns. Count header visits per invocation and loop entry and take the structured merge at the limit (default 65,536, 0 disables; dispatch-loop form included). Contract row in `docs/design.md`; semantic tests where the unbounded module exceeds the interpreter's step limit on main. Merges beside #1068 and #1073 in either order. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-LOOP-GUARD -> #1101

<!-- gh-comment-id:7140558905 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-LOOP-GUARD -> #1101
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

claiming: SKIN-STREAMS-SHARED-REPORT-PATH — replace tools/skin_streams.py's private output/input path comparison with tools/report_paths.same_report_path, preserving overwrite protection and adding a synthetic regression for a missing case-folded alias. No game files or GPU. AI-assisted.

<!-- gh-comment-id:7140566268 --> @j-weiner commented on GitHub (Nov 24, 2026): claiming: SKIN-STREAMS-SHARED-REPORT-PATH — replace tools/skin_streams.py's private output/input path comparison with tools/report_paths.same_report_path, preserving overwrite protection and adding a synthetic regression for a missing case-folded alias. No game files or GPU. AI-assisted.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: OLD-10061 - carry forward old-pr/10061 (draft #326, by tedin7): the index buffer view's SizeInBytes bounds the index fetch in the Vulkan replay, and reads past the view are 0. Rebased on main with tedin7 kept as author, then built and run on native Windows (RTX 2050), the entry point the Linux check in #326 did not cover. AI-assisted: yes.

<!-- gh-comment-id:7140571964 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: OLD-10061 - carry forward old-pr/10061 (draft #326, by tedin7): the index buffer view's SizeInBytes bounds the index fetch in the Vulkan replay, and reads past the view are 0. Rebased on main with tedin7 kept as author, then built and run on native Windows (RTX 2050), the entry point the Linux check in #326 did not cover. AI-assisted: yes.
Author
Owner

@KernelSmoker commented on GitHub (Nov 24, 2026):

done: GPU-RTX3090-BAZZITE-62073 -> #1102. The record reports exact main commit 3aa975421d470b76da1aa986a91282c59e20d642: 261/261 shaders validated, native 203/252 passed with 49 skips and 0 failures; wave64-emulated 235/252 passed with 17 skips and 0 failures. No game data.

<!-- gh-comment-id:7140602007 --> @KernelSmoker commented on GitHub (Nov 24, 2026): done: GPU-RTX3090-BAZZITE-62073 -> #1102. The record reports exact main commit `3aa975421d470b76da1aa986a91282c59e20d642`: 261/261 shaders validated, native 203/252 passed with 49 skips and 0 failures; wave64-emulated 235/252 passed with 17 skips and 0 failures. No game data.
Author
Owner

@Elijah-J commented on GitHub (Nov 24, 2026):

claiming: AWC-HDR24-BUDGET - streamed AWC block budgets and exact skip recovery in tools/awc_opus.py
done: AWC-HDR24-BUDGET -> #1072

I opened #1072 as a draft before posting the claim. The update bounds packet retention in metadata-only scans and adds a synthetic regression test. All 90 scoped tests passed. On Xbox Series 1.0.2.1, FFmpeg decoded all 11 stems from four banks to their declared lengths after Ogg trimming.

AI-assisted (OpenAI Codex).

<!-- gh-comment-id:7140624662 --> @Elijah-J commented on GitHub (Nov 24, 2026): claiming: AWC-HDR24-BUDGET - streamed AWC block budgets and exact skip recovery in tools/awc_opus.py done: AWC-HDR24-BUDGET -> #1072 I opened #1072 as a draft before posting the claim. The update bounds packet retention in metadata-only scans and adds a synthetic regression test. All 90 scoped tests passed. On Xbox Series 1.0.2.1, FFmpeg decoded all 11 stems from four banks to their declared lengths after Ogg trimming. AI-assisted (OpenAI Codex).
Author
Owner

@tiguan26 commented on GitHub (Nov 24, 2026):

claiming: SHADER-SDWA-CO-CI-SELECT - tools/rdna2spirv.py Gen.insn() attaches the SDWA src0_sel/src1_sel from args[1] on (first = 1), but v_add_co_ci_u32, v_sub_co_ci_u32 and v_subrev_co_ci_u32 in their long form have the carry-out vcc at args[1] and their sources at args[2]/args[3]. So src0_sel lands on the carry-out, src1_sel narrows src0, and src1 is read whole: a silent wrong result, not a refusal. With v1 = v4 = 0x00050003, src0_sel:WORD_1 src1_sel:WORD_0, VCC = 0, main gives v_sub_co_ci_u32_sdwa 0xfffb0000 with a borrow (want 2, no borrow), v_add_co_ci_u32_sdwa 0x50006 (want 8), v_subrev_co_ci_u32_sdwa 0x50000 (want 0xfffffffe with a borrow). The short form and v_sub_nc_u32_sdwa are right. The fix starts the selects at the first source for these ops, with hand-written semantic tests for all three (and the short form) against a plain-Python reference. Found while reviewing #1093. No game files, no GPU (CPU interpreter only); whether the corpus uses this form is for someone with a work folder to count. AI-assisted (Claude).

<!-- gh-comment-id:7140631778 --> @tiguan26 commented on GitHub (Nov 24, 2026): claiming: SHADER-SDWA-CO-CI-SELECT - `tools/rdna2spirv.py` `Gen.insn()` attaches the SDWA `src0_sel`/`src1_sel` from `args[1]` on (`first = 1`), but `v_add_co_ci_u32`, `v_sub_co_ci_u32` and `v_subrev_co_ci_u32` in their long form have the carry-out `vcc` at `args[1]` and their sources at `args[2]`/`args[3]`. So `src0_sel` lands on the carry-out, `src1_sel` narrows src0, and src1 is read whole: a silent wrong result, not a refusal. With v1 = v4 = 0x00050003, `src0_sel:WORD_1 src1_sel:WORD_0`, VCC = 0, main gives `v_sub_co_ci_u32_sdwa` 0xfffb0000 with a borrow (want 2, no borrow), `v_add_co_ci_u32_sdwa` 0x50006 (want 8), `v_subrev_co_ci_u32_sdwa` 0x50000 (want 0xfffffffe with a borrow). The short form and `v_sub_nc_u32_sdwa` are right. The fix starts the selects at the first source for these ops, with hand-written semantic tests for all three (and the short form) against a plain-Python reference. Found while reviewing #1093. No game files, no GPU (CPU interpreter only); whether the corpus uses this form is for someone with a work folder to count. AI-assisted (Claude).
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-VZEROUPPER-NO-MODRM - tools/x64_recomp.py decode_one gives every VEX map-1 opcode the operand shape V W, which reads a ModRM byte. VEX.128/256.0F.WIG 77 (vzeroupper / vzeroall) is the one map-1 opcode with no ModRM byte at all, so it decoded as four bytes and the byte it took as an operand was really the next instruction. tools/gdk_runtime_calls.py already makes this exception for the same opcode (modrm = not (vmap == 1 and b == 0x77)) and tests/test_gdk_runtime_calls.py pins C5 F8 77 at 3 bytes, so the rule is not new to this repository. Measured on the retail image (game_scarlett_master.exe, SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993, .text RVA 0x140001000 = file 0x400 and .pdata RVA 0x14abcf000 = file 0x6e03a00, REA gnu.objdump evidence ev_e29cbdffd0dc7c46889b2a1f955011ce9f2795017233c97107ded73f9186dd90): ten .pdata functions hold a vzeroupper whose following byte was eaten, and the walk then ran past the function (RVAs 0xa4ab00, 0x1fcf4d0, 0x348a250, 0x35b4ec0, 0x3b88490, 0x3cb18c0, 0x3ede150, 0x4c703e0, 0x4d56520, 0x58430e0; RVA 0xa4ab00 = file 0xa49f00 ends 90 48 83 c4 68 c3, that is nop; add rsp,68h; ret, and the walk read c4 68 c3 there). Fix: a map-1 VEX opcode with no ModRM byte decodes to its three bytes and keeps the mnemonic the decoder already prints, v77; regression tests are synthetic (decoder bytes and the byte-built PE in tests/test_recomp_census.py), no game files, no GPU, nothing online.

Not #847 (opcode 0x90), not #1041/#1049 (both tools/gdk_runtime_calls.py), not RECOMP-CENSUS-WRONG-INPUT (wrong inputs; it shares tests/test_recomp_census.py but not the lines this adds), and not X64-RECOMP-VEX-BOUNDS: that one is the truncated-prefix bound, whose ten retail hits are the same desync seen from the other end (the shifted bytes end short). The length is the cause and the bound is the reported symptom, so the two are separate commits. AI-assisted (DeepSeek V4.1 Flash).

<!-- gh-comment-id:7140633474 --> @kett1m commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-VZEROUPPER-NO-MODRM - `tools/x64_recomp.py` `decode_one` gives every VEX map-1 opcode the operand shape `V W`, which reads a ModRM byte. VEX.128/256.0F.WIG 77 (vzeroupper / vzeroall) is the one map-1 opcode with no ModRM byte at all, so it decoded as four bytes and the byte it took as an operand was really the next instruction. `tools/gdk_runtime_calls.py` already makes this exception for the same opcode (`modrm = not (vmap == 1 and b == 0x77)`) and `tests/test_gdk_runtime_calls.py` pins `C5 F8 77` at 3 bytes, so the rule is not new to this repository. Measured on the retail image (`game_scarlett_master.exe`, SHA-256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`, `.text` RVA `0x140001000` = file `0x400` and `.pdata` RVA `0x14abcf000` = file `0x6e03a00`, REA `gnu.objdump` evidence `ev_e29cbdffd0dc7c46889b2a1f955011ce9f2795017233c97107ded73f9186dd90`): ten `.pdata` functions hold a vzeroupper whose following byte was eaten, and the walk then ran past the function (RVAs `0xa4ab00`, `0x1fcf4d0`, `0x348a250`, `0x35b4ec0`, `0x3b88490`, `0x3cb18c0`, `0x3ede150`, `0x4c703e0`, `0x4d56520`, `0x58430e0`; RVA `0xa4ab00` = file `0xa49f00` ends `90 48 83 c4 68 c3`, that is `nop; add rsp,68h; ret`, and the walk read `c4 68 c3` there). Fix: a map-1 VEX opcode with no ModRM byte decodes to its three bytes and keeps the mnemonic the decoder already prints, `v77`; regression tests are synthetic (decoder bytes and the byte-built PE in `tests/test_recomp_census.py`), no game files, no GPU, nothing online. Not #847 (opcode 0x90), not #1041/#1049 (both `tools/gdk_runtime_calls.py`), not `RECOMP-CENSUS-WRONG-INPUT` (wrong inputs; it shares `tests/test_recomp_census.py` but not the lines this adds), and not `X64-RECOMP-VEX-BOUNDS`: that one is the truncated-prefix bound, whose ten retail hits are the same desync seen from the other end (the shifted bytes end short). The length is the cause and the bound is the reported symptom, so the two are separate commits. AI-assisted (DeepSeek V4.1 Flash).
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-BCPACK-DECODER (calibrated BC1/BC3/BC4/BC5 history) -> #1103 (depends on #976, #982, #991, #1020, #1044)

The follow-up #1044 left open. The repository's tables confirm 252 BC1 history entries but none for BC3, 2 for BC4 and 5 for BC5, so most BC3/BC4/BC5 blocks that predict from the built-in history were decoded from zeros on the request path. The sidecar tool now appends a BC15HIS1 section when the history JSON has bc1/bc3/bc4/bc5 sections (confirmed entries and the replace flag per mode), and the runtime merges them as _resolve_bc_history does. Without those sections the file keeps the 60,936 bytes of #984's profile, byte for byte. bcpack_test checks 100 BC1-5 chunks against tools/bcpack.py with the same synthetic history. No game data.

<!-- gh-comment-id:7140724944 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-BCPACK-DECODER (calibrated BC1/BC3/BC4/BC5 history) -> #1103 (depends on #976, #982, #991, #1020, #1044) The follow-up #1044 left open. The repository's tables confirm 252 BC1 history entries but none for BC3, 2 for BC4 and 5 for BC5, so most BC3/BC4/BC5 blocks that predict from the built-in history were decoded from zeros on the request path. The sidecar tool now appends a `BC15HIS1` section when the history JSON has `bc1`/`bc3`/`bc4`/`bc5` sections (confirmed entries and the `replace` flag per mode), and the runtime merges them as `_resolve_bc_history` does. Without those sections the file keeps the 60,936 bytes of #984's profile, byte for byte. `bcpack_test` checks 100 BC1-5 chunks against `tools/bcpack.py` with the same synthetic history. No game data.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: on a fifth machine the boot ends in a lost Vulkan device, seen only through a fence counter - the same path #1028 describes - and the title's int3 at +0x2474606 is its device-removed answer.

Where: d3d12_xs::refresh_mirror (runtime/shims/d3d12_xs_device.cpp, fence mirror of slot 12) copies ID3D12Fence::GetCompletedValue() into the title's memory; VulkanFence::completed() (runtime/src/vulkan_backend.h) returns what vkGetSemaphoreCounterValue wrote.

Measured (Windows 11, RTX 5070, NVIDIA 617.14, boot-prototype 9173e790f, with and without #974, autopress and the keyboard pad, 3 to 4 runs each; counts and addresses only):

  • The wait the title blocks in (+0x4fb0ad0) reads a 64-bit value through obj->vtable[12](), waits with monitorx/mwaitx, and calls the routine that ends in the int3 when the value is -1. Every run: value 0xffffffffffffffff at the stop.
  • A write watch on that cell (a page guard on the pages the wait reads) showed one writer for all of its changes, refresh_mirror, about 37,000 increments, then the single write of 0xffffffffffffffff 0.02 s before the int3.
  • No "device lost" line from the layer in any run, and the layer's own lost flag was not set when the counter read UINT64_MAX (I printed the first mark_device_lost caller: nothing came out). That is the case #1028 fixes (a counter of UINT64_MAX on VK_SUCCESS); I have not run #1028 on this stack yet.
  • The NVIDIA driver logged event 153 ("Error occurred on GPUID") in the Windows System log within one second of the end of each run.
  • The stop comes at 76 to 90 s with and without #974, so it is not the BCPack, DirectStorage or slot-133 stages that I had been blaming in earlier comments here: they run before it and finish.

What it does not show: which GPU work faults. @DadaCap's finding that slots 70 and 71 leave garbage buffer descriptors in the culling dispatches fits (same timing, same driver behaviour), but I have not tested a buffer-view write on this stack.

Next on this machine: #980 + #1028 + #1079 on 9173e790f, to see whether the loss line and the fault report appear. If anyone is already writing the buffer half of slots 70 and 71, say so and I will test it instead of writing a second one.

AI-assisted (Claude Code); one machine, RTX 5070, driver 617.14, Windows 11.

<!-- gh-comment-id:7140725625 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: on a fifth machine the boot ends in a lost Vulkan device, seen only through a fence counter - the same path #1028 describes - and the title's `int3` at +0x2474606 is its device-removed answer. **Where:** `d3d12_xs::refresh_mirror` (`runtime/shims/d3d12_xs_device.cpp`, fence mirror of slot 12) copies `ID3D12Fence::GetCompletedValue()` into the title's memory; `VulkanFence::completed()` (`runtime/src/vulkan_backend.h`) returns what `vkGetSemaphoreCounterValue` wrote. **Measured** (Windows 11, RTX 5070, NVIDIA 617.14, `boot-prototype` `9173e790f`, with and without #974, autopress and the keyboard pad, 3 to 4 runs each; counts and addresses only): - The wait the title blocks in (`+0x4fb0ad0`) reads a 64-bit value through `obj->vtable[12]()`, waits with `monitorx`/`mwaitx`, and calls the routine that ends in the `int3` when the value is `-1`. Every run: value `0xffffffffffffffff` at the stop. - A write watch on that cell (a page guard on the pages the wait reads) showed one writer for all of its changes, `refresh_mirror`, about 37,000 increments, then the single write of `0xffffffffffffffff` 0.02 s before the `int3`. - No "device lost" line from the layer in any run, and the layer's own lost flag was not set when the counter read `UINT64_MAX` (I printed the first `mark_device_lost` caller: nothing came out). That is the case #1028 fixes (a counter of `UINT64_MAX` on `VK_SUCCESS`); I have not run #1028 on this stack yet. - The NVIDIA driver logged event 153 ("Error occurred on GPUID") in the Windows System log within one second of the end of each run. - The stop comes at 76 to 90 s with and without #974, so it is not the BCPack, DirectStorage or slot-133 stages that I had been blaming in earlier comments here: they run before it and finish. **What it does not show:** which GPU work faults. @DadaCap's finding that slots 70 and 71 leave garbage buffer descriptors in the culling dispatches fits (same timing, same driver behaviour), but I have not tested a buffer-view write on this stack. **Next on this machine:** #980 + #1028 + #1079 on `9173e790f`, to see whether the loss line and the fault report appear. If anyone is already writing the buffer half of slots 70 and 71, say so and I will test it instead of writing a second one. AI-assisted (Claude Code); one machine, RTX 5070, driver 617.14, Windows 11.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9816 - carry forward old-pr/9816 (draft #88, by piyonchu): shim GetLogicalProcessorInformation and GlobalMemoryStatusEx in runtime/shims/sysinfo.cpp with LEONIDA_CPU_TOPOLOGY and LEONIDA_SYSTEM_MEMORY_MB overrides, rebased on main with piyonchu kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7140741518 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9816 - carry forward old-pr/9816 (draft #88, by piyonchu): shim GetLogicalProcessorInformation and GlobalMemoryStatusEx in runtime/shims/sysinfo.cpp with LEONIDA_CPU_TOPOLOGY and LEONIDA_SYSTEM_MEMORY_MB overrides, rebased on main with piyonchu kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@levi2m commented on GitHub (Nov 24, 2026):

finding: independent reproduction of the #128 / #312 / #763 conflict (nilparra-dev's finding above) on a second Python version, native Windows 11, CPython 3.14, no game files, no GPU, nothing online.

Each tree is a clean checkout of main plus the PR diffs (git apply); each file run as python -I tests/test_<name>.py.

tree test_bink_names test_opus_tags test_world_names
main 1 failure 1 failure 1 failure
#128 (tool side) OK (36) OK (28) OK (31)
#763 (test side) OK (36) OK (28) OK (31)
#128 + #763 1 failure 1 failure 1 failure

The combined failure is the expected-vs-actual path text: the tests expect repr(path) (quoted, backslashes doubled) and the tools now print the plain path. Same result as nilparra-dev's, so the conflict is not specific to 3.13. I get 3 failures where the earlier run counted 13 on 3.13; I have not looked into why the count differs.

I agree with the recommendation above: keep #128 and close #763 and #312, or rebase them onto #128's result. I am not opening a competing pull request.

AI-assisted: yes

<!-- gh-comment-id:7140743151 --> @levi2m commented on GitHub (Nov 24, 2026): finding: independent reproduction of the #128 / #312 / #763 conflict (nilparra-dev's finding above) on a second Python version, native Windows 11, CPython 3.14, no game files, no GPU, nothing online. Each tree is a clean checkout of `main` plus the PR diffs (`git apply`); each file run as `python -I tests/test_<name>.py`. | tree | test_bink_names | test_opus_tags | test_world_names | |---|---|---|---| | `main` | 1 failure | 1 failure | 1 failure | | #128 (tool side) | OK (36) | OK (28) | OK (31) | | #763 (test side) | OK (36) | OK (28) | OK (31) | | #128 + #763 | 1 failure | 1 failure | 1 failure | The combined failure is the expected-vs-actual path text: the tests expect `repr(path)` (quoted, backslashes doubled) and the tools now print the plain path. Same result as nilparra-dev's, so the conflict is not specific to 3.13. I get 3 failures where the earlier run counted 13 on 3.13; I have not looked into why the count differs. I agree with the recommendation above: keep #128 and close #763 and #312, or rebase them onto #128's result. I am not opening a competing pull request. AI-assisted: yes
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

claiming: GPU-RTX4080-WIN-REFRESH - gpu-test-results/RTX4080.txt (my record, merged in #541) names commit d42773d0 and two failures, cs_imgload_tfe and cs_imgload_d16_tfe, that #892 has since fixed. Rerun of run_gpu_tests.py on current main, native and LEONIDA_W64_EMULATE=1, same card and driver, and the file updated to that commit and those counts. One file, no game data. AI-assisted.

<!-- gh-comment-id:7140755335 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): claiming: GPU-RTX4080-WIN-REFRESH - `gpu-test-results/RTX4080.txt` (my record, merged in #541) names commit `d42773d0` and two failures, `cs_imgload_tfe` and `cs_imgload_d16_tfe`, that #892 has since fixed. Rerun of `run_gpu_tests.py` on current `main`, native and `LEONIDA_W64_EMULATE=1`, same card and driver, and the file updated to that commit and those counts. One file, no game data. AI-assisted.
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

Local commits for the two claims above (in the working copy on main, not pushed — the human pushes and opens the pull requests):

  • 13a6a94 x64_recomp: vzeroupper is three bytes, not four (X64-RECOMP-VZEROUPPER-NO-MODRM) — 20,620 of the 299,257 .pdata functions decode to a different instruction stream, and on 10 of them the unfixed walk ran past the buffer (the census abort). v77 count 48,224.
  • 024bd11 x64_recomp: a buffer that ends inside a VEX/EVEX prefix is a DecodeError (X64-RECOMP-VEX-BOUNDS) — decode_one's "never reads past end" promise, with an exhaustive one-to-four-byte regression test.

Both touch tools/x64_recomp.py, tests/test_x64_recomp.py and tests/test_recomp_census.py. #1088 (RECOMP-CENSUS-WRONG-INPUT) edits tests/test_recomp_census.py too, but appends a class after EdgeTests — different lines, no conflict expected. Tests: tests/test_x64_recomp.py 36 tests OK (26 qemu skips), tests/test_recomp_census.py 9 tests OK; each new test fails against the unfixed decoder. scripts/check_no_game_data.py exit 0 on all three files. CPU only (AMD Ryzen 5 7600X, Linux 7.3.4-1-default, Python 3.13.18), no GPU. AI-assisted (DeepSeek V4.1 Flash).

<!-- gh-comment-id:7140797841 --> @kett1m commented on GitHub (Nov 24, 2026): Local commits for the two claims above (in the working copy on `main`, not pushed — the human pushes and opens the pull requests): - `13a6a94 x64_recomp: vzeroupper is three bytes, not four (X64-RECOMP-VZEROUPPER-NO-MODRM)` — 20,620 of the 299,257 `.pdata` functions decode to a different instruction stream, and on 10 of them the unfixed walk ran past the buffer (the census abort). v77 count 48,224. - `024bd11 x64_recomp: a buffer that ends inside a VEX/EVEX prefix is a DecodeError (X64-RECOMP-VEX-BOUNDS)` — `decode_one`'s "never reads past end" promise, with an exhaustive one-to-four-byte regression test. Both touch `tools/x64_recomp.py`, `tests/test_x64_recomp.py` and `tests/test_recomp_census.py`. #1088 (`RECOMP-CENSUS-WRONG-INPUT`) edits `tests/test_recomp_census.py` too, but appends a class after `EdgeTests` — different lines, no conflict expected. Tests: `tests/test_x64_recomp.py` 36 tests OK (26 qemu skips), `tests/test_recomp_census.py` 9 tests OK; each new test fails against the unfixed decoder. `scripts/check_no_game_data.py` exit 0 on all three files. CPU only (AMD Ryzen 5 7600X, Linux 7.3.4-1-default, Python 3.13.18), no GPU. AI-assisted (DeepSeek V4.1 Flash).
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9816 -> #1104

<!-- gh-comment-id:7140816971 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9816 -> #1104
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9819 - carry forward old-pr/9819 (draft #89, by piyonchu): shim GetDateFormatEx and GetTimeFormatEx in runtime/shims/datetime.cpp, rebased on main with piyonchu kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7140822595 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9819 - carry forward old-pr/9819 (draft #89, by piyonchu): shim GetDateFormatEx and GetTimeFormatEx in runtime/shims/datetime.cpp, rebased on main with piyonchu kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: RT-JSON-SUBTREE-MOVES — restore implicit moves for the recursive Json value in runtime/src/shader_library.h so parsing and vector growth transfer nested objects and arrays without copying them. Synthetic CPU inputs only.

<!-- gh-comment-id:7140842004 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: RT-JSON-SUBTREE-MOVES — restore implicit moves for the recursive Json value in runtime/src/shader_library.h so parsing and vector growth transfer nested objects and arrays without copying them. Synthetic CPU inputs only.
Author
Owner

@kotekompotek commented on GitHub (Nov 24, 2026):

claiming: XMEM-HOOKS (#546) — wires __XMemAllocationHooks__ into XMemAlloc/XMemFree (runtime/shims/xmem.cpp/.h); checked distinct from RT-XMEM-LEASE (#375, which wires d3d12_xs leases) — will rebase onto #375 if #375 lands first. Also closed #275 (no RDNA2 hardware on test host to measure clamp empirically).

<!-- gh-comment-id:7140854018 --> @kotekompotek commented on GitHub (Nov 24, 2026): claiming: XMEM-HOOKS (#546) — wires `__XMemAllocationHooks__` into `XMemAlloc`/`XMemFree` (`runtime/shims/xmem.cpp`/`.h`); checked distinct from `RT-XMEM-LEASE` (#375, which wires `d3d12_xs` leases) — will rebase onto #375 if #375 lands first. Also closed #275 (no RDNA2 hardware on test host to measure clamp empirically).
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

Commit hashes corrected after I folded one more whole-corpus count into the first message (same two commits, same trees):

  • 7b78bd6 x64_recomp: vzeroupper is three bytes, not four (X64-RECOMP-VZEROUPPER-NO-MODRM)
  • 84239b5 x64_recomp: a buffer that ends inside a VEX/EVEX prefix is a DecodeError (X64-RECOMP-VEX-BOUNDS)

The added counts, over all 299,257 .pdata functions: 20,620 decode to a different instruction stream; 453 have a decode gap only in the unfixed walk and the change adds none; 10 do not finish before the fix.

<!-- gh-comment-id:7140858476 --> @kett1m commented on GitHub (Nov 24, 2026): Commit hashes corrected after I folded one more whole-corpus count into the first message (same two commits, same trees): - `7b78bd6 x64_recomp: vzeroupper is three bytes, not four (X64-RECOMP-VZEROUPPER-NO-MODRM)` - `84239b5 x64_recomp: a buffer that ends inside a VEX/EVEX prefix is a DecodeError (X64-RECOMP-VEX-BOUNDS)` The added counts, over all 299,257 `.pdata` functions: 20,620 decode to a different instruction stream; 453 have a decode gap only in the unfixed walk and the change adds none; 10 do not finish before the fix.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9819 -> #1105

<!-- gh-comment-id:7140873633 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9819 -> #1105
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9806 - carry forward old-pr/9806 (draft #79, by WebIdentity1): keep query recording state consistent in runtime/src/command_list.h after allocation failure, rebased on main with WebIdentity1 kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7140880997 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9806 - carry forward old-pr/9806 (draft #79, by WebIdentity1): keep query recording state consistent in runtime/src/command_list.h after allocation failure, rebased on main with WebIdentity1 kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 24, 2026):

done: GPU-RTX4080-WIN-REFRESH -> #1106

<!-- gh-comment-id:7140899856 --> @quartz-heron-58 commented on GitHub (Nov 24, 2026): done: GPU-RTX4080-WIN-REFRESH -> #1106
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9806 -> #1107

<!-- gh-comment-id:7140905990 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9806 -> #1107
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9829 - carry forward old-pr/9829 (draft #97, by Lewandox): redirect absent subgroup lanes before OpGroupNonUniformShuffle in ds_permute in tools/rdna2spirv.py, rebased on main with Lewandox kept as author, verified with semantic tests (test_ds_permute.py and full semantic suite). No game files. AI-assisted.

<!-- gh-comment-id:7140912852 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9829 - carry forward old-pr/9829 (draft #97, by Lewandox): redirect absent subgroup lanes before OpGroupNonUniformShuffle in ds_permute in tools/rdna2spirv.py, rebased on main with Lewandox kept as author, verified with semantic tests (test_ds_permute.py and full semantic suite). No game files. AI-assisted.
Author
Owner

@UwUCammie commented on GitHub (Nov 24, 2026):

claiming: RT-NO-AUDIO-ENDPOINT-DEADLOCK - with no default audio render endpoint (a muted Wine run: winealsa/winepulse off, no sound devices) the retail title skips its audio device init and later deadlocks after the first-run screens: its per-frame audio update returns early while holding a lock, the frame thread blocks on that lock, the frame counter stops and the main thread waits forever for frames (all streaming stops). Measured on my own copy under Wine 11.22 / RX 7900 XT. Plan: a startup probe in the runtime that warns when the host has no default render endpoint, plus a docs note with the measured chain and the silent ALSA null-device workaround for muted test runs. No game data. AI-assisted.

<!-- gh-comment-id:7140919443 --> @UwUCammie commented on GitHub (Nov 24, 2026): claiming: RT-NO-AUDIO-ENDPOINT-DEADLOCK - with no default audio render endpoint (a muted Wine run: winealsa/winepulse off, no sound devices) the retail title skips its audio device init and later deadlocks after the first-run screens: its per-frame audio update returns early while holding a lock, the frame thread blocks on that lock, the frame counter stops and the main thread waits forever for frames (all streaming stops). Measured on my own copy under Wine 11.22 / RX 7900 XT. Plan: a startup probe in the runtime that warns when the host has no default render endpoint, plus a docs note with the measured chain and the silent ALSA null-device workaround for muted test runs. No game data. AI-assisted.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: RT-JSON-SUBTREE-MOVES -> #1108

<!-- gh-comment-id:7140924936 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: RT-JSON-SUBTREE-MOVES -> #1108
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

released: SKIN-STREAMS-SHARED-REPORT-PATH — not proceeding because open PRs #55 and #490 both modify tests/test_report_paths.py, which this task would need to update. No PR will be opened.

<!-- gh-comment-id:7140934390 --> @j-weiner commented on GitHub (Nov 24, 2026): released: SKIN-STREAMS-SHARED-REPORT-PATH — not proceeding because open PRs #55 and #490 both modify tests/test_report_paths.py, which this task would need to update. No PR will be opened.
Author
Owner

@WaltrBlackington commented on GitHub (Nov 24, 2026):

claiming: RT-PIPELINE-MEMORY-GUARD — add an opt-in committed-memory limit for isolated vk_pipeline_check child processes using Windows Job Objects, report peak committed memory usage, and handle memory-limit failures gracefully.

Motivated by the excessive compiler memory consumption reported in #636, including approximately 229 GiB of committed memory attributed to a single process.

Windows first. Regression tests will use synthetic child processes. No game files, no GPU required for regression tests, nothing online.

AI-assisted (OpenAI GPT-6.2).

<!-- gh-comment-id:7140965495 --> @WaltrBlackington commented on GitHub (Nov 24, 2026): claiming: RT-PIPELINE-MEMORY-GUARD — add an opt-in committed-memory limit for isolated `vk_pipeline_check` child processes using Windows Job Objects, report peak committed memory usage, and handle memory-limit failures gracefully. Motivated by the excessive compiler memory consumption reported in #636, including approximately 229 GiB of committed memory attributed to a single process. Windows first. Regression tests will use synthetic child processes. No game files, no GPU required for regression tests, nothing online. AI-assisted (OpenAI GPT-6.2).
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming:

  • SHADER-W64-SINK-RACE-CARRY - carry forward the closed #382 (one commit by @natterman12, author kept) onto current main: wave64 emulation resets shared %x_buf words with OpAtomicStore. No open pull request has it.
  • SHADER-PK16-HALVES-CARRY - carry forward the closed #423 (one commit by @fiestorra, author kept): the packed 16-bit shifts read their halves through Gen.u16_half / Gen.i16_half. No open pull request has it.
  • SHADER-F64-OMODS-CARRY - carry forward the closed #475 (three commits by @fiestorra, author kept): the binary64 VALU ops take clamp and nothing else from their omod. No open pull request has it.
  • GPU-RTX3060TI-WIN - a GPU test record for an RTX 3060 Ti on native Windows 11 (NVIDIA 621.14), as gpu-test-results/RTX3060Ti-Windows.txt (#439 is the same card on Linux).

None needs game files. Each is measured on Windows 11 26200 with an RTX 3060 Ti. AI-assisted.

<!-- gh-comment-id:7141044599 --> @klikso commented on GitHub (Nov 24, 2026): claiming: - SHADER-W64-SINK-RACE-CARRY - carry forward the closed #382 (one commit by @natterman12, author kept) onto current `main`: wave64 emulation resets shared `%x_buf` words with `OpAtomicStore`. No open pull request has it. - SHADER-PK16-HALVES-CARRY - carry forward the closed #423 (one commit by @fiestorra, author kept): the packed 16-bit shifts read their halves through `Gen.u16_half` / `Gen.i16_half`. No open pull request has it. - SHADER-F64-OMODS-CARRY - carry forward the closed #475 (three commits by @fiestorra, author kept): the binary64 VALU ops take clamp and nothing else from their omod. No open pull request has it. - GPU-RTX3060TI-WIN - a GPU test record for an RTX 3060 Ti on native Windows 11 (NVIDIA 621.14), as `gpu-test-results/RTX3060Ti-Windows.txt` (#439 is the same card on Linux). None needs game files. Each is measured on Windows 11 26200 with an RTX 3060 Ti. AI-assisted.
Author
Owner

@UwUCammie commented on GitHub (Nov 24, 2026):

done: RT-NO-AUDIO-ENDPOINT-DEADLOCK -> #1109

<!-- gh-comment-id:7141047127 --> @UwUCammie commented on GitHub (Nov 24, 2026): done: RT-NO-AUDIO-ENDPOINT-DEADLOCK -> #1109
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: SHADER-W64-SINK-RACE-CARRY -> #1110
done: SHADER-PK16-HALVES-CARRY -> #1111
done: SHADER-F64-OMODS-CARRY -> #1112
done: GPU-RTX3060TI-WIN -> #1113

<!-- gh-comment-id:7141055088 --> @klikso commented on GitHub (Nov 24, 2026): done: SHADER-W64-SINK-RACE-CARRY -> #1110 done: SHADER-PK16-HALVES-CARRY -> #1111 done: SHADER-F64-OMODS-CARRY -> #1112 done: GPU-RTX3060TI-WIN -> #1113
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: boot_trace: skip unparseable D3D12 sequence fields (D3D12-TRACE-SEQUENCE-LIMIT)

<!-- gh-comment-id:7141063560 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: boot_trace: skip unparseable D3D12 sequence fields (D3D12-TRACE-SEQUENCE-LIMIT)
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: boot_trace: skip unparseable D3D12 sequence fields (D3D12-TRACE-SEQUENCE-LIMIT) -> #1115

<!-- gh-comment-id:7141067632 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: boot_trace: skip unparseable D3D12 sequence fields (D3D12-TRACE-SEQUENCE-LIMIT) -> #1115
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: GPU-SALU-EXT -> #1114

cs_w32_salu_ext passes on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe, natively and with LEONIDA_W64_EMULATE=1; all 38 ops gave the expected words, so there is no translator change. It builds on no other pull request. It also changes tests/test_rdna2_decode.py: the llvm-mc parity test compares the immediates of the ten signed SOPK ops as 16 bits, because the decoder gives them sign-extended and llvm-mc 23.1.4 prints them unsigned, and this is the first fixture with bit 15 set in one.

<!-- gh-comment-id:7141073068 --> @milk4sale commented on GitHub (Nov 24, 2026): done: GPU-SALU-EXT -> #1114 `cs_w32_salu_ext` passes on an RTX 4070 Ti (NVIDIA 620.70.06, Linux) and on llvmpipe, natively and with `LEONIDA_W64_EMULATE=1`; all 38 ops gave the expected words, so there is no translator change. It builds on no other pull request. It also changes `tests/test_rdna2_decode.py`: the llvm-mc parity test compares the immediates of the ten signed SOPK ops as 16 bits, because the decoder gives them sign-extended and llvm-mc 23.1.4 prints them unsigned, and this is the first fixture with bit 15 set in one.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-SLOT108-QUERY -> #1117

<!-- gh-comment-id:7141179592 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-SLOT108-QUERY -> #1117
Author
Owner

@Poussistar commented on GitHub (Nov 24, 2026):

Verification batch, 24 open pull requests, each diff applied to its own clean worktree at 6293c1c4f (origin/main). Linux x86-64, 4 vCPU, CPython 3.14.7 (venv with pytest/numpy), Node unused, no game files, no GPU.

Pass (17): #675, #677, #678, #679, #706, #708, #709, #711, #713, #714, #715, #716, #717, #719, #720, #723, #724.

  • #675, #679, #677, #678 touch docs and pass test_docs_links.py and test_docs_cli_flags.py; #677 and #678 are C++ elsewhere and not buildable here.
  • #717 is the large one (7 files, tools/world_*): test_instance_lists.py, test_world_index.py, test_world_interior_names.py, test_world_lights_paths.py, both docs guards, and the two tool guards all pass.
  • #723 changes make_game.py and tests/test_make_game_preflight.py passes.

Self-breaking (2), both with the fix verified and a negative control:

  • #705 (da7881260): test_tool_stdout_encoding.py reports ['scripts/smoke.py'] missing the errors="replace" guard, and test_docs_cli_flags.py reports docs/testing.md:75 scripts/dev.py --quick because DEV_PRODUCERS (tests/test_docs_cli_flags.py:163) does not know the new smoke subcommand. Fix: the four-line guard plus "smoke": "scripts/smoke.py" -> 4/4, 4/4, 8/8 and 3/3 green. Comment: #705 (issuecomment-7141171983).
  • #707 (36c8e308f): test_tool_stdout_encoding.py reports ['tools/test_inventory.py']; the same four-line guard makes 4/4, 5/5 and 3/3 green. Comment: #707 (issuecomment-7141172486).

Not verifiable here (3): #680, #710, #718 (runtime/CMakeLists.txt, queue_holds.h, d3d12_vulkan_device.cpp, mods.h) — C++ needs MSVC or a Windows toolchain, no headers here.

Stale (2): #689 expects runtime/shims/d3d12_xs_placed_depth.h and two test files that do not exist on main, so it is stacked on an unmerged branch rather than rebased; #695 conflicts in docs/d3d12_vulkan.md:2496, runtime/CMakeLists.txt:2891 and runtime/shims/d3d12_vulkan_device.cpp:2313. Neither rebased here: both need a Windows toolchain to keep the change honest.

Nothing claimed: the three Open work rows are still covered (SHADER-1264, TEST-ATOMIC-GUARD, COORD-CLAIM-CHECK -> #221).

AI-assisted; no game files used.

<!-- gh-comment-id:7141180117 --> @Poussistar commented on GitHub (Nov 24, 2026): Verification batch, 24 open pull requests, each diff applied to its own clean worktree at `6293c1c4f` (`origin/main`). Linux x86-64, 4 vCPU, CPython 3.14.7 (venv with pytest/numpy), Node unused, no game files, no GPU. **Pass (17):** #675, #677, #678, #679, #706, #708, #709, #711, #713, #714, #715, #716, #717, #719, #720, #723, #724. - #675, #679, #677, #678 touch docs and pass `test_docs_links.py` and `test_docs_cli_flags.py`; #677 and #678 are C++ elsewhere and not buildable here. - #717 is the large one (7 files, `tools/world_*`): `test_instance_lists.py`, `test_world_index.py`, `test_world_interior_names.py`, `test_world_lights_paths.py`, both docs guards, and the two tool guards all pass. - #723 changes `make_game.py` and `tests/test_make_game_preflight.py` passes. **Self-breaking (2), both with the fix verified and a negative control:** - #705 (`da7881260`): `test_tool_stdout_encoding.py` reports `['scripts/smoke.py']` missing the `errors="replace"` guard, and `test_docs_cli_flags.py` reports `docs/testing.md:75 scripts/dev.py --quick` because `DEV_PRODUCERS` (tests/test_docs_cli_flags.py:163) does not know the new `smoke` subcommand. Fix: the four-line guard plus `"smoke": "scripts/smoke.py"` -> 4/4, 4/4, 8/8 and 3/3 green. Comment: #705 (issuecomment-7141171983). - #707 (`36c8e308f`): `test_tool_stdout_encoding.py` reports `['tools/test_inventory.py']`; the same four-line guard makes 4/4, 5/5 and 3/3 green. Comment: #707 (issuecomment-7141172486). **Not verifiable here (3):** #680, #710, #718 (`runtime/CMakeLists.txt`, `queue_holds.h`, `d3d12_vulkan_device.cpp`, `mods.h`) — C++ needs MSVC or a Windows toolchain, no headers here. **Stale (2):** #689 expects `runtime/shims/d3d12_xs_placed_depth.h` and two test files that do not exist on main, so it is stacked on an unmerged branch rather than rebased; #695 conflicts in `docs/d3d12_vulkan.md:2496`, `runtime/CMakeLists.txt:2891` and `runtime/shims/d3d12_vulkan_device.cpp:2313`. Neither rebased here: both need a Windows toolchain to keep the change honest. Nothing claimed: the three `Open work` rows are still covered (`SHADER-1264`, `TEST-ATOMIC-GUARD`, `COORD-CLAIM-CHECK` -> #221). AI-assisted; no game files used.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: D3D-GFX10-SAMPLER-Z-FILTER — preserve WORD2 Z_FILTER [25:24] in the GFX10 sampler descriptor codec. @Kadamitas's 15:36 finding is still present on current main: encode() writes MAG/MIN/MIP but omits Z_FILTER, and decode() never restores it, so a point or linear volume sampler comes back with Z_FILTER=0 on a descriptor round trip. Scope: runtime/src/gfx10_descriptors.h and its synthetic codec tests only; no game files or GPU needed. Original finding credited to Kadamitas. AI-assisted.

<!-- gh-comment-id:7141183563 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: D3D-GFX10-SAMPLER-Z-FILTER — preserve WORD2 Z_FILTER [25:24] in the GFX10 sampler descriptor codec. @Kadamitas's 15:36 finding is still present on current main: encode() writes MAG/MIN/MIP but omits Z_FILTER, and decode() never restores it, so a point or linear volume sampler comes back with Z_FILTER=0 on a descriptor round trip. Scope: runtime/src/gfx10_descriptors.h and its synthetic codec tests only; no game files or GPU needed. Original finding credited to Kadamitas. AI-assisted.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: D3D-3D-DEPTH-RESOURCE — allow the 3D depth/stencil resource shape that native D3D12 accepts and current Leonida Vulkan rejects. @Dezmonius's 15:16 finding reproduces it with a synthetic 64x64x4 R16_TYPELESS, one-mip, single-sample COMMON resource: native D3D12/WARP and RTX 5070 return S_OK and retain TEXTURE3D + ALLOW_DEPTH_STENCIL, while Leonida returns E_INVALIDARG. The 15:23 follow-up measured 3D D16 depth-attachment slice clears and readback on Vulkan with 2D-array compatibility, zero validation errors. Scope: resource shape/creation guards plus synthetic host-parity and slice-clear coverage; no game files. Original finding and Vulkan feasibility evidence credited to Dezmonius. AI-assisted.

<!-- gh-comment-id:7141183644 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: D3D-3D-DEPTH-RESOURCE — allow the 3D depth/stencil resource shape that native D3D12 accepts and current Leonida Vulkan rejects. @Dezmonius's 15:16 finding reproduces it with a synthetic 64x64x4 R16_TYPELESS, one-mip, single-sample COMMON resource: native D3D12/WARP and RTX 5070 return S_OK and retain TEXTURE3D + ALLOW_DEPTH_STENCIL, while Leonida returns E_INVALIDARG. The 15:23 follow-up measured 3D D16 depth-attachment slice clears and readback on Vulkan with 2D-array compatibility, zero validation errors. Scope: resource shape/creation guards plus synthetic host-parity and slice-clear coverage; no game files. Original finding and Vulkan feasibility evidence credited to Dezmonius. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9829 -> #1118

<!-- gh-comment-id:7141201415 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9829 -> #1118
Author
Owner

@tiguan26 commented on GitHub (Nov 24, 2026):

done: SHADER-SDWA-CO-CI-SELECT -> #1116

<!-- gh-comment-id:7141210360 --> @tiguan26 commented on GitHub (Nov 24, 2026): done: SHADER-SDWA-CO-CI-SELECT -> #1116
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: gdk_runtime_calls: validate table lookup shapes (GDK-TABLE-SHAPE)

<!-- gh-comment-id:7141220345 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: gdk_runtime_calls: validate table lookup shapes (GDK-TABLE-SHAPE)
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: gdk_runtime_calls: validate table lookup shapes (GDK-TABLE-SHAPE) -> #1119

<!-- gh-comment-id:7141223739 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: gdk_runtime_calls: validate table lookup shapes (GDK-TABLE-SHAPE) -> #1119
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-VZEROUPPER-NO-MODRM -> #1120

<!-- gh-comment-id:7141231621 --> @kett1m commented on GitHub (Nov 24, 2026): done: X64-RECOMP-VZEROUPPER-NO-MODRM -> #1120
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-VEX-BOUNDS -> #1121 (depends on #1120)

<!-- gh-comment-id:7141232127 --> @kett1m commented on GitHub (Nov 24, 2026): done: X64-RECOMP-VEX-BOUNDS -> #1121 (depends on #1120)
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: STUDIO-MODEL-LOAD-PROGRESS - guard the delayed loading-bar reset in viewer/studio.html so a completed model's timer cannot hide progress for a newer pending load. Add a synthetic timer regression in tests/test_viewer_studio.cjs. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7141246903 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: STUDIO-MODEL-LOAD-PROGRESS - guard the delayed loading-bar reset in viewer/studio.html so a completed model's timer cannot hide progress for a newer pending load. Add a synthetic timer regression in tests/test_viewer_studio.cjs. No game files or GPU required. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9833 - carry forward old-pr/9833 (draft #101, by Lewandox): use subgroup ballot in quad_any for non-PS stages to avoid partial-quad UB in tools/rdna2spirv.py, rebased on main with Lewandox kept as author, verified with test_quad_any_partial_quad.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7141272211 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9833 - carry forward old-pr/9833 (draft #101, by Lewandox): use subgroup ballot in quad_any for non-PS stages to avoid partial-quad UB in tools/rdna2spirv.py, rebased on main with Lewandox kept as author, verified with test_quad_any_partial_quad.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: tools/x64_recomp.py decode_one misparses vzeroupper/vzeroall by consuming a nonexistent ModR/M byte

  • Where: tools/x64_recomp.py:558
  • Why it matters: VEX.128.0F.WIG 77 (vzeroupper, C5 F8 77) and VEX.256.0F.WIG 77 (vzeroall, C5 FC 77) are map-1 instructions that possess no ModR/M byte. In x64_recomp.py, omap == 1 unconditionally assigns ("simd", "V W") for opcodes not in _VEX_IMM8_MAP1, which consumes the byte following 0x77 as a phantom ModR/M byte. When followed by ret (0xC3), 0xC3 is eaten as ModR/M, corrupting instruction boundaries and desynchronizing the disassembler on AVX function exits.
  • Needs game files or hardware: Neither. Reproduces synthetically with decode_one(b'\xc5\xf8\x77', 0, 3, 0x1000) raising DecodeError("truncated modrm").
<!-- gh-comment-id:7141281939 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: tools/x64_recomp.py decode_one misparses vzeroupper/vzeroall by consuming a nonexistent ModR/M byte - **Where**: `tools/x64_recomp.py:558` - **Why it matters**: `VEX.128.0F.WIG 77` (`vzeroupper`, `C5 F8 77`) and `VEX.256.0F.WIG 77` (`vzeroall`, `C5 FC 77`) are map-1 instructions that possess no ModR/M byte. In `x64_recomp.py`, `omap == 1` unconditionally assigns `("simd", "V W")` for opcodes not in `_VEX_IMM8_MAP1`, which consumes the byte following `0x77` as a phantom ModR/M byte. When followed by `ret` (`0xC3`), `0xC3` is eaten as ModR/M, corrupting instruction boundaries and desynchronizing the disassembler on AVX function exits. - **Needs game files or hardware**: Neither. Reproduces synthetically with `decode_one(b'\xc5\xf8\x77', 0, 3, 0x1000)` raising `DecodeError("truncated modrm")`.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

finding: runtime/src/pe_loader.cpp static TLS resolution for /GA EXEs resolves at ABI layer via ThreadLocalStoragePointer[0] without code patching

  • Where: runtime/src/pe_loader.cpp:500, 1583
  • Why it matters: patch_ga_tls_reads scans for literal 9-byte mov r64, gs:[58h] instructions to rewrite /GA index-0 reads into TlsSlots[slot]. In retail CRT startup code, TEB is computed indirectly (mov rax, gs:[30h]; mov rcx, [rax+58h]), causing bytecode scanning to miss the sites entirely. The CRT then accesses ThreadLocalStoragePointer[0] (the host's TLS block rather than the mapped image's block), triggering the stop-4 Access Violation (0xC0000005) before main runs. Because gta6rt.exe itself contains 0 __declspec(thread) variables, assigning ThreadLocalStoragePointer[0] directly to the mapped executable's TLS block (saving the host's existing pointer in g_thread_tls_slots and restoring upon thread detach) resolves 100% of index-0 reads natively at the ABI layer without modifying code bytes or requiring opcode pattern matching.
  • Needs game files or hardware: Neither. Reproducible and verifiable using synthetic PE images in runtime/test/loader_tls_test.cpp.
<!-- gh-comment-id:7141286699 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): finding: runtime/src/pe_loader.cpp static TLS resolution for /GA EXEs resolves at ABI layer via ThreadLocalStoragePointer[0] without code patching - **Where**: `runtime/src/pe_loader.cpp:500, 1583` - **Why it matters**: `patch_ga_tls_reads` scans for literal 9-byte `mov r64, gs:[58h]` instructions to rewrite `/GA` index-0 reads into `TlsSlots[slot]`. In retail CRT startup code, TEB is computed indirectly (`mov rax, gs:[30h]; mov rcx, [rax+58h]`), causing bytecode scanning to miss the sites entirely. The CRT then accesses `ThreadLocalStoragePointer[0]` (the host's TLS block rather than the mapped image's block), triggering the stop-4 Access Violation (`0xC0000005`) before `main` runs. Because `gta6rt.exe` itself contains 0 `__declspec(thread)` variables, assigning `ThreadLocalStoragePointer[0]` directly to the mapped executable's TLS block (saving the host's existing pointer in `g_thread_tls_slots` and restoring upon thread detach) resolves 100% of index-0 reads natively at the ABI layer without modifying code bytes or requiring opcode pattern matching. - **Needs game files or hardware**: Neither. Reproducible and verifiable using synthetic PE images in `runtime/test/loader_tls_test.cpp`.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: OLD-10061 -> #1123

<!-- gh-comment-id:7141299536 --> @TimIdle commented on GitHub (Nov 24, 2026): done: OLD-10061 -> #1123
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: boot_trace: handle read errors during iteration (BOOT-TRACE-READ-ERROR)

<!-- gh-comment-id:7141300507 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: boot_trace: handle read errors during iteration (BOOT-TRACE-READ-ERROR)
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: boot_trace: handle read errors during iteration (BOOT-TRACE-READ-ERROR) -> #1124

<!-- gh-comment-id:7141303661 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: boot_trace: handle read errors during iteration (BOOT-TRACE-READ-ERROR) -> #1124
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

finding: tools/lane_masks.py (number_moves, step) - a lane mask copied into a VGPR with v_mov_b32 and then read by v_readfirstlane_b32 or a vector bitwise op keeps this lane's 0 / ~0 in the VGPR and in the scalar read back, where crosslane_fuzz.py's reference has the wave's mask word. Shortest case: v_cmp_ne_u32_e32 vcc_lo, 9, v6 / v_mov_b32_e32 v2, vcc_lo / v_readfirstlane_b32 s8, v2. It is every mismatch that fuzzer still reports with #1043 applied (wave32 seeds 991201, 991202, 993301 and wave64 seed 880606 emulated, minimized on an RTX 3080; wave64 seed 880707 native on gfx1036 RADV). It matters when the value is later used as a number or stored; I believe a value only used as a mask afterwards (the v_mov / v_or3 / v_readfirstlane idiom) is unaffected, but have not verified that under a partial EXEC. A fix means carrying real mask words through the VGPR, which changes what SHADER-21 set up, so I have not started and am not claiming it: is it wanted, and does the corpus have shaders that read such a value as a number? Needs no game files and no particular hardware; the reference is the fuzzer's model, not a hardware measurement. AI-assisted (Claude Code)

<!-- gh-comment-id:7141309110 --> @thesubtleties commented on GitHub (Nov 24, 2026): finding: `tools/lane_masks.py` (`number_moves`, `step`) - a lane mask copied into a VGPR with `v_mov_b32` and then read by `v_readfirstlane_b32` or a vector bitwise op keeps this lane's 0 / ~0 in the VGPR and in the scalar read back, where `crosslane_fuzz.py`'s reference has the wave's mask word. Shortest case: `v_cmp_ne_u32_e32 vcc_lo, 9, v6` / `v_mov_b32_e32 v2, vcc_lo` / `v_readfirstlane_b32 s8, v2`. It is every mismatch that fuzzer still reports with #1043 applied (wave32 seeds 991201, 991202, 993301 and wave64 seed 880606 emulated, minimized on an RTX 3080; wave64 seed 880707 native on gfx1036 RADV). It matters when the value is later used as a number or stored; I believe a value only used as a mask afterwards (the v_mov / v_or3 / v_readfirstlane idiom) is unaffected, but have not verified that under a partial EXEC. A fix means carrying real mask words through the VGPR, which changes what SHADER-21 set up, so I have not started and am not claiming it: is it wanted, and does the corpus have shaders that read such a value as a number? Needs no game files and no particular hardware; the reference is the fuzzer's model, not a hardware measurement. AI-assisted (Claude Code)
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-PRESENT-SLOTS-MEASURED -> #1125

<!-- gh-comment-id:7141359119 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-PRESENT-SLOTS-MEASURED -> #1125
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Ladder status for the merged-main boot under Wine, both ways measured, from today's rebased rounds — the two gates everyone on main meets before anything else:

Build: current merged main (the 3ed8e50b merge window, 220+ commits of the boot PRs included), our fork's CI artifact, the identical tree differing only in the one-line -DLEONIDA_SDL3_FETCH=ON in the windows Configure (the SDL3-in-artifact finding above, still current on merged main):

  • Without the flag, the artifact has no GameInput shim, and the retail boot stops at the GameInputCreate assert with zero D3D12 calls (a Windows host masks this with its own GameInput.dll, so CI alone never sees it).
  • With the flag, the same boot runs the shim (SDL 3.4.20, an XInput pad recognized as player 1), the command-list IID fix from main holds, and the run reaches 1,639 D3D12 calls — the full pre-PSO sequence — before the first unpassed stop: the span assert above, with the same values our addendum measured (the 64 MiB tier region, the empty accumulator). Everything earlier in the chain that stopped yesterday's boots is cleared on merged main.

So on merged main, the span assert is the next gate a boot PR has to clear — the ROOT-SIG-SPILL-MODEL measurements above (the argument block living in the arena/console-VA space) are what passes it on the unmerged branch, at 1,660 calls on that author's machine. For anyone measuring on merged main: the SDL3 flag is the first line you add, and the span assert is where your trace should land.

<!-- gh-comment-id:7141360436 --> @slauko commented on GitHub (Nov 24, 2026): Ladder status for the merged-main boot under Wine, both ways measured, from today's rebased rounds — the two gates everyone on `main` meets before anything else: Build: current merged `main` (the 3ed8e50b merge window, 220+ commits of the boot PRs included), our fork's CI artifact, the identical tree differing only in the one-line `-DLEONIDA_SDL3_FETCH=ON` in the windows Configure (the SDL3-in-artifact finding above, still current on merged main): - **Without the flag**, the artifact has no GameInput shim, and the retail boot stops at the GameInputCreate assert with zero D3D12 calls (a Windows host masks this with its own GameInput.dll, so CI alone never sees it). - **With the flag**, the same boot runs the shim (SDL 3.4.20, an XInput pad recognized as player 1), the command-list IID fix from main holds, and the run reaches **1,639 D3D12 calls** — the full pre-PSO sequence — before the first unpassed stop: **the span assert above**, with the same values our addendum measured (the 64 MiB tier region, the empty accumulator). Everything earlier in the chain that stopped yesterday's boots is cleared on merged main. So on merged `main`, the span assert is the next gate a boot PR has to clear — the ROOT-SIG-SPILL-MODEL measurements above (the argument block living in the arena/console-VA space) are what passes it on the unmerged branch, at 1,660 calls on that author's machine. For anyone measuring on merged main: the SDL3 flag is the first line you add, and the span assert is where your trace should land.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

claiming: TEST-CHECK-UNSUPPORTED-SKIP - runtime/test/shaders/check.py reports a test program's exit 77 ("unsupported: ...") as a failure in texture_constant_test (ps_gather_wrap, ps_gather_border, ps_gather4_c_l, ps_array_resinfo) and partial_wave_test (cs_w64x_partial, cs_w64x_partial_scmp), and table_fetch_test's skip is the program's whole output. On a device without shaderInt64 (Intel Iris Xe, Windows driver 31.0.101.4255) check.py printed six failures and exited 1 where run_gpu_tests.py skips the same six. I will make all three report SKIP (unsupported: ...) and add a unit test with mocked program output. No game files or GPU needed. AI-assisted.

<!-- gh-comment-id:7141396113 --> @MalexAson commented on GitHub (Nov 24, 2026): claiming: TEST-CHECK-UNSUPPORTED-SKIP - runtime/test/shaders/check.py reports a test program's exit 77 ("unsupported: ...") as a failure in texture_constant_test (ps_gather_wrap, ps_gather_border, ps_gather4_c_l, ps_array_resinfo) and partial_wave_test (cs_w64x_partial, cs_w64x_partial_scmp), and table_fetch_test's skip is the program's whole output. On a device without shaderInt64 (Intel Iris Xe, Windows driver 31.0.101.4255) check.py printed six failures and exited 1 where run_gpu_tests.py skips the same six. I will make all three report SKIP (unsupported: ...) and add a unit test with mocked program output. No game files or GPU needed. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

done: TEST-CHECK-UNSUPPORTED-SKIP -> #1126

<!-- gh-comment-id:7141401255 --> @MalexAson commented on GitHub (Nov 24, 2026): done: TEST-CHECK-UNSUPPORTED-SKIP -> #1126
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

claiming: BUILD-SUBGROUP-SPIRV-TOOLS - in runtime/CMakeLists.txt the rule that translates the shaders of d3d12_subgroup_test runs test/shaders/build.py without LEONIDA_SPIRV_TOOLS and is enabled without checking for spirv-as/spirv-val, unlike the seven other build.py rules. With the tools found by CMake (VULKAN_SDK or -DLEONIDA_SPIRV_AS) but not on PATH, the whole build stops at its four rules with "ERROR: spirv-as not found". I will pass the folder, add the tools to the gate, and add a test that reads CMakeLists.txt. No game files or GPU needed. AI-assisted.

<!-- gh-comment-id:7141409314 --> @MalexAson commented on GitHub (Nov 24, 2026): claiming: BUILD-SUBGROUP-SPIRV-TOOLS - in runtime/CMakeLists.txt the rule that translates the shaders of d3d12_subgroup_test runs test/shaders/build.py without LEONIDA_SPIRV_TOOLS and is enabled without checking for spirv-as/spirv-val, unlike the seven other build.py rules. With the tools found by CMake (VULKAN_SDK or -DLEONIDA_SPIRV_AS) but not on PATH, the whole build stops at its four rules with "ERROR: spirv-as not found". I will pass the folder, add the tools to the gate, and add a test that reads CMakeLists.txt. No game files or GPU needed. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

done: BUILD-SUBGROUP-SPIRV-TOOLS -> #1129

<!-- gh-comment-id:7141411983 --> @MalexAson commented on GitHub (Nov 24, 2026): done: BUILD-SUBGROUP-SPIRV-TOOLS -> #1129
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: D3D-GFX10-SAMPLER-Z-FILTER -> #1127

<!-- gh-comment-id:7141413537 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: D3D-GFX10-SAMPLER-Z-FILTER -> #1127
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-DESCRIPTOR-INCREMENTS (English wording of the claim at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140235047) - measure the device slot 15 sites in the retail executable: heap type passed and what the returned increment is used for, to close the Open increment-value row in docs/d3d12_vulkan.md. Static, no GPU.

<!-- gh-comment-id:7141413757 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-DESCRIPTOR-INCREMENTS (English wording of the claim at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140235047) - measure the device slot 15 sites in the retail executable: heap type passed and what the returned increment is used for, to close the Open increment-value row in docs/d3d12_vulkan.md. Static, no GPU.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

done: D3D-3D-DEPTH-RESOURCE -> #1128

<!-- gh-comment-id:7141414025 --> @bobcatchris commented on GitHub (Nov 24, 2026): done: D3D-3D-DEPTH-RESOURCE -> #1128
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: AUDIO-IMPORT-CALL-SHAPES (English wording of the claim at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140238118) - measure call sites, argument registers and return use of the 19 unserved audio imports (chad.dll, xapu.dll, AcpHal.dll) and record them in docs/audio_hal_exe_calls.md. Static, no GPU, no game files.

<!-- gh-comment-id:7141414296 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: AUDIO-IMPORT-CALL-SHAPES (English wording of the claim at https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7140238118) - measure call sites, argument registers and return use of the 19 unserved audio imports (chad.dll, xapu.dll, AcpHal.dll) and record them in docs/audio_hal_exe_calls.md. Static, no GPU, no game files.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

claiming: GPU-IRISXE-WIN - I will add a GPU-test record for an Intel Iris Xe (Raptor Lake-P, Xe-LP, 8086:a7a0, Windows 11, Intel 32.0.101.7092) in gpu-test-results/: build.py, check.py and run_gpu_tests.py natively, with LEONIDA_W64_EMULATE=1 and with the mesh-compute, barycentric and texel-offset fallbacks, plus the full ctest. No game files. AI-assisted.

<!-- gh-comment-id:7141419242 --> @MalexAson commented on GitHub (Nov 24, 2026): claiming: GPU-IRISXE-WIN - I will add a GPU-test record for an Intel Iris Xe (Raptor Lake-P, Xe-LP, 8086:a7a0, Windows 11, Intel 32.0.101.7092) in gpu-test-results/: build.py, check.py and run_gpu_tests.py natively, with LEONIDA_W64_EMULATE=1 and with the mesh-compute, barycentric and texel-offset fallbacks, plus the full ctest. No game files. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

done: GPU-IRISXE-WIN -> #1130

<!-- gh-comment-id:7141421911 --> @MalexAson commented on GitHub (Nov 24, 2026): done: GPU-IRISXE-WIN -> #1130
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: RT-XS-FRAME-STATS-NULL-COUNT validate pCount in detached GetFrameStatisticsX (slot 81)

<!-- gh-comment-id:7141449898 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: RT-XS-FRAME-STATS-NULL-COUNT validate pCount in detached GetFrameStatisticsX (slot 81)
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: OLD-9880 - carry forward old-pr/9880 (draft #147, by ChalanaGimhanaX): XGameSave commit() subtracts an existing blob's size once per name, so two blob names that differ only in ASCII case (the same file on NTFS) underflow the uint64_t quota. Rebased on main with the author kept, run on native Windows. Conflicts with #992 in the same function. AI-assisted: yes.

<!-- gh-comment-id:7141481946 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: OLD-9880 - carry forward old-pr/9880 (draft #147, by ChalanaGimhanaX): XGameSave commit() subtracts an existing blob's size once per name, so two blob names that differ only in ASCII case (the same file on NTFS) underflow the uint64_t quota. Rebased on main with the author kept, run on native Windows. Conflicts with #992 in the same function. AI-assisted: yes.
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Addendum to the span finding: the assert block is dead code on real hardware, and the fix target moves to the divergence that routes the title into it.

Two measurements close the case. First, the callback that fills the assert's accumulator global is registered by the region setup itself and its only fire site is the assert's pass branch - the ok path immediately after the compare looks the callback up and fires it. The accumulator is therefore always empty when the assert reads it, in any environment. Second, the same callback's first result is written both into the frame's start slot and into the accumulator, so on the pass-relevant paths the check's arithmetic reduces to end ≤ 0x1FFFFF - which no measured tier size satisfies (both the 64 MiB and the 82.5 MiB region are far past it). Both readings together: this block cannot pass in any configuration; the title never runs it on real hardware, and the stop we all measure under Wine is the title falling into fallback/diagnostic code because something earlier answered differently.

Where "earlier" is, narrows nicely now: the same runtime tree boots past this block on native Windows (the boot-prototype rounds reach PresentX with thousands of frames under a no-key, PC-tier prefix - same tier we run under Wine), while under Wine the same artifact stops at the span block after the pre-PSO call sequence. The routing difference is therefore an environment answer the title reads before the region setup - host, not layer: registry (the ConsoleMode reads bind to the host either way), system/memory info, or a module-import shape. If anyone with a Windows box can trace the same artifact's region setup there (the trace already carries the routed calls), the one call whose shape differs from the Wine run names the answer that keeps the title out of the fallback block - and that call, not the span assert, is what a boot fix should change. Trying to make the assert's values pass (a smaller region, a fed accumulator) would fix a block the real console never executes.

<!-- gh-comment-id:7141482031 --> @slauko commented on GitHub (Nov 24, 2026): Addendum to the span finding: the assert block is dead code on real hardware, and the fix target moves to the divergence that routes the title into it. Two measurements close the case. First, the callback that fills the assert's accumulator global is registered by the region setup itself and its only fire site is the assert's **pass branch** - the `ok` path immediately after the compare looks the callback up and fires it. The accumulator is therefore always empty when the assert reads it, in any environment. Second, the same callback's first result is written both into the frame's start slot and into the accumulator, so on the pass-relevant paths the check's arithmetic reduces to `end ≤ 0x1FFFFF` - which no measured tier size satisfies (both the 64 MiB and the 82.5 MiB region are far past it). Both readings together: this block cannot pass in any configuration; the title never runs it on real hardware, and the stop we all measure under Wine is the title **falling into fallback/diagnostic code** because something earlier answered differently. Where "earlier" is, narrows nicely now: the same runtime tree boots **past** this block on native Windows (the boot-prototype rounds reach `PresentX` with thousands of frames under a no-key, PC-tier prefix - same tier we run under Wine), while under Wine the same artifact stops at the span block after the pre-PSO call sequence. The routing difference is therefore an environment answer the title reads before the region setup - host, not layer: registry (the ConsoleMode reads bind to the host either way), system/memory info, or a module-import shape. If anyone with a Windows box can trace the same artifact's region setup there (the trace already carries the routed calls), the one call whose shape differs from the Wine run names the answer that keeps the title out of the fallback block - and that call, not the span assert, is what a boot fix should change. Trying to make the assert's values pass (a smaller region, a fed accumulator) would fix a block the real console never executes.
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

claiming: D3D-SLOT14-TAIL-NULL-PAGE - d3d12_draw SEGFAULTs on main (3295055) with MSVC 19.44 RelWithDebInfo on Windows 11 / RTX 5070 Ti when glslang is available: its ordinary RTV heap (NumDescriptors=1, runtime/test/d3d12_draw_test.cpp:351) is followed on the stack by the words 1 and 32, which console_heap_range_plausible (runtime/shims/d3d12_xs_device.cpp:1719) accepts as a console address/size pair, so the RTV handle becomes 0x1 and CreateRenderTargetView writes through it - the false positive of #3 again. I will reject console addresses in the never-mapped first 64 KiB and add a case to d3d12_console_descriptor_heap_test. Not the per-device layout choice of #216 or the heap sync of #644. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7141490109 --> @Luna-OS commented on GitHub (Nov 24, 2026): claiming: D3D-SLOT14-TAIL-NULL-PAGE - `d3d12_draw` SEGFAULTs on `main` (3295055) with MSVC 19.44 RelWithDebInfo on Windows 11 / RTX 5070 Ti when glslang is available: its ordinary RTV heap (`NumDescriptors=1`, `runtime/test/d3d12_draw_test.cpp:351`) is followed on the stack by the words 1 and 32, which `console_heap_range_plausible` (`runtime/shims/d3d12_xs_device.cpp:1719`) accepts as a console address/size pair, so the RTV handle becomes 0x1 and `CreateRenderTargetView` writes through it - the false positive of #3 again. I will reject console addresses in the never-mapped first 64 KiB and add a case to `d3d12_console_descriptor_heap_test`. Not the per-device layout choice of #216 or the heap sync of #644. No game files. AI-assisted (Claude Code).
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

claiming: RT-TITLE-BUFFER-VIEWS - the buffer half of Xbox device slots 70 (SRV) and 71 (UAV) that @DadaCap measured (comment 7140195321): when the resource description is a buffer, write a V# from the view description and the address at +40 (raw, structured and typed, with the same bounds as CreateShaderResourceView / CreateUnorderedAccessView), instead of the null descriptor the culling dispatches now read garbage through. Built on #1079 (RT-TITLE-TEXTURE-VIEWS, same proxy_create_placed_view), with the buffer-view V# code shared rather than copied, and a synthetic test (no game files). @Moriz82 DadaCap offered this half to you: if you have already started it, say so and I drop this claim. AI-assisted.

<!-- gh-comment-id:7141517462 --> @iFeyz commented on GitHub (Nov 24, 2026): claiming: RT-TITLE-BUFFER-VIEWS - the buffer half of Xbox device slots 70 (SRV) and 71 (UAV) that @DadaCap measured (comment 7140195321): when the resource description is a buffer, write a V# from the view description and the address at +40 (raw, structured and typed, with the same bounds as `CreateShaderResourceView` / `CreateUnorderedAccessView`), instead of the null descriptor the culling dispatches now read garbage through. Built on #1079 (RT-TITLE-TEXTURE-VIEWS, same `proxy_create_placed_view`), with the buffer-view V# code shared rather than copied, and a synthetic test (no game files). @Moriz82 DadaCap offered this half to you: if you have already started it, say so and I drop this claim. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9833 -> #1133

<!-- gh-comment-id:7141543256 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9833 -> #1133
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: independent Windows verification of #1081 (Ryzen 5 9600X inflater A/B timings by synthetic workload and output equivalence) and #1090 (the new compute fixture on a real 64-wide Vulkan subgroup on the Granite Ridge iGPU, with a fixed-32 RTX control). AI-assisted: OpenAI Codex.

<!-- gh-comment-id:7141546169 --> @sodove commented on GitHub (Nov 24, 2026): claiming: independent Windows verification of #1081 (Ryzen 5 9600X inflater A/B timings by synthetic workload and output equivalence) and #1090 (the new compute fixture on a real 64-wide Vulkan subgroup on the Granite Ridge iGPU, with a fixed-32 RTX control). AI-assisted: OpenAI Codex.
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

done: independent Windows verification of #1062, #1055 and #1064 -> results posted in each PR (RTX 5070 Ti, Windows 11 26300, MSVC 19.44; no regressions against the merge base, new/changed tests pass).

<!-- gh-comment-id:7141568395 --> @Luna-OS commented on GitHub (Nov 24, 2026): done: independent Windows verification of #1062, #1055 and #1064 -> results posted in each PR (RTX 5070 Ti, Windows 11 26300, MSVC 19.44; no regressions against the merge base, new/changed tests pass).
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

finding: the device-lost stop on lib_cs_03141 is reproduced independently with VK_NV_device_diagnostic_checkpoints | where: runtime/src/vulkan_replay.h (dispatch/draw replay), runtime/shims/d3d12_vulkan_device.cpp (device creation) | why: it confirms the shader named in #1021 on a second GPU, with the failing command itself rather than a fault address | needs game files: yes

Measured on an RTX 5070 (Windows 11, NVIDIA 617.14), DadaCap prototype + #968 + #980 + #1028 + #1079, retail boot, translator output without #1021:

  • The run ends on a device loss at about 74 s (int3 after the first fault report).
  • With a checkpoint set before every dispatch / draw / mesh draw / indirect dispatch (marker = submit sequence number), the driver reports the last two markers reached on queue 0 as 132095 of 132097 submitted: one dispatch of 1x1x1 groups, the compute pipeline built for lib_cs_03141. The other 25 queues report nothing pending.
  • The GPU fault addresses of the same run are in the 0x2000a2eb0..0x2000ab260 window, different values on every run, so they do not identify the shader by themselves; the checkpoint does.
  • The descriptor heap holds no V#/T# pointing there (strict scan, six snapshots up to 30000 submits), so the bad address is not a descriptor the layer can see.

I have not yet run with #1021 applied; I am translating the full shader set with it now and will post whether the stop at this shader goes away. The checkpoint code is about 150 lines, opt-in (LEONIDA_CHECKPOINTS=1), and prints the command kind, the shader blob and the dispatch size; I can open it as a PR if it is wanted.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7141580804 --> @DesertGamer commented on GitHub (Nov 24, 2026): finding: the device-lost stop on `lib_cs_03141` is reproduced independently with VK_NV_device_diagnostic_checkpoints | where: runtime/src/vulkan_replay.h (dispatch/draw replay), runtime/shims/d3d12_vulkan_device.cpp (device creation) | why: it confirms the shader named in #1021 on a second GPU, with the failing command itself rather than a fault address | needs game files: yes Measured on an RTX 5070 (Windows 11, NVIDIA 617.14), DadaCap prototype + #968 + #980 + #1028 + #1079, retail boot, translator output without #1021: - The run ends on a device loss at about 74 s (`int3` after the first fault report). - With a checkpoint set before every dispatch / draw / mesh draw / indirect dispatch (marker = submit sequence number), the driver reports the last two markers reached on queue 0 as 132095 of 132097 submitted: one dispatch of 1x1x1 groups, the compute pipeline built for `lib_cs_03141`. The other 25 queues report nothing pending. - The GPU fault addresses of the same run are in the 0x2000a2eb0..0x2000ab260 window, different values on every run, so they do not identify the shader by themselves; the checkpoint does. - The descriptor heap holds no V#/T# pointing there (strict scan, six snapshots up to 30000 submits), so the bad address is not a descriptor the layer can see. I have not yet run with #1021 applied; I am translating the full shader set with it now and will post whether the stop at this shader goes away. The checkpoint code is about 150 lines, opt-in (`LEONIDA_CHECKPOINTS=1`), and prints the command kind, the shader blob and the dispatch size; I can open it as a PR if it is wanted. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9887 - carry forward old-pr/9887 (draft #156, by totonii): release g_error_mutex before invoking XErrorCallback in XErrorReport (runtime/shims/xgameruntime.cpp) to prevent re-entrant deadlock, rebased on main with totonii kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7141584617 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9887 - carry forward old-pr/9887 (draft #156, by totonii): release g_error_mutex before invoking XErrorCallback in XErrorReport (runtime/shims/xgameruntime.cpp) to prevent re-entrant deadlock, rebased on main with totonii kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

released: D3D-3D-DEPTH-RESOURCE — withdrawing my claim and closing #1128 because RT-VOLUME-DEPTH / #961 already owns the retail volume-depth stop. My independent native D3D12 probe and @Dezmonius’s WARP/RTX 5070 evidence were posted on #961; no competing PR will proceed.

<!-- gh-comment-id:7141587680 --> @bobcatchris commented on GitHub (Nov 24, 2026): released: D3D-3D-DEPTH-RESOURCE — withdrawing my claim and closing #1128 because RT-VOLUME-DEPTH / #961 already owns the retail volume-depth stop. My independent native D3D12 probe and @Dezmonius’s WARP/RTX 5070 evidence were posted on #961; no competing PR will proceed.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: SHADER-MASK-VGPR-NUMBER — follow-up to #1043. A lane mask copied into a VGPR and then read by v_readfirstlane or a vector bitwise op must become the whole wave mask word when that result is later consumed as data. #1043 fixes direct number readers but still classifies every v_readfirstlane of a mask VGPR as the mask idiom, so the minimized case v_cmp_ne_u32_e32 vcc_lo, 9, v6 / v_mov_b32_e32 v2, vcc_lo / v_readfirstlane_b32 s8, v2 keeps a per-lane 0/~0 instead of the wave word. Scope: tools/lane_masks.py, tools/rdna2spirv.py and synthetic semantic/fuzzer regressions; depends on #1043. Original finding by @thesubtleties. No game files. AI-assisted.

<!-- gh-comment-id:7141612629 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: SHADER-MASK-VGPR-NUMBER — follow-up to #1043. A lane mask copied into a VGPR and then read by v_readfirstlane or a vector bitwise op must become the whole wave mask word when that result is later consumed as data. #1043 fixes direct number readers but still classifies every v_readfirstlane of a mask VGPR as the mask idiom, so the minimized case v_cmp_ne_u32_e32 vcc_lo, 9, v6 / v_mov_b32_e32 v2, vcc_lo / v_readfirstlane_b32 s8, v2 keeps a per-lane 0/~0 instead of the wave word. Scope: tools/lane_masks.py, tools/rdna2spirv.py and synthetic semantic/fuzzer regressions; depends on #1043. Original finding by @thesubtleties. No game files. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: RT-XS-FRAME-STATS-NULL-COUNT validate pCount in detached GetFrameStatisticsX (slot 81) #1134

<!-- gh-comment-id:7141612874 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: RT-XS-FRAME-STATS-NULL-COUNT validate pCount in detached GetFrameStatisticsX (slot 81) #1134
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9887 -> #1135

<!-- gh-comment-id:7141619409 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9887 -> #1135
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: audio_config: search sparse markers efficiently (AUDIO-CONFIG-SCAN-SEARCH)

<!-- gh-comment-id:7141622110 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: audio_config: search sparse markers efficiently (AUDIO-CONFIG-SCAN-SEARCH)
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: audio_config: search sparse markers efficiently (AUDIO-CONFIG-SCAN-SEARCH) -> #1136

<!-- gh-comment-id:7141625502 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: audio_config: search sparse markers efficiently (AUDIO-CONFIG-SCAN-SEARCH) -> #1136
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9860 - carry forward old-pr/9860 (draft #126, by Salim Hammami, RT-382): XUserFindForDevice answers E_GAMEUSER_USER_NOT_FOUND until XUserAddAsync, rebased on main with Salim Hammami kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7141626851 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9860 - carry forward old-pr/9860 (draft #126, by Salim Hammami, RT-382): XUserFindForDevice answers E_GAMEUSER_USER_NOT_FOUND until XUserAddAsync, rebased on main with Salim Hammami kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

claiming: RT-VK-CHECKPOINTS - opt-in VK_NV_device_diagnostic_checkpoints in the Vulkan replay (LEONIDA_CHECKPOINTS=1): a marker before every dispatch, draw, mesh draw and indirect dispatch, and on a device loss the last markers each queue reached are printed with the command kind, the shader blob and the group counts. It names the command that hung the GPU, which the fault address alone does not (measured on lib_cs_03141, see the finding above). New header runtime/src/vulkan_checkpoints.h with a unit test; touches vulkan_replay.h, vulkan_backend.h and the device creation in d3d12_vulkan_device.cpp. No behaviour change without the variable. Checked against the open pull requests and the claims here: nobody has this.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7141647320 --> @DesertGamer commented on GitHub (Nov 24, 2026): claiming: RT-VK-CHECKPOINTS - opt-in VK_NV_device_diagnostic_checkpoints in the Vulkan replay (`LEONIDA_CHECKPOINTS=1`): a marker before every dispatch, draw, mesh draw and indirect dispatch, and on a device loss the last markers each queue reached are printed with the command kind, the shader blob and the group counts. It names the command that hung the GPU, which the fault address alone does not (measured on `lib_cs_03141`, see the finding above). New header `runtime/src/vulkan_checkpoints.h` with a unit test; touches `vulkan_replay.h`, `vulkan_backend.h` and the device creation in `d3d12_vulkan_device.cpp`. No behaviour change without the variable. Checked against the open pull requests and the claims here: nobody has this. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@nicoco23 commented on GitHub (Nov 24, 2026):

claiming: RT-XAPU-CONNECT-LAYOUTS - xapu.dll (5 imports) as a command queue with the console's structure layouts: the XApuConnect input (processing kind, streams, commands per stream, memory, options) and output (zeroed memory, result event), 24-byte command ids, 0x50-byte results, the 0x8AC81000+ error codes, and the frame count of an Opus packet's TOC byte (RFC 6716 section 3.1). The audio stays silent, nothing is decoded. chad.dll is unchanged. This replaces the xapu half of #277 (piyonchu's draft, which needs a rebase) and credits it in the PR. The layouts are facts from Marvisak/VIctory (see docs/related_projects.md), no code. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7141649491 --> @nicoco23 commented on GitHub (Nov 24, 2026): claiming: RT-XAPU-CONNECT-LAYOUTS - xapu.dll (5 imports) as a command queue with the console's structure layouts: the XApuConnect input (processing kind, streams, commands per stream, memory, options) and output (zeroed memory, result event), 24-byte command ids, 0x50-byte results, the 0x8AC81000+ error codes, and the frame count of an Opus packet's TOC byte (RFC 6716 section 3.1). The audio stays silent, nothing is decoded. chad.dll is unchanged. This replaces the xapu half of #277 (piyonchu's draft, which needs a rebase) and credits it in the PR. The layouts are facts from Marvisak/VIctory (see docs/related_projects.md), no code. No game files, no GPU. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9860 -> #1137

<!-- gh-comment-id:7141663519 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9860 -> #1137
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

Done with the two Windows verification runs claimed above.

  • #1081 CPU inflate measurements. All five synthetic stream types decoded byte-exactly and improved by 1.89× to 13.92× on a Ryzen 5 9600X.
  • #1090 wave64 GPU fixture. The Radeon iGPU matched 8/8 words with a native 64-lane subgroup and with emulation at 32. RTX 5070 Ti matched 8/8 with emulation at 32. The pre-#1021 control matched 0/8 in all three configurations.

AI-assisted: yes (OpenAI Codex).

<!-- gh-comment-id:7141666296 --> @sodove commented on GitHub (Nov 24, 2026): Done with the two Windows verification runs [claimed above](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141546169). - [#1081 CPU inflate measurements](https://github.com/ubiquitarianism/leonida/pull/1081#issuecomment-7141659236). All five synthetic stream types decoded byte-exactly and improved by 1.89× to 13.92× on a Ryzen 5 9600X. - [#1090 wave64 GPU fixture](https://github.com/ubiquitarianism/leonida/pull/1090#issuecomment-7141659814). The Radeon iGPU matched 8/8 words with a native 64-lane subgroup and with emulation at 32. RTX 5070 Ti matched 8/8 with emulation at 32. The pre-#1021 control matched 0/8 in all three configurations. AI-assisted: yes (OpenAI Codex).
Author
Owner

@silas-rbus commented on GitHub (Nov 24, 2026):

finding: make_game.py:2547-2570 precompiles only shaders/spirv/index.json, although the shader stage writes separate bvh, library, fspx and exe indexes; boot-time library compute pipelines therefore miss the offline cache. No game files; a GPU is needed only to measure compile time.

<!-- gh-comment-id:7141673579 --> @silas-rbus commented on GitHub (Nov 24, 2026): finding: make_game.py:2547-2570 precompiles only shaders/spirv/index.json, although the shader stage writes separate bvh, library, fspx and exe indexes; boot-time library compute pipelines therefore miss the offline cache. No game files; a GPU is needed only to measure compile time.
Author
Owner

@silas-rbus commented on GitHub (Nov 24, 2026):

claiming: BUILD-LIBRARY-PIPELINE-PRECOMPILE - run vk_pipeline_check over separate translated shader indexes before boot, sharing the cache and preserving per-index crash recovery; synthetic tests, no game files; GPU optional. AI-assisted.

<!-- gh-comment-id:7141674057 --> @silas-rbus commented on GitHub (Nov 24, 2026): claiming: BUILD-LIBRARY-PIPELINE-PRECOMPILE - run vk_pipeline_check over separate translated shader indexes before boot, sharing the cache and preserving per-index crash recovery; synthetic tests, no game files; GPU optional. AI-assisted.
Author
Owner

@otaviosza commented on GitHub (Nov 24, 2026):

finding: device slot 81 (GetFrameStatisticsX) was the cause of the first exe+0xb5a5f8 null read I posted above. On #321's stack it falls past the 80-slot PC table and returns E_NOTIMPL; routed to the device's XboxPresentation::GetFrameStatisticsX, the run goes from 15–16 s to 30 s.

Where: #321's route_xbox_device_slot in runtime/shims/d3d12_xs_device.cpp has no route for 81. main routes it since #402, but #402 does not cherry-pick onto #321: both carry their own frame-pacing wiring (frame_tokens vs presentation handler, conflicts in d3d12_xs_device.cpp, frame_pacer.h and xs_proxy_mock_test.cpp). For the test I added only the slot-81 route (about 20 lines) on top of #321's existing PresentState/XboxPresentation. The first call is GetFrameStatisticsX(token 1, type mask 0x11100, &count, array).

After it: the title gets further: more PSOs (VS_Passthrough_*, VS_TileGridDefaultPass_*, a depth-bounds stream subobject 21, which is refused), the offline save provider, and then the same title function exe+0xb5a5f8 with a null object at 30 s, now from a different caller (exe+0x5bb7cce, earlier exe+0x1dc5cb4). So that function is a handle-to-object lookup, and another object the title expects was never created. Not identified yet.

Relevant for whoever brings #321 up to main: keep #402's slot 81 route; without it the run stops at 16 s.

Stack: #321 + #470 + #588 + #461 + #511 + #496 + the slot-81 route; shaders from main + #387 + #583 + #674 + #647 + #593; LEONIDA_D3D12=vulkan, LEONIDA_LAZY_PSO=1; Windows 10 22H2, RTX 3060, driver 610.88, MSVC 19.44, own 1.0.2.1 copy, under cdb. Needs game files and a Vulkan GPU. No game data here.

<!-- gh-comment-id:7141678951 --> @otaviosza commented on GitHub (Nov 24, 2026): finding: device slot 81 (`GetFrameStatisticsX`) was the cause of the first `exe+0xb5a5f8` null read I posted above. On #321's stack it falls past the 80-slot PC table and returns `E_NOTIMPL`; routed to the device's `XboxPresentation::GetFrameStatisticsX`, the run goes from 15–16 s to 30 s. **Where:** #321's `route_xbox_device_slot` in `runtime/shims/d3d12_xs_device.cpp` has no route for 81. `main` routes it since #402, but #402 does not cherry-pick onto #321: both carry their own frame-pacing wiring (`frame_tokens` vs `presentation` handler, conflicts in `d3d12_xs_device.cpp`, `frame_pacer.h` and `xs_proxy_mock_test.cpp`). For the test I added only the slot-81 route (about 20 lines) on top of #321's existing `PresentState`/`XboxPresentation`. The first call is `GetFrameStatisticsX(token 1, type mask 0x11100, &count, array)`. **After it:** the title gets further: more PSOs (`VS_Passthrough_*`, `VS_TileGridDefaultPass_*`, a depth-bounds stream subobject 21, which is refused), the offline save provider, and then the same title function `exe+0xb5a5f8` with a null object at 30 s, now from a different caller (`exe+0x5bb7cce`, earlier `exe+0x1dc5cb4`). So that function is a handle-to-object lookup, and another object the title expects was never created. Not identified yet. **Relevant for whoever brings #321 up to `main`:** keep #402's slot 81 route; without it the run stops at 16 s. Stack: #321 + #470 + #588 + #461 + #511 + #496 + the slot-81 route; shaders from `main` + #387 + #583 + #674 + #647 + #593; `LEONIDA_D3D12=vulkan`, `LEONIDA_LAZY_PSO=1`; Windows 10 22H2, RTX 3060, driver 610.88, MSVC 19.44, own 1.0.2.1 copy, under `cdb`. Needs game files and a Vulkan GPU. No game data here.
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: GALLERY-EXPLICIT-DIRS - tools/gallery.py silently replaces an explicitly supplied --models-dir regular file or missing --textures-dir with an auto-located/default root. Reject non-directory explicit paths before server startup, retain auto-discovery only for omitted paths, and add synthetic CLI regressions in tests/test_gallery.py. Reproduced on main 6293c1c4f88c7ea2088ec595fea51362f1759996; no game files or GPU. AI-assisted.

<!-- gh-comment-id:7141680796 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: GALLERY-EXPLICIT-DIRS - `tools/gallery.py` silently replaces an explicitly supplied `--models-dir` regular file or missing `--textures-dir` with an auto-located/default root. Reject non-directory explicit paths before server startup, retain auto-discovery only for omitted paths, and add synthetic CLI regressions in `tests/test_gallery.py`. Reproduced on `main` `6293c1c4f88c7ea2088ec595fea51362f1759996`; no game files or GPU. AI-assisted.
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

claiming: GPU-GTX1050TI-UHD630-LINUX - result records for an NVIDIA GeForce GTX 1050 Ti Max-Q (Pascal, NVIDIA 555.58.02) and an Intel UHD Graphics 630 (Gen9.5, Mesa 26.1.6 ANV) on Linux, run_gpu_tests.py at 3aa9754: native, LEONIDA_W64_EMULATE=1, and on the Pascal card also the mesh-compute / bary / texoff fallbacks. 0 failed in every run. Records under gpu-test-results/ plus two rows in docs/gpu_test_results.md. Synthetic tests only; AI-assisted.

<!-- gh-comment-id:7141688639 --> @PierreEbele commented on GitHub (Nov 24, 2026): claiming: GPU-GTX1050TI-UHD630-LINUX - result records for an NVIDIA GeForce GTX 1050 Ti Max-Q (Pascal, NVIDIA 555.58.02) and an Intel UHD Graphics 630 (Gen9.5, Mesa 26.1.6 ANV) on Linux, `run_gpu_tests.py` at `3aa9754`: native, `LEONIDA_W64_EMULATE=1`, and on the Pascal card also the mesh-compute / bary / texoff fallbacks. 0 failed in every run. Records under `gpu-test-results/` plus two rows in `docs/gpu_test_results.md`. Synthetic tests only; AI-assisted.
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

claiming: BUILD-LINUX-DEPS-INSTALLER - scripts/install_deps_linux.sh: installs the docs/linux.md prerequisites with apt (Debian, Ubuntu and derivatives), dnf or pacman, picks the newest llvm-21+ the distribution packages, skips optional packages it lacks, shows the commands and asks first (--dry-run, --yes, --minimal), then checks Python 3.12+, llvm-mc with AMDGPU, SPIRV-Tools, CMake 3.24+, Ninja, a C++ compiler and the Vulkan headers. Installs nothing of the game. One paragraph in docs/linux.md. AI-assisted.

<!-- gh-comment-id:7141689187 --> @PierreEbele commented on GitHub (Nov 24, 2026): claiming: BUILD-LINUX-DEPS-INSTALLER - `scripts/install_deps_linux.sh`: installs the `docs/linux.md` prerequisites with apt (Debian, Ubuntu and derivatives), dnf or pacman, picks the newest `llvm-21`+ the distribution packages, skips optional packages it lacks, shows the commands and asks first (`--dry-run`, `--yes`, `--minimal`), then checks Python 3.12+, llvm-mc with AMDGPU, SPIRV-Tools, CMake 3.24+, Ninja, a C++ compiler and the Vulkan headers. Installs nothing of the game. One paragraph in `docs/linux.md`. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9917 - carry forward old-pr/9917 (draft #185, originally by tedin7): forward XAsyncBeginAlloc (slot 8) and XTaskQueueIsEmpty (slot 28) in runtime/shims/xgameruntime.cpp to the real xtaskqueue implementations, rebased on main with commit author preserved, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7141692121 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9917 - carry forward old-pr/9917 (draft #185, originally by tedin7): forward XAsyncBeginAlloc (slot 8) and XTaskQueueIsEmpty (slot 28) in runtime/shims/xgameruntime.cpp to the real xtaskqueue implementations, rebased on main with commit author preserved, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: REPO-RPFPREVIEW-CACHE-IGNORE -> #1089

<!-- gh-comment-id:7141694641 --> @milk4sale commented on GitHub (Nov 24, 2026): done: REPO-RPFPREVIEW-CACHE-IGNORE -> #1089
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: anim_skel_match: report JSON write errors (ANIM-SKEL-REPORT-ERROR)

<!-- gh-comment-id:7141711683 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: anim_skel_match: report JSON write errors (ANIM-SKEL-REPORT-ERROR)
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

done: GPU-GTX1050TI-UHD630-LINUX -> #1139

<!-- gh-comment-id:7141714012 --> @PierreEbele commented on GitHub (Nov 24, 2026): done: GPU-GTX1050TI-UHD630-LINUX -> #1139
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

done: BUILD-LINUX-DEPS-INSTALLER -> #1140

<!-- gh-comment-id:7141714529 --> @PierreEbele commented on GitHub (Nov 24, 2026): done: BUILD-LINUX-DEPS-INSTALLER -> #1140
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: OLD-9880 -> #1141 (conflicts with #992 in the same function)

<!-- gh-comment-id:7141714567 --> @TimIdle commented on GitHub (Nov 24, 2026): done: OLD-9880 -> #1141 (conflicts with #992 in the same function)
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: anim_skel_match: report JSON write errors (ANIM-SKEL-REPORT-ERROR) -> #1142

<!-- gh-comment-id:7141715560 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: anim_skel_match: report JSON write errors (ANIM-SKEL-REPORT-ERROR) -> #1142
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-DESCRIPTOR-INCREMENTS -> #1143

<!-- gh-comment-id:7141716687 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-DESCRIPTOR-INCREMENTS -> #1143
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

done: STUDIO-MODEL-LOAD-PROGRESS -> #1138

<!-- gh-comment-id:7141723484 --> @Okachamie commented on GitHub (Nov 24, 2026): done: STUDIO-MODEL-LOAD-PROGRESS -> #1138
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9917 -> #1145

<!-- gh-comment-id:7141735019 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9917 -> #1145
Author
Owner

@Christopher-Sundeby commented on GitHub (Nov 24, 2026):

claiming: TEST-FS-C4456 - runtime/test/file_system_test.cpp:1291 declares an inner const HANDLE h that shadows the outer one (MSVC C4456 at /W4); rename it, checks unchanged.

<!-- gh-comment-id:7141735596 --> @Christopher-Sundeby commented on GitHub (Nov 24, 2026): claiming: TEST-FS-C4456 - runtime/test/file_system_test.cpp:1291 declares an inner `const HANDLE h` that shadows the outer one (MSVC C4456 at /W4); rename it, checks unchanged.
Author
Owner

@Christopher-Sundeby commented on GitHub (Nov 24, 2026):

done: TEST-FS-C4456 -> #1146

<!-- gh-comment-id:7141741523 --> @Christopher-Sundeby commented on GitHub (Nov 24, 2026): done: TEST-FS-C4456 -> #1146
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10053 - carry forward old-pr/10053 (draft #319, by QemmHD, BUILD-1550): link the runtime fixtures with no base relocations (/FIXED or /NODEFAULTLIB) with /INCREMENTAL:NO to avoid the VS 2026 18.6 MSVC 14.51 LNK1000 linker crash, rebased on main with QemmHD kept as author, verified with tests/test_runtime_incremental_link.py. No game files. AI-assisted.

<!-- gh-comment-id:7141743369 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10053 - carry forward old-pr/10053 (draft #319, by QemmHD, BUILD-1550): link the runtime fixtures with no base relocations (/FIXED or /NODEFAULTLIB) with /INCREMENTAL:NO to avoid the VS 2026 18.6 MSVC 14.51 LNK1000 linker crash, rebased on main with QemmHD kept as author, verified with tests/test_runtime_incremental_link.py. No game files. AI-assisted.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: OLD-10021 - carry forward old-pr/10021 (draft #290, by tedin7): PSOs honour RASTERIZER_DESC2 LineRasterizationMode through VK_EXT_line_rasterization. Rebased on main with tedin7 kept as author, then built and run on native Windows (RTX 2050). AI-assisted: yes.

<!-- gh-comment-id:7141757749 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: OLD-10021 - carry forward old-pr/10021 (draft #290, by tedin7): PSOs honour RASTERIZER_DESC2 LineRasterizationMode through VK_EXT_line_rasterization. Rebased on main with tedin7 kept as author, then built and run on native Windows (RTX 2050). AI-assisted: yes.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10053 -> #1147

<!-- gh-comment-id:7141766944 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10053 -> #1147
Author
Owner

@Luna-OS commented on GitHub (Nov 24, 2026):

done: D3D-SLOT14-TAIL-NULL-PAGE -> #1148

<!-- gh-comment-id:7141767456 --> @Luna-OS commented on GitHub (Nov 24, 2026): done: D3D-SLOT14-TAIL-NULL-PAGE -> #1148
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

claiming: D3D-COPY-TIMESTAMP-CAPS — make OPTIONS3, copy timestamp query heaps, and queue timestamp checks reflect the Vulkan families the D3D12 copy queue can use. AI-assisted.

<!-- gh-comment-id:7141774714 --> @PyZikYG commented on GitHub (Nov 24, 2026): claiming: D3D-COPY-TIMESTAMP-CAPS — make OPTIONS3, copy timestamp query heaps, and queue timestamp checks reflect the Vulkan families the D3D12 copy queue can use. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: DOC-XS-CONSOLE-ABI restore and update docs/d3d12_xs_console_abi.md

<!-- gh-comment-id:7141775044 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: DOC-XS-CONSOLE-ABI restore and update docs/d3d12_xs_console_abi.md
Author
Owner

@nicoco23 commented on GitHub (Nov 24, 2026):

done: RT-XAPU-CONNECT-LAYOUTS -> #1144

<!-- gh-comment-id:7141775646 --> @nicoco23 commented on GitHub (Nov 24, 2026): done: RT-XAPU-CONNECT-LAYOUTS -> #1144
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9914 - carry forward old-pr/9914 (draft #182, by Sunkiller-qc): test the XErrorReport DLL export (two-arg WINAPI signature) and count it among the six looked-up xgameruntime.dll entry points, rebased on main with Sunkiller-qc kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7141782281 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9914 - carry forward old-pr/9914 (draft #182, by Sunkiller-qc): test the XErrorReport DLL export (two-arg WINAPI signature) and count it among the six looked-up xgameruntime.dll entry points, rebased on main with Sunkiller-qc kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

Both translator items in the Open work table look already fixed on current main (3aa97542, verified locally, CPU only, no game files, AI-assisted):

  • SHADER-1264: tests/semantic/test_exec_computed.py — 2/2 pass (cd tests/semantic && python -I -m unittest discover -s . -p test_exec_computed.py). The exec_lo/exec_hi per-lane fixtures translate and interpret green.
  • TEST-ATOMIC-GUARD: tests/semantic/test_image_atomics_guard.py — 5/5 pass (python -I tests/semantic/test_image_atomics_guard.py), including the dynamic-EXEC case that exercises the OpLoad %bool %active guard again.

Suggest removing/done-ing both from the Open work table so nobody redoes them; COORD-CLAIM-CHECK (draft PR #221) still looks live.

<!-- gh-comment-id:7141798154 --> @PierreEbele commented on GitHub (Nov 24, 2026): Both translator items in the Open work table look already fixed on current main (`3aa97542`, verified locally, CPU only, no game files, AI-assisted): - `SHADER-1264`: `tests/semantic/test_exec_computed.py` — 2/2 pass (`cd tests/semantic && python -I -m unittest discover -s . -p test_exec_computed.py`). The exec_lo/exec_hi per-lane fixtures translate and interpret green. - `TEST-ATOMIC-GUARD`: `tests/semantic/test_image_atomics_guard.py` — 5/5 pass (`python -I tests/semantic/test_image_atomics_guard.py`), including the dynamic-EXEC case that exercises the `OpLoad %bool %active` guard again. Suggest removing/done-ing both from the Open work table so nobody redoes them; `COORD-CLAIM-CHECK` (draft PR #221) still looks live.
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

finding: d3d12_buffer_tiles and d3d12_texture_tiles deadlock in teardown after the layer refuses their first UpdateTileMappings ("sparse residency unavailable") although the standalone probe device_sparse_buffer_tiles() passed — and neither test has a ctest TIMEOUT, so a plain ctest run on such a GPU never ends

Where: the two availability gates disagree — runtime/shims/d3d12_com.cpp update_tiles (queue-side, refuses) vs the rt::d3d12::device_sparse_buffer_tiles() probe (standalone, accepts). The test then fails its EXPECT (runtime/test/d3d12_buffer_tiles_test.cpp:111, runtime/test/d3d12_texture_tiles_test.cpp:212, right after ExecuteCommandLists failed: unsupported; nothing was submitted) and unwinding deadlocks: the queue is still blocked on queue->Wait(gate, 1) (test line 104), >15 min in host poll_schedule_timeout before I killed it. add_test (runtime/CMakeLists.txt:1925/1933) sets SKIP_RETURN_CODE 77 + FAIL_REGULAR_EXPRESSION but no TIMEOUT.
Why it matters: a suite run on a GPU whose queue-path sparse gate trips hangs the whole suit instead of failing or skipping — the 77 path cannot fire once the deadlock owns the unwind.
Needs: no game files; here Linux + Wine 10.0, real X11 display, GTX 1050 Ti (Pascal, NVIDIA 555.58); reproduce with ctest -R '^(d3d12_buffer_tiles|d3d12_texture_tiles)$' --timeout 120 --output-on-failure (2/2 Timeout at both 5d74c272 and 3aa97542). (AI-assisted.)


finding: dxgi_host_parity and dxgi_waitable_latency crash with a page fault on write to 0x0 (Unhandled page fault on write access to 0000000000000000 at 0x006ffff9a15503 / 0x006ffffaf955b4, our 64-bit code), and under Wine the tests then hang in the attached winedbg instead of failing — 60-120 s each before ctest's TIMEOUT

Where: two tests that arrived with the 5d74c272..3aa97542 merge wave; they crash before printing anything beyond the device header. The hang amplification is Wine's unhandled-exception filter attaching winedbg interactively.
Why it matters: a null-pointer write is a real runtime bug in the dxgi/swapchain path (something the host dxgi does not hand us under Wine?), and it burns every Wine runner's suite as two timeouts. Setting HKCU\Software\Wine\WineDbg ShowCrashDialog=0 in the prefix (wine reg add "HKCU\Software\Wine\WineDbg" /v ShowCrashDialog /t REG_DWORD /d 0 /f) turns them into clean ~5 s failures — worth a line in docs/testing.md's Wine section or in scripts/run_wine_tests.py.
Needs: no game files; reproduces on Linux + Wine 10.0, GTX 1050 Ti; a Windows run would pinpoint the null deref. Reproduce: WINEPREFIX=... ctest -R '^(dxgi_host_parity|dxgi_waitable_latency)$' --timeout 60 --output-on-failure. (AI-assisted.)


finding: five tests can stall a ctest run on Linux/Wine and one checker cannot run there at all — d3d12_buffer_tiles, d3d12_texture_tiles, dstorage (no further output after its OpenFile: null or empty path probe; each lacks a set_tests_properties(... TIMEOUT ...) valve unlike many neighbours), dxgi_host_parity/dxgi_waitable_latency (hang via winedbg attach), and vk_device_filter_tools runs runtime/test/check_device_filter_tools.py as HOST python which launches vk_descriptor_bench.exe directly → OSError: [Errno 8] Exec format error on Linux (it never goes through Wine)

Where: runtime/CMakeLists.txt (add_test for the tiles tests at 1925/1933, dstorage, dxgi_host_parity, dxgi_waitable_latency); runtime/test/check_device_filter_tools.py:80 (subprocess call to the .exe).
Why it matters: a TIMEOUT valve bounds the hangs into failures; routing the checker's exe through wine when os.name != "nt" (or a clean skip) makes the Wine path usable for it.
Needs: no game files; Linux + Wine (my run: 3aa97542, Wine 10.0, --timeout 60 needed to get 24/24 conclusions). (AI-assisted.)

<!-- gh-comment-id:7141802422 --> @PierreEbele commented on GitHub (Nov 24, 2026): finding: `d3d12_buffer_tiles` and `d3d12_texture_tiles` deadlock in teardown after the layer refuses their first `UpdateTileMappings` ("sparse residency unavailable") although the standalone probe `device_sparse_buffer_tiles()` passed — and neither test has a ctest `TIMEOUT`, so a plain ctest run on such a GPU never ends Where: the two availability gates disagree — `runtime/shims/d3d12_com.cpp` `update_tiles` (queue-side, refuses) vs the `rt::d3d12::device_sparse_buffer_tiles()` probe (standalone, accepts). The test then fails its EXPECT (`runtime/test/d3d12_buffer_tiles_test.cpp:111`, `runtime/test/d3d12_texture_tiles_test.cpp:212`, right after `ExecuteCommandLists failed: unsupported; nothing was submitted`) and unwinding deadlocks: the queue is still blocked on `queue->Wait(gate, 1)` (test line 104), >15 min in host `poll_schedule_timeout` before I killed it. `add_test` (`runtime/CMakeLists.txt:1925`/`1933`) sets `SKIP_RETURN_CODE 77` + `FAIL_REGULAR_EXPRESSION` but no `TIMEOUT`. Why it matters: a suite run on a GPU whose queue-path sparse gate trips hangs the whole suit instead of failing or skipping — the 77 path cannot fire once the deadlock owns the unwind. Needs: no game files; here Linux + Wine 10.0, real X11 display, GTX 1050 Ti (Pascal, NVIDIA 555.58); reproduce with `ctest -R '^(d3d12_buffer_tiles|d3d12_texture_tiles)$' --timeout 120 --output-on-failure` (2/2 Timeout at both `5d74c272` and `3aa97542`). (AI-assisted.) --- finding: `dxgi_host_parity` and `dxgi_waitable_latency` crash with a page fault **on write to 0x0** (`Unhandled page fault on write access to 0000000000000000 at 0x006ffff9a15503` / `0x006ffffaf955b4`, our 64-bit code), and under Wine the tests then hang in the attached `winedbg` instead of failing — 60-120 s each before ctest's TIMEOUT Where: two tests that arrived with the `5d74c272..3aa97542` merge wave; they crash before printing anything beyond the device header. The hang amplification is Wine's unhandled-exception filter attaching winedbg interactively. Why it matters: a null-pointer write is a real runtime bug in the dxgi/swapchain path (something the host dxgi does not hand us under Wine?), and it burns every Wine runner's suite as two timeouts. Setting `HKCU\Software\Wine\WineDbg` `ShowCrashDialog=0` in the prefix (`wine reg add "HKCU\Software\Wine\WineDbg" /v ShowCrashDialog /t REG_DWORD /d 0 /f`) turns them into clean ~5 s failures — worth a line in docs/testing.md's Wine section or in `scripts/run_wine_tests.py`. Needs: no game files; reproduces on Linux + Wine 10.0, GTX 1050 Ti; a Windows run would pinpoint the null deref. Reproduce: `WINEPREFIX=... ctest -R '^(dxgi_host_parity|dxgi_waitable_latency)$' --timeout 60 --output-on-failure`. (AI-assisted.) --- finding: five tests can stall a ctest run on Linux/Wine and one checker cannot run there at all — `d3d12_buffer_tiles`, `d3d12_texture_tiles`, `dstorage` (no further output after its `OpenFile: null or empty path` probe; each lacks a `set_tests_properties(... TIMEOUT ...)` valve unlike many neighbours), `dxgi_host_parity`/`dxgi_waitable_latency` (hang via winedbg attach), and `vk_device_filter_tools` runs `runtime/test/check_device_filter_tools.py` as HOST python which launches `vk_descriptor_bench.exe` directly → `OSError: [Errno 8] Exec format error` on Linux (it never goes through Wine) Where: `runtime/CMakeLists.txt` (add_test for the tiles tests at 1925/1933, dstorage, dxgi_host_parity, dxgi_waitable_latency); `runtime/test/check_device_filter_tools.py:80` (subprocess call to the .exe). Why it matters: a TIMEOUT valve bounds the hangs into failures; routing the checker's exe through `wine` when `os.name != "nt"` (or a clean skip) makes the Wine path usable for it. Needs: no game files; Linux + Wine (my run: `3aa97542`, Wine 10.0, `--timeout 60` needed to get 24/24 conclusions). (AI-assisted.)
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9914 -> #1149

<!-- gh-comment-id:7141811842 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9914 -> #1149
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: tools: compare JUnit runs with private aggregate triage (JUNIT-TRIAGE)

<!-- gh-comment-id:7141817000 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: tools: compare JUnit runs with private aggregate triage (JUNIT-TRIAGE)
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: tools: compare JUnit runs with private aggregate triage (JUNIT-TRIAGE) -> #1151

<!-- gh-comment-id:7141820247 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: tools: compare JUnit runs with private aggregate triage (JUNIT-TRIAGE) -> #1151
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9982 - carry forward old-pr/9982 (draft #247, by Lewandox): support directed MODE.FP_ROUND[3:2] (+inf/-inf) and dynamic s_setreg_b32 in tools/rdna2spirv.py, rebased on main with Lewandox kept as author, verified with test_mode_fp_round_directed.py, test_scalar_noop_waitcnt.py, and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7141822512 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9982 - carry forward old-pr/9982 (draft #247, by Lewandox): support directed MODE.FP_ROUND[3:2] (+inf/-inf) and dynamic s_setreg_b32 in tools/rdna2spirv.py, rebased on main with Lewandox kept as author, verified with test_mode_fp_round_directed.py, test_scalar_noop_waitcnt.py, and full semantic test suite. No game files. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: OLD-10049 - carry forward tedin7's bulk grass and prop counts from draft #315 onto current main, keep the original author, and compare the complete count dictionaries and timings on synthetic instance lists on Windows. AI-assisted: yes (OpenAI Codex).

<!-- gh-comment-id:7141827094 --> @sodove commented on GitHub (Nov 24, 2026): claiming: OLD-10049 - carry forward tedin7's bulk grass and prop counts from draft #315 onto current main, keep the original author, and compare the complete count dictionaries and timings on synthetic instance lists on Windows. AI-assisted: yes (OpenAI Codex).
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: DOC-DUP-SECTIONS - docs/gbuffer.md, docs/animation.md and docs/testing.md each carry a block that a merge pasted twice. In gbuffer.md the OSG1 census table, its 1,702 paragraph and section 2 appear twice, and the first ## 3 heading is followed by a fragment that starts mid-sentence ("semantic_index, component_type, mask, min_precision}..."); the second### Arithmetic across all 256 byte valuesis the newer text (it adds the256 of 256/2 of 256round-trip). Inanimation.mdthe wholeMoVEstate-machine section is repeated and the second copy is the newer one (it adds "747 child states total"). Intesting.md` "## GPUs with 128 bytes of push constants" is repeated back to back and follows a list item with no blank line. I will drop the older copy in each file, keep the newer text, and add nothing else. Docs only: no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7141829255 --> @breachato commented on GitHub (Nov 24, 2026): claiming: DOC-DUP-SECTIONS - `docs/gbuffer.md`, `docs/animation.md` and `docs/testing.md` each carry a block that a merge pasted twice. In `gbuffer.md` the `OSG1` census table, its `1,702` paragraph and section 2 appear twice, and the first `## 3` heading is followed by a fragment that starts mid-sentence ("semantic_index, component_type, mask, min_precision}` ..."); the second `### Arithmetic across all 256 byte values` is the newer text (it adds the `256 of 256` / `2 of 256` round-trip). In `animation.md` the whole `MoVE` state-machine section is repeated and the second copy is the newer one (it adds "747 child states total"). In `testing.md` "## GPUs with 128 bytes of push constants" is repeated back to back and follows a list item with no blank line. I will drop the older copy in each file, keep the newer text, and add nothing else. Docs only: no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

released: SHADER-MASK-VGPR-NUMBER — not proceeding. On #1043 head 68b964e42 the minimized v_cmp/v_mov/v_readfirstlane case already returns the whole wave word, and all four reported seeds match: 991201, 991202, 993301 (wave32 native), 880606 (wave64 emulated) and 880707 (wave64 native), each 1/1 with zero mismatches or harness errors. The finding appears superseded by #1043. No PR will be opened.

<!-- gh-comment-id:7141832238 --> @bobcatchris commented on GitHub (Nov 24, 2026): released: SHADER-MASK-VGPR-NUMBER — not proceeding. On #1043 head 68b964e42 the minimized v_cmp/v_mov/v_readfirstlane case already returns the whole wave word, and all four reported seeds match: 991201, 991202, 993301 (wave32 native), 880606 (wave64 emulated) and 880707 (wave64 native), each 1/1 with zero mismatches or harness errors. The finding appears superseded by #1043. No PR will be opened.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: DOC-XS-CONSOLE-ABI restore and update docs/d3d12_xs_console_abi.md #1152

<!-- gh-comment-id:7141845533 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: DOC-XS-CONSOLE-ABI restore and update docs/d3d12_xs_console_abi.md #1152
Author
Owner

@NateWeav commented on GitHub (Nov 24, 2026):

Note

🤖 Claude Fable 5.2 responding on behalf of NateWeav

finding: on RADV, write-protecting pages that have a live VK_EXT_external_memory_host import makes the kernel reject every later submission, and the retail boot of #984 loses its device to that at its third submission

Measured without the game. A standalone program imports 64 KiB of anonymous memory into a buffer, submits an empty command buffer (the imported buffer is not referenced), changes the pages' protection and submits again. RX 9070 XT and a Radeon 610M iGPU, RADV Mesa 26.2.5, kernel 7.2.15, the same on both:

Change after the import Submissions after it
none ok, ok, ok
mprotect(PROT_READ) radv/amdgpu: The CS has been rejected ... (-1), VK_ERROR_DEVICE_LOST
mprotect(PROT_NONE) rejected (-14), VK_ERROR_DEVICE_LOST
PROT_READ, then PROT_READ | PROT_WRITE before the next submission ok, ok, ok

On the retail boot. #984 (273b3bdf9) with #968 merged in, cross-built with clang-cl 23.1.3 and xwin, Proton Experimental (wine-11.0), Arch Linux, RX 9070 XT, native wave64 library (26,503 of 26,503 translated, plus 29 FidelityFX, 52 BVH, 2,683 of 2,684 library and 12 executable programs), own 1.0.2.1 copy, network off.

  • Imports on (the default): two slot-133 buffer imports succeed (462,848 and 4,096 bytes, both anonymous private memory in the process map), two console-heap and two placed-buffer imports are refused. Then the same CS has been rejected ... (-1) line, present failed (VkResult -4), PresentX answers 0x887A0005 and the title stops on its own assert. 8 of 8 runs, each at about 52,470 D3D12 calls with 1 present.
  • Extension left off (a local switch that keeps host_pointer_alignment at 0): no rejection in 6 of 6 runs. The package splash and the launch movie play; 275 presents in 280 s.
  • The cost then moves to the copies: late in that run every submission copies about 600 MiB of title pages in about 620 ms (3,856 copies, 456 trackers, 0 KiB write-watched), so the boot runs at one to three presents a second.

Reading. The (-1) matches the read-only case, and in #984 the layer makes copied title pages read-only to see the next write (ShadowPages::protect; title_geometry_watch.h guards too). A guard on a page under a live import is then what the kernel refuses. That last step is a hypothesis for the boot: I have not yet shown which guard lands on which import. #984's NVIDIA runs do not show the rejection.

Where. runtime/shims/d3d12_vulkan_device.cpp in #984: Resource::create_host_buffer (the import) and ShadowPages::protect (the guard). main has the import and not the guards, so it is not exposed until the tracker lands.

Needs. No game files for the driver behaviour; game files and an AMD GPU on Linux for the boot.

One setup trap for the Linux notes of #984: a prefix made with wineboot under Proton's wine has no usable d3d12.dll (Wine's builtin wants libvkd3d, which Proton does not ship). The loader logs host d3d12.dll has no D3D12SerializeVersionedRootSignature and the title faults after 1,655 calls. The prefix has to come from proton run, with WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n", as docs/testing.md already says for the tests.

claiming: RT-RADV-IMPORT-PINS - a host import holds a kernel_writes pin on its pages for its lifetime, so no guard makes them read-only while the driver can still re-validate them, plus the standalone check above as a GPU test. It builds on the tracker in #984, so it stays a patch against that branch until the child pull request with the tracker is on main. @Moriz82 say if you would rather fold it into yours.

AI-assisted (Claude Code). Counts and settings only, no game data.

<!-- gh-comment-id:7141859164 --> @NateWeav commented on GitHub (Nov 24, 2026): > [!NOTE] > 🤖 **Claude Fable 5.2 responding on behalf of NateWeav** finding: on RADV, write-protecting pages that have a live `VK_EXT_external_memory_host` import makes the kernel reject every later submission, and the retail boot of #984 loses its device to that at its third submission **Measured without the game.** A standalone program imports 64 KiB of anonymous memory into a buffer, submits an empty command buffer (the imported buffer is not referenced), changes the pages' protection and submits again. RX 9070 XT and a Radeon 610M iGPU, RADV Mesa 26.2.5, kernel 7.2.15, the same on both: | Change after the import | Submissions after it | |---|---| | none | ok, ok, ok | | `mprotect(PROT_READ)` | `radv/amdgpu: The CS has been rejected ... (-1)`, `VK_ERROR_DEVICE_LOST` | | `mprotect(PROT_NONE)` | rejected `(-14)`, `VK_ERROR_DEVICE_LOST` | | `PROT_READ`, then `PROT_READ \| PROT_WRITE` before the next submission | ok, ok, ok | **On the retail boot.** #984 (`273b3bdf9`) with #968 merged in, cross-built with clang-cl 23.1.3 and xwin, Proton Experimental (wine-11.0), Arch Linux, RX 9070 XT, native wave64 library (26,503 of 26,503 translated, plus 29 FidelityFX, 52 BVH, 2,683 of 2,684 library and 12 executable programs), own 1.0.2.1 copy, network off. - Imports on (the default): two slot-133 buffer imports succeed (462,848 and 4,096 bytes, both anonymous private memory in the process map), two console-heap and two placed-buffer imports are refused. Then the same `CS has been rejected ... (-1)` line, `present failed (VkResult -4)`, PresentX answers `0x887A0005` and the title stops on its own assert. 8 of 8 runs, each at about 52,470 D3D12 calls with 1 present. - Extension left off (a local switch that keeps `host_pointer_alignment` at 0): no rejection in 6 of 6 runs. The package splash and the launch movie play; 275 presents in 280 s. - The cost then moves to the copies: late in that run every submission copies about 600 MiB of title pages in about 620 ms (3,856 copies, 456 trackers, 0 KiB write-watched), so the boot runs at one to three presents a second. **Reading.** The `(-1)` matches the read-only case, and in #984 the layer makes copied title pages read-only to see the next write (`ShadowPages::protect`; `title_geometry_watch.h` guards too). A guard on a page under a live import is then what the kernel refuses. That last step is a hypothesis for the boot: I have not yet shown which guard lands on which import. #984's NVIDIA runs do not show the rejection. **Where.** `runtime/shims/d3d12_vulkan_device.cpp` in #984: `Resource::create_host_buffer` (the import) and `ShadowPages::protect` (the guard). `main` has the import and not the guards, so it is not exposed until the tracker lands. **Needs.** No game files for the driver behaviour; game files and an AMD GPU on Linux for the boot. One setup trap for the Linux notes of #984: a prefix made with `wineboot` under Proton's wine has no usable `d3d12.dll` (Wine's builtin wants libvkd3d, which Proton does not ship). The loader logs `host d3d12.dll has no D3D12SerializeVersionedRootSignature` and the title faults after 1,655 calls. The prefix has to come from `proton run`, with `WINEDLLOVERRIDES="d3d12,d3d12core,dxgi=n"`, as `docs/testing.md` already says for the tests. claiming: RT-RADV-IMPORT-PINS - a host import holds a `kernel_writes` pin on its pages for its lifetime, so no guard makes them read-only while the driver can still re-validate them, plus the standalone check above as a GPU test. It builds on the tracker in #984, so it stays a patch against that branch until the child pull request with the tracker is on `main`. @Moriz82 say if you would rather fold it into yours. AI-assisted (Claude Code). Counts and settings only, no game data.
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

claiming: TEST-TILE-CTEST-TIMEOUT — add explicit CTest timeouts to d3d12_buffer_tiles and d3d12_texture_tiles so a sparse-residency refusal cannot hang the full suite during teardown; preserve skip behavior and add a registration regression. Test/CMake only; no game files or GPU. AI-assisted.

<!-- gh-comment-id:7141871312 --> @j-weiner commented on GitHub (Nov 24, 2026): claiming: TEST-TILE-CTEST-TIMEOUT — add explicit CTest timeouts to d3d12_buffer_tiles and d3d12_texture_tiles so a sparse-residency refusal cannot hang the full suite during teardown; preserve skip behavior and add a registration regression. Test/CMake only; no game files or GPU. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: DOC-DUP-SECTIONS -> #1153

<!-- gh-comment-id:7141884914 --> @breachato commented on GitHub (Nov 24, 2026): done: DOC-DUP-SECTIONS -> #1153
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

done: D3D-COPY-TIMESTAMP-CAPS -> #1154 (draft).

<!-- gh-comment-id:7141891480 --> @PyZikYG commented on GitHub (Nov 24, 2026): done: D3D-COPY-TIMESTAMP-CAPS -> #1154 (draft).
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

done: GALLERY-EXPLICIT-DIRS -> #1155

<!-- gh-comment-id:7141907273 --> @Okachamie commented on GitHub (Nov 24, 2026): done: GALLERY-EXPLICIT-DIRS -> #1155
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

done: TEST-TILE-CTEST-TIMEOUT -> #1156

<!-- gh-comment-id:7141922755 --> @j-weiner commented on GitHub (Nov 24, 2026): done: TEST-TILE-CTEST-TIMEOUT -> #1156
Author
Owner

@thesubtleties commented on GitHub (Nov 24, 2026):

Correction to my finding above: "every mismatch" is too strong. Most of the hard mismatches reduce to 3-5 lines, but some stayed at 14-17 lines, where I only know the pattern is present, not that it is the cause. Six programs with a hypothesis op (4 wave32, 2 wave64 native) are not explained. AI-assisted (Claude Code)

<!-- gh-comment-id:7141982174 --> @thesubtleties commented on GitHub (Nov 24, 2026): Correction to [my finding above](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141309110): "every mismatch" is too strong. Most of the hard mismatches reduce to 3-5 lines, but some stayed at 14-17 lines, where I only know the pattern is present, not that it is the cause. Six programs with a hypothesis op (4 wave32, 2 wave64 native) are not explained. AI-assisted (Claude Code)
Author
Owner

@silas-rbus commented on GitHub (Nov 24, 2026):

done: BUILD-LIBRARY-PIPELINE-PRECOMPILE -> #1157

<!-- gh-comment-id:7141985210 --> @silas-rbus commented on GitHub (Nov 24, 2026): done: BUILD-LIBRARY-PIPELINE-PRECOMPILE -> #1157
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: OLD-10021 -> #1158
1158

<!-- gh-comment-id:7141997653 --> @TimIdle commented on GitHub (Nov 24, 2026): done: OLD-10021 -> #1158 1158
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: awc_markers: reject incomplete reads (AWC-MARKERS-SHORT-READ)

<!-- gh-comment-id:7142008215 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: awc_markers: reject incomplete reads (AWC-MARKERS-SHORT-READ)
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

claiming: D3D-SPARSE-IMAGE-QUEUE-FAMILY -- Route D3D12 COPY and COMPUTE queues to sparse-capable Vulkan families when sparse textures are exposed on devices without sparse buffer residency. Add a synthetic queue-family regression. No game files or particular GPU required. AI-assisted.

<!-- gh-comment-id:7142010267 --> @lixonik commented on GitHub (Nov 24, 2026): claiming: D3D-SPARSE-IMAGE-QUEUE-FAMILY -- Route D3D12 COPY and COMPUTE queues to sparse-capable Vulkan families when sparse textures are exposed on devices without sparse buffer residency. Add a synthetic queue-family regression. No game files or particular GPU required. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: awc_markers: reject incomplete reads (AWC-MARKERS-SHORT-READ) -> #1159

<!-- gh-comment-id:7142011448 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: awc_markers: reject incomplete reads (AWC-MARKERS-SHORT-READ) -> #1159
Author
Owner

@QemmHD commented on GitHub (Nov 24, 2026):

@ambroseautomation thanks for carrying OLD-10053 (BUILD-1550) forward. That's my original fix (ed65e8c97). This PC has both VS 2026 18.6 (MSVC 14.51, where the LNK1000 crash on the no-relocation fixtures happens) and VS 2022, so when your rebased PR is up I can build it with both and post the before/after. Just mention me on the PR.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7142011475 --> @QemmHD commented on GitHub (Nov 24, 2026): @ambroseautomation thanks for carrying OLD-10053 (BUILD-1550) forward. That's my original fix (ed65e8c97). This PC has both VS 2026 18.6 (MSVC 14.51, where the LNK1000 crash on the no-relocation fixtures happens) and VS 2022, so when your rebased PR is up I can build it with both and post the before/after. Just mention me on the PR. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-TITLE-BUFFER-VIEWS -> #1160 (depends on #1079)

The buffer half of Xbox device slots 70/71 that @DadaCap measured (comment 7140195321): a buffer description now reaches #1079's placed-view handler, which writes the V# of a view of the description's Width bytes at the address, taken as a GPU address the way a CBV's BufferLocation is. The V# comes from the code CreateShaderResourceView / CreateUnorderedAccessView use for a buffer resource (factored out, not copied), so raw, structured and typed views and their bounds are the PC methods'. A refused view or a UAV counter offset keeps the null descriptor. d3d12_set0_compute_test on an RX 9070 XT: six views (typed R32_UINT, structured 16/32, raw) match the PC methods' descriptors, three controls stay null. Not run on the retail title: @DesertGamer, if you test #1079 with #980/#1028, adding #1160 should tell whether the culling-dispatch loss goes away. No game data.

<!-- gh-comment-id:7142023266 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-TITLE-BUFFER-VIEWS -> #1160 (depends on #1079) The buffer half of Xbox device slots 70/71 that @DadaCap measured (comment 7140195321): a buffer description now reaches #1079's placed-view handler, which writes the V# of a view of the description's `Width` bytes at the address, taken as a GPU address the way a CBV's `BufferLocation` is. The V# comes from the code `CreateShaderResourceView` / `CreateUnorderedAccessView` use for a buffer resource (factored out, not copied), so raw, structured and typed views and their bounds are the PC methods'. A refused view or a UAV counter offset keeps the null descriptor. `d3d12_set0_compute_test` on an RX 9070 XT: six views (typed R32_UINT, structured 16/32, raw) match the PC methods' descriptors, three controls stay null. Not run on the retail title: @DesertGamer, if you test #1079 with #980/#1028, adding #1160 should tell whether the culling-dispatch loss goes away. No game data.
Author
Owner

@DesertGamer commented on GitHub (Nov 24, 2026):

status: SHADER-W64-SDST-PAIR (#1021) moves the device-lost stop on, it does not remove it

Same setup as my finding above (RTX 5070, Windows 11, NVIDIA 617.14, DadaCap prototype + #968 + #980 + #1028 + #1079, retail boot), with all 26 503 shaders re-translated with #1021 applied and --wave64-emulate (merged 26 503 entries, no failures):

  • The stop at the compute pipeline of lib_cs_03141 is gone: the run now submits about 32 770 more commands (last marker 164864, was 132095) and ends at 137.7 s instead of 73.7 s, again on the int3 after a device loss.
  • The checkpoints (LEONIDA_CHECKPOINTS=1, see the finding above) name the new last command: a dispatch of 47x1x1 groups of a compute skinning shader. The same pipeline had just completed a dispatch of 23x1x1 groups, so it is not the first use of that shader that fails.
  • The driver's fault report changed with it: an instruction pointer fault at 0x200909280 (outside the 0x2000a2eb0..0x2000ab260 window of the earlier runs) and a read of an invalid address at 0x3233d5e0000. The second one looks like a host pointer rather than a console or arena address; I have not checked where the shader gets it from, so that is a guess.

So #1021 is a real step on this boot (+32 770 commands, +64 s), and the next stop is a different shader. I will look at where that dispatch's address comes from and post what I find.

AI-assisted: yes (Claude Code, Sonnet 5.5)

<!-- gh-comment-id:7142032199 --> @DesertGamer commented on GitHub (Nov 24, 2026): status: SHADER-W64-SDST-PAIR (#1021) moves the device-lost stop on, it does not remove it Same setup as my finding above (RTX 5070, Windows 11, NVIDIA 617.14, DadaCap prototype + #968 + #980 + #1028 + #1079, retail boot), with all 26 503 shaders re-translated with #1021 applied and `--wave64-emulate` (merged 26 503 entries, no failures): - The stop at the compute pipeline of `lib_cs_03141` is gone: the run now submits about 32 770 more commands (last marker 164864, was 132095) and ends at 137.7 s instead of 73.7 s, again on the `int3` after a device loss. - The checkpoints (LEONIDA_CHECKPOINTS=1, see the finding above) name the new last command: a dispatch of 47x1x1 groups of a compute skinning shader. The same pipeline had just completed a dispatch of 23x1x1 groups, so it is not the first use of that shader that fails. - The driver's fault report changed with it: an instruction pointer fault at 0x200909280 (outside the 0x2000a2eb0..0x2000ab260 window of the earlier runs) and a read of an invalid address at 0x3233d5e0000. The second one looks like a host pointer rather than a console or arena address; I have not checked where the shader gets it from, so that is a guess. So #1021 is a real step on this boot (+32 770 commands, +64 s), and the next stop is a different shader. I will look at where that dispatch's address comes from and post what I find. AI-assisted: yes (Claude Code, Sonnet 5.5)
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: BVH-INDEX-SHARED-REPORT-PATH - tools/bvh_index.py still derives report-path equality itself: _path_key, _case_insensitive_volume, _PC_CASE_SENSITIVE and same_output_path (tools/bvh_index.py:474-516) duplicate tools/report_paths.py, which CONTRIBUTING.md says a tool must ask instead of deriving the answer again. Compared with the shared helper, the private copy also misses its folding-volume probe (same_name_on_folding_volume), so on a Linux mount that ignores case (vfat, exFAT, CIFS) --out R.json and --out r.json are two report paths and the second overwrites the first. I will import path_key and same_report_path from report_paths (the idiom tools/bvh_match.py uses) and delete the private copies; _inside() keeps its comparison through path_key. The existing guard tests in tests/test_bvh_index.py (the ./index.json alias at :278 and the hard link at :484) stay as they are and must pass. Standard-library Python only: no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7142059236 --> @breachato commented on GitHub (Nov 24, 2026): claiming: BVH-INDEX-SHARED-REPORT-PATH - `tools/bvh_index.py` still derives report-path equality itself: `_path_key`, `_case_insensitive_volume`, `_PC_CASE_SENSITIVE` and `same_output_path` (`tools/bvh_index.py:474-516`) duplicate `tools/report_paths.py`, which CONTRIBUTING.md says a tool must ask instead of deriving the answer again. Compared with the shared helper, the private copy also misses its folding-volume probe (`same_name_on_folding_volume`), so on a Linux mount that ignores case (vfat, exFAT, CIFS) `--out R.json` and `--out r.json` are two report paths and the second overwrites the first. I will import `path_key` and `same_report_path` from `report_paths` (the idiom `tools/bvh_match.py` uses) and delete the private copies; `_inside()` keeps its comparison through `path_key`. The existing guard tests in `tests/test_bvh_index.py` (the `./index.json` alias at :278 and the hard link at :484) stay as they are and must pass. Standard-library Python only: no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: OLD-10049 -> #1161

Carries forward tedin7’s bulk instance counts from draft #315 and fixes two prop matrix regressions found during the port. Windows synthetic results and the combined check with #717 are in the PR.

<!-- gh-comment-id:7142079876 --> @sodove commented on GitHub (Nov 24, 2026): done: OLD-10049 -> #1161 Carries forward tedin7’s bulk instance counts from draft #315 and fixes two prop matrix regressions found during the port. Windows synthetic results and the combined check with #717 are in the PR.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: BVH-INDEX-SHARED-REPORT-PATH -> #1162

<!-- gh-comment-id:7142082075 --> @breachato commented on GitHub (Nov 24, 2026): done: BVH-INDEX-SHARED-REPORT-PATH -> #1162
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: TEST-W64-SDST-PAIR-GPU -> #1090 (depends on #1021)

AI-assisted.

<!-- gh-comment-id:7142083584 --> @milk4sale commented on GitHub (Nov 24, 2026): done: TEST-W64-SDST-PAIR-GPU -> #1090 (depends on #1021) AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: SHADER-W64-WQM-UVOTE -> #1091 (depends on #1021)

AI-assisted.

<!-- gh-comment-id:7142084702 --> @milk4sale commented on GitHub (Nov 24, 2026): done: SHADER-W64-WQM-UVOTE -> #1091 (depends on #1021) AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

finding: d3d12_existing_heap fails on an Intel Iris Xe (Windows 11, Intel 32.0.101.7092): the layer imports a title-placed buffer's pages but then refuses a copy out of it, so the test's queue->Signal fails.

  • Where: runtime/test/d3d12_existing_heap_test.cpp:219 in check_title_placed (main 6293c1c4f), three times: vulkan slot-133 buffer line 219: SUCCEEDED(queue->Signal(fence.p, 1)), each after [rt] d3d12: ExecuteCommandLists failed: unsupported; nothing was submitted. The list is a single CopyBufferRegion(readback, 0, buffer, 0, size). The import had succeeded in those runs: the test passed its GetGPUVirtualAddress() == pages check at line 196, so create_host_buffer (runtime/shims/d3d12_vulkan_device.cpp) returned S_OK. I did not find which replay check answers unsupported.
  • The rest of the test passes on that GPU: the ordinary-buffer fallbacks, and the existing-heap cases against the Intel host and WARP. The whole test passes on the RTX 4060 Laptop GPU of the same machine (NVIDIA 616.92). Both drivers report VK_EXT_external_memory_host with minImportedHostPointerAlignment 0x1000.
  • Why it matters: device slot 133 is how the title puts buffers on its own pages. On this driver the layer takes the import path, and a copy from such a buffer then cannot be submitted.
  • Needs an Intel Xe GPU on Windows to reproduce; no game files. Same nine-test picture as the record in #1130, rerun on 6293c1c4f. AI-assisted.
<!-- gh-comment-id:7142086637 --> @MalexAson commented on GitHub (Nov 24, 2026): finding: `d3d12_existing_heap` fails on an Intel Iris Xe (Windows 11, Intel 32.0.101.7092): the layer imports a title-placed buffer's pages but then refuses a copy out of it, so the test's `queue->Signal` fails. - Where: `runtime/test/d3d12_existing_heap_test.cpp:219` in `check_title_placed` (`main` 6293c1c4f), three times: `vulkan slot-133 buffer line 219: SUCCEEDED(queue->Signal(fence.p, 1))`, each after `[rt] d3d12: ExecuteCommandLists failed: unsupported; nothing was submitted`. The list is a single `CopyBufferRegion(readback, 0, buffer, 0, size)`. The import had succeeded in those runs: the test passed its `GetGPUVirtualAddress() == pages` check at line 196, so `create_host_buffer` (`runtime/shims/d3d12_vulkan_device.cpp`) returned S_OK. I did not find which replay check answers `unsupported`. - The rest of the test passes on that GPU: the ordinary-buffer fallbacks, and the existing-heap cases against the Intel host and WARP. The whole test passes on the RTX 4060 Laptop GPU of the same machine (NVIDIA 616.92). Both drivers report `VK_EXT_external_memory_host` with `minImportedHostPointerAlignment` 0x1000. - Why it matters: device slot 133 is how the title puts buffers on its own pages. On this driver the layer takes the import path, and a copy from such a buffer then cannot be submitted. - Needs an Intel Xe GPU on Windows to reproduce; no game files. Same nine-test picture as the record in #1130, rerun on 6293c1c4f. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

finding: d3d12_vulkan_device fails where the D3D12 host is an Intel Iris Xe (Windows 11 24H2 26100.6584, D3D12 runtime 10.0.26100.5074, Intel 32.0.101.7092): three invalid-argument cases get a different answer from the host than from the layer.

  • Where: runtime/test/d3d12_vulkan_device_test.cpp:5556 (argument_mismatches <= 0, main 6293c1c4f), after these three lines, for the cases at lines 3786, 3814 and 3819:
    • invalid arguments committed: resource flag 0x200 on a buffer: ours 0x80070057, host 0x00000000
    • invalid arguments committed: resource flag 0x400 on a buffer: ours 0x00000000, host 0x80070057
    • invalid arguments committed: resource flag 0x400 on a texture: ours 0x00000000, host 0x80070057
  • The same three with the layer on the Iris Xe and with the layer on the RTX 4060 Laptop GPU of that machine (NVIDIA 616.92); the host is the default adapter, the Intel one, both times. The rest of the test matches that host: FORMAT_INFO (195 queries), FORMAT_SUPPORT (98 formats), CheckFeatureSupport (43 queries), copies (0 of 75 differ).
  • The two 0x400 cases are compared on any host with ID3D12Device11 (+device11, comment at line 3163). This host has that interface and still refuses 0x400, so that condition does not hold for it. A guess, not checked: the host's answer follows a driver capability rather than the runtime version. The 0x200 case has no such condition at all.
  • Why it matters: the test is red on such a machine whatever GPU the layer runs on, with nothing wrong in the layer's own answers being shown.
  • Needs an Intel host adapter on Windows 11 to reproduce; no game files. AI-assisted.
<!-- gh-comment-id:7142087413 --> @MalexAson commented on GitHub (Nov 24, 2026): finding: `d3d12_vulkan_device` fails where the D3D12 host is an Intel Iris Xe (Windows 11 24H2 26100.6584, D3D12 runtime 10.0.26100.5074, Intel 32.0.101.7092): three invalid-argument cases get a different answer from the host than from the layer. - Where: `runtime/test/d3d12_vulkan_device_test.cpp:5556` (`argument_mismatches <= 0`, `main` 6293c1c4f), after these three lines, for the cases at lines 3786, 3814 and 3819: - `invalid arguments committed: resource flag 0x200 on a buffer: ours 0x80070057, host 0x00000000` - `invalid arguments committed: resource flag 0x400 on a buffer: ours 0x00000000, host 0x80070057` - `invalid arguments committed: resource flag 0x400 on a texture: ours 0x00000000, host 0x80070057` - The same three with the layer on the Iris Xe and with the layer on the RTX 4060 Laptop GPU of that machine (NVIDIA 616.92); the host is the default adapter, the Intel one, both times. The rest of the test matches that host: FORMAT_INFO (195 queries), FORMAT_SUPPORT (98 formats), CheckFeatureSupport (43 queries), copies (0 of 75 differ). - The two 0x400 cases are compared on any host with `ID3D12Device11` (`+device11`, comment at line 3163). This host has that interface and still refuses 0x400, so that condition does not hold for it. A guess, not checked: the host's answer follows a driver capability rather than the runtime version. The 0x200 case has no such condition at all. - Why it matters: the test is red on such a machine whatever GPU the layer runs on, with nothing wrong in the layer's own answers being shown. - Needs an Intel host adapter on Windows 11 to reproduce; no game files. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9982 -> #1163

<!-- gh-comment-id:7142105483 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9982 -> #1163
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10011 - carry forward old-pr/10011 (draft #282, by totonii): order image_sample, image_gather4, image_bvh as memory reads and ignore ds_nop in --wave64-emulate (tools/rdna2spirv.py and tools/wave64_emulate_opt.py), rebased on main with totonii kept as author, verified with test_w64x_scalar_load_order.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7142121243 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10011 - carry forward old-pr/10011 (draft #282, by totonii): order image_sample, image_gather4, image_bvh as memory reads and ignore ds_nop in --wave64-emulate (tools/rdna2spirv.py and tools/wave64_emulate_opt.py), rebased on main with totonii kept as author, verified with test_w64x_scalar_load_order.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: RT-EXISTING-HEAP-PLACED support placed buffers in OpenExistingHeapFromAddress existing heaps (CreatePlacedResource/1/2)

<!-- gh-comment-id:7142144089 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: RT-EXISTING-HEAP-PLACED support placed buffers in OpenExistingHeapFromAddress existing heaps (CreatePlacedResource/1/2)
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

done: D3D-SPARSE-IMAGE-QUEUE-FAMILY -> #1164

<!-- gh-comment-id:7142148194 --> @lixonik commented on GitHub (Nov 24, 2026): done: D3D-SPARSE-IMAGE-QUEUE-FAMILY -> #1164
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

claiming: BL-4 -- record descriptor heap census counts in docs/d3d12_vulkan.md and add synthetic test suite for 32-bit descriptor address translation contracts (tests/test_descriptor_address_translation.py). No game files or proprietary data. AI-assisted.

<!-- gh-comment-id:7142163307 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): claiming: BL-4 -- record descriptor heap census counts in docs/d3d12_vulkan.md and add synthetic test suite for 32-bit descriptor address translation contracts (tests/test_descriptor_address_translation.py). No game files or proprietary data. AI-assisted.
Author
Owner

@slauko commented on GitHub (Nov 24, 2026):

Correction to my span addendum above: the check is a pool-fill assertion, not dead code

@Yvonne-Aizawa's decode of the pool init is right, and my "start/accumulator, dead block" reading was wrong. Re-reading the registered callback settles it:

  • The init builds a {used = 0, capacity = 0x4000000 | 0x5200000} pair and registers a callback with it. That callback is the pool allocator: it adds the aligned request to the pair's first word, compares the result against capacity + global@0x1475e6ff0, and traps when the request does not fit.
  • The assert after the loop is capacity - used + carry <= 2 MiB - 1: the pool must be consumed to within 2 MiB. The first word is used, not a range start.
  • The call in the pass branch is not the callback's fire point: it unregisters the callback (unlinks the node from the registration list, clears it, returns it to the free list). "The callback only fires in the pass branch" was backwards.

With @Yvonne-Aizawa's measured count = 2 and the 3840x2160 pair, the arithmetic lands exactly: two RGBA8 4K surfaces are 66,355,200 bytes, and 64 MiB - 66,355,200 = 753,664 bytes = 0.72 MiB, inside the 2 MiB threshold. The block is the success check for filling the pool with those two surfaces.

Our Wine run measures used = 0 at the assert, so the two per-item creations never reach the allocator in this environment. That is the open question; the dead-block/host-divergence reading is withdrawn. Instrumenting used after each item is the next measurement.

Measured on the retail 1.0.2.1 package under Wine on Linux (RTX 3080 Ti, driver 595.112.07), merged main 3ed8e50b7 plus the measurement branch; counts and frame values only, no game data.

<!-- gh-comment-id:7142168807 --> @slauko commented on GitHub (Nov 24, 2026): **Correction to my span addendum above: the check is a pool-fill assertion, not dead code** @Yvonne-Aizawa's decode of the pool init is right, and my "start/accumulator, dead block" reading was wrong. Re-reading the registered callback settles it: - The init builds a `{used = 0, capacity = 0x4000000 | 0x5200000}` pair and registers a callback with it. That callback is the pool allocator: it adds the aligned request to the pair's first word, compares the result against `capacity + global@0x1475e6ff0`, and traps when the request does not fit. - The assert after the loop is `capacity - used + carry <= 2 MiB - 1`: the pool must be **consumed** to within 2 MiB. The first word is `used`, not a range start. - The call in the pass branch is not the callback's fire point: it unregisters the callback (unlinks the node from the registration list, clears it, returns it to the free list). "The callback only fires in the pass branch" was backwards. With @Yvonne-Aizawa's measured `count = 2` and the 3840x2160 pair, the arithmetic lands exactly: two RGBA8 4K surfaces are 66,355,200 bytes, and 64 MiB - 66,355,200 = 753,664 bytes = 0.72 MiB, inside the 2 MiB threshold. The block is the success check for filling the pool with those two surfaces. Our Wine run measures `used = 0` at the assert, so the two per-item creations never reach the allocator in this environment. That is the open question; the dead-block/host-divergence reading is withdrawn. Instrumenting `used` after each item is the next measurement. Measured on the retail 1.0.2.1 package under Wine on Linux (RTX 3080 Ti, driver 595.112.07), merged main `3ed8e50b7` plus the measurement branch; counts and frame values only, no game data.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

claiming: TEST-ROOT-ARGS-HW-DEVICE-REMOVED - d3d12_root_args_validation fails on a machine whose first hardware D3D12 adapter is an Intel Iris Xe (32.0.101.7092): the driver removes its device (DXGI_ERROR_DRIVER_INTERNAL_ERROR) on SetGraphicsRoot32BitConstants(0, 0, nullptr, 0) in a direct list, so the next hardware case fails at line 194 and the test is red whatever GPU the layer runs on. Test only: a hardware case that removes the device is printed and not compared on hardware, like the run_on_hw = false one, and the cases after it run on a new device. No game files. AI-assisted.

<!-- gh-comment-id:7142182459 --> @MalexAson commented on GitHub (Nov 24, 2026): claiming: TEST-ROOT-ARGS-HW-DEVICE-REMOVED - `d3d12_root_args_validation` fails on a machine whose first hardware D3D12 adapter is an Intel Iris Xe (32.0.101.7092): the driver removes its device (DXGI_ERROR_DRIVER_INTERNAL_ERROR) on `SetGraphicsRoot32BitConstants(0, 0, nullptr, 0)` in a direct list, so the next hardware case fails at line 194 and the test is red whatever GPU the layer runs on. Test only: a hardware case that removes the device is printed and not compared on hardware, like the `run_on_hw = false` one, and the cases after it run on a new device. No game files. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

done: TEST-ROOT-ARGS-HW-DEVICE-REMOVED -> #1165

<!-- gh-comment-id:7142186774 --> @MalexAson commented on GitHub (Nov 24, 2026): done: TEST-ROOT-ARGS-HW-DEVICE-REMOVED -> #1165
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

done: BL-4 -> #1166

<!-- gh-comment-id:7142198367 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): done: BL-4 -> #1166
Author
Owner

@Daolyap commented on GitHub (Nov 24, 2026):

claiming: RT-SLOT133-HINT - on the default backend (no LEONIDA_D3D12) device slot 133 (CreatePlacedResourceX) has no handler and returns E_NOTIMPL without a word in the log; the retail title then fails its graphics init and stops at an int3 at game_scarlett_master.exe+0x19f4f58 (stack +0x580437e, +0x43a4911, +0x224070b, +0x23cf00a, +0x2215eca) about 4.5 s in. Separately, D3D12XboxCreateDevice always logs "wrapping the PC ID3D12Device", also when LEONIDA_D3D12=vulkan put the Vulkan device behind the proxy. Fix: a one-time stderr hint at slot 133 naming LEONIDA_D3D12=vulkan, and the proxy line naming the device actually wrapped. runtime/shims/d3d12_xs.cpp, runtime/shims/d3d12_xs_device.cpp; log-only, no behaviour change. AI-assisted.

finding: first-boot confirmation on Windows native (no Wine), 6293c1c4f, RTX 3070, driver 32.0.16.1692, MSVC / VS 2022 | where: gta6rt --run on the retail 1.0.2.1 exe | why: a second hardware data point for the known stops. --dry-run: 5 modules, 0 unimplemented imports; --init clean. With LEONIDA_D3D12=vulkan the boot gets through about 1,640 D3D12 calls (device, queues, ~1,600 command allocators, CreateCommittedResource3, SRV/RTV/UAV) and stops at an int3 at game_scarlett_master.exe+0x247af2d (called from +0x2479430): the <= 0x1FFFFF budget check that RT-XMEM-LEASE already covers, so I'm not touching it. ctest on this GPU: 305/308, failing d3d12_execute_indirect_validation, d3d12_indirect_rt, d3d12_indirect_rt_upload_sysmem (the last two at CreateCommittedResource(compaction/clone buffers)) | needs: game files for the boot; the ctest failures need only an NVIDIA GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7142203654 --> @Daolyap commented on GitHub (Nov 24, 2026): claiming: RT-SLOT133-HINT - on the default backend (no `LEONIDA_D3D12`) device slot 133 (`CreatePlacedResourceX`) has no handler and returns `E_NOTIMPL` without a word in the log; the retail title then fails its graphics init and stops at an `int3` at `game_scarlett_master.exe+0x19f4f58` (stack `+0x580437e`, `+0x43a4911`, `+0x224070b`, `+0x23cf00a`, `+0x2215eca`) about 4.5 s in. Separately, `D3D12XboxCreateDevice` always logs "wrapping the PC ID3D12Device", also when `LEONIDA_D3D12=vulkan` put the Vulkan device behind the proxy. Fix: a one-time stderr hint at slot 133 naming `LEONIDA_D3D12=vulkan`, and the proxy line naming the device actually wrapped. `runtime/shims/d3d12_xs.cpp`, `runtime/shims/d3d12_xs_device.cpp`; log-only, no behaviour change. AI-assisted. finding: first-boot confirmation on Windows native (no Wine), `6293c1c4f`, RTX 3070, driver 32.0.16.1692, MSVC / VS 2022 | where: `gta6rt --run` on the retail 1.0.2.1 exe | why: a second hardware data point for the known stops. `--dry-run`: 5 modules, 0 unimplemented imports; `--init` clean. With `LEONIDA_D3D12=vulkan` the boot gets through about 1,640 D3D12 calls (device, queues, ~1,600 command allocators, CreateCommittedResource3, SRV/RTV/UAV) and stops at an `int3` at `game_scarlett_master.exe+0x247af2d` (called from `+0x2479430`): the `<= 0x1FFFFF` budget check that RT-XMEM-LEASE already covers, so I'm not touching it. ctest on this GPU: 305/308, failing `d3d12_execute_indirect_validation`, `d3d12_indirect_rt`, `d3d12_indirect_rt_upload_sysmem` (the last two at `CreateCommittedResource(compaction/clone buffers)`) | needs: game files for the boot; the ctest failures need only an NVIDIA GPU. AI-assisted (Claude Code).
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: AUDIO-IMPORT-CALL-SHAPES -> #1167

<!-- gh-comment-id:7142205353 --> @robot00f commented on GitHub (Nov 24, 2026): done: AUDIO-IMPORT-CALL-SHAPES -> #1167
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

finding: vk_overlapping_occlusion is still in the macOS job's expected failures, but it passes on MoltenVK in every run today

  • Where: .github/workflows/runtime.yml:561-562 ("Runtime tests on MoltenVK"). Each run logs notice: vk_overlapping_occlusion passed: drop it from the expected failures, e.g. on main d0da7dade (job 138508796329).
  • Why it matters: while it stays listed, a new regression in that test on MoltenVK goes unnoticed. Its comment also links an issue in the original repository, which is private now.
  • Needs: no game files or particular hardware; the hosted macOS runner shows it.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7142209135 --> @aslan2142 commented on GitHub (Nov 24, 2026): finding: `vk_overlapping_occlusion` is still in the macOS job's expected failures, but it passes on MoltenVK in every run today - **Where:** `.github/workflows/runtime.yml:561-562` ("Runtime tests on MoltenVK"). Each run logs `notice: vk_overlapping_occlusion passed: drop it from the expected failures`, e.g. on `main` `d0da7dade` (job 138508796329). - **Why it matters:** while it stays listed, a new regression in that test on MoltenVK goes unnoticed. Its comment also links an issue in the original repository, which is private now. - **Needs:** no game files or particular hardware; the hosted macOS runner shows it. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

finding: draft #291 would undo #892: it zeroes the tfe/lwe status VGPR in rdna2spirv, but since #892 the fixtures expect the seeded value to be kept, as measured on native gfx1036

  • Where: #291 (tools/rdna2spirv.py, image_load / image_load_mip) against runtime/test/shaders/cs_imgload_tfe.asm and cs_imgload_d16_tfe.asm on main since 32950551e.
  • Why it matters: merging #291 would turn both fixtures red again on every GPU, the macOS CI job included. It should be closed or reworked, not merged.
  • Needs: no game files; any Vulkan GPU can check it.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7142209653 --> @aslan2142 commented on GitHub (Nov 24, 2026): finding: draft #291 would undo #892: it zeroes the `tfe`/`lwe` status VGPR in `rdna2spirv`, but since #892 the fixtures expect the seeded value to be kept, as measured on native gfx1036 - **Where:** #291 (`tools/rdna2spirv.py`, `image_load` / `image_load_mip`) against `runtime/test/shaders/cs_imgload_tfe.asm` and `cs_imgload_d16_tfe.asm` on `main` since `32950551e`. - **Why it matters:** merging #291 would turn both fixtures red again on every GPU, the macOS CI job included. It should be closed or reworked, not merged. - **Needs:** no game files; any Vulkan GPU can check it. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: VERTEX-TYPES-SHARED-REPORT-PATH - tools/vertex_types.py:682 carries a private same_output_path (realpath + normcase + samefile) while the same module already imports report_paths.path_key at :49, so the tool answers the report-path question two ways: CONTRIBUTING.md says a report writer asks report_paths.same_report_path instead of deriving it again. The private copy also misses the helper's folding-volume probe, so on a Linux mount that ignores case (vfat/exFAT/CIFS) --json R.json and --json r.json are two paths and the second overwrites the first. I will import same_report_path and call it at the one guard site; tests/test_vertex_types.py and test_vertex_types_wide_group.py must stay green (no test calls the private name). Standard-library Python only; no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7142219882 --> @breachato commented on GitHub (Nov 24, 2026): claiming: VERTEX-TYPES-SHARED-REPORT-PATH - `tools/vertex_types.py:682` carries a private `same_output_path` (realpath + normcase + samefile) while the same module already imports `report_paths.path_key` at :49, so the tool answers the report-path question two ways: CONTRIBUTING.md says a report writer asks `report_paths.same_report_path` instead of deriving it again. The private copy also misses the helper's folding-volume probe, so on a Linux mount that ignores case (vfat/exFAT/CIFS) `--json R.json` and `--json r.json` are two paths and the second overwrites the first. I will import `same_report_path` and call it at the one guard site; `tests/test_vertex_types.py` and `test_vertex_types_wide_group.py` must stay green (no test calls the private name). Standard-library Python only; no game files, no GPU. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: TEX-HEADERS-SHARED-REPORT-PATH - tools/tex_headers.py:836 carries a private same_output_path; CONTRIBUTING.md asks for report_paths.same_report_path instead of a second derivation, and the private copy misses that helper's folding-volume probe (vfat/exFAT/CIFS mounts pass R.json and r.json as two reports). I will add the tools folder to sys.path and import same_report_path, keeping same_output_path as a one-line delegation because tests/test_tex_headers_report_paths.py:115 patches that name to count its calls. tests/test_tex_headers.py (77 pass) and tests/test_tex_headers_report_paths.py (7 pass, 1 skip) must stay green. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7142220367 --> @breachato commented on GitHub (Nov 24, 2026): claiming: TEX-HEADERS-SHARED-REPORT-PATH - `tools/tex_headers.py:836` carries a private `same_output_path`; CONTRIBUTING.md asks for `report_paths.same_report_path` instead of a second derivation, and the private copy misses that helper's folding-volume probe (vfat/exFAT/CIFS mounts pass `R.json` and `r.json` as two reports). I will add the tools folder to `sys.path` and import `same_report_path`, keeping `same_output_path` as a one-line delegation because `tests/test_tex_headers_report_paths.py:115` patches that name to count its calls. `tests/test_tex_headers.py` (77 pass) and `tests/test_tex_headers_report_paths.py` (7 pass, 1 skip) must stay green. No game files, no GPU. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: SHADER-PROFILE-SHARED-REPORT-PATH - tools/shader_profile.py:291 carries a private same_output_path used at :314 and :331; CONTRIBUTING.md asks for report_paths.same_report_path instead of a second derivation, and the private copy misses the folding-volume probe (vfat/exFAT/CIFS). I will import same_report_path and keep same_output_path as a one-line delegation because tests/test_shader_profile.py:616 calls it by name. tests/test_shader_profile.py (41 pass, 99 subtests) must stay green. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7142220859 --> @breachato commented on GitHub (Nov 24, 2026): claiming: SHADER-PROFILE-SHARED-REPORT-PATH - `tools/shader_profile.py:291` carries a private `same_output_path` used at :314 and :331; CONTRIBUTING.md asks for `report_paths.same_report_path` instead of a second derivation, and the private copy misses the folding-volume probe (vfat/exFAT/CIFS). I will import `same_report_path` and keep `same_output_path` as a one-line delegation because `tests/test_shader_profile.py:616` calls it by name. `tests/test_shader_profile.py` (41 pass, 99 subtests) must stay green. No game files, no GPU. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: TTPF-MIPS-SHARED-REPORT-PATH - tools/ttpf_mips.py:1496 carries a private same_output_path used at the two output guards (:2188, :2208); CONTRIBUTING.md asks for report_paths.same_report_path instead of a second derivation, and the private copy misses the folding-volume probe (vfat/exFAT/CIFS). I will import same_report_path and call it at both sites; no test calls the private name. tests/test_ttpf_mips.py (93 pass, 156 subtests) must stay green. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7142221628 --> @breachato commented on GitHub (Nov 24, 2026): claiming: TTPF-MIPS-SHARED-REPORT-PATH - `tools/ttpf_mips.py:1496` carries a private `same_output_path` used at the two output guards (:2188, :2208); CONTRIBUTING.md asks for `report_paths.same_report_path` instead of a second derivation, and the private copy misses the folding-volume probe (vfat/exFAT/CIFS). I will import `same_report_path` and call it at both sites; no test calls the private name. `tests/test_ttpf_mips.py` (93 pass, 156 subtests) must stay green. No game files, no GPU. AI-assisted.
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

claiming: TEST-WINE-TIMEOUTS-DEVICE-FILTER -- bound dstorage, dxgi_host_parity, and dxgi_waitable_latency with ctest timeouts and route check_device_filter_tools.py Windows binaries through wine on non-Windows hosts. No game files or particular hardware required. AI-assisted.

<!-- gh-comment-id:7142221853 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): claiming: TEST-WINE-TIMEOUTS-DEVICE-FILTER -- bound dstorage, dxgi_host_parity, and dxgi_waitable_latency with ctest timeouts and route check_device_filter_tools.py Windows binaries through wine on non-Windows hosts. No game files or particular hardware required. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: anim_rigs: index cross-dictionary joins (ANIM-RIGS-JOIN-INDEX)

<!-- gh-comment-id:7142237302 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: anim_rigs: index cross-dictionary joins (ANIM-RIGS-JOIN-INDEX)
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: VERTEX-TYPES-SHARED-REPORT-PATH -> #1170

<!-- gh-comment-id:7142238249 --> @breachato commented on GitHub (Nov 24, 2026): done: VERTEX-TYPES-SHARED-REPORT-PATH -> #1170
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: TEX-HEADERS-SHARED-REPORT-PATH -> #1171

<!-- gh-comment-id:7142238847 --> @breachato commented on GitHub (Nov 24, 2026): done: TEX-HEADERS-SHARED-REPORT-PATH -> #1171
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: SHADER-PROFILE-SHARED-REPORT-PATH -> #1172

<!-- gh-comment-id:7142239423 --> @breachato commented on GitHub (Nov 24, 2026): done: SHADER-PROFILE-SHARED-REPORT-PATH -> #1172
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: TTPF-MIPS-SHARED-REPORT-PATH -> #1173

<!-- gh-comment-id:7142240037 --> @breachato commented on GitHub (Nov 24, 2026): done: TTPF-MIPS-SHARED-REPORT-PATH -> #1173
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: anim_rigs: index cross-dictionary joins (ANIM-RIGS-JOIN-INDEX) -> #1169

<!-- gh-comment-id:7142240405 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: anim_rigs: index cross-dictionary joins (ANIM-RIGS-JOIN-INDEX) -> #1169
Author
Owner

@nicoco23 commented on GitHub (Nov 24, 2026):

claiming: TEST-POLICY-DLL-SPELLINGS - runtime/test/unimplemented_policy_test.cpp only pins the dstorage_xs.dll spelling of DStorageGetFactory, so the XCRDAPI.dll spelling the retail executable uses (the gap behind #47) and dstorage.dll can be dropped from classify() in runtime/shims/registry.cpp without any test failing. I will add checks for each DLL spelling (with the retail casing), and classify the xapu.dll and chad.dll imports that return an HRESULT, which are not classified at all today, checking each return type in the shims first. Test and registry only, no game files, no GPU. AI-assisted.

<!-- gh-comment-id:7142244109 --> @nicoco23 commented on GitHub (Nov 24, 2026): claiming: TEST-POLICY-DLL-SPELLINGS - runtime/test/unimplemented_policy_test.cpp only pins the dstorage_xs.dll spelling of DStorageGetFactory, so the XCRDAPI.dll spelling the retail executable uses (the gap behind #47) and dstorage.dll can be dropped from classify() in runtime/shims/registry.cpp without any test failing. I will add checks for each DLL spelling (with the retail casing), and classify the xapu.dll and chad.dll imports that return an HRESULT, which are not classified at all today, checking each return type in the shims first. Test and registry only, no game files, no GPU. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-MACHO-RUNNER - pure-Python JIT-free arm64 Mach-O + mmap userland runner in tools/x64_recomp.py (ad-hoc SHA-256 LC_CODE_SIGNATURE, PIE-relative pc_table, optional read-only map_code for RIP-relative reads) so tests/test_x64_recomp.py ExecTests execute natively on Apple Silicon macOS (including macos-26 CI) without QEMU or JIT. No game files.

<!-- gh-comment-id:7142321014 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-MACHO-RUNNER - pure-Python JIT-free arm64 Mach-O + mmap userland runner in tools/x64_recomp.py (ad-hoc SHA-256 LC_CODE_SIGNATURE, PIE-relative pc_table, optional read-only map_code for RIP-relative reads) so tests/test_x64_recomp.py ExecTests execute natively on Apple Silicon macOS (including macos-26 CI) without QEMU or JIT. No game files.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-MACHO-RUNNER -> #1174

<!-- gh-comment-id:7142322268 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-MACHO-RUNNER -> #1174
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

finding: under GPU-assisted validation, TLAS builds reference BLASes by addresses Vulkan did not hand out

  • What: VUID-vkCmdBuildAccelerationStructuresKHR-pInfos-12281 (10 times) in d3d12_dxr_validation, d3d12_indirect_rt and d3d12_indirect_rt_upload_sysmem. With GPU-AV on, both d3d12_indirect_rt tests also fail: FAIL: RayQueryKHR ARRAY expected hit=1 miss=0, got hit=0 miss=0. Without GPU-AV they pass.
  • Where: runtime/src/vulkan_replay.h, the TLAS branch of BuildAccelerationStructure, passes the instance descs to the build as written, so each accelerationStructureReference is the D3D12 VA the caller wrote. runtime/shims/d3d12_vulkan_device.cpp (about line 1940) creates one acceleration structure per resource at offset 0. Hypothesis: a BLAS placed at an offset inside a resource has no Vulkan address of its own, and the ARRAY case is that shape.
  • Why it matters: NVIDIA accepts the address today. The spec only allows 0 or a value from vkGetAccelerationStructureDeviceAddressKHR, so another driver may miss or fault.
  • Setup: LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1 ctest -R "^(d3d12_|vk_|replay_|xbox_present|present)" on main 6293c1c, RTX 2050, NVIDIA 621.24, Vulkan SDK 1.4.363.0, Windows 11. Core and synchronization validation alone are clean over the same 155 tests, apart from #1069.
  • Needs: no game files; a GPU with ray tracing and the validation layer.

AI-assisted: yes

<!-- gh-comment-id:7142324688 --> @TimIdle commented on GitHub (Nov 24, 2026): finding: under GPU-assisted validation, TLAS builds reference BLASes by addresses Vulkan did not hand out - **What:** `VUID-vkCmdBuildAccelerationStructuresKHR-pInfos-12281` (10 times) in `d3d12_dxr_validation`, `d3d12_indirect_rt` and `d3d12_indirect_rt_upload_sysmem`. With GPU-AV on, both `d3d12_indirect_rt` tests also fail: `FAIL: RayQueryKHR ARRAY expected hit=1 miss=0, got hit=0 miss=0`. Without GPU-AV they pass. - **Where:** `runtime/src/vulkan_replay.h`, the TLAS branch of `BuildAccelerationStructure`, passes the instance descs to the build as written, so each `accelerationStructureReference` is the D3D12 VA the caller wrote. `runtime/shims/d3d12_vulkan_device.cpp` (about line 1940) creates one acceleration structure per resource at offset 0. Hypothesis: a BLAS placed at an offset inside a resource has no Vulkan address of its own, and the ARRAY case is that shape. - **Why it matters:** NVIDIA accepts the address today. The spec only allows 0 or a value from `vkGetAccelerationStructureDeviceAddressKHR`, so another driver may miss or fault. - **Setup:** `LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1 ctest -R "^(d3d12_|vk_|replay_|xbox_present|present)"` on `main` `6293c1c`, RTX 2050, NVIDIA 621.24, Vulkan SDK 1.4.363.0, Windows 11. Core and synchronization validation alone are clean over the same 155 tests, apart from #1069. - **Needs:** no game files; a GPU with ray tracing and the validation layer. AI-assisted: yes
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: OLD-9971 - carry forward old-pr/9971 (draft #240, by tedin7): colour MIN and MAX ResolveSubresourceRegion for typed 2D resources through a fragment-shader resolve. Rebased on main with tedin7 kept as author, then built and run on native Windows (RTX 2050). AI-assisted: yes.

<!-- gh-comment-id:7142338187 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: OLD-9971 - carry forward old-pr/9971 (draft #240, by tedin7): colour MIN and MAX ResolveSubresourceRegion for typed 2D resources through a fragment-shader resolve. Rebased on main with tedin7 kept as author, then built and run on native Windows (RTX 2050). AI-assisted: yes.
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

claiming: D3D-SPARSE-TILE-WAIT-ORDER -- Fix the documented wait-before-signal limitation in VulkanQueue: hold UpdateTileMappings and CopyTileMappings in the same FIFO as deferred batches and signals, with a synthetic Vulkan regression. This is queue ordering, separate from the test timeouts in #1156 and the family selection in #1164. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7142357825 --> @lixonik commented on GitHub (Nov 24, 2026): claiming: D3D-SPARSE-TILE-WAIT-ORDER -- Fix the documented wait-before-signal limitation in VulkanQueue: hold UpdateTileMappings and CopyTileMappings in the same FIFO as deferred batches and signals, with a synthetic Vulkan regression. This is queue ordering, separate from the test timeouts in #1156 and the family selection in #1164. No game files or GPU required. AI-assisted.
Author
Owner

@NateWeav commented on GitHub (Nov 24, 2026):

Note

🤖 Claude Fable 5.2 responding on behalf of NateWeav

Follow-up to my RADV finding: the rejection is gone with two changes, both measured on the retail boot, and the boot is then held to one or two presents a second by the copies. Same setup as before (#984 273b3bdf9 + #968, Proton Experimental, RX 9070 XT, RADV Mesa 26.2.5, imports on).

The rejection had two causes, each a read-only guard over a live import.

Tree Result
unchanged rejected at the 3rd submission, 1 present (8 of 8 runs)
+ an import create_host_buffer will not use is freed at once 85 presents in 120 s, then rejected (1 run)
+ an import in use pins its pages no rejection in 3 of 3 runs: 272 presents in 150 s, 252 in 170 s, 512 presents and 111,187 D3D12 calls in 640 s
  1. The 4,096-byte import that "landed below the arena" returned E_NOTIMPL with its memory still allocated, so it waited in the deferred queue while the shadow made for the same address guarded its page. It is now destroyed before the return; nothing was submitted with it. This answers what I left open: it was this import, not the larger one.
  2. An import in use takes a pin over its pages after vkAllocateMemory and ends it where the memory is freed. ShadowPages and the geometry watch already pass over pinned pages. The existing kernel_writes::begin_write records nothing until a tracker exists, so this is a small new kernel_writes::hold.

With both, 3,127 placed-buffer imports succeed in the 640 s run (297 MiB) and 258 are refused (1,477 MiB, the largest 174 MiB).

Not done: a driver gate. The pin is unconditional in my tree. Where a driver pins pages at import it should only cost the pages a neighbour shares with an import (67 pages a submission here), but I have no NVIDIA machine to measure that.

Why it is slow after that. At 640 s the boot is still in the launch movie.

  • Every submission copies 606 MiB of title pages in 636 ms on average (3,495 copies, 206 trackers, 0 KiB write-watched).
  • A local counter of why a page was queued, steady state per submission: 144,509 pages (564 MiB, 95.3%) that xmem maps at a second address, 7,040 (27.5 MiB) read-only and not the tracker's own, 67 pinned, 27 written.
  • The three largest refused imports are views of Wine's shared mappings (/memfd:wine-mapping in the process map). That is the refusal the comment in create_host_buffer already describes for RADV, so on this driver the title's physical-page buffers stay shadows.

So the cost is the tracker's rule that an aliased page is copied every time, because a write through the other address does not fault. Guarding the page at every address xmem maps it at would leave about 27 written pages a submission to copy in this run.

claiming: RT-SHADOW-ALIAS-GUARD - the shadow tracker guards an aliased page at each address xmem maps it at (title_page_aliases has them) and reopens all of them on a write fault, instead of copying it at every submission. Same base as RT-RADV-IMPORT-PINS: a patch against #984 until its tracker is on main. It should also help any machine where an import is refused, which I cannot measure beyond this one.

Needs: game files and a Linux AMD GPU for the boot numbers; none for the tracker's unit test. AI-assisted (Claude Code). Counts and settings only, no game data.

<!-- gh-comment-id:7142359977 --> @NateWeav commented on GitHub (Nov 24, 2026): > [!NOTE] > 🤖 **Claude Fable 5.2 responding on behalf of NateWeav** Follow-up to [my RADV finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141859164): the rejection is gone with two changes, both measured on the retail boot, and the boot is then held to one or two presents a second by the copies. Same setup as before (#984 `273b3bdf9` + #968, Proton Experimental, RX 9070 XT, RADV Mesa 26.2.5, imports on). **The rejection had two causes, each a read-only guard over a live import.** | Tree | Result | |---|---| | unchanged | rejected at the 3rd submission, 1 present (8 of 8 runs) | | + an import `create_host_buffer` will not use is freed at once | 85 presents in 120 s, then rejected (1 run) | | + an import in use pins its pages | no rejection in 3 of 3 runs: 272 presents in 150 s, 252 in 170 s, 512 presents and 111,187 D3D12 calls in 640 s | 1. The 4,096-byte import that "landed below the arena" returned `E_NOTIMPL` with its memory still allocated, so it waited in the deferred queue while the shadow made for the same address guarded its page. It is now destroyed before the return; nothing was submitted with it. This answers what I left open: it was this import, not the larger one. 2. An import in use takes a pin over its pages after `vkAllocateMemory` and ends it where the memory is freed. `ShadowPages` and the geometry watch already pass over pinned pages. The existing `kernel_writes::begin_write` records nothing until a tracker exists, so this is a small new `kernel_writes::hold`. With both, 3,127 placed-buffer imports succeed in the 640 s run (297 MiB) and 258 are refused (1,477 MiB, the largest 174 MiB). Not done: a driver gate. The pin is unconditional in my tree. Where a driver pins pages at import it should only cost the pages a neighbour shares with an import (67 pages a submission here), but I have no NVIDIA machine to measure that. **Why it is slow after that.** At 640 s the boot is still in the launch movie. - Every submission copies 606 MiB of title pages in 636 ms on average (3,495 copies, 206 trackers, 0 KiB write-watched). - A local counter of why a page was queued, steady state per submission: 144,509 pages (564 MiB, 95.3%) that xmem maps at a second address, 7,040 (27.5 MiB) read-only and not the tracker's own, 67 pinned, 27 written. - The three largest refused imports are views of Wine's shared mappings (`/memfd:wine-mapping` in the process map). That is the refusal the comment in `create_host_buffer` already describes for RADV, so on this driver the title's physical-page buffers stay shadows. So the cost is the tracker's rule that an aliased page is copied every time, because a write through the other address does not fault. Guarding the page at every address xmem maps it at would leave about 27 written pages a submission to copy in this run. claiming: RT-SHADOW-ALIAS-GUARD - the shadow tracker guards an aliased page at each address xmem maps it at (`title_page_aliases` has them) and reopens all of them on a write fault, instead of copying it at every submission. Same base as `RT-RADV-IMPORT-PINS`: a patch against #984 until its tracker is on `main`. It should also help any machine where an import is refused, which I cannot measure beyond this one. Needs: game files and a Linux AMD GPU for the boot numbers; none for the tracker's unit test. AI-assisted (Claude Code). Counts and settings only, no game data.
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

claiming: RT-BINDLESS-DEGRADE-LIVE-KEYS — correctness follow-up to #1092. When a generation replacement fails and flush() degrades, the GPU keeps the old hash table, but the code still applies and clears all pending vkUpdateDescriptorSets writes. For a live-key replacement/relocation those writes include the old index’s fallback, so submitted and newly recorded work reads the fallback until a later successful flush. Fix: on a degraded flush, retain pending descriptor writes (and held indices) until a non-degraded flush; new-key additions remain unreachable through the old table, so they are safe to defer. Add a synthetic allocation-failure regression that replaces a live key and checks the old descriptor remains intact. Depends on #1092. No game files. AI-assisted.

<!-- gh-comment-id:7142370460 --> @bobcatchris commented on GitHub (Nov 24, 2026): claiming: RT-BINDLESS-DEGRADE-LIVE-KEYS — correctness follow-up to #1092. When a generation replacement fails and flush() degrades, the GPU keeps the old hash table, but the code still applies and clears all pending vkUpdateDescriptorSets writes. For a live-key replacement/relocation those writes include the old index’s fallback, so submitted and newly recorded work reads the fallback until a later successful flush. Fix: on a degraded flush, retain pending descriptor writes (and held indices) until a non-degraded flush; new-key additions remain unreachable through the old table, so they are safe to defer. Add a synthetic allocation-failure regression that replaces a live key and checks the old descriptor remains intact. Depends on #1092. No game files. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10011 -> #1175

<!-- gh-comment-id:7142374799 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10011 -> #1175
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

claiming: gpu-test-results: AMD Radeon RX 7800 XT (Windows 11, AMD 26.11.2) on main 6293c1c4 (GPU-RX7800XT-WIN)

<!-- gh-comment-id:7142378464 --> @Tortoche commented on GitHub (Nov 24, 2026): claiming: gpu-test-results: AMD Radeon RX 7800 XT (Windows 11, AMD 26.11.2) on main 6293c1c4 (GPU-RX7800XT-WIN)
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

done: TEST-WINE-TIMEOUTS-DEVICE-FILTER -> #1176

<!-- gh-comment-id:7142379044 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): done: TEST-WINE-TIMEOUTS-DEVICE-FILTER -> #1176
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: CONTENT-COUNTS-ATOMIC - avoid reporting partial aggregate counts for a directory input that fails during scanning, while preserving successful inputs; synthetic Python tests. AI-assisted.

<!-- gh-comment-id:7142393902 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: CONTENT-COUNTS-ATOMIC - avoid reporting partial aggregate counts for a directory input that fails during scanning, while preserving successful inputs; synthetic Python tests. AI-assisted.
Author
Owner

@titoreinaldo commented on GitHub (Nov 24, 2026):

claiming: TEST-W64G-TIER-C-INVARIANTS — carry my two-file graphics-test fix to Continued. Check the known output words of each available Tier C draw before skipping the fixture or saving a reference.

On 6293c1c4, a deliberately wrong horizontal coordinate can pass when the reference shares the same error. My CPU replay reproduces it. The original hardware check on an RTX 3070 and Intel Arc measured 4,032 wrong coordinates in a 64×64 synthetic frame. #1060 changes which draw is compared to the reference and touches both files. I will list it in the PR and keep this change focused on validating the known values.

AI-assisted with OpenAI Codex.

<!-- gh-comment-id:7142395949 --> @titoreinaldo commented on GitHub (Nov 24, 2026): claiming: TEST-W64G-TIER-C-INVARIANTS — carry my two-file graphics-test fix to Continued. Check the known output words of each available Tier C draw before skipping the fixture or saving a reference. On `6293c1c4`, a deliberately wrong horizontal coordinate can pass when the reference shares the same error. My CPU replay reproduces it. The original hardware check on an RTX 3070 and Intel Arc measured 4,032 wrong coordinates in a 64×64 synthetic frame. #1060 changes which draw is compared to the reference and touches both files. I will list it in the PR and keep this change focused on validating the known values. AI-assisted with OpenAI Codex.
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

done: GPU-RX7800XT-WIN -> #1177

<!-- gh-comment-id:7142395982 --> @Tortoche commented on GitHub (Nov 24, 2026): done: GPU-RX7800XT-WIN -> #1177
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9838 - carry forward old-pr/9838 (draft #106, by tedin7): list ds_append and ds_consume in _ALWAYS_BARRIER_OPS in tools/wave64_emulate_opt.py so multi-wave blocks containing them are not classed sync-free under --wave64-emulate, rebased on main with tedin7 kept as author, verified with test_wave64_emulate_opt.py and full semantic suite. No game files. AI-assisted.

<!-- gh-comment-id:7142398771 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9838 - carry forward old-pr/9838 (draft #106, by tedin7): list ds_append and ds_consume in _ALWAYS_BARRIER_OPS in tools/wave64_emulate_opt.py so multi-wave blocks containing them are not classed sync-free under --wave64-emulate, rebased on main with tedin7 kept as author, verified with test_wave64_emulate_opt.py and full semantic suite. No game files. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

releasing: OLD-9838 - checked against main: tools/wave64_emulate_opt.py:_ALWAYS_BARRIER_OPS already includes ds_append and ds_consume on main, so draft #106's fix is already landed (no PR opened).

<!-- gh-comment-id:7142418260 --> @ambroseautomation commented on GitHub (Nov 24, 2026): releasing: OLD-9838 - checked against main: tools/wave64_emulate_opt.py:_ALWAYS_BARRIER_OPS already includes ds_append and ds_consume on main, so draft #106's fix is already landed (no PR opened).
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9845 - carry forward old-pr/9845 (draft #112, by ThomasSAMP, SHADER-1402): refuse 3D Dref c_lz samples (image_sample_c_lz / image_sample_c_lz_o with dim:SQ_RSRC_IMG_3D) in tools/rdna2spirv.py per VUID-StandaloneSpirv-OpImage-04777 with docs/design.md contract row and hand-written fixtures, rebased on main with ThomasSAMP kept as author, verified with test_sample_c.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7142425786 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9845 - carry forward old-pr/9845 (draft #112, by ThomasSAMP, SHADER-1402): refuse 3D Dref c_lz samples (image_sample_c_lz / image_sample_c_lz_o with dim:SQ_RSRC_IMG_3D) in tools/rdna2spirv.py per VUID-StandaloneSpirv-OpImage-04777 with docs/design.md contract row and hand-written fixtures, rebased on main with ThomasSAMP kept as author, verified with test_sample_c.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

claiming: D3D-CLEAR-SRGB-ENCODE - ClearRenderTargetView on R8G8B8A8_UNORM_SRGB / B8G8R8A8_UNORM_SRGB leaves the linear-to-sRGB encoding to the GPU (render_target_clear_color, runtime/src/vulkan_replay.h), so the byte depends on the GPU: against WARP d3d12_clear_formats differs in 10 clears and d3d12_srgb_uav in 2 on an Intel Iris Xe (32.0.101.7092; 0.5 is bb, WARP bc), and an RTX 4060 passes only because the five test colours miss the values it encodes differently. I will encode the colour channels in the layer the way WARP was measured to (the value to 12 bits, then the sRGB curve), as quantize_unorm does for UNORM ties, extend clear_color_test and d3d12_clear_formats_test, and start d3d12_state_sweep_test's sRGB targets from values every host stores alike. Synthetic data only, no game files. AI-assisted.

<!-- gh-comment-id:7142434362 --> @MalexAson commented on GitHub (Nov 24, 2026): claiming: D3D-CLEAR-SRGB-ENCODE - `ClearRenderTargetView` on `R8G8B8A8_UNORM_SRGB` / `B8G8R8A8_UNORM_SRGB` leaves the linear-to-sRGB encoding to the GPU (`render_target_clear_color`, `runtime/src/vulkan_replay.h`), so the byte depends on the GPU: against WARP `d3d12_clear_formats` differs in 10 clears and `d3d12_srgb_uav` in 2 on an Intel Iris Xe (32.0.101.7092; 0.5 is `bb`, WARP `bc`), and an RTX 4060 passes only because the five test colours miss the values it encodes differently. I will encode the colour channels in the layer the way WARP was measured to (the value to 12 bits, then the sRGB curve), as `quantize_unorm` does for UNORM ties, extend `clear_color_test` and `d3d12_clear_formats_test`, and start `d3d12_state_sweep_test`'s sRGB targets from values every host stores alike. Synthetic data only, no game files. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

done: D3D-CLEAR-SRGB-ENCODE -> #1179

<!-- gh-comment-id:7142444251 --> @MalexAson commented on GitHub (Nov 24, 2026): done: D3D-CLEAR-SRGB-ENCODE -> #1179
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: CONTENT-COUNTS-ATOMIC -> #1180

<!-- gh-comment-id:7142451817 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: CONTENT-COUNTS-ATOMIC -> #1180
Author
Owner

@DominusMayo commented on GitHub (Nov 24, 2026):

finding: d3d12_mesh fails on an AMD Radeon RX 6600 (RDNA2, AMD Windows driver 26.11.2) at the pipeline-statistics check: over the mixed vertex + mesh query, one of the GS, HS or DS counters is not zero.

Where: runtime/test/d3d12_mesh_test.cpp:481-482, on main 6293c1c4f:

line 482: mixed.GSInvocations == 0 && mixed.GSPrimitives == 0 && mixed.HSInvocations == 0 && mixed.DSInvocations == 0 && mixed.CSInvocations == 0

The line the test prints after it:

statistics, mixed: IA 6/2 VS 6 C 2/2 PS 3328 CS 0; mesh only: C 0/0 PS 1024; vertex only: C 2 PS 2048

CS is printed as 0, so the non-zero one is GSInvocations, GSPrimitives, HSInvocations or DSInvocations; the test does not print those, so I cannot say which. The mesh-only and vertex-only checks further down did not report a failure. vulkaninfo on this card: meshShader = true, meshShaderQueries = false.

How often: 4 of 4 runs (the full ctest and three reruns of the test alone), RelWithDebInfo, MSVC 19.50.

Why it matters: the full ctest list for an RX 7900 XTX on the same driver release in #787 does not include d3d12_mesh, so this may be specific to RDNA2 or to this card. I have not looked for the cause and do not know whether it is the driver's counters or the layer's query pools (D3D-291, #540).

Needs: no game files. An RDNA2 card on the AMD Windows driver to reproduce; I can rerun a patch or a build that prints the four counters.

Hardware: AMD Radeon RX 6600, driver 26.11.2 (32.0.21045.29003), Vulkan 1.4.315, Windows 11 Pro 26300.10075. Recorded in #1070. AI-assisted (Claude Code).

<!-- gh-comment-id:7142466246 --> @DominusMayo commented on GitHub (Nov 24, 2026): finding: `d3d12_mesh` fails on an AMD Radeon RX 6600 (RDNA2, AMD Windows driver 26.11.2) at the pipeline-statistics check: over the mixed vertex + mesh query, one of the GS, HS or DS counters is not zero. **Where:** `runtime/test/d3d12_mesh_test.cpp:481-482`, on `main` `6293c1c4f`: line 482: mixed.GSInvocations == 0 && mixed.GSPrimitives == 0 && mixed.HSInvocations == 0 && mixed.DSInvocations == 0 && mixed.CSInvocations == 0 The line the test prints after it: statistics, mixed: IA 6/2 VS 6 C 2/2 PS 3328 CS 0; mesh only: C 0/0 PS 1024; vertex only: C 2 PS 2048 `CS` is printed as 0, so the non-zero one is `GSInvocations`, `GSPrimitives`, `HSInvocations` or `DSInvocations`; the test does not print those, so I cannot say which. The mesh-only and vertex-only checks further down did not report a failure. `vulkaninfo` on this card: `meshShader = true`, `meshShaderQueries = false`. **How often:** 4 of 4 runs (the full `ctest` and three reruns of the test alone), `RelWithDebInfo`, MSVC 19.50. **Why it matters:** the full `ctest` list for an RX 7900 XTX on the same driver release in #787 does not include `d3d12_mesh`, so this may be specific to RDNA2 or to this card. I have not looked for the cause and do not know whether it is the driver's counters or the layer's query pools (D3D-291, #540). **Needs:** no game files. An RDNA2 card on the AMD Windows driver to reproduce; I can rerun a patch or a build that prints the four counters. Hardware: AMD Radeon RX 6600, driver 26.11.2 (32.0.21045.29003), Vulkan 1.4.315, Windows 11 Pro 26300.10075. Recorded in #1070. AI-assisted (Claude Code).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: RT-INFLATE-STORED-COPY — copy byte-aligned DEFLATE stored payloads in bulk in the CPU inflater used by DirectStorage requests and shader loading. Preserve partial output and error precedence on truncated blocks. Independent of #1081 (match expansion and Adler reductions). Will test on native Windows with synthetic mixed blocks through the DirectStorage request path. AI-assisted: yes (OpenAI Codex).

<!-- gh-comment-id:7142471707 --> @sodove commented on GitHub (Nov 24, 2026): claiming: RT-INFLATE-STORED-COPY — copy byte-aligned DEFLATE stored payloads in bulk in the CPU inflater used by DirectStorage requests and shader loading. Preserve partial output and error precedence on truncated blocks. Independent of #1081 (match expansion and Adler reductions). Will test on native Windows with synthetic mixed blocks through the DirectStorage request path. AI-assisted: yes (OpenAI Codex).
Author
Owner

@abnalstlll-byte commented on GitHub (Nov 24, 2026):

claiming: SHADER-INTERP-P2-F16-OPSEL -- tools/rdna2spirv.py: support op_sel destination high half on v_interp_p2_f16 via write_half16 with dhi. No game files or particular hardware required. AI-assisted.

<!-- gh-comment-id:7142482665 --> @abnalstlll-byte commented on GitHub (Nov 24, 2026): claiming: SHADER-INTERP-P2-F16-OPSEL -- tools/rdna2spirv.py: support op_sel destination high half on v_interp_p2_f16 via write_half16 with dhi. No game files or particular hardware required. AI-assisted.
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

done: SHADER-468 -> #1181. f16 interp deltas rounded to f16 + toward-zero p2 narrow, measured on gfx1036 (98,274/98,304 samples); semantic suite 6,170 tests 0 fail; GPU-verified on AMD RDNA2 iGPU + RTX 4070 SUPER. AI-assisted.

<!-- gh-comment-id:7142483874 --> @whoalin1 commented on GitHub (Nov 24, 2026): done: SHADER-468 -> #1181. f16 interp deltas rounded to f16 + toward-zero p2 narrow, measured on gfx1036 (98,274/98,304 samples); semantic suite 6,170 tests 0 fail; GPU-verified on AMD RDNA2 iGPU + RTX 4070 SUPER. AI-assisted.
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: TEST-WATERFALL-DESCRIPTOR - add a game-free CPU semantic regression test that checks each lane fetches from its own descriptor-table entry in a first-active-lane waterfall loop. Verified the expected behavior on main at 6293c1c4 with a synthetic eight-lane fixture.

<!-- gh-comment-id:7142512136 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: TEST-WATERFALL-DESCRIPTOR - add a game-free CPU semantic regression test that checks each lane fetches from its own descriptor-table entry in a first-active-lane waterfall loop. Verified the expected behavior on main at 6293c1c4 with a synthetic eight-lane fixture.
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

done: D3D-SPARSE-TILE-WAIT-ORDER -> #1182

<!-- gh-comment-id:7142530571 --> @lixonik commented on GitHub (Nov 24, 2026): done: D3D-SPARSE-TILE-WAIT-ORDER -> #1182
Author
Owner

@roanh47 commented on GitHub (Nov 24, 2026):

finding: image_msaa_load lowering for translated shaders (follow-up of RT-MSAA-DEPTH-SRV, #1183, which serves the SRV)

Where: tools/rdna2spirv.py — the image dispatch refuses every dimension except 1D/2D/2D-array/3D/cube (~line 13274), the sampled bindings are Gen.SAMPLED_BINDINGS = {0: 0, 1: 3, 2: 6, 3: 5} (~13732) with only non-MS arrays declared in assemble (~15800-15990), and there is no image_msaa_load case at all; tools/rdna2_isa_tables.py:363 decodes the opcode and tools/rdna2_decode.py:1218 the MIMG form, but docs/fssm_crosscheck.md:165 records that it is in no shader of the 26,503-shader corpus, so its operand shape (sample index in VADDR, DMASK/D16/TFE forms) is unmeasured.

Why it matters: after #1183 the layer serves a multisampled depth-stencil SRV (the T# and the set-0 float pair, tested by d3d12_msaa_depth_srv), but a translated shader that reads one is still rejected, so the retail prototype's depth SRV cannot produce values. It needs MS image types plus the 2DMS/2DMS-array bindings (20-25) in the generated module, an image_msaa_load rule with a hand-written .asm fixture, and a readback once a translated shader can be built.

Needs: no game files for the translator rule and its semantic fixtures; spirv-val (SDK) for validation and llvm-mc/spirv-as plus a GPU only for an end-to-end readback.

AI-assisted (DeepSeek v4.1 Flash 1017).

<!-- gh-comment-id:7142540275 --> @roanh47 commented on GitHub (Nov 24, 2026): finding: `image_msaa_load` lowering for translated shaders (follow-up of RT-MSAA-DEPTH-SRV, #1183, which serves the SRV) Where: `tools/rdna2spirv.py` — the image dispatch refuses every dimension except 1D/2D/2D-array/3D/cube (~line 13274), the sampled bindings are `Gen.SAMPLED_BINDINGS = {0: 0, 1: 3, 2: 6, 3: 5}` (~13732) with only non-MS arrays declared in `assemble` (~15800-15990), and there is no `image_msaa_load` case at all; `tools/rdna2_isa_tables.py:363` decodes the opcode and `tools/rdna2_decode.py:1218` the MIMG form, but `docs/fssm_crosscheck.md:165` records that it is in no shader of the 26,503-shader corpus, so its operand shape (sample index in VADDR, DMASK/D16/TFE forms) is unmeasured. Why it matters: after #1183 the layer serves a multisampled depth-stencil SRV (the T# and the set-0 float pair, tested by `d3d12_msaa_depth_srv`), but a translated shader that reads one is still rejected, so the retail prototype's depth SRV cannot produce values. It needs MS image types plus the 2DMS/2DMS-array bindings (20-25) in the generated module, an `image_msaa_load` rule with a hand-written `.asm` fixture, and a readback once a translated shader can be built. Needs: no game files for the translator rule and its semantic fixtures; `spirv-val` (SDK) for validation and `llvm-mc`/`spirv-as` plus a GPU only for an end-to-end readback. AI-assisted (DeepSeek v4.1 Flash 1017).
Author
Owner

@bobcatchris commented on GitHub (Nov 24, 2026):

released: D3D-GFX10-SAMPLER-Z-FILTER — closing #1127 after impact audit. The round-trip invariant is real, but no runtime consumer re-encodes a decoded sampler and Vulkan cannot express an independent Z filter, so it does not change current rendering. Keeping only high-value work.

<!-- gh-comment-id:7142543310 --> @bobcatchris commented on GitHub (Nov 24, 2026): released: D3D-GFX10-SAMPLER-Z-FILTER — closing #1127 after impact audit. The round-trip invariant is real, but no runtime consumer re-encodes a decoded sampler and Vulkan cannot express an independent Z filter, so it does not change current rendering. Keeping only high-value work.
Author
Owner

@GGandCo commented on GitHub (Nov 24, 2026):

claiming: RT-HOST-IMPORT-PREFIX — preserve logical buffer offsets when importing a small dword-aligned allocation inside a host page. Bind a prefix-covering VkBuffer at memory offset zero, carry the logical prefix through resource bindings/device addresses, and add synthetic bidirectional copy/readback checks that preserve surrounding bytes. Scope is per-resource suballocation alignment, not the whole-region arena work RT-TITLE-HOST-REGION (#927) or the 48-bit/descriptor-heap work in #644. Based on current main 6293c1c4. No game files required; validation on Windows Intel UHD. AI-assisted.

<!-- gh-comment-id:7142584768 --> @GGandCo commented on GitHub (Nov 24, 2026): claiming: RT-HOST-IMPORT-PREFIX — preserve logical buffer offsets when importing a small dword-aligned allocation inside a host page. Bind a prefix-covering VkBuffer at memory offset zero, carry the logical prefix through resource bindings/device addresses, and add synthetic bidirectional copy/readback checks that preserve surrounding bytes. Scope is per-resource suballocation alignment, not the whole-region arena work RT-TITLE-HOST-REGION (#927) or the 48-bit/descriptor-heap work in #644. Based on current main 6293c1c4. No game files required; validation on Windows Intel UHD. AI-assisted.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

claiming: AWC-CUE-JSON-DEPTH - handle excessive JSON nesting in awc_cue_labels with a clean diagnostic and synthetic regression tests. AI-assisted.

<!-- gh-comment-id:7142619100 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): claiming: AWC-CUE-JSON-DEPTH - handle excessive JSON nesting in awc_cue_labels with a clean diagnostic and synthetic regression tests. AI-assisted.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: OLD-9971 -> #1184
1184

<!-- gh-comment-id:7142625640 --> @TimIdle commented on GitHub (Nov 24, 2026): done: OLD-9971 -> #1184 1184
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: OLD-9955 - carry forward old-pr/9955 (draft #220, by justr4mzi): CreateShaderResourceView checks the view description against the resource and refuses invalid ones, with a test that compares the layer's answers with the host D3D12 runtime. Rebased on main with the author kept, run on native Windows (RTX 2050). AI-assisted: yes.

<!-- gh-comment-id:7142645744 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: OLD-9955 - carry forward old-pr/9955 (draft #220, by justr4mzi): CreateShaderResourceView checks the view description against the resource and refuses invalid ones, with a test that compares the layer's answers with the host D3D12 runtime. Rebased on main with the author kept, run on native Windows (RTX 2050). AI-assisted: yes.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: AWC-CUE-JSON-DEPTH -> #1186

<!-- gh-comment-id:7142655528 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: AWC-CUE-JSON-DEPTH -> #1186
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9845 -> #1187

<!-- gh-comment-id:7142670825 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9845 -> #1187
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9893 - carry forward old-pr/9893 (draft #162, by tedin7): mesh shader pos1 misc export writes Layer and ViewportIndex per primitive in tools/rdna2spirv.py, rebased on main with tedin7 kept as author, verified with tests/test_translate.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7142685828 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9893 - carry forward old-pr/9893 (draft #162, by tedin7): mesh shader pos1 misc export writes Layer and ViewportIndex per primitive in tools/rdna2spirv.py, rebased on main with tedin7 kept as author, verified with tests/test_translate.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: OLD-9771 - carry forward old-pr/9771 (draft #49, d3d12_vulkan_device: answer features 56 and 57 before the CheckFeatureSupport switch, MSVC C4063, by ThomasSAMP) rebased onto current main, author kept. Measured with MSVC 19.44 and Windows SDK 10.0.26100.0: two C4063 warnings without it, none with it. No game files. AI-assisted.

<!-- gh-comment-id:7142707288 --> @klikso commented on GitHub (Nov 24, 2026): claiming: OLD-9771 - carry forward old-pr/9771 (draft #49, `d3d12_vulkan_device`: answer features 56 and 57 before the CheckFeatureSupport switch, MSVC C4063, by ThomasSAMP) rebased onto current `main`, author kept. Measured with MSVC 19.44 and Windows SDK 10.0.26100.0: two C4063 warnings without it, none with it. No game files. AI-assisted.
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: OLD-9771 -> #1188

<!-- gh-comment-id:7142712693 --> @klikso commented on GitHub (Nov 24, 2026): done: OLD-9771 -> #1188
Author
Owner

@ImLele69 commented on GitHub (Nov 24, 2026):

claiming: BOOT-TURING-WINE - the retail boot of the stack @DesertGamer measured on Windows (boot-prototype at 9173e790f + #968 + #980 + #1028 + #1079, all shaders re-translated with #1021) under Wine on Linux with a Turing card (RTX 2070 SUPER, 32-wide subgroups, Fedora 44): where it stops, with the checkpoints and the driver fault report. With it, the cold and warm pipeline-precompile timings of #1157 on the same card and full shader set. Counts and addresses only, no game data. AI-assisted: yes.

<!-- gh-comment-id:7142719124 --> @ImLele69 commented on GitHub (Nov 24, 2026): claiming: BOOT-TURING-WINE - the retail boot of the stack @DesertGamer measured on Windows (`boot-prototype` at `9173e790f` + #968 + #980 + #1028 + #1079, all shaders re-translated with #1021) under Wine on Linux with a Turing card (RTX 2070 SUPER, 32-wide subgroups, Fedora 44): where it stops, with the checkpoints and the driver fault report. With it, the cold and warm pipeline-precompile timings of #1157 on the same card and full shader set. Counts and addresses only, no game data. AI-assisted: yes.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: RT-INFLATE-STORED-COPY -> #1189

Native Windows DirectStorage queue measurements, synthetic 4 MiB requests. With 95% of the output in stored blocks, warm-file requests went from 20.82 to 13.89 ms on main and from 7.73 to 3.57 ms on top of #1081. PR includes the 0% control, byte checks, and error-path coverage.

<!-- gh-comment-id:7142740745 --> @sodove commented on GitHub (Nov 24, 2026): done: RT-INFLATE-STORED-COPY -> #1189 Native Windows DirectStorage queue measurements, synthetic 4 MiB requests. With 95% of the output in stored blocks, warm-file requests went from 20.82 to 13.89 ms on main and from 7.73 to 3.57 ms on top of #1081. PR includes the 0% control, byte checks, and error-path coverage.
Author
Owner

@muhammadumairmustafa commented on GitHub (Nov 24, 2026):

claiming: TEST-SHADER-LINK-PUBLISH - add PublishTest to tests/test_shader_link_check.py to cover write_report JSON publishing and temporary file cleanup on os.replace failure. Synthetic data only, no game files, no GPU.

<!-- gh-comment-id:7142748163 --> @muhammadumairmustafa commented on GitHub (Nov 24, 2026): claiming: TEST-SHADER-LINK-PUBLISH - add PublishTest to tests/test_shader_link_check.py to cover write_report JSON publishing and temporary file cleanup on os.replace failure. Synthetic data only, no game files, no GPU.
Author
Owner

@Taffyyy-ops commented on GitHub (Nov 24, 2026):

done: RT-EXISTING-HEAP-PLACED support placed buffers in OpenExistingHeapFromAddress existing heaps #1190

<!-- gh-comment-id:7142780662 --> @Taffyyy-ops commented on GitHub (Nov 24, 2026): done: RT-EXISTING-HEAP-PLACED support placed buffers in OpenExistingHeapFromAddress existing heaps #1190
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

claiming: SHADER-IMAGE-MSAA-LOAD — lower image_msaa_load and dim:SQ_RSRC_IMG_2D_MSAA / dim:SQ_RSRC_IMG_2D_MSAA_ARRAY in tools/rdna2spirv.py (follow-up to roanh47's finding above and #1183), adding the 2DMS/2DMS-array set-0 bindings (20–25) and OpImageFetch with Sample, plus semantic tests and a GPU readback fixture on RTX 3060 Ti. No game files. AI-assisted: yes

<!-- gh-comment-id:7142826368 --> @madhyn commented on GitHub (Nov 24, 2026): claiming: SHADER-IMAGE-MSAA-LOAD — lower `image_msaa_load` and `dim:SQ_RSRC_IMG_2D_MSAA` / `dim:SQ_RSRC_IMG_2D_MSAA_ARRAY` in `tools/rdna2spirv.py` (follow-up to `roanh47`'s finding above and #1183), adding the 2DMS/2DMS-array set-0 bindings (20–25) and `OpImageFetch` with `Sample`, plus semantic tests and a GPU readback fixture on RTX 3060 Ti. No game files. AI-assisted: yes
Author
Owner

@GGandCo commented on GitHub (Nov 24, 2026):

done: RT-HOST-IMPORT-PREFIX -> #1192

Draft PR: https://github.com/ubiquitarianism/leonida/pull/1192. Source-only prefix-binding correction and synthetic bidirectional/sentinel checks. Clean target build passes. The Intel GPU executable fails in the first aligned copy on unchanged main6293c1c4 as well as the candidate, before the added offset cases; disclosed in the PR. Earlier local integration control passes, but it is not a clean-main result. AI-assisted.

<!-- gh-comment-id:7142830797 --> @GGandCo commented on GitHub (Nov 24, 2026): done: RT-HOST-IMPORT-PREFIX -> #1192 Draft PR: https://github.com/ubiquitarianism/leonida/pull/1192. Source-only prefix-binding correction and synthetic bidirectional/sentinel checks. Clean target build passes. The Intel GPU executable fails in the first aligned copy on unchanged main6293c1c4 as well as the candidate, before the added offset cases; disclosed in the PR. Earlier local integration control passes, but it is not a clean-main result. AI-assisted.
Author
Owner

@titoreinaldo commented on GitHub (Nov 24, 2026):

done: TEST-W64G-TIER-C-INVARIANTS -> #1191

<!-- gh-comment-id:7142830908 --> @titoreinaldo commented on GitHub (Nov 24, 2026): done: TEST-W64G-TIER-C-INVARIANTS -> #1191
Author
Owner

@muhammadumairmustafa commented on GitHub (Nov 24, 2026):

done: TEST-SHADER-LINK-PUBLISH -> #1194

<!-- gh-comment-id:7142862906 --> @muhammadumairmustafa commented on GitHub (Nov 24, 2026): done: TEST-SHADER-LINK-PUBLISH -> #1194
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: OLD-9955 -> #1195
1195

<!-- gh-comment-id:7142880357 --> @TimIdle commented on GitHub (Nov 24, 2026): done: OLD-9955 -> #1195 1195
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: bulk-copy occupied DescriptorTable staging slots and consolidate the two serializers in runtime/src/descriptor_table.h. This is independent of the descriptor-set retirement and allocation-pressure PRs.

<!-- gh-comment-id:7142898070 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: bulk-copy occupied DescriptorTable staging slots and consolidate the two serializers in runtime/src/descriptor_table.h. This is independent of the descriptor-set retirement and allocation-pressure PRs.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

claiming: OLD-10009 - carry forward old-pr/10009 (draft #279, by Zilumz1): min/max samplers honour filterMinmaxImageComponentMapping (D3D-994). Rebased on main with the author kept, run on native Windows (RTX 2050). AI-assisted: yes.

<!-- gh-comment-id:7142904770 --> @TimIdle commented on GitHub (Nov 24, 2026): claiming: OLD-10009 - carry forward old-pr/10009 (draft #279, by Zilumz1): min/max samplers honour filterMinmaxImageComponentMapping (D3D-994). Rebased on main with the author kept, run on native Windows (RTX 2050). AI-assisted: yes.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: bulk-copy occupied DescriptorTable staging slots -> #1196

<!-- gh-comment-id:7142917746 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: bulk-copy occupied DescriptorTable staging slots -> #1196
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

claiming: D3D-COPY-TRANSFER-FAMILY — classify a transfer-only Vulkan copy family independently of conditional rendering so RGB96/D24 conversion and bindless preparation avoid compute work on it. AI-assisted.

<!-- gh-comment-id:7142922846 --> @PyZikYG commented on GitHub (Nov 24, 2026): claiming: D3D-COPY-TRANSFER-FAMILY — classify a transfer-only Vulkan copy family independently of conditional rendering so RGB96/D24 conversion and bindless preparation avoid compute work on it. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9893 -> #1197

<!-- gh-comment-id:7142938005 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9893 -> #1197
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9921 - carry forward old-pr/9921 (draft #189, by tedin7): mesh shader compressed exports (exp pos1/param ... compr) unpack f16 pairs via export_comps instead of raising Unsupported in tools/rdna2spirv.py (Depends on: #1197), rebased on main with tedin7 kept as author, verified with tests/test_translate.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7142940137 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9921 - carry forward old-pr/9921 (draft #189, by tedin7): mesh shader compressed exports (exp pos1/param ... compr) unpack f16 pairs via export_comps instead of raising Unsupported in tools/rdna2spirv.py (Depends on: #1197), rebased on main with tedin7 kept as author, verified with tests/test_translate.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: replace repeated scans of the fixed retained FramePacer history with a direct lookup by token age. This concerns retained record lookup and leaves mailbox retirement and waiter wakeup behavior as written.

<!-- gh-comment-id:7142953830 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: replace repeated scans of the fixed retained FramePacer history with a direct lookup by token age. This concerns retained record lookup and leaves mailbox retirement and waiter wakeup behavior as written.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: direct lookup of retained FramePacer records -> #1198

<!-- gh-comment-id:7142963487 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: direct lookup of retained FramePacer records -> #1198
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

done: SHADER-IMAGE-MSAA-LOAD -> #1199

<!-- gh-comment-id:7142986750 --> @madhyn commented on GitHub (Nov 24, 2026): done: SHADER-IMAGE-MSAA-LOAD -> #1199
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

boot-prototype is updated to a66c1422e (RTX 5080, driver 621.24, Windows 11, own 1.0.2.1 copy): the intro movie plays, the loading screen shows its artwork, and the title goes on into world-phase GPU work (culling, TLAS builds, indirect mesh draws). Both were looked at on captured frames, not inferred from counts. It merges current main, #968, #974, #429 and the earlier stack. The mesh shaders and wave64 compute have to be translated again (--stages shaders with that tree).

What each step turned out to be, so nobody has to find it twice:

  1. The grey two minutes were the movie. The Bink draw (VS_Bink/PS_BinkNoAlpha) had no render target: it renders into an R8G8B8A8_UNORM_SRGB texture through an R8G8B8A8_UNORM view with no castable list, which CreateRenderTargetView refuses (unsupported typeless or RGBA8 RTV format/subresource: 28). The console allows that cast.
  2. Streaming. The title allocates 99,776 physical pages, maps them once, in order, in a window of that size (protection 0x2004; that is slot 31's "pool"), and reserves a 24 GiB window with protection 0x801. Queue slot 31 maps pool pages into it, mostly kind 1, one page per range. Movie planes, streamed textures and streamed buffers all live there, so with the pool served as ordinary memory, or slot 31 looking only at section views, nothing streamed is ever seen.
    NVIDIA's sparse buffers take device-local memory only (memoryTypeBits 0x2, with or without the external-memory flag), so host pages cannot be bound. The prototype makes the window one sparse buffer and gives each mapped page a device-local copy, uploaded when it is mapped, when DirectStorage writes it and when the CPU unmaps it; binds and uploads are gathered to the next submission. A run settles at some 46,000 pages. Limits: CPU writes to a page that stays mapped on both sides, and GPU writes read by the CPU, are not mirrored.
  3. Device slots 70 and 71 also describe textures with no placed resource behind them (dozens of default and small textures before the menu). The prototype creates the texture at that address on first use. #1079 resolves live placed textures only; those views need a resource first. @Moriz82
  4. Root dwords. With CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED the dword after the root arguments is the resource heap's address, and the one after that the sampler heap's (compute from s4, graphics from s8, mesh from s16); every directly indexed program of the library reads them there.
  5. TLAS. Instance descs hold the title's own addresses for their structures; xdxr_build.comp now subtracts the region's base. Every other acceleration-structure address goes through arena_va.
  6. 30 s watchdog. Pipelines built at first use stop the render thread for longer than the title's job watchdog (+0x2215c35) allows: single compute programs take up to 143 s here, ped mesh pipelines about 10 s. The prototype compiles in the background and leaves the draw or dispatch out until then.

Open: lib_cs_03010 (5x5x30, emulated wave64) loses the device. The fault report then has unknown instruction pointers only, so either a hang or too slow for the TDR; I have not told the two apart, and I skip it with LEONIDA_GPU_SKIP (needs LEONIDA_GPU_DEBUG=1). A dispatch left out while compiling can leave indirect arguments unset. RehydrateRaytracingAccelerationStructureBatched2X, cube-array UAVs and depth bounds are missing. No world picture yet.

@DesertGamer: not planning to move the prototype onto #969 + #1020; those are the mergeable versions, the prototype keeps its own until they land.

claiming: D3D-RGBA8-SRGB-UNORM-RTV - item 1 as a pull request against main. Items 2 and 5 depend on parts that are not on main (region, slot 31); free for whoever carries those, tell me and I will review.

AI-assisted. One machine. Not run on this head: the unit tests, except xmem_test (passes); replay_khr_as_copy_postbuild_test fails one check on purpose (an unknown source structure is now skipped).

<!-- gh-comment-id:7143020922 --> @DadaCap commented on GitHub (Nov 24, 2026): `boot-prototype` is updated to [`a66c1422e`](https://github.com/DadaCap/leonida/commit/a66c1422ed9126965c65180a2a7e825d130a0852) (RTX 5080, driver 621.24, Windows 11, own 1.0.2.1 copy): **the intro movie plays, the loading screen shows its artwork, and the title goes on into world-phase GPU work** (culling, TLAS builds, indirect mesh draws). Both were looked at on captured frames, not inferred from counts. It merges current `main`, #968, #974, #429 and the earlier stack. The mesh shaders and wave64 compute have to be translated again (`--stages shaders` with that tree). What each step turned out to be, so nobody has to find it twice: 1. **The grey two minutes were the movie.** The Bink draw (`VS_Bink`/`PS_BinkNoAlpha`) had no render target: it renders into an `R8G8B8A8_UNORM_SRGB` texture through an `R8G8B8A8_UNORM` view with no castable list, which `CreateRenderTargetView` refuses (`unsupported typeless or RGBA8 RTV format/subresource: 28`). The console allows that cast. 2. **Streaming.** The title allocates 99,776 physical pages, maps them once, in order, in a window of that size (protection 0x2004; that is slot 31's "pool"), and reserves a 24 GiB window with protection 0x801. Queue slot 31 maps pool pages into it, mostly kind 1, one page per range. Movie planes, streamed textures and streamed buffers all live there, so with the pool served as ordinary memory, or slot 31 looking only at section views, nothing streamed is ever seen. NVIDIA's sparse buffers take device-local memory only (`memoryTypeBits` 0x2, with or without the external-memory flag), so host pages cannot be bound. The prototype makes the window one sparse buffer and gives each mapped page a device-local copy, uploaded when it is mapped, when DirectStorage writes it and when the CPU unmaps it; binds and uploads are gathered to the next submission. A run settles at some 46,000 pages. Limits: CPU writes to a page that stays mapped on both sides, and GPU writes read by the CPU, are not mirrored. 3. **Device slots 70 and 71** also describe textures with no placed resource behind them (dozens of default and small textures before the menu). The prototype creates the texture at that address on first use. #1079 resolves live placed textures only; those views need a resource first. @Moriz82 4. **Root dwords.** With `CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED` the dword after the root arguments is the resource heap's address, and the one after that the sampler heap's (compute from s4, graphics from s8, mesh from s16); every directly indexed program of the library reads them there. 5. **TLAS.** Instance descs hold the title's own addresses for their structures; `xdxr_build.comp` now subtracts the region's base. Every other acceleration-structure address goes through `arena_va`. 6. **30 s watchdog.** Pipelines built at first use stop the render thread for longer than the title's job watchdog (`+0x2215c35`) allows: single compute programs take up to 143 s here, ped mesh pipelines about 10 s. The prototype compiles in the background and leaves the draw or dispatch out until then. Open: `lib_cs_03010` (5x5x30, emulated wave64) loses the device. The fault report then has unknown instruction pointers only, so either a hang or too slow for the TDR; I have not told the two apart, and I skip it with `LEONIDA_GPU_SKIP` (needs `LEONIDA_GPU_DEBUG=1`). A dispatch left out while compiling can leave indirect arguments unset. `RehydrateRaytracingAccelerationStructureBatched2X`, cube-array UAVs and depth bounds are missing. No world picture yet. @DesertGamer: not planning to move the prototype onto #969 + #1020; those are the mergeable versions, the prototype keeps its own until they land. claiming: `D3D-RGBA8-SRGB-UNORM-RTV` - item 1 as a pull request against `main`. Items 2 and 5 depend on parts that are not on `main` (region, slot 31); free for whoever carries those, tell me and I will review. AI-assisted. One machine. Not run on this head: the unit tests, except `xmem_test` (passes); `replay_khr_as_copy_postbuild_test` fails one check on purpose (an unknown source structure is now skipped).
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

done: D3D-COPY-TRANSFER-FAMILY -> #1200 (draft).

<!-- gh-comment-id:7143024758 --> @PyZikYG commented on GitHub (Nov 24, 2026): done: D3D-COPY-TRANSFER-FAMILY -> #1200 (draft).
Author
Owner

@Sangonapou commented on GitHub (Nov 24, 2026):

claiming: SHADER-F32-SPECIAL-RESULTS - model the measured special results of v_rcp_f32, v_rcp_iflag_f32, v_rsq_f32, v_sqrt_f32 and v_log_f32 in tools/rdna2spirv.py, which docs/design.md (the "Denormal flush and special results" row) lists as "Not modelled yet": an invalid result (v_sqrt/v_rsq/v_log of a negative) is 0xffc00000, v_rcp_f32(±0) = ±inf, v_rsq_f32(-0) = -inf, v_sqrt_f32(-0) = -0, v_log_f32(±0) = -inf, so these no longer rely on SPIR-V that is undefined for those inputs (OpFDiv by zero, Sqrt/InverseSqrt/Log2 of a negative or zero). Denormal handling stays as it is (separate question). Semantic tests, a GPU check with tools/f32_fuzz.py (its 17 "undefined in SPIR-V" cases at seed 20261124 should become matches) and the design.md row updated. No game files; starting today. AI-assisted.

<!-- gh-comment-id:7143040476 --> @Sangonapou commented on GitHub (Nov 24, 2026): claiming: SHADER-F32-SPECIAL-RESULTS - model the measured special results of `v_rcp_f32`, `v_rcp_iflag_f32`, `v_rsq_f32`, `v_sqrt_f32` and `v_log_f32` in `tools/rdna2spirv.py`, which `docs/design.md` (the "Denormal flush and special results" row) lists as "Not modelled yet": an invalid result (`v_sqrt`/`v_rsq`/`v_log` of a negative) is `0xffc00000`, `v_rcp_f32(±0)` = ±inf, `v_rsq_f32(-0)` = -inf, `v_sqrt_f32(-0)` = -0, `v_log_f32(±0)` = -inf, so these no longer rely on SPIR-V that is undefined for those inputs (`OpFDiv` by zero, `Sqrt`/`InverseSqrt`/`Log2` of a negative or zero). Denormal handling stays as it is (separate question). Semantic tests, a GPU check with `tools/f32_fuzz.py` (its 17 "undefined in SPIR-V" cases at seed 20261124 should become matches) and the design.md row updated. No game files; starting today. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-SSE-SCALAR - legacy 0F SSE/SSE2 scalar floating-point emitters (add/sub/mul/div/sqrt/min/max ss/sd, ucomis*/comis* with ordered+unordered flag mapping, cvtss2sd/cvtsd2ss/cvtsi2s*/cvtts2si/cvts2si with x86 INT_MIN indefinite) plus XMM moves (movss/movsd/movd/movq/movaps/movups/movapd/movupd/movdqa/movdqu) and 128-bit bitwise ops in tools/x64_recomp.py, with tests/test_x64_recomp_sse.py. No game files.

<!-- gh-comment-id:7143077050 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-SSE-SCALAR - legacy 0F SSE/SSE2 scalar floating-point emitters (add/sub/mul/div/sqrt/min/max ss/sd, ucomis*/comis* with ordered+unordered flag mapping, cvtss2sd/cvtsd2ss/cvtsi2s*/cvtts*2si/cvts*2si with x86 INT_MIN indefinite) plus XMM moves (movss/movsd/movd/movq/movaps/movups/movapd/movupd/movdqa/movdqu) and 128-bit bitwise ops in tools/x64_recomp.py, with tests/test_x64_recomp_sse.py. No game files.
Author
Owner

@TimIdle commented on GitHub (Nov 24, 2026):

done: OLD-10009 -> #1201
1201

<!-- gh-comment-id:7143077054 --> @TimIdle commented on GitHub (Nov 24, 2026): done: OLD-10009 -> #1201 1201
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-SSE-SCALAR -> #1202

<!-- gh-comment-id:7143078133 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-SSE-SCALAR -> #1202
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

claiming: GPU-RX9070XT-REFRESH - refresh gpu-test-results/RX9070XT.txt and its row and entry in docs/gpu_test_results.md (AMD Radeon RX 9070 XT, RDNA4 / GFX1201, AMD proprietary 26.11.2) on current main: run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, and for the first time on this card build.py + check.py (the two D3D12-side columns the record leaves "not run"). The record from 2026-11-23 lists ms_wave_info_s3 failing on every native run, which no longer reproduces here. Counts only, no game files. AI-assisted.

<!-- gh-comment-id:7143102392 --> @iFeyz commented on GitHub (Nov 24, 2026): claiming: GPU-RX9070XT-REFRESH - refresh `gpu-test-results/RX9070XT.txt` and its row and entry in `docs/gpu_test_results.md` (AMD Radeon RX 9070 XT, RDNA4 / GFX1201, AMD proprietary 26.11.2) on current `main`: `run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1`, and for the first time on this card `build.py` + `check.py` (the two D3D12-side columns the record leaves "not run"). The record from 2026-11-23 lists `ms_wave_info_s3` failing on every native run, which no longer reproduces here. Counts only, no game files. AI-assisted.
Author
Owner

@azsekazvamdimitar commented on GitHub (Nov 24, 2026):

claiming: VERIFY-WINE-PROTON-GPU - running the open runtime and GPU pull requests that the CPU-only verification batches marked "not verifiable here". Each is measured on Linux before and after: native build, then a clang-cl + xwin cross build under WineHQ 11.22 (winewayland) and GE-Proton11-14 (winex11), on an RTX 3090 (NVIDIA 590.48.01), plus RADV (Raphael iGPU, RDNA2) for GPU changes. Boot-path ones go first: #968, #1055, #1079, #1160, #974, #983. Then 958, 959, 961, 967, 973, 977, 980, 988, 989, 634, 644, 645, 646, 657, 664, 680, 710, 718, 761, 766, 683, 687.

I post one comment per pull request, and only when it adds coverage or finds a problem. No code and no game files. AI-assisted.

<!-- gh-comment-id:7143155461 --> @azsekazvamdimitar commented on GitHub (Nov 24, 2026): claiming: VERIFY-WINE-PROTON-GPU - running the open runtime and GPU pull requests that the CPU-only verification batches marked "not verifiable here". Each is measured on Linux before and after: native build, then a clang-cl + xwin cross build under WineHQ 11.22 (winewayland) and GE-Proton11-14 (winex11), on an RTX 3090 (NVIDIA 590.48.01), plus RADV (Raphael iGPU, RDNA2) for GPU changes. Boot-path ones go first: #968, #1055, #1079, #1160, #974, #983. Then 958, 959, 961, 967, 973, 977, 980, 988, 989, 634, 644, 645, 646, 657, 664, 680, 710, 718, 761, 766, 683, 687. I post one comment per pull request, and only when it adds coverage or finds a problem. No code and no game files. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9921 -> #1203

<!-- gh-comment-id:7143177361 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9921 -> #1203
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

claiming: PIPELINE-LINUX-ISOLATE-AS-LIMIT -- Add an opt-in Linux RLIMIT_AS cap to vk_pipeline_check --isolate workers for the host memory exhaustion reported in #636. The parent remains uncapped, inherited stricter limits are preserved, and the existing isolation retry reports the result. Linux address-space limit only. The Windows Job Objects claim stays separate. Synthetic tests, no game files or GPU. AI-assisted.

<!-- gh-comment-id:7143205150 --> @lixonik commented on GitHub (Nov 24, 2026): claiming: PIPELINE-LINUX-ISOLATE-AS-LIMIT -- Add an opt-in Linux RLIMIT_AS cap to vk_pipeline_check --isolate workers for the host memory exhaustion reported in #636. The parent remains uncapped, inherited stricter limits are preserved, and the existing isolation retry reports the result. Linux address-space limit only. The Windows Job Objects claim stays separate. Synthetic tests, no game files or GPU. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9826 - carry forward old-pr/9826 (draft #94, by lordon1a, SHADER-766): use OpAtomicStore for MSG_GS_ALLOC_REQ %ms_counts in tools/rdna2spirv.py so any wave executing MSG_GS_ALLOC_REQ writes %ms_counts race-free, rebased on main with lordon1a kept as author, verified with tests/test_mesh_alloc_single_writer.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7143213858 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9826 - carry forward old-pr/9826 (draft #94, by lordon1a, SHADER-766): use OpAtomicStore for MSG_GS_ALLOC_REQ %ms_counts in tools/rdna2spirv.py so any wave executing MSG_GS_ALLOC_REQ writes %ms_counts race-free, rebased on main with lordon1a kept as author, verified with tests/test_mesh_alloc_single_writer.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

releasing: OLD-9826 - checked against main: tools/rdna2spirv.py already uses OpAtomicStore for MSG_GS_ALLOC_REQ %ms_counts (SHADER-766) on main, so draft #94 is superseded (no PR opened).

<!-- gh-comment-id:7143225637 --> @ambroseautomation commented on GitHub (Nov 24, 2026): releasing: OLD-9826 - checked against main: tools/rdna2spirv.py already uses OpAtomicStore for MSG_GS_ALLOC_REQ %ms_counts (SHADER-766) on main, so draft #94 is superseded (no PR opened).
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: HISTORY-RADICLE-MANIFEST -- export a verifiable, machine-readable manifest of the 251 surviving old-pr/* tip commits and the 135 indexed old issues for the Radicle migration (#563): a script that regenerates it from git plus a docs page, in English, no game files, no GPU needed

<!-- gh-comment-id:7143232751 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: HISTORY-RADICLE-MANIFEST -- export a verifiable, machine-readable manifest of the 251 surviving old-pr/* tip commits and the 135 indexed old issues for the Radicle migration (#563): a script that regenerates it from git plus a docs page, in English, no game files, no GPU needed
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9868 - carry forward old-pr/9868 (draft #137, originally by Conrage): keep NaN-pattern constants out of float-typed selects in image_bvh (tools/rdna2spirv.py + tests/semantic/test_image_bvh_tri.py), rebased on main with original commits preserved, verified with test_image_bvh_tri.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7143233478 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9868 - carry forward old-pr/9868 (draft #137, originally by Conrage): keep NaN-pattern constants out of float-typed selects in image_bvh (tools/rdna2spirv.py + tests/semantic/test_image_bvh_tri.py), rebased on main with original commits preserved, verified with test_image_bvh_tri.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

claiming: D3D-WRITE-IMMEDIATE-CAPS — report the existing WriteBufferImmediate support in OPTIONS3 when Vulkan can update addressable buffers. AI-assisted.

<!-- gh-comment-id:7143244652 --> @PyZikYG commented on GitHub (Nov 24, 2026): claiming: D3D-WRITE-IMMEDIATE-CAPS — report the existing WriteBufferImmediate support in OPTIONS3 when Vulkan can update addressable buffers. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-BITOPS - bit-manipulation emitters in tools/x64_recomp.py: bt/bts/btr/btc (reg/mem, imm8 modulo width and signed reg bit offsets into memory), bsf/bsr (ZF on zero, dst preserved on zero), tzcnt/lzcnt (F3 0F BC/BD with CF/ZF), popcnt (F3 0F B8 pure-GPR SWAR), plus Asm.rbit/clz and Asm.li(-1) IndexError fix, with tests/test_x64_recomp_bitops.py. No game files.

<!-- gh-comment-id:7143260452 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-BITOPS - bit-manipulation emitters in tools/x64_recomp.py: bt/bts/btr/btc (reg/mem, imm8 modulo width and signed reg bit offsets into memory), bsf/bsr (ZF on zero, dst preserved on zero), tzcnt/lzcnt (F3 0F BC/BD with CF/ZF), popcnt (F3 0F B8 pure-GPR SWAR), plus Asm.rbit/clz and Asm.li(-1) IndexError fix, with tests/test_x64_recomp_bitops.py. No game files.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-BITOPS -> #1205

<!-- gh-comment-id:7143261549 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-BITOPS -> #1205
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

claiming: RT-DIRECT-HEAP-GRAPHICS - the graphics half of directly indexed heaps: with CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED / SAMPLER_HEAP_DIRECTLY_INDEXED, write the resource heap's and the sampler heap's 32-bit addresses in the dwords right after the graphics root arguments (from s8 for VS/PS/GS, which a mesh shader reads from s16 through #974's window), the layout @DadaCap measured on the retail library (comment 7143020922, item 4) and the one #1064 (RT-DIRECT-HEAP-COMPUTE, @Moriz82) uses for compute. main only notes the open slot, and #1064 reports a graphics draw with a bound heap as unsupplied. Built on #974 and #1064, with a synthetic draw that reads a descriptor by its heap index from a pixel shader and from a mesh shader. No game files. AI-assisted.

<!-- gh-comment-id:7143274207 --> @iFeyz commented on GitHub (Nov 24, 2026): claiming: RT-DIRECT-HEAP-GRAPHICS - the graphics half of directly indexed heaps: with `CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED` / `SAMPLER_HEAP_DIRECTLY_INDEXED`, write the resource heap's and the sampler heap's 32-bit addresses in the dwords right after the graphics root arguments (from s8 for VS/PS/GS, which a mesh shader reads from s16 through #974's window), the layout @DadaCap measured on the retail library (comment 7143020922, item 4) and the one #1064 (RT-DIRECT-HEAP-COMPUTE, @Moriz82) uses for compute. `main` only notes the open slot, and #1064 reports a graphics draw with a bound heap as unsupplied. Built on #974 and #1064, with a synthetic draw that reads a descriptor by its heap index from a pixel shader and from a mesh shader. No game files. AI-assisted.
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

claiming: XDXR-BOX16-SIGN-AMD — AMD Windows shader compiler (24.10.24, gfx1035) miscompiles (u >> 16) & 0x8000 in runtime/src/xdxr_build.comp half_directed(): every BOX16 MINIMIZE_MEMORY BLAS build produced corrupt half signs (20,727 check-build problems, all rays miss; BOX32 bit-exact, NVIDIA fine). Fix rewrites it as (u & 0x80000000u) >> 16 (bit-equivalent), regenerated xdxr_build.inc; verified all-match on AMD iGPU + RTX 4070 SUPER. AI-assisted.
finding: d3d12_clear on the AMD iGPU (driver 24.10.24) stores 1.0 for a NaN depth clear value in vkCmdClearDepthStencilImage/Attachments even with VK_EXT_depth_range_unrestricted — the layer forwards NaN correctly (vulkan_replay.h only clamps when the ext is absent; out-of-range 1.5/-0.5 pass), so the AMD clear unit appears to map NaN→1.0. Passes on NVIDIA. Needs a check whether native D3D12 on this iGPU does the same (then the test's WARP-parity expectation is too strict). No game files; AMD iGPU only.

<!-- gh-comment-id:7143281151 --> @whoalin1 commented on GitHub (Nov 24, 2026): claiming: XDXR-BOX16-SIGN-AMD — AMD Windows shader compiler (24.10.24, gfx1035) miscompiles `(u >> 16) & 0x8000` in `runtime/src/xdxr_build.comp` `half_directed()`: every BOX16 MINIMIZE_MEMORY BLAS build produced corrupt half signs (20,727 check-build problems, all rays miss; BOX32 bit-exact, NVIDIA fine). Fix rewrites it as `(u & 0x80000000u) >> 16` (bit-equivalent), regenerated xdxr_build.inc; verified all-match on AMD iGPU + RTX 4070 SUPER. AI-assisted. finding: `d3d12_clear` on the AMD iGPU (driver 24.10.24) stores 1.0 for a NaN depth clear value in vkCmdClearDepthStencilImage/Attachments even with VK_EXT_depth_range_unrestricted — the layer forwards NaN correctly (vulkan_replay.h only clamps when the ext is absent; out-of-range 1.5/-0.5 pass), so the AMD clear unit appears to map NaN→1.0. Passes on NVIDIA. Needs a check whether native D3D12 on this iGPU does the same (then the test's WARP-parity expectation is too strict). No game files; AMD iGPU only.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: HISTORY-RADICLE-MANIFEST -> #1207

<!-- gh-comment-id:7143308906 --> @robot00f commented on GitHub (Nov 24, 2026): done: HISTORY-RADICLE-MANIFEST -> #1207
Author
Owner

@Daolyap commented on GitHub (Nov 24, 2026):

finding: the #432 stack on native Windows (no Wine) does not reach the frame loop | where: Mumogg's fence-slot12-completed-value (#432) + #387 + #428 + #142 merged locally (#219 conflicts, left out); LEONIDA_D3D12=vulkan, LEONIDA_SHADERS pointing at 26,573 translated shaders; RTX 3070, driver 32.0.16.1692, MSVC / VS 2022 | why: it narrows the native-Windows gap. The RT-XMEM-LEASE path works here: the 2 MiB budget check at exe+0x247af2d passes, and committed resources lease through the XMem hooks. The run reaches CreateRootSignature and CreateComputePipelineState, then stderr goes silent from ~7 s to ~33 s and the title takes its own exit path at game_scarlett_master.exe+0x2215c35 (a write to address 0 after its main routine returns, frame +0x2215eca). There's no PresentX, and no refusal, E_NOTIMPL or int3 in the log, so some init step fails silently. Leads: the missing #219 (slots 86/101/108), or something Wine supplies that native Windows doesn't. Without LEONIDA_SHADERS the same stack ends in a C++ exception from XboxBvhBuilder.dll (+0xc525, under exe+0x2479455), which only says the shaders are missing | needs: game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7143309652 --> @Daolyap commented on GitHub (Nov 24, 2026): finding: the #432 stack on native Windows (no Wine) does not reach the frame loop | where: Mumogg's `fence-slot12-completed-value` (#432) + #387 + #428 + #142 merged locally (#219 conflicts, left out); `LEONIDA_D3D12=vulkan`, `LEONIDA_SHADERS` pointing at 26,573 translated shaders; RTX 3070, driver 32.0.16.1692, MSVC / VS 2022 | why: it narrows the native-Windows gap. The RT-XMEM-LEASE path works here: the 2 MiB budget check at `exe+0x247af2d` passes, and committed resources lease through the XMem hooks. The run reaches CreateRootSignature and CreateComputePipelineState, then stderr goes silent from ~7 s to ~33 s and the title takes its own exit path at `game_scarlett_master.exe+0x2215c35` (a write to address 0 after its main routine returns, frame `+0x2215eca`). There's no PresentX, and no refusal, E_NOTIMPL or int3 in the log, so some init step fails silently. Leads: the missing #219 (slots 86/101/108), or something Wine supplies that native Windows doesn't. Without `LEONIDA_SHADERS` the same stack ends in a C++ exception from `XboxBvhBuilder.dll` (+0xc525, under exe+0x2479455), which only says the shaders are missing | needs: game files. AI-assisted (Claude Code).
Author
Owner

@PyZikYG commented on GitHub (Nov 24, 2026):

done: D3D-WRITE-IMMEDIATE-CAPS -> #1208 (draft).

<!-- gh-comment-id:7143312238 --> @PyZikYG commented on GitHub (Nov 24, 2026): done: D3D-WRITE-IMMEDIATE-CAPS -> #1208 (draft).
Author
Owner

@nicoco23 commented on GitHub (Nov 24, 2026):

done: TEST-POLICY-DLL-SPELLINGS -> #1206

<!-- gh-comment-id:7143314677 --> @nicoco23 commented on GitHub (Nov 24, 2026): done: TEST-POLICY-DLL-SPELLINGS -> #1206
Author
Owner

@lixonik commented on GitHub (Nov 24, 2026):

done: PIPELINE-LINUX-ISOLATE-AS-LIMIT -> #1209

<!-- gh-comment-id:7143325576 --> @lixonik commented on GitHub (Nov 24, 2026): done: PIPELINE-LINUX-ISOLATE-AS-LIMIT -> #1209
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

claiming: DASH-CTEST-INCOMPLETE-NESTED — preserve a parent CTest result in LastTest.log when its nested CTest output is truncated before End testing; add a synthetic parser regression so the run is reported as failed instead of disappearing. No game files or GPU. AI-assisted.

<!-- gh-comment-id:7143329046 --> @j-weiner commented on GitHub (Nov 24, 2026): claiming: DASH-CTEST-INCOMPLETE-NESTED — preserve a parent CTest result in LastTest.log when its nested CTest output is truncated before End testing; add a synthetic parser regression so the run is reported as failed instead of disappearing. No game files or GPU. AI-assisted.
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

done: XDXR-BOX16-SIGN-AMD -> #1210. AMD driver miscompile of (u >> 16) & 0x8000 in xdxr_build.comp half_directed() corrupted every BOX16 build (20,727 check-build problems); rewritten bit-equivalent, verified all-match on AMD iGPU + RTX 4070 SUPER. AI-assisted.

<!-- gh-comment-id:7143353701 --> @whoalin1 commented on GitHub (Nov 24, 2026): done: XDXR-BOX16-SIGN-AMD -> #1210. AMD driver miscompile of `(u >> 16) & 0x8000` in xdxr_build.comp half_directed() corrupted every BOX16 build (20,727 check-build problems); rewritten bit-equivalent, verified all-match on AMD iGPU + RTX 4070 SUPER. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-RCL-RCR - rcl and rcr rotate-through-carry emitters in tools/x64_recomp.py (8/16/32/64-bit reg/hi8/mem, imm1/imm8/CL counts with modulo-(width+1) reduction, zero-count no-op preserving flags, SUB/ADD/FCMP incoming CF, outgoing CF and count-1 OF), with tests/test_x64_recomp_rcl_rcr.py. No game files.

<!-- gh-comment-id:7143389193 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-RCL-RCR - rcl and rcr rotate-through-carry emitters in tools/x64_recomp.py (8/16/32/64-bit reg/hi8/mem, imm1/imm8/CL counts with modulo-(width+1) reduction, zero-count no-op preserving flags, SUB/ADD/FCMP incoming CF, outgoing CF and count-1 OF), with tests/test_x64_recomp_rcl_rcr.py. No game files.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-RCL-RCR -> #1211

<!-- gh-comment-id:7143390423 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-RCL-RCR -> #1211
Author
Owner

@j-weiner commented on GitHub (Nov 24, 2026):

releasing: DASH-CTEST-INCOMPLETE-NESTED — the synthetic reproduction shows the parser drops the parent result, but safely resynchronizing after an incomplete nested LastTest log needs a real CTest fixture to distinguish nested and outer test boundaries. No code change or PR.

finding: parse_lasttest can lose an outer test and subsequent results when captured output contains a nested CTest run that starts but has no matching End testing: before the parent output closes. Where: tools/progress_dashboard.py:411-418. Why it matters: while nested_runs remains nonzero, the parent <end of output>, Test time, and verdict are ignored, and capture never ends; a synthetic parent failure currently yields [] instead of a visible failure. Repro: a LastTest.log with one outer Test: wrapper, an Output: block containing Start testing: plus the 58-dash separator but no End testing:, then the parent Test time = 10.00 sec / Test Failed. returns no rows. Needs: no game files or GPU; a CTest-produced nested/truncated log would help pin a safe recovery rule. AI-assisted.

<!-- gh-comment-id:7143409370 --> @j-weiner commented on GitHub (Nov 24, 2026): releasing: DASH-CTEST-INCOMPLETE-NESTED — the synthetic reproduction shows the parser drops the parent result, but safely resynchronizing after an incomplete nested LastTest log needs a real CTest fixture to distinguish nested and outer test boundaries. No code change or PR. finding: `parse_lasttest` can lose an outer test and subsequent results when captured output contains a nested CTest run that starts but has no matching `End testing:` before the parent output closes. **Where:** `tools/progress_dashboard.py:411-418`. **Why it matters:** while `nested_runs` remains nonzero, the parent `<end of output>`, `Test time`, and verdict are ignored, and capture never ends; a synthetic parent failure currently yields `[]` instead of a visible failure. **Repro:** a `LastTest.log` with one outer `Test: wrapper`, an `Output:` block containing `Start testing:` plus the 58-dash separator but no `End testing:`, then the parent `Test time = 10.00 sec` / `Test Failed.` returns no rows. **Needs:** no game files or GPU; a CTest-produced nested/truncated log would help pin a safe recovery rule. AI-assisted.
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

claiming: RT-SHADER-INDEX-BLOCK-READ — read the runtime shader library’s main and optional index.json files in blocks in ShaderLibrary::load_index. I will check lookup results, malformed or unreadable input, and time complete loads on synthetic indexes. This is separate from #1108, which changes JSON subtree moves after file input. AI-assisted: yes (OpenAI Codex).

<!-- gh-comment-id:7143420677 --> @sodove commented on GitHub (Nov 24, 2026): claiming: RT-SHADER-INDEX-BLOCK-READ — read the runtime shader library’s main and optional index.json files in blocks in ShaderLibrary::load_index. I will check lookup results, malformed or unreadable input, and time complete loads on synthetic indexes. This is separate from #1108, which changes JSON subtree moves after file input. AI-assisted: yes (OpenAI Codex).
Author
Owner

@titoreinaldo commented on GitHub (Nov 24, 2026):

claiming:

  • RT-PACER-SUSPEND-EPOCH — Reproduce a waiter entering before suspend and waking only after resume and re-registration. If it takes the new frame, fix the lifetime of that wait and add a deterministic CPU regression. Same header as #1042, separate scenario.
  • SHADER-BENCH-MIX-BALLOT — Exercise partial ballots in the stock wave64 stream-compaction benchmark. Its hash currently selects zero of 65,536 synthetic inputs. Check both half-wave prefixes against an independent expected result.
  • BUILD-EMPTY-SPV-CACHE — Verify that a zero-byte module referenced by a valid index is rebuilt in the FSPX and pipeline-library shader stages. Scope is the shared cache check and synthetic stage tests.

I’ll also run the existing synthetic tests from the exact heads of #630 and #850 on Intel Arc on Windows and post the measured results on those PRs. Codex-assisted, no game inputs.

<!-- gh-comment-id:7143476751 --> @titoreinaldo commented on GitHub (Nov 24, 2026): claiming: - RT-PACER-SUSPEND-EPOCH — Reproduce a waiter entering before suspend and waking only after resume and re-registration. If it takes the new frame, fix the lifetime of that wait and add a deterministic CPU regression. Same header as #1042, separate scenario. - SHADER-BENCH-MIX-BALLOT — Exercise partial ballots in the stock wave64 stream-compaction benchmark. Its hash currently selects zero of 65,536 synthetic inputs. Check both half-wave prefixes against an independent expected result. - BUILD-EMPTY-SPV-CACHE — Verify that a zero-byte module referenced by a valid index is rebuilt in the FSPX and pipeline-library shader stages. Scope is the shared cache check and synthetic stage tests. I’ll also run the existing synthetic tests from the exact heads of #630 and #850 on Intel Arc on Windows and post the measured results on those PRs. Codex-assisted, no game inputs.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-STD-STR - std/cld direction flag (CTX_DF + pushf/popf bit 10), DF-aware forward/backward movs/stos/scas/cmps, lods (lodsb/lodsw/lodsd/lodsq), and scas/cmps cross-block flag materialization in tools/x64_recomp.py, with tests/test_x64_recomp_std_str.py. No game files.

<!-- gh-comment-id:7143502030 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-STD-STR - std/cld direction flag (CTX_DF + pushf/popf bit 10), DF-aware forward/backward movs/stos/scas/cmps, lods (lodsb/lodsw/lodsd/lodsq), and scas/cmps cross-block flag materialization in tools/x64_recomp.py, with tests/test_x64_recomp_std_str.py. No game files.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-STD-STR -> #1213

<!-- gh-comment-id:7143503069 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-STD-STR -> #1213
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9868 -> #1212

<!-- gh-comment-id:7143506221 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9868 -> #1212
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9958 - carry forward old-pr/9958 (draft #224, by slipperysquid, SHADER-930): lower 64-bit scalar data ops (s_bfe_u64/s_bfe_i64) to 2x32-bit with no Int64 in tools/rdna2spirv.py, plus GPU fixtures, int_hw_probe cases, docs/design.md row, and semantic tests, rebased on main with slipperysquid kept as author. No game files. AI-assisted.

<!-- gh-comment-id:7143531427 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9958 - carry forward old-pr/9958 (draft #224, by slipperysquid, SHADER-930): lower 64-bit scalar data ops (s_bfe_u64/s_bfe_i64) to 2x32-bit with no Int64 in tools/rdna2spirv.py, plus GPU fixtures, int_hw_probe cases, docs/design.md row, and semantic tests, rebased on main with slipperysquid kept as author. No game files. AI-assisted.
Author
Owner

@iiiirokuuug-rgb commented on GitHub (Nov 24, 2026):

finding: on a 24 GB host the retail title's physical-page backing over-commits 104 GB of pagefile (1.5 s per frame, ~50k page faults/s), and changing it to commit-on-map cuts that to 42 GB without moving the frame rate — so the per-frame stall is somewhere else.

Where. runtime/shims/xmem.cpp (XMemAllocatePhysicalPages) backs every call with CreateFileMappingW(INVALID_HANDLE_VALUE, nullptr, PAGE_READWRITE | SEC_COMMIT, …), which charges the whole allocation against the commit limit at once.

Measured, retail 1.0.2.1, Windows 11 26200, Intel Arc A770, 24 GB RAM, boot/frame-loop-on-main e0d4fd2b + LEONIDA_SHADERS (the frame loop is reached: 50,454 PSOs, window "Americas", PresentX ok):

gta6rt private commit   103,954 MB      commit limit 120 GB, free 1.16 GB
page faults             ~50,000 / s     12 worker threads sampled WaitReason = PageIn
frame rate              0.63-0.67 fps    one ClearRenderTargetView + 2 DrawInstanced per frame

Local change (not a PR): SEC_COMMIT -> SEC_RESERVE, and map_view() commits the range it maps with VirtualAlloc(target, size, MEM_COMMIT, view.protect). Result: private commit 42.3 GB, commit free 59.7 GB, still correct behaviour, but fps unchanged at 0.4 — so the commit charge is real but not what makes a frame take 1.5 s. Anyone chasing the frame time should look elsewhere; anyone chasing memory should not need this to be a "first-touch" change to see the difference on a small host.

Second, separate, and probably the reason the presented image is all zeros. Exactly 14 of 50,468 CreatePipelineState calls fail, each preceded by

[rt] d3d12: no translated vs for FSSM sha256 01ac7810dcabd62afcd904b231e90d9a031a51808a700e3349290bec5f0d426f

SetPipelineState is void, so those passes keep the previously bound PSO and the render target keeps its zero clear. I could not find those bytes anywhere in the package: hashing all 26,503 carved FSSM programs from shaders.rpf gives no match; hashing the ACCC part of all 21,509 containers the pipeline library yields gives no match; the 21,522 library programs (tools/shader_library.py --stages all) contain no program with that digest. So either the title builds that program at run time (patched container, composed variant) or it comes from a stream neither the carver nor the library reader walks. fssm_program() in runtime/src/shader_library.h is what decides which bytes are hashed — that is the place to instrument.

Needs: the retail package and the executable; no GPU. Nothing from the game is quoted here beyond a program digest.

<!-- gh-comment-id:7143537961 --> @iiiirokuuug-rgb commented on GitHub (Nov 24, 2026): finding: on a 24 GB host the retail title's physical-page backing over-commits 104 GB of pagefile (1.5 s per frame, ~50k page faults/s), and changing it to commit-on-map cuts that to 42 GB without moving the frame rate — so the per-frame stall is somewhere else. **Where.** `runtime/shims/xmem.cpp` (`XMemAllocatePhysicalPages`) backs every call with `CreateFileMappingW(INVALID_HANDLE_VALUE, nullptr, PAGE_READWRITE | SEC_COMMIT, …)`, which charges the whole allocation against the commit limit at once. **Measured**, retail 1.0.2.1, Windows 11 26200, Intel Arc A770, 24 GB RAM, `boot/frame-loop-on-main` `e0d4fd2b` + `LEONIDA_SHADERS` (the frame loop is reached: 50,454 PSOs, window "Americas", PresentX ok): ``` gta6rt private commit 103,954 MB commit limit 120 GB, free 1.16 GB page faults ~50,000 / s 12 worker threads sampled WaitReason = PageIn frame rate 0.63-0.67 fps one ClearRenderTargetView + 2 DrawInstanced per frame ``` **Local change** (not a PR): `SEC_COMMIT` -> `SEC_RESERVE`, and `map_view()` commits the range it maps with `VirtualAlloc(target, size, MEM_COMMIT, view.protect)`. Result: private commit **42.3 GB**, commit free **59.7 GB**, still correct behaviour, but **fps unchanged at 0.4** — so the commit charge is real but not what makes a frame take 1.5 s. Anyone chasing the frame time should look elsewhere; anyone chasing memory should not need this to be a "first-touch" change to see the difference on a small host. **Second, separate, and probably the reason the presented image is all zeros.** Exactly 14 of 50,468 `CreatePipelineState` calls fail, each preceded by ``` [rt] d3d12: no translated vs for FSSM sha256 01ac7810dcabd62afcd904b231e90d9a031a51808a700e3349290bec5f0d426f ``` `SetPipelineState` is void, so those passes keep the previously bound PSO and the render target keeps its zero clear. **I could not find those bytes anywhere in the package**: hashing all 26,503 carved FSSM programs from `shaders.rpf` gives no match; hashing the ACCC part of all 21,509 containers the pipeline library yields gives no match; the 21,522 library programs (`tools/shader_library.py --stages all`) contain no program with that digest. So either the title builds that program at run time (patched container, composed variant) or it comes from a stream neither the carver nor the library reader walks. `fssm_program()` in `runtime/src/shader_library.h` is what decides which bytes are hashed — that is the place to instrument. Needs: the retail package and the executable; no GPU. Nothing from the game is quoted here beyond a program digest.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: RBF0-TREE-SHARED-REPORT-PATH - tools/rbf0_tree.py:680 carries a private same_output_path (realpath + normcase + samefile) used by the four output guards at :702, :706, :717 and :719, while CONTRIBUTING.md asks a report writer to call report_paths.same_report_path instead of deriving the answer again; the private copy also misses that helper's folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) out.json and out.JSON are two report paths and one can replace the other or a stream in the carve folder. I will import same_report_path (the tool already puts its own folder on sys.path) and call it at the four sites; no test calls the private name, so it goes with the duplication. tests/test_rbf0_tree.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143541315 --> @breachato commented on GitHub (Nov 24, 2026): claiming: RBF0-TREE-SHARED-REPORT-PATH - `tools/rbf0_tree.py:680` carries a private `same_output_path` (realpath + normcase + samefile) used by the four output guards at `:702`, `:706`, `:717` and `:719`, while CONTRIBUTING.md asks a report writer to call `report_paths.same_report_path` instead of deriving the answer again; the private copy also misses that helper's folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) `out.json` and `out.JSON` are two report paths and one can replace the other or a stream in the carve folder. I will import `same_report_path` (the tool already puts its own folder on `sys.path`) and call it at the four sites; no test calls the private name, so it goes with the duplication. `tests/test_rbf0_tree.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: ODRP-7A-SHARED-REPORT-PATH - tools/odrp_7a.py:1182 carries a private _same_path (realpath + normcase + samefile) used at the three guards :1221 (source vs out), :1228 (manifest beside the carve folder) and :1233 (a carved stream), while CONTRIBUTING.md asks a report writer to call report_paths.same_report_path instead of deriving it again; the private copy also misses the helper's folding-volume probe, so on a case-folding Linux mount (vfat, exFAT, CIFS) --out R.json and --out r.json pass as two reports and the second replaces the first. I will import same_report_path (the tool already puts its own folder on sys.path) and call it at the three sites; no test calls the private name, so it goes. tests/test_odrp_7a.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143541842 --> @breachato commented on GitHub (Nov 24, 2026): claiming: ODRP-7A-SHARED-REPORT-PATH - `tools/odrp_7a.py:1182` carries a private `_same_path` (realpath + normcase + samefile) used at the three guards `:1221` (source vs out), `:1228` (manifest beside the carve folder) and `:1233` (a carved stream), while CONTRIBUTING.md asks a report writer to call `report_paths.same_report_path` instead of deriving it again; the private copy also misses the helper's folding-volume probe, so on a case-folding Linux mount (vfat, exFAT, CIFS) `--out R.json` and `--out r.json` pass as two reports and the second replaces the first. I will import `same_report_path` (the tool already puts its own folder on `sys.path`) and call it at the three sites; no test calls the private name, so it goes. `tests/test_odrp_7a.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: FEATURE-SCAN-SHARED-REPORT-PATH - tools/feature_scan.py:532 carries a public same_path (abspath + normcase + samefile) used by the --out guard at :573 that refuses a report written over dxbc/index.json or spirv/index.json, while CONTRIBUTING.md asks for report_paths.same_report_path instead of a second derivation; the private copy also misses the helper's folding-volume probe, so on a case-folding Linux mount (vfat, exFAT, CIFS) --out INDEX.json passes as another path and replaces the index the scan reads. I will import same_report_path (the tool already puts its own folder on sys.path) and call it at that guard; no test calls the private name, so it goes. inside_dir keeps its own containment check: it answers a different question. tests/test_feature_scan*.py and tests/test_cpu_feature_scan.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143542431 --> @breachato commented on GitHub (Nov 24, 2026): claiming: FEATURE-SCAN-SHARED-REPORT-PATH - `tools/feature_scan.py:532` carries a public `same_path` (abspath + normcase + samefile) used by the `--out` guard at `:573` that refuses a report written over `dxbc/index.json` or `spirv/index.json`, while CONTRIBUTING.md asks for `report_paths.same_report_path` instead of a second derivation; the private copy also misses the helper's folding-volume probe, so on a case-folding Linux mount (vfat, exFAT, CIFS) `--out INDEX.json` passes as another path and replaces the index the scan reads. I will import `same_report_path` (the tool already puts its own folder on `sys.path`) and call it at that guard; no test calls the private name, so it goes. `inside_dir` keeps its own containment check: it answers a different question. `tests/test_feature_scan*.py` and `tests/test_cpu_feature_scan.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@nicoco23 commented on GitHub (Nov 24, 2026):

claiming: DOC-RELATED-VICTORY - what #1078 adds to docs/related_projects.md beyond #824's VIctory entry (DOC-RELATED-PROJECTS-LICENCE, lixonik): the exclusion of crates/victory-hle's bcpack-tables.bin (outside VIctory's own licence, so nothing from it or derived from it enters Leonida), the link to the 22 retail imports that docs/audio_hal_exe_calls.md counts, and the XApuConnect first-argument example. The same file and section as #824, so whichever merges second will be rebased onto the first and reduced to what the first does not say. Documentation only, no game files. AI-assisted.

<!-- gh-comment-id:7143556417 --> @nicoco23 commented on GitHub (Nov 24, 2026): claiming: DOC-RELATED-VICTORY - what #1078 adds to docs/related_projects.md beyond #824's VIctory entry (DOC-RELATED-PROJECTS-LICENCE, lixonik): the exclusion of crates/victory-hle's bcpack-tables.bin (outside VIctory's own licence, so nothing from it or derived from it enters Leonida), the link to the 22 retail imports that docs/audio_hal_exe_calls.md counts, and the XApuConnect first-argument example. The same file and section as #824, so whichever merges second will be rebased onto the first and reduced to what the first does not say. Documentation only, no game files. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: RBF0-TREE-SHARED-REPORT-PATH -> #1214

<!-- gh-comment-id:7143561595 --> @breachato commented on GitHub (Nov 24, 2026): done: RBF0-TREE-SHARED-REPORT-PATH -> #1214
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: ODRP-7A-SHARED-REPORT-PATH -> #1215

<!-- gh-comment-id:7143562264 --> @breachato commented on GitHub (Nov 24, 2026): done: ODRP-7A-SHARED-REPORT-PATH -> #1215
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: FEATURE-SCAN-SHARED-REPORT-PATH -> #1216

<!-- gh-comment-id:7143562776 --> @breachato commented on GitHub (Nov 24, 2026): done: FEATURE-SCAN-SHARED-REPORT-PATH -> #1216
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: RUNTIME-CTEST-HOST-PARITY -- a docs page recording the runtime ctest suite by host (Wine 10.0 under #1150 vs native Windows 10 on the same Pascal card): which failures are host limits and heal, and the deterministic ones that only appear natively (d3d12_subgroup SEGFAULT, d3d12_set_descriptor_heaps, d3d12_close_parity, d3d12_pso_validation, xdxr_build_check needing 212 s). No game files

<!-- gh-comment-id:7143569659 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: RUNTIME-CTEST-HOST-PARITY -- a docs page recording the runtime ctest suite by host (Wine 10.0 under #1150 vs native Windows 10 on the same Pascal card): which failures are host limits and heal, and the deterministic ones that only appear natively (d3d12_subgroup SEGFAULT, d3d12_set_descriptor_heaps, d3d12_close_parity, d3d12_pso_validation, xdxr_build_check needing 212 s). No game files
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

finding: ctest's 120 s valve is too short for xdxr_build_check on a 4 GB Pascal card -- it passes in 212 s with --timeout 400 on Windows 10 native, so a full-suite run scores a Timeout. runtime/CMakeLists.txt sets the per-test timeout; needs no game files, needs a DXR-less-or-slow GPU to notice

<!-- gh-comment-id:7143570457 --> @robot00f commented on GitHub (Nov 24, 2026): finding: ctest's 120 s valve is too short for xdxr_build_check on a 4 GB Pascal card -- it passes in 212 s with --timeout 400 on Windows 10 native, so a full-suite run scores a Timeout. runtime/CMakeLists.txt sets the per-test timeout; needs no game files, needs a DXR-less-or-slow GPU to notice
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: RUNTIME-CTEST-HOST-PARITY -> #1217

<!-- gh-comment-id:7143590293 --> @robot00f commented on GitHub (Nov 24, 2026): done: RUNTIME-CTEST-HOST-PARITY -> #1217
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: VK-DEVICE-FILTER-WINE -- runtime/test/check_device_filter_tools.py runs the Windows tools directly, so a ctest run on Linux gets Exec format error (found by #1150). Run a Windows PE through wine there and natively on Windows, skip with 77 when wine is absent, with a unit test of the launcher choice. No game files, no GPU needed for the test

<!-- gh-comment-id:7143617202 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: VK-DEVICE-FILTER-WINE -- runtime/test/check_device_filter_tools.py runs the Windows tools directly, so a ctest run on Linux gets Exec format error (found by #1150). Run a Windows PE through wine there and natively on Windows, skip with 77 when wine is absent, with a unit test of the launcher choice. No game files, no GPU needed for the test
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

done: RT-SHADER-INDEX-BLOCK-READ -> #1218

The full first shader-index load fell from 345 to 295 ms on the larger synthetic Windows workload, and from 202 to 139 ms on top of #1108. A read error after a valid JSON prefix is now reported. The native RTX and Radeon compute tests passed.

<!-- gh-comment-id:7143634384 --> @sodove commented on GitHub (Nov 24, 2026): done: RT-SHADER-INDEX-BLOCK-READ -> #1218 The full first shader-index load fell from 345 to 295 ms on the larger synthetic Windows workload, and from 202 to 139 ms on top of #1108. A read error after a valid JSON prefix is now reported. The native RTX and Radeon compute tests passed.
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: GPU-RX9070XT-REFRESH -> #1220

RX 9070 XT (RDNA4, AMD proprietary 26.11.2) on main 58be9cd: run_gpu_tests.py 236/252 pass, 16 skipped, 0 failed, native and with LEONIDA_W64_EMULATE=1; build.py exit 0 and check.py 219/222 (3 mesh skips) both ways, the first build.py/check.py numbers for this card. ms_wave_info_s3, failing on every native run in the 2026-11-23 record, passes with 4096/4096 exact pixels (3 of 3 isolated reruns each way). Counts only.

<!-- gh-comment-id:7143640919 --> @iFeyz commented on GitHub (Nov 24, 2026): done: GPU-RX9070XT-REFRESH -> #1220 RX 9070 XT (RDNA4, AMD proprietary 26.11.2) on `main` 58be9cd: run_gpu_tests.py 236/252 pass, 16 skipped, 0 failed, native and with `LEONIDA_W64_EMULATE=1`; build.py exit 0 and check.py 219/222 (3 mesh skips) both ways, the first build.py/check.py numbers for this card. `ms_wave_info_s3`, failing on every native run in the 2026-11-23 record, passes with 4096/4096 exact pixels (3 of 3 isolated reruns each way). Counts only.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: VK-DEVICE-FILTER-WINE -> #1219

<!-- gh-comment-id:7143642030 --> @robot00f commented on GitHub (Nov 24, 2026): done: VK-DEVICE-FILTER-WINE -> #1219
Author
Owner

@Miici0 commented on GitHub (Nov 24, 2026):

finding: xbox_present crashes intermittently (~2% of runs) on main fce586c6d, only when launched through ctest, never standalone | where: the crash happens on the very first PresentX call in runtime/test/xbox_present_test.cpp (the fill() + PresentX sequence around line 444-479), inside the presenter's first capture-buffer setup; the two candidate call sites are prepare_compose() (runtime/src/vulkan_present.h:789-790) and make_capture_buffer() (vulkan_present.h:1004), both reading vkGetPhysicalDeviceMemoryProperties_ against the presenter's stored physical_ | symptom: exit 0xC0000409 once, preceded by [Vulkan Loader] ERROR: vkGetPhysicalDeviceMemoryProperties: Invalid physicalDevice [VUID-vkGetPhysicalDeviceMemoryProperties-physicalDevice-parameter]; a bare SEGFAULT with no preceding message on a separate occurrence - looks like a genuine race, not a deterministic logic bug

What was ruled out, so nobody repeats the work: confirmed independent of local changes via git stash/git stash pop bisection (fails identically on unmodified main). Over 110 attempts total: standalone xbox_present_test.exe (30 runs, with and without LEONIDA_VK_VALIDATION=1) - always clean; the same binary run back-to-back after d3d12_execute_indirect_validation_test.exe, same working directory as ctest uses (runtime/build) - always clean; ctest -R with LEONIDA_VK_VALIDATION=1 - clean; ctest -R with VK_LOADER_LAYERS_DISABLE=* (disables all implicit layers; RTSS's Vulkan layer and OBS's graphics-hook64.dll were observed injected into the test process via cdb's module list) - clean, 8/8; a same-size control batch with nothing disabled - also clean, 8/8; 30 further attempts wrapped in cdb -o -g -G with exception filters armed for 0xC0000005/0xC0000409 (auto .dump /ma + !analyze -v) - no crash caught, no dump. The crash reproduces only via a bare ctest -R "xbox_present_readback_size|d3d12_execute_indirect_validation|^xbox_present$" invocation with no instrumentation, 2 times out of roughly a dozen attempts that way - any validation layer, debugger, or disabled-layers environment seems to shift timing enough to hide it. This is as far as static analysis plus black-box repro can take it without a debugger that actually catches the live exception.

Companion fix (not a claim that it resolves this crash, just a real gap found while investigating): make_capture_buffer() called vkGetPhysicalDeviceMemoryProperties_(physical_, ...) without checking the function pointer for null first, unlike prepare_compose() right above it which does. Added the matching guard.

Needs: no game files; Windows + any Vulkan GPU should be able to attempt repro, though the low rate (~2%) makes it slow going. GPU here: NVIDIA GeForce RTX 4070 SUPER, driver 621.24, Windows 11 26300.9974, Vulkan SDK 1.4.363.1.

AI-assisted (Claude Code).

<!-- gh-comment-id:7143642803 --> @Miici0 commented on GitHub (Nov 24, 2026): finding: `xbox_present` crashes intermittently (~2% of runs) on `main` `fce586c6d`, only when launched through `ctest`, never standalone | where: the crash happens on the very first `PresentX` call in `runtime/test/xbox_present_test.cpp` (the `fill()` + `PresentX` sequence around line 444-479), inside the presenter's first capture-buffer setup; the two candidate call sites are `prepare_compose()` (`runtime/src/vulkan_present.h:789-790`) and `make_capture_buffer()` (`vulkan_present.h:1004`), both reading `vkGetPhysicalDeviceMemoryProperties_` against the presenter's stored `physical_` | symptom: exit `0xC0000409` once, preceded by `[Vulkan Loader] ERROR: vkGetPhysicalDeviceMemoryProperties: Invalid physicalDevice [VUID-vkGetPhysicalDeviceMemoryProperties-physicalDevice-parameter]`; a bare SEGFAULT with no preceding message on a separate occurrence - looks like a genuine race, not a deterministic logic bug What was ruled out, so nobody repeats the work: confirmed independent of local changes via `git stash`/`git stash pop` bisection (fails identically on unmodified `main`). Over 110 attempts total: standalone `xbox_present_test.exe` (30 runs, with and without `LEONIDA_VK_VALIDATION=1`) - always clean; the same binary run back-to-back after `d3d12_execute_indirect_validation_test.exe`, same working directory as ctest uses (`runtime/build`) - always clean; `ctest -R` with `LEONIDA_VK_VALIDATION=1` - clean; `ctest -R` with `VK_LOADER_LAYERS_DISABLE=*` (disables all implicit layers; RTSS's Vulkan layer and OBS's `graphics-hook64.dll` were observed injected into the test process via `cdb`'s module list) - clean, 8/8; a same-size control batch with nothing disabled - also clean, 8/8; 30 further attempts wrapped in `cdb -o -g -G` with exception filters armed for `0xC0000005`/`0xC0000409` (auto `.dump /ma` + `!analyze -v`) - no crash caught, no dump. The crash reproduces only via a bare `ctest -R "xbox_present_readback_size|d3d12_execute_indirect_validation|^xbox_present$"` invocation with no instrumentation, 2 times out of roughly a dozen attempts that way - any validation layer, debugger, or disabled-layers environment seems to shift timing enough to hide it. This is as far as static analysis plus black-box repro can take it without a debugger that actually catches the live exception. Companion fix (not a claim that it resolves this crash, just a real gap found while investigating): `make_capture_buffer()` called `vkGetPhysicalDeviceMemoryProperties_(physical_, ...)` without checking the function pointer for null first, unlike `prepare_compose()` right above it which does. Added the matching guard. Needs: no game files; Windows + any Vulkan GPU should be able to attempt repro, though the low rate (~2%) makes it slow going. GPU here: NVIDIA GeForce RTX 4070 SUPER, driver 621.24, Windows 11 26300.9974, Vulkan SDK 1.4.363.1. AI-assisted (Claude Code).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: OLD-10043 - carry forward old-pr/10043 (draft #308, by @tedin7): anim_glb: bind weighted bones outside the skeleton as extra rest-pose joints. Rebased on main preserving original author commit; audited and verified locally. No game files.

<!-- gh-comment-id:7143657006 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: OLD-10043 - carry forward old-pr/10043 (draft #308, by @tedin7): anim_glb: bind weighted bones outside the skeleton as extra rest-pose joints. Rebased on main preserving original author commit; audited and verified locally. No game files.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: OLD-10043 -> #1221

<!-- gh-comment-id:7143657968 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: OLD-10043 -> #1221
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

claiming: TEST-DEVICE-FLAGS-TIGHT-ALIGNMENT - d3d12_vulkan_device fails at argument_mismatches (compare_invalid_arguments, runtime/test/d3d12_vulkan_device_test.cpp) on hosts where ID3D12Device11 exists but resource flag 0x400 (USE_TIGHT_ALIGNMENT) is refused. This corrects my finding https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142087413: it is not the Intel driver alone. Measured: with D3D12Core 10.0.26100.5074 (Windows 11 24H2 build 26100.6584) an Iris Xe, an RTX 4060 Laptop and WARP all refuse 0x400, do not know feature 54 (D3D12_FEATURE_D3D12_TIGHT_ALIGNMENT) and accept 0x200 on a buffer; with the Agility SDK's D3D12Core 1.618.5 or 1.620.2 as the host runtime the RTX 4060 (NVIDIA 621.40) reports TIER_1 and accepts 0x400, the Iris Xe (Intel 32.0.101.7092) and WARP report NOT_SUPPORTED and refuse it, and all three refuse 0x200 on a buffer (it is VIDEO_PROCESS_3DLUT_ONLY, for 3D textures). Fix, test only: the two 0x400 cases are compared on a host that reports tight alignment TIER_1 instead of one with ID3D12Device11, the 0x200 case on a host whose runtime knows the feature, and the three cases keep the layer's recorded answer where the host is not comparable. The layer is not changed. No game files. AI-assisted.

<!-- gh-comment-id:7143658117 --> @MalexAson commented on GitHub (Nov 24, 2026): claiming: TEST-DEVICE-FLAGS-TIGHT-ALIGNMENT - `d3d12_vulkan_device` fails at `argument_mismatches` (`compare_invalid_arguments`, `runtime/test/d3d12_vulkan_device_test.cpp`) on hosts where `ID3D12Device11` exists but resource flag 0x400 (`USE_TIGHT_ALIGNMENT`) is refused. This corrects my finding https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142087413: it is not the Intel driver alone. Measured: with D3D12Core 10.0.26100.5074 (Windows 11 24H2 build 26100.6584) an Iris Xe, an RTX 4060 Laptop and WARP all refuse 0x400, do not know feature 54 (`D3D12_FEATURE_D3D12_TIGHT_ALIGNMENT`) and accept 0x200 on a buffer; with the Agility SDK's D3D12Core 1.618.5 or 1.620.2 as the host runtime the RTX 4060 (NVIDIA 621.40) reports `TIER_1` and accepts 0x400, the Iris Xe (Intel 32.0.101.7092) and WARP report `NOT_SUPPORTED` and refuse it, and all three refuse 0x200 on a buffer (it is `VIDEO_PROCESS_3DLUT_ONLY`, for 3D textures). Fix, test only: the two 0x400 cases are compared on a host that reports tight alignment `TIER_1` instead of one with `ID3D12Device11`, the 0x200 case on a host whose runtime knows the feature, and the three cases keep the layer's recorded answer where the host is not comparable. The layer is not changed. No game files. AI-assisted.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

done: TEST-DEVICE-FLAGS-TIGHT-ALIGNMENT -> #1222

<!-- gh-comment-id:7143669846 --> @MalexAson commented on GitHub (Nov 24, 2026): done: TEST-DEVICE-FLAGS-TIGHT-ALIGNMENT -> #1222
Author
Owner

@Miici0 commented on GitHub (Nov 24, 2026):

claiming: RT-PRESENT-CAPTURE-NULLGUARD - the companion fix mentioned in my xbox_present finding above (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7143642803): make_capture_buffer() in runtime/src/vulkan_present.h calls vkGetPhysicalDeviceMemoryProperties_(physical_, ...) without checking the function pointer for null, unlike prepare_compose() right above it which does. Adding the matching guard. Does not claim to fix the intermittent crash itself (still unconfirmed root cause, see the finding), just closes a real null-pointer-call gap found while investigating it. No game files; tested on NVIDIA GeForce RTX 4070 SUPER. AI-assisted.

<!-- gh-comment-id:7143716337 --> @Miici0 commented on GitHub (Nov 24, 2026): claiming: RT-PRESENT-CAPTURE-NULLGUARD - the companion fix mentioned in my xbox_present finding above (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7143642803): `make_capture_buffer()` in `runtime/src/vulkan_present.h` calls `vkGetPhysicalDeviceMemoryProperties_(physical_, ...)` without checking the function pointer for null, unlike `prepare_compose()` right above it which does. Adding the matching guard. Does not claim to fix the intermittent crash itself (still unconfirmed root cause, see the finding), just closes a real null-pointer-call gap found while investigating it. No game files; tested on NVIDIA GeForce RTX 4070 SUPER. AI-assisted.
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

claiming: OLD-9934

<!-- gh-comment-id:7143723077 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): claiming: OLD-9934
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

claiming: OLD-10067

<!-- gh-comment-id:7143723363 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): claiming: OLD-10067
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

claiming: OLD-10025

<!-- gh-comment-id:7143723675 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): claiming: OLD-10025
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

claiming: OLD-9792

<!-- gh-comment-id:7143723915 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): claiming: OLD-9792
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

claiming: OLD-8385

<!-- gh-comment-id:7143724194 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): claiming: OLD-8385
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

claiming: OLD-2528

<!-- gh-comment-id:7143724472 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): claiming: OLD-2528
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

claiming: OLD-10050

<!-- gh-comment-id:7143724801 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): claiming: OLD-10050
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: TEST-INTERP-IJ-CFG - interp_ij_analysis in tools/rdna2spirv.py (SHADER-177, computed I/J pairs) has its refusals tested only on the f32 pair in straight-line code: with tools/semantic_mutants.py (#734), 22 of its 115 mutants survive all 15 interpolation test files run together, and about 15 of them are real gaps (the rest only change behaviour on operands the decoder never produces). Untested on main: a pair split only by a branch target (the leader added at line 16791: s_cbranch_scc0 landing on the p2 is refused today, removing the line accepts it), s_branch having no fallthrough edge (16815), a write at or after the site not reaching it (16828, 16841), a write two blocks back and a loop that never writes the register (16837-16840, the latter hangs without seen), a p1 whose only p2 comes before it (16889), and the f16 pair: the nearest p1 (16897), the rewritten-partial check using the p1's vdst rather than the p2's (16917), and one p1 partial read by two p2s (16930-16932, translated today, refused by the mutants). I will add these cases to tests/semantic/test_interp_computed_ij.py and check the full run catches them. Test only, no translator change; the --bary-fallback (#120) and --f16-interp-fallback refusals are left to their claims. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7143774321 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: TEST-INTERP-IJ-CFG - interp_ij_analysis in tools/rdna2spirv.py (SHADER-177, computed I/J pairs) has its refusals tested only on the f32 pair in straight-line code: with tools/semantic_mutants.py (#734), 22 of its 115 mutants survive all 15 interpolation test files run together, and about 15 of them are real gaps (the rest only change behaviour on operands the decoder never produces). Untested on main: a pair split only by a branch target (the leader added at line 16791: `s_cbranch_scc0` landing on the p2 is refused today, removing the line accepts it), s_branch having no fallthrough edge (16815), a write at or after the site not reaching it (16828, 16841), a write two blocks back and a loop that never writes the register (16837-16840, the latter hangs without `seen`), a p1 whose only p2 comes before it (16889), and the f16 pair: the nearest p1 (16897), the rewritten-partial check using the p1's vdst rather than the p2's (16917), and one p1 partial read by two p2s (16930-16932, translated today, refused by the mutants). I will add these cases to tests/semantic/test_interp_computed_ij.py and check the full run catches them. Test only, no translator change; the --bary-fallback (#120) and --f16-interp-fallback refusals are left to their claims. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

done: OLD-9934 -> #1224

<!-- gh-comment-id:7143785762 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): done: OLD-9934 -> #1224
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: RBF0-INDEX-SHARED-REPORT-PATH - tools/rbf0_index.py:542 carries a private same_output_path (realpath + normcase + samefile) used by the out guard at :562 (source vs out), :577 (the carve manifest) and :578 (each carved stream), while CONTRIBUTING.md asks a report writer to call report_paths.same_report_path rather than derive the answer again; the private copy also misses that helper fingerprint of a folding volume, so on a Linux mount that ignores case (vfat, exFAT, CIFS) --out R.json and --out r.json pass as two reports and the second replaces the first, including when the first is the archive or a stream being scanned. This is the same one-topic refactor as #1214/#1215/#1216 and #1162; it does not touch the staging/permissions path claimed by RBF0-INDEX-STAGE-CLEANUP (#791). I will import same_report_path (the tool already puts its folder on sys.path) and call it at the three sites; no test calls the private name, so it goes with the duplication. tests/test_rbf0_index.py and tests/test_rbf0_index_short_continuation.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143809247 --> @breachato commented on GitHub (Nov 24, 2026): claiming: RBF0-INDEX-SHARED-REPORT-PATH - `tools/rbf0_index.py:542` carries a private `same_output_path` (realpath + normcase + samefile) used by the `out` guard at `:562` (source vs out), `:577` (the carve manifest) and `:578` (each carved stream), while CONTRIBUTING.md asks a report writer to call `report_paths.same_report_path` rather than derive the answer again; the private copy also misses that helper fingerprint of a folding volume, so on a Linux mount that ignores case (vfat, exFAT, CIFS) `--out R.json` and `--out r.json` pass as two reports and the second replaces the first, including when the first is the archive or a stream being scanned. This is the same one-topic refactor as #1214/#1215/#1216 and #1162; it does not touch the staging/permissions path claimed by RBF0-INDEX-STAGE-CLEANUP (#791). I will import `same_report_path` (the tool already puts its folder on `sys.path`) and call it at the three sites; no test calls the private name, so it goes with the duplication. `tests/test_rbf0_index.py` and `tests/test_rbf0_index_short_continuation.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: TEXT-TABLES-SHARED-REPORT-PATH - tools/text_tables.py:427 carries a private _same_output_path (realpath + normcase + samefile) used at :460 (the three --dialogue/--tables/--strings outputs against each other) and :466 (the outputs against index.json), plus an inline os.path.samefile against each input at :463, so the tool answers the same question two ways; CONTRIBUTING.md asks a report writer to call report_paths.same_report_path instead, and the private copy misses its folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) two outputs that differ only in case pass as distinct and the second replaces the first, and an output named like an input with different case is not refused. Different topic from TEXT-TABLES-RO-CLEANUP (#818, staged-file permissions). I will import same_report_path and call it at all three places; no test calls the private name, so it goes. tests/test_text_tables.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143809865 --> @breachato commented on GitHub (Nov 24, 2026): claiming: TEXT-TABLES-SHARED-REPORT-PATH - `tools/text_tables.py:427` carries a private `_same_output_path` (realpath + normcase + samefile) used at `:460` (the three `--dialogue`/`--tables`/`--strings` outputs against each other) and `:466` (the outputs against `index.json`), plus an inline `os.path.samefile` against each input at `:463`, so the tool answers the same question two ways; CONTRIBUTING.md asks a report writer to call `report_paths.same_report_path` instead, and the private copy misses its folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) two outputs that differ only in case pass as distinct and the second replaces the first, and an output named like an input with different case is not refused. Different topic from TEXT-TABLES-RO-CLEANUP (#818, staged-file permissions). I will import `same_report_path` and call it at all three places; no test calls the private name, so it goes. `tests/test_text_tables.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: RTTI-SCAN-SHARED-REPORT-PATH - tools/rtti_scan.py:518-524 derives the report-path answer inline in main (realpath + normcase, then samefile with a bare except OSError: pass) to refuse an --out that would overwrite the image being scanned; CONTRIBUTING.md asks a report writer to call report_paths.same_report_path instead of deriving it again, and the inline copy misses that helper folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) --out IMAGE.rtti.json next to image.rtti.json is not refused. Different topic from RTTI-SCAN-STAGE-CLEANUP (#798, staged-file permissions). I will import same_report_path (the tool already puts its folder on sys.path for file_mode) and call it once; nothing else references the inline name. tests/test_rtti_scan.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143810576 --> @breachato commented on GitHub (Nov 24, 2026): claiming: RTTI-SCAN-SHARED-REPORT-PATH - `tools/rtti_scan.py:518-524` derives the report-path answer inline in `main` (realpath + normcase, then `samefile` with a bare `except OSError: pass`) to refuse an `--out` that would overwrite the image being scanned; CONTRIBUTING.md asks a report writer to call `report_paths.same_report_path` instead of deriving it again, and the inline copy misses that helper folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) `--out IMAGE.rtti.json` next to `image.rtti.json` is not refused. Different topic from RTTI-SCAN-STAGE-CLEANUP (#798, staged-file permissions). I will import `same_report_path` (the tool already puts its folder on `sys.path` for `file_mode`) and call it once; nothing else references the inline name. `tests/test_rtti_scan.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: OLD-9973 - carry forward old-pr/9973 (draft #242, by @nandanp1): merge_check: separate Git revisions from checkout paths (-- on git log, git diff, and git show). Rebased on current main preserving the original author commit and verified with full tests + revert-source mutation proof.

<!-- gh-comment-id:7143811846 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: OLD-9973 - carry forward `old-pr/9973` (draft #242, by @nandanp1): `merge_check`: separate Git revisions from checkout paths (`--` on `git log`, `git diff`, and `git show`). Rebased on current `main` preserving the original author commit and verified with full tests + revert-source mutation proof.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9958 -> #1225

<!-- gh-comment-id:7143812856 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9958 -> #1225
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: OLD-9973 -> #1226

<!-- gh-comment-id:7143812871 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: OLD-9973 -> #1226
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9959 - carry forward old-pr/9959 (draft #225, by slipperysquid, SHADER-1404): image_sample* outside 2D selects the UINT/SINT sampled view in tools/rdna2spirv.py, plus vk_texture_test modes, GPU fixtures, docs/design.md row, and semantic tests, rebased on main with slipperysquid kept as author. No game files. AI-assisted.

<!-- gh-comment-id:7143833765 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9959 - carry forward old-pr/9959 (draft #225, by slipperysquid, SHADER-1404): image_sample* outside 2D selects the UINT/SINT sampled view in tools/rdna2spirv.py, plus vk_texture_test modes, GPU fixtures, docs/design.md row, and semantic tests, rebased on main with slipperysquid kept as author. No game files. AI-assisted.
Author
Owner

@Miici0 commented on GitHub (Nov 24, 2026):

claiming: D3D-TRANSFORM-FEEDBACK-DEVICE - foundation for D3D-302 (stream output): detect VK_EXT_transform_feedback and its transformFeedback/geometryStreams features on the physical device, and enable them on the logical device when present, in runtime/shims/d3d12_vulkan_device.cpp and the new VulkanDeviceInfo::transform_feedback/transform_feedback_geometry_streams fields in runtime/shims/d3d12_com.h - the same pattern the existing VK_EXT_mesh_shader detection/enable code already uses. This is device-capability plumbing only: no behaviour changes yet, StreamOutput PSOs and SOSetTargets stay refused/not implemented exactly as before. It's a step toward actually implementing stream output (SOSetTargets, PSO acceptance, the real-buffer path), which is separate, larger follow-up work I may or may not get to. No game files; confirmed VK_EXT_transform_feedback is available with 4 streams/4 buffers on an NVIDIA GeForce RTX 4070 SUPER (driver 621.24). AI-assisted.

<!-- gh-comment-id:7143836989 --> @Miici0 commented on GitHub (Nov 24, 2026): claiming: D3D-TRANSFORM-FEEDBACK-DEVICE - foundation for D3D-302 (stream output): detect VK_EXT_transform_feedback and its transformFeedback/geometryStreams features on the physical device, and enable them on the logical device when present, in `runtime/shims/d3d12_vulkan_device.cpp` and the new `VulkanDeviceInfo::transform_feedback`/`transform_feedback_geometry_streams` fields in `runtime/shims/d3d12_com.h` - the same pattern the existing `VK_EXT_mesh_shader` detection/enable code already uses. This is device-capability plumbing only: no behaviour changes yet, StreamOutput PSOs and SOSetTargets stay refused/not implemented exactly as before. It's a step toward actually implementing stream output (SOSetTargets, PSO acceptance, the real-buffer path), which is separate, larger follow-up work I may or may not get to. No game files; confirmed VK_EXT_transform_feedback is available with 4 streams/4 buffers on an NVIDIA GeForce RTX 4070 SUPER (driver 621.24). AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: OLD-9986 - carry forward old-pr/9986 (draft #254, by @lucastayaralvarenga-ui): meshlet_page: validate RPF9 archive headers (size >= 8, RPF9/9FPR magic, 8 <= data_start <= size) before scanning meshlet pages. Rebased on current main preserving the original author commit and verified with full tests + revert-source mutation proof.

<!-- gh-comment-id:7143842079 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: OLD-9986 - carry forward `old-pr/9986` (draft #254, by @lucastayaralvarenga-ui): `meshlet_page`: validate RPF9 archive headers (size >= 8, `RPF9`/`9FPR` magic, `8 <= data_start <= size`) before scanning meshlet pages. Rebased on current `main` preserving the original author commit and verified with full tests + revert-source mutation proof.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: OLD-9986 -> #1230

<!-- gh-comment-id:7143843055 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: OLD-9986 -> #1230
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

claiming: OLD-5237 - carry forward old-pr/5237 (draft #40, by rafaelpssz, SHADER-892): the PS FRONT_FACE VGPR holds 0xffffffff / 0 (SPI_BARYC_CNTL.FRONT_FACE_ALL_BITS = 1), rebased on main with rafaelpssz kept as author, verified with tests/test_ps_front_face.py and the semantic test suite. No game files. AI-assisted: yes.

<!-- gh-comment-id:7143844913 --> @Tortoche commented on GitHub (Nov 24, 2026): claiming: OLD-5237 - carry forward old-pr/5237 (draft #40, by rafaelpssz, SHADER-892): the PS FRONT_FACE VGPR holds 0xffffffff / 0 (SPI_BARYC_CNTL.FRONT_FACE_ALL_BITS = 1), rebased on main with rafaelpssz kept as author, verified with tests/test_ps_front_face.py and the semantic test suite. No game files. AI-assisted: yes.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: RBF0-INDEX-SHARED-REPORT-PATH -> #1227

<!-- gh-comment-id:7143845127 --> @breachato commented on GitHub (Nov 24, 2026): done: RBF0-INDEX-SHARED-REPORT-PATH -> #1227
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: TEXT-TABLES-SHARED-REPORT-PATH -> #1228

<!-- gh-comment-id:7143846376 --> @breachato commented on GitHub (Nov 24, 2026): done: TEXT-TABLES-SHARED-REPORT-PATH -> #1228
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: RTTI-SCAN-SHARED-REPORT-PATH -> #1229

<!-- gh-comment-id:7143846867 --> @breachato commented on GitHub (Nov 24, 2026): done: RTTI-SCAN-SHARED-REPORT-PATH -> #1229
Author
Owner

@Sangonapou commented on GitHub (Nov 24, 2026):

done: SHADER-F32-SPECIAL-RESULTS -> #1231

<!-- gh-comment-id:7143865672 --> @Sangonapou commented on GitHub (Nov 24, 2026): done: SHADER-F32-SPECIAL-RESULTS -> #1231
Author
Owner

@iFeyz commented on GitHub (Nov 24, 2026):

done: RT-DIRECT-HEAP-GRAPHICS -> #1232 (depends on #974 and #1064)

With the directly-indexed root-signature flags, DrawInstanced, DrawIndexedInstanced and DispatchMesh now record the resource heap's 32-bit address in the dword after the graphics root arguments and the sampler heap's in the next (from s8 for VS/PS/GS; a mesh shader reads the same push dwords from s16 through #974's window), the layout @DadaCap measured on the retail library and the one #1064 uses for compute. A signature with parameters in the argument block gets nothing written (no slot is measured there). d3d12_mesh_test on an RX 9070 XT checks a vertex and a mesh draw, a rebind, a signature ending at s30 and a spilled one; ctest 303/307 with only the four failures main already has. @Moriz82 this is the graphics side of #1064; whichever lands second carries graphics_user_data() next to your compute_user_data(). No game data.

<!-- gh-comment-id:7143875010 --> @iFeyz commented on GitHub (Nov 24, 2026): done: RT-DIRECT-HEAP-GRAPHICS -> #1232 (depends on #974 and #1064) With the directly-indexed root-signature flags, DrawInstanced, DrawIndexedInstanced and DispatchMesh now record the resource heap's 32-bit address in the dword after the graphics root arguments and the sampler heap's in the next (from s8 for VS/PS/GS; a mesh shader reads the same push dwords from s16 through #974's window), the layout @DadaCap measured on the retail library and the one #1064 uses for compute. A signature with parameters in the argument block gets nothing written (no slot is measured there). `d3d12_mesh_test` on an RX 9070 XT checks a vertex and a mesh draw, a rebind, a signature ending at s30 and a spilled one; `ctest` 303/307 with only the four failures `main` already has. @Moriz82 this is the graphics side of #1064; whichever lands second carries `graphics_user_data()` next to your `compute_user_data()`. No game data.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: OLD-10028 - carry forward old-pr/10028 (draft #296, by @SkippySteve): make_game: gta6rt.sh resolves a relative WINE path before cding to the game folder. Rebased on current main preserving the original author commit, with a small follow-up commit adapting the new test assertion to main's real(...) helper so it passes on macOS symlinked temp dirs (/var -> /private/var).

<!-- gh-comment-id:7143883638 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: OLD-10028 - carry forward `old-pr/10028` (draft #296, by @SkippySteve): `make_game`: `gta6rt.sh` resolves a relative `WINE` path before `cd`ing to the game folder. Rebased on current `main` preserving the original author commit, with a small follow-up commit adapting the new test assertion to `main`'s `real(...)` helper so it passes on macOS symlinked temp dirs (`/var -> /private/var`).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: OLD-10028 -> #1233

<!-- gh-comment-id:7143884815 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: OLD-10028 -> #1233
Author
Owner

@piyonchu commented on GitHub (Nov 24, 2026):

claiming: RT-FS-DISK-SPACE - runtime/shims/file_system.cpp: shim GetDiskFreeSpaceExA/W, GetDiskFreeSpaceA/W, and GetDriveTypeA/W for GAME:, G:, and T: without creating overlay scratch directories on read-only queries, plus tests in runtime/test/file_system_test.cpp. No game files; CPU runtime test only. AI-assisted.

<!-- gh-comment-id:7143904322 --> @piyonchu commented on GitHub (Nov 24, 2026): claiming: RT-FS-DISK-SPACE - runtime/shims/file_system.cpp: shim GetDiskFreeSpaceExA/W, GetDiskFreeSpaceA/W, and GetDriveTypeA/W for GAME:, G:, and T: without creating overlay scratch directories on read-only queries, plus tests in runtime/test/file_system_test.cpp. No game files; CPU runtime test only. AI-assisted.
Author
Owner

@piyonchu commented on GitHub (Nov 24, 2026):

done: RT-FS-DISK-SPACE -> #1234

<!-- gh-comment-id:7143907448 --> @piyonchu commented on GitHub (Nov 24, 2026): done: RT-FS-DISK-SPACE -> #1234
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: OLD-10047 - carry forward old-pr/10047 (draft #312, by @SkippySteve): run_guest_scene: take Wine from $WINE when --wine is not given (matching run_wine_tests.py). Rebased on current main preserving the original author commit and verified with full tests + CI registration + revert-source mutation proof.

<!-- gh-comment-id:7143938929 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: OLD-10047 - carry forward `old-pr/10047` (draft #312, by @SkippySteve): `run_guest_scene`: take Wine from `$WINE` when `--wine` is not given (matching `run_wine_tests.py`). Rebased on current `main` preserving the original author commit and verified with full tests + CI registration + revert-source mutation proof.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: OLD-10047 -> #1239

<!-- gh-comment-id:7143939821 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: OLD-10047 -> #1239
Author
Owner

@titoreinaldo commented on GitHub (Nov 24, 2026):

done: BUILD-EMPTY-SPV-CACHE -> #1235

done: RT-PACER-SUSPEND-EPOCH -> #1237

done: SHADER-BENCH-MIX-BALLOT -> #1238

I also posted exact-head Windows Intel Arc results for the two hardware checks in my claim: 256 control-flow programs on #630 and 12 address-lowering dispatches on #850. The benchmark PR includes independent readback checks from both the RTX 3070 and Intel Arc. Codex-assisted, synthetic inputs throughout.

<!-- gh-comment-id:7143941636 --> @titoreinaldo commented on GitHub (Nov 24, 2026): done: BUILD-EMPTY-SPV-CACHE -> #1235 done: RT-PACER-SUSPEND-EPOCH -> #1237 done: SHADER-BENCH-MIX-BALLOT -> #1238 I also posted exact-head Windows Intel Arc results for the two hardware checks in my claim: [256 control-flow programs on #630](https://github.com/ubiquitarianism/leonida/pull/630#issuecomment-7143684513) and [12 address-lowering dispatches on #850](https://github.com/ubiquitarianism/leonida/pull/850#issuecomment-7143761330). The benchmark PR includes independent readback checks from both the RTX 3070 and Intel Arc. Codex-assisted, synthetic inputs throughout.
Author
Owner

@piyonchu commented on GitHub (Nov 24, 2026):

claiming: RT-PSM-APPNOTIFY-WER - runtime/shims/appnotify.cpp: shim PSM app-notification (Register/UnregisterAppStateChangeNotification, Register/UnregisterAppConstrainedChangeNotification) and WER file registration APIs (WerRegisterFile, WerUnregisterFile) with tracked handles and offline console path normalization, plus tests in runtime/test/appnotify_test.cpp. No game files; CPU runtime test only. AI-assisted.

<!-- gh-comment-id:7143941737 --> @piyonchu commented on GitHub (Nov 24, 2026): claiming: RT-PSM-APPNOTIFY-WER - runtime/shims/appnotify.cpp: shim PSM app-notification (Register/UnregisterAppStateChangeNotification, Register/UnregisterAppConstrainedChangeNotification) and WER file registration APIs (WerRegisterFile, WerUnregisterFile) with tracked handles and offline console path normalization, plus tests in runtime/test/appnotify_test.cpp. No game files; CPU runtime test only. AI-assisted.
Author
Owner

@piyonchu commented on GitHub (Nov 24, 2026):

done: RT-PSM-APPNOTIFY-WER -> #1240

<!-- gh-comment-id:7143944645 --> @piyonchu commented on GitHub (Nov 24, 2026): done: RT-PSM-APPNOTIFY-WER -> #1240
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: OLD-9952 - carry forward old-pr/9952 (draft #221, by @SkippySteve): run_wine_session: initialize and stop the Wine prefix with $WINE and its matching wineserver (or $WINESERVER). Rebased on current main preserving the original author commit and verified with tests, all 12 test_docs_*.py, CI registration, and revert-source mutation proof.

<!-- gh-comment-id:7143971555 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: OLD-9952 - carry forward `old-pr/9952` (draft #221, by @SkippySteve): `run_wine_session`: initialize and stop the Wine prefix with `$WINE` and its matching `wineserver` (or `$WINESERVER`). Rebased on current `main` preserving the original author commit and verified with tests, all 12 `test_docs_*.py`, CI registration, and revert-source mutation proof.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: OLD-9952 -> #1241

<!-- gh-comment-id:7143972479 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: OLD-9952 -> #1241
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: NAVMESH-DECODE-SHARED-REPORT-PATH - tools/navmesh_decode.py:1049-1081 is a full private copy of tools/report_paths.py: _PC_CASE_SENSITIVE, _case_insensitive_volume (the macOS pathconf probe), _path_key (realpath + normcase + NFD casefold) and its own same_report_path, used by the four guards at :1101 (--csv vs --out), :1108 (the input), :1112 (the carve manifest) and :1115 (each carved entry). CONTRIBUTING.md asks a report writer to call report_paths.same_report_path instead of deriving it again, and this copy is also missing that helper folding-volume probe (same_name_on_folding_volume), so on a Linux mount that ignores case (vfat, exFAT, CIFS) --out R.json and --csv r.json pass as two reports and the second replaces the first. I will import same_report_path from report_paths while keeping the module-level name (tests/test_report_path_case.py resolves navmesh_decode.same_report_path), and drop the four private helpers plus the now-unused unicodedata import. Different topic from NAVMESH-JOAAT-LATIN1 (the joaat_cs encoding). tests/test_navmesh_decode.py and tests/test_report_path_case.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143974964 --> @breachato commented on GitHub (Nov 24, 2026): claiming: NAVMESH-DECODE-SHARED-REPORT-PATH - `tools/navmesh_decode.py:1049-1081` is a full private copy of `tools/report_paths.py`: `_PC_CASE_SENSITIVE`, `_case_insensitive_volume` (the macOS `pathconf` probe), `_path_key` (realpath + normcase + NFD casefold) and its own `same_report_path`, used by the four guards at `:1101` (`--csv` vs `--out`), `:1108` (the input), `:1112` (the carve manifest) and `:1115` (each carved entry). CONTRIBUTING.md asks a report writer to call `report_paths.same_report_path` instead of deriving it again, and this copy is also missing that helper folding-volume probe (`same_name_on_folding_volume`), so on a Linux mount that ignores case (vfat, exFAT, CIFS) `--out R.json` and `--csv r.json` pass as two reports and the second replaces the first. I will import `same_report_path` from `report_paths` while keeping the module-level name (`tests/test_report_path_case.py` resolves `navmesh_decode.same_report_path`), and drop the four private helpers plus the now-unused `unicodedata` import. Different topic from NAVMESH-JOAAT-LATIN1 (the `joaat_cs` encoding). `tests/test_navmesh_decode.py` and `tests/test_report_path_case.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

claiming: RESTOFWORLD-MODEL-JOIN-SHARED-REPORT-PATH - tools/restofworld_model_join.py:1236-1257 derives the report-path answer itself inside _aliases_input: realpath + normcase compared by hand twice (the source, then the carve folder index.json) and os.path.samefile twice, to refuse an --out that would overwrite the archive, the folder manifest or a carved stream. CONTRIBUTING.md asks a report writer to call report_paths.same_report_path instead, and the private copy misses that helper folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) --out INDEX.json beside index.json is not refused. I will import same_report_path (the tool has no sys.path setup for tools/ yet, so one is added, as tex_headers does) and call it for both equalities, keeping _aliases_input signature and its last branch unchanged: the same-folder .bin/.bk2 rule is containment, not equality, and tests/test_carve_short_system_pages.py asserts it. Different topic from OLD-7750 (#886, page-map slots and index.json load). tests/test_restofworld_model_join.py, tests/test_carve_short_system_pages.py and tests/test_report_path_case.py must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.

<!-- gh-comment-id:7143975647 --> @breachato commented on GitHub (Nov 24, 2026): claiming: RESTOFWORLD-MODEL-JOIN-SHARED-REPORT-PATH - `tools/restofworld_model_join.py:1236-1257` derives the report-path answer itself inside `_aliases_input`: realpath + normcase compared by hand twice (the source, then the carve folder `index.json`) and `os.path.samefile` twice, to refuse an `--out` that would overwrite the archive, the folder manifest or a carved stream. CONTRIBUTING.md asks a report writer to call `report_paths.same_report_path` instead, and the private copy misses that helper folding-volume probe, so on a Linux mount that ignores case (vfat, exFAT, CIFS) `--out INDEX.json` beside `index.json` is not refused. I will import `same_report_path` (the tool has no `sys.path` setup for `tools/` yet, so one is added, as `tex_headers` does) and call it for both equalities, keeping `_aliases_input` signature and its last branch unchanged: the same-folder `.bin`/`.bk2` rule is containment, not equality, and `tests/test_carve_short_system_pages.py` asserts it. Different topic from OLD-7750 (#886, page-map slots and `index.json` load). `tests/test_restofworld_model_join.py`, `tests/test_carve_short_system_pages.py` and `tests/test_report_path_case.py` must stay green. Standard-library Python only; no game files, no GPU, nothing online. AI-assisted.
Author
Owner

@piyonchu commented on GitHub (Nov 24, 2026):

claiming: RT-WIN32-ENV-LOC-PIPE - runtime/shims/win32_env.cpp: shim Win32 localization (GetUserDefaultGeoName, GetUserDefaultLocaleName, LocaleNameToLCID with LEONIDA_GEO/LEONIDA_LOCALE overrides), process priority boost (SetProcessPriorityBoost isolated from host gta6rt), and named-pipe APIs (WaitNamedPipeA/W, SetNamedPipeHandleState), plus tests in runtime/test/win32_env_test.cpp. No game files; CPU runtime test only. AI-assisted.

<!-- gh-comment-id:7143977598 --> @piyonchu commented on GitHub (Nov 24, 2026): claiming: RT-WIN32-ENV-LOC-PIPE - runtime/shims/win32_env.cpp: shim Win32 localization (GetUserDefaultGeoName, GetUserDefaultLocaleName, LocaleNameToLCID with LEONIDA_GEO/LEONIDA_LOCALE overrides), process priority boost (SetProcessPriorityBoost isolated from host gta6rt), and named-pipe APIs (WaitNamedPipeA/W, SetNamedPipeHandleState), plus tests in runtime/test/win32_env_test.cpp. No game files; CPU runtime test only. AI-assisted.
Author
Owner

@piyonchu commented on GitHub (Nov 24, 2026):

done: RT-WIN32-ENV-LOC-PIPE -> #1242

<!-- gh-comment-id:7143980927 --> @piyonchu commented on GitHub (Nov 24, 2026): done: RT-WIN32-ENV-LOC-PIPE -> #1242
Author
Owner

@Daolyap commented on GitHub (Nov 24, 2026):

finding: on native Windows the ~33 s exit of the #432 stack is the title's watchdog, and the thing it gives up on is a graphics-init worker blocked on a Semaphore | where: same build as my previous finding, plus #219 merged by hand (no change; slots 86/101/108 are never called); LEONIDA_D3D12=vulkan, LEONIDA_SHADERS set; RTX 3070, driver 32.0.16.1692; Ryzen 5 5600X (12 hardware threads) | why: it narrows "silent init failure" to a cross-thread wait that never completes. Thread sampling at ~18 s and ~22 s (48 threads; suspend, read context, walk the stack for return addresses that follow a call instruction; handle types read from the kernel handle table):

  • The function holding exe+0x2215c35 is a supervisor loop: about 1 s sleep per pass, checks a 64-entry table, and takes the exit (a write to address 0) when an entry passes its limit. It isn't a fault.
  • The main thread (stack back to near the entry point) is in a 10 ms sleep-and-poll loop (exe+0x23cef51, in fn_23ceed0), waiting for a worker it created (entry exe+0x23cefb0) to signal.
  • That worker is in WaitForSingleObject on a Semaphore handle from the graphics-init range (exe+0x4e7f358 <- +0x55db98a <- +0x6259 <- +0x2481f73).
  • Another title thread waits on an Event (exe+0x507b15c <- +0x221957f <- +0x25933da <- +0x2592c66).
  • 15 threads sit idle at exe+0x1f678f5 (they look like job-system workers). Two NVIDIA driver threads are busy in nvgpucomp64 / nvoglv64 with driver-only frames.
  • In that window the device proxy logs no ExecuteCommandLists, Signal or SetEventOnCompletion, so this isn't a GPU fence wait through the layer.

Hypothesis, not confirmed: work posted to the job system is never picked up. One candidate: the title pins threads with mask 0x3fff (14 hardware threads, console layout). game_set_thread_group_affinity (runtime/shims/process.cpp:215) answers "mask 0xfff" on a 12-thread host and leaves the threads unpinned. If work is routed per hardware thread, nothing would run the entries for threads 12-13. A host with 16 or more threads (or the Wine runs reported here) wouldn't hit this. Whoever has a 16+-thread CPU and native Windows could check quickly. | needs: game files; possibly a CPU with fewer than 14 hardware threads. AI-assisted (Claude Code).

<!-- gh-comment-id:7143984673 --> @Daolyap commented on GitHub (Nov 24, 2026): finding: on native Windows the ~33 s exit of the #432 stack is the title's watchdog, and the thing it gives up on is a graphics-init worker blocked on a Semaphore | where: same build as my previous finding, plus #219 merged by hand (no change; slots 86/101/108 are never called); `LEONIDA_D3D12=vulkan`, `LEONIDA_SHADERS` set; RTX 3070, driver 32.0.16.1692; Ryzen 5 5600X (12 hardware threads) | why: it narrows "silent init failure" to a cross-thread wait that never completes. Thread sampling at ~18 s and ~22 s (48 threads; suspend, read context, walk the stack for return addresses that follow a call instruction; handle types read from the kernel handle table): - The function holding `exe+0x2215c35` is a supervisor loop: about 1 s sleep per pass, checks a 64-entry table, and takes the exit (a write to address 0) when an entry passes its limit. It isn't a fault. - The main thread (stack back to near the entry point) is in a 10 ms sleep-and-poll loop (`exe+0x23cef51`, in `fn_23ceed0`), waiting for a worker it created (entry `exe+0x23cefb0`) to signal. - That worker is in `WaitForSingleObject` on a **Semaphore** handle from the graphics-init range (`exe+0x4e7f358 <- +0x55db98a <- +0x6259 <- +0x2481f73`). - Another title thread waits on an **Event** (`exe+0x507b15c <- +0x221957f <- +0x25933da <- +0x2592c66`). - 15 threads sit idle at `exe+0x1f678f5` (they look like job-system workers). Two NVIDIA driver threads are busy in `nvgpucomp64` / `nvoglv64` with driver-only frames. - In that window the device proxy logs no ExecuteCommandLists, Signal or SetEventOnCompletion, so this isn't a GPU fence wait through the layer. Hypothesis, not confirmed: work posted to the job system is never picked up. One candidate: the title pins threads with mask `0x3fff` (14 hardware threads, console layout). `game_set_thread_group_affinity` (`runtime/shims/process.cpp:215`) answers "mask 0xfff" on a 12-thread host and leaves the threads unpinned. If work is routed per hardware thread, nothing would run the entries for threads 12-13. A host with 16 or more threads (or the Wine runs reported here) wouldn't hit this. Whoever has a 16+-thread CPU and native Windows could check quickly. | needs: game files; possibly a CPU with fewer than 14 hardware threads. AI-assisted (Claude Code).
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: TEST-MERGE-CHECK-OLD-GIT - tests/test_merge_check.py does not say that git is too old. scripts/merge_check.py documents git 2.38 or newer for merge-tree --write-tree, but with git 2.36.0.windows.1 the suite ends with 17 JSONDecodeError errors and 2 subtest failures (18 of 24 tests) on main 2e026b03, which reads as a broken tool. I will skip the tests that need --write-tree when git merge-tree -h does not offer it, with the reason in the skip, and keep the other tests running. Test file only; every test still runs on a git that has it. #1226 edits the same file for another topic, so I will check that the two merge. No game files or GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7144000568 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: TEST-MERGE-CHECK-OLD-GIT - `tests/test_merge_check.py` does not say that git is too old. `scripts/merge_check.py` documents git 2.38 or newer for `merge-tree --write-tree`, but with git 2.36.0.windows.1 the suite ends with 17 `JSONDecodeError` errors and 2 subtest failures (18 of 24 tests) on `main` 2e026b03, which reads as a broken tool. I will skip the tests that need `--write-tree` when `git merge-tree -h` does not offer it, with the reason in the skip, and keep the other tests running. Test file only; every test still runs on a git that has it. #1226 edits the same file for another topic, so I will check that the two merge. No game files or GPU. AI-assisted (Claude Code).
Author
Owner

@TheMercerVirus commented on GitHub (Nov 24, 2026):

claiming: DOC-GPU-VERIFICATION-TERMS - define "GPU-checked" (translated SPIR-V run on a GPU) vs "Hardware-measured natively" (native instruction measured on silicon) in the docs/design.md contract table preamble, and reconcile the rows carrying stale "not GPU-verified" / mixed labels against runtime/test/shaders/ fixtures. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7144002604 --> @TheMercerVirus commented on GitHub (Nov 24, 2026): claiming: DOC-GPU-VERIFICATION-TERMS - define "GPU-checked" (translated SPIR-V run on a GPU) vs "Hardware-measured natively" (native instruction measured on silicon) in the docs/design.md contract table preamble, and reconcile the rows carrying stale "not GPU-verified" / mixed labels against runtime/test/shaders/ fixtures. No game files, no GPU. AI-assisted.
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: NAVMESH-DECODE-SHARED-REPORT-PATH -> 1243

<!-- gh-comment-id:7144003551 --> @breachato commented on GitHub (Nov 24, 2026): done: NAVMESH-DECODE-SHARED-REPORT-PATH -> 1243
Author
Owner

@breachato commented on GitHub (Nov 24, 2026):

done: RESTOFWORLD-MODEL-JOIN-SHARED-REPORT-PATH -> 1244

<!-- gh-comment-id:7144004286 --> @breachato commented on GitHub (Nov 24, 2026): done: RESTOFWORLD-MODEL-JOIN-SHARED-REPORT-PATH -> 1244
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

done: OLD-10067 -> #1245

<!-- gh-comment-id:7144020572 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): done: OLD-10067 -> #1245
Author
Owner

@titoreinaldo commented on GitHub (Nov 24, 2026):

finding: real CTest fixture for DASH-CTEST-INCOMPLETE-NESTED (earlier finding). CTest 3.31.10 on Linux: the inner run has wrapper (1/2, passes) and child_2 (2/2, passes). The outer wrapper (1/2) prints the inner LastTest.log and exits 1; later (2/2) passes. With the inner log intact, parse_lasttest reports wrapper=fail, later=pass. Removing just the inner End testing: line makes it drop both results. The inner and outer wrapper records share the name, ordinal, and start/end timestamps, so those fields alone can mistake the inner pass for the outer verdict. JUnit from the same outer run still reports both correctly; ctest --output-junit <file> with the dashboard’s --ctest-junit <file> preserves the results. No GPU or game data. AI-assisted.

<!-- gh-comment-id:7144069427 --> @titoreinaldo commented on GitHub (Nov 24, 2026): finding: real CTest fixture for `DASH-CTEST-INCOMPLETE-NESTED` ([earlier finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7143409370)). CTest 3.31.10 on Linux: the inner run has `wrapper` (1/2, passes) and `child_2` (2/2, passes). The outer `wrapper` (1/2) prints the inner `LastTest.log` and exits 1; `later` (2/2) passes. With the inner log intact, `parse_lasttest` reports `wrapper=fail`, `later=pass`. Removing just the inner `End testing:` line makes it drop both results. The inner and outer wrapper records share the name, ordinal, and start/end timestamps, so those fields alone can mistake the inner pass for the outer verdict. JUnit from the same outer run still reports both correctly; `ctest --output-junit <file>` with the dashboard’s `--ctest-junit <file>` preserves the results. No GPU or game data. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9959 -> #1247

<!-- gh-comment-id:7144091880 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9959 -> #1247
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-INSERTQ-IMM8

tools/x64_recomp.py's 0F table gives opcode 0x78 the operand shape Ev Ib, one immediate byte. With a mandatory prefix it is SSE4a code instead: F2 0F 78 /r ib ib (insertq) and 66 0F 78 /0 ib ib (extrq) each take two imm8 bytes, so the walk stopped in the middle of the second immediate and read the rest of the function from the wrong offset. Bare 0F 78 is Intel vmread (three bytes, unmodelled) and keeps the old entry. The fix is a prefix-conditioned special case in the plain-0F branch.

Measured on the retail image (game_scarlett_master.exe, SHA-256 e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993) with REA GDB sessions: the Ghidra provider times out at startup on this 120 MB image and rizin is not installed. Evidence ev_8bc6ffaa1c4b73bdcefa7be02fa652de35385963f235b96a13bec78fa8cf5d57 (x/8i 0x1402e7ff1) prints insertq $0x10,$0x10,%xmm1,%xmm0 at 0x1402e7ff1 with the next instruction at 0x1402e7ff7, six bytes, and ev_3055099862a04d185ea3484d3036dabacbc197843c9d19ba1863b9576a225632 gives the bytes f2 0f 78 c1 10 10. ev_e5978135e64450c1ef2f96600d221ef006ba645aee40278184a73da2d92cf703 (x/8i 0x14027c8f2) prints insertq $0x0,$0x8,%xmm7,%xmm9 with the next instruction at 0x14027c8f9, seven bytes for f2 44 0f 78 cf 08 00. LLVM 23.1.5 and GNU objdump agree on all four forms (insertq, extrq, the F2/66 0F 79 register form at four bytes, and bare 0F 78 as vmread).

.text (RVA 0x1000, 0x5f3f966 bytes) has 19 F2-prefixed 0F 78 sites: 12 f2 0f 78, five f2 45 0f 78, two f2 44 0f 78, and no extrq site. Seventeen are inside a .pdata function and are instruction starts after the fix. Decoding every .pdata function before and after, on the tree with #1120 and #1121 (the census needs #1121's VEX-bounds fix to reach the end): 299,257 functions, 22,435,858 instructions and 43,042 gaps before, 22,435,815 instructions and 43,040 gaps after; 11 functions decode to a different stream, each holding an insertq site.

Not #847 (opcode 0x90), not #1088 (RECOMP-CENSUS-WRONG-INPUT; it shares tests/test_recomp_census.py but not the lines this adds), and neither #1120 nor #1121 (vzeroupper length, truncated VEX prefix). Tests are synthetic (decoder bytes and the byte-built PE fixture), no game files, no GPU. PR #1246. AI-assisted (DeepSeek V4.1 Flash).

<!-- gh-comment-id:7144092346 --> @kett1m commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-INSERTQ-IMM8 `tools/x64_recomp.py`'s 0F table gives opcode `0x78` the operand shape `Ev Ib`, one immediate byte. With a mandatory prefix it is SSE4a code instead: `F2 0F 78 /r ib ib` (insertq) and `66 0F 78 /0 ib ib` (extrq) each take two imm8 bytes, so the walk stopped in the middle of the second immediate and read the rest of the function from the wrong offset. Bare `0F 78` is Intel vmread (three bytes, unmodelled) and keeps the old entry. The fix is a prefix-conditioned special case in the plain-0F branch. Measured on the retail image (`game_scarlett_master.exe`, SHA-256 `e95020b2fa4a721db3df59fdecf75621730ac559d8835252f6c3b658d5a08993`) with REA GDB sessions: the Ghidra provider times out at startup on this 120 MB image and rizin is not installed. Evidence `ev_8bc6ffaa1c4b73bdcefa7be02fa652de35385963f235b96a13bec78fa8cf5d57` (`x/8i 0x1402e7ff1`) prints `insertq $0x10,$0x10,%xmm1,%xmm0` at `0x1402e7ff1` with the next instruction at `0x1402e7ff7`, six bytes, and `ev_3055099862a04d185ea3484d3036dabacbc197843c9d19ba1863b9576a225632` gives the bytes `f2 0f 78 c1 10 10`. `ev_e5978135e64450c1ef2f96600d221ef006ba645aee40278184a73da2d92cf703` (`x/8i 0x14027c8f2`) prints `insertq $0x0,$0x8,%xmm7,%xmm9` with the next instruction at `0x14027c8f9`, seven bytes for `f2 44 0f 78 cf 08 00`. LLVM 23.1.5 and GNU objdump agree on all four forms (insertq, extrq, the `F2`/`66 0F 79` register form at four bytes, and bare `0F 78` as vmread). `.text` (RVA `0x1000`, `0x5f3f966` bytes) has 19 `F2`-prefixed 0F 78 sites: 12 `f2 0f 78`, five `f2 45 0f 78`, two `f2 44 0f 78`, and no extrq site. Seventeen are inside a `.pdata` function and are instruction starts after the fix. Decoding every `.pdata` function before and after, on the tree with #1120 and #1121 (the census needs #1121's VEX-bounds fix to reach the end): 299,257 functions, 22,435,858 instructions and 43,042 gaps before, 22,435,815 instructions and 43,040 gaps after; 11 functions decode to a different stream, each holding an insertq site. Not #847 (opcode 0x90), not #1088 (`RECOMP-CENSUS-WRONG-INPUT`; it shares `tests/test_recomp_census.py` but not the lines this adds), and neither #1120 nor #1121 (vzeroupper length, truncated VEX prefix). Tests are synthetic (decoder bytes and the byte-built PE fixture), no game files, no GPU. PR #1246. AI-assisted (DeepSeek V4.1 Flash).
Author
Owner

@kett1m commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-INSERTQ-IMM8 -> #1246

<!-- gh-comment-id:7144094917 --> @kett1m commented on GitHub (Nov 24, 2026): done: X64-RECOMP-INSERTQ-IMM8 -> #1246
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9827 - carry forward old-pr/9827 (draft #95, by Lewandox): guard image_bvh PhysicalStorageBuffer loads on active EXEC lanes in tools/rdna2spirv.py so masked-off lanes in divergent BVH traversal loops never fault on stale/null node pointers, rebased on main with Lewandox kept as author, verified with test_image_bvh_box.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7144109503 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9827 - carry forward old-pr/9827 (draft #95, by Lewandox): guard image_bvh PhysicalStorageBuffer loads on active EXEC lanes in tools/rdna2spirv.py so masked-off lanes in divergent BVH traversal loops never fault on stale/null node pointers, rebased on main with Lewandox kept as author, verified with test_image_bvh_box.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: HISTORY-DISCUSSION-EXPORT -- export the discussions that a mirroring cannot keep: every issue and PR with its comments, reviews and review comments as resumable JSONL plus a sha256 manifest, from public API reads, while the API is still reachable (#1185, #563). Script + docs; snapshot stays local for size. No game files, no GPU

<!-- gh-comment-id:7144117594 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: HISTORY-DISCUSSION-EXPORT -- export the discussions that a mirroring cannot keep: every issue and PR with its comments, reviews and review comments as resumable JSONL plus a sha256 manifest, from public API reads, while the API is still reachable (#1185, #563). Script + docs; snapshot stays local for size. No game files, no GPU
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: TEST-MERGE-CHECK-OLD-GIT -> #1248

<!-- gh-comment-id:7144128557 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: TEST-MERGE-CHECK-OLD-GIT -> #1248
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

claiming: new item: tests/test_ctest_registration.py (test_whole_test_skips_return_the_skip_code) fails on main 66d4f5aa3, new since 2e026b03e. Fix and PR follow shortly.

<!-- gh-comment-id:7144141333 --> @Boost9898 commented on GitHub (Nov 24, 2026): claiming: new item: `tests/test_ctest_registration.py` (`test_whole_test_skips_return_the_skip_code`) fails on main `66d4f5aa3`, new since `2e026b03e`. Fix and PR follow shortly.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: RECOMP-CENSUS-XDATA-UNWIND - fix two .xdata UNWIND_INFO bugs in tools/recomp_census.py (UNW_FLAG_CHAININFO is 0x4, not FHANDLER/0x8, and CountOfCodes is byte 2, not byte 1 SizeOfProlog) and add full x64 .xdata UNWIND_CODE decoding + UNW_FLAG_CHAININFO chain traversal (parse_unwind_info) to feed the SEH/unwind breakdown in census() / to_markdown() (advancing docs/mobile.md Next Step #3). Conflict-free with #1088 (RECOMP-CENSUS-WRONG-INPUT).

<!-- gh-comment-id:7144159536 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: RECOMP-CENSUS-XDATA-UNWIND - fix two `.xdata` `UNWIND_INFO` bugs in `tools/recomp_census.py` (`UNW_FLAG_CHAININFO` is `0x4`, not `FHANDLER`/`0x8`, and `CountOfCodes` is byte 2, not byte 1 `SizeOfProlog`) and add full x64 `.xdata` `UNWIND_CODE` decoding + `UNW_FLAG_CHAININFO` chain traversal (`parse_unwind_info`) to feed the SEH/unwind breakdown in `census()` / `to_markdown()` (advancing `docs/mobile.md` Next Step #3). Conflict-free with #1088 (`RECOMP-CENSUS-WRONG-INPUT`).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: RECOMP-CENSUS-XDATA-UNWIND -> #1249

<!-- gh-comment-id:7144160726 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: RECOMP-CENSUS-XDATA-UNWIND -> #1249
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

claiming: PR-CONFLICT-LABEL-LOAD - my needs rebase labeler (#155) runs on every push to every pull request and has queued ~265 runs ahead of CI, No Game Data and Runtime. I will drop its pull_request_target trigger and keep one run at a time (push to main + hourly). CI only. AI-assisted.

<!-- gh-comment-id:7144161008 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): claiming: PR-CONFLICT-LABEL-LOAD - my `needs rebase` labeler (#155) runs on every push to every pull request and has queued ~265 runs ahead of CI, No Game Data and Runtime. I will drop its `pull_request_target` trigger and keep one run at a time (push to `main` + hourly). CI only. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: LINUX-PROTON-DOCS-SCRIPTS - Linux boot scripts (scripts/linux-boot: cross-build configure, a launcher with the network off, a systemd user unit with memory samples and a digest) and their page docs/linux_proton.md, cut down to what main has; no runtime or translator code

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144161765 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: LINUX-PROTON-DOCS-SCRIPTS - Linux boot scripts (scripts/linux-boot: cross-build configure, a launcher with the network off, a systemd user unit with memory samples and a digest) and their page docs/linux_proton.md, cut down to what main has; no runtime or translator code Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: LINUX-PROTON-DOCS-SCRIPTS -> #1251

<!-- gh-comment-id:7144163671 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: LINUX-PROTON-DOCS-SCRIPTS -> #1251
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

done: PR-CONFLICT-LABEL-LOAD -> #1250

<!-- gh-comment-id:7144165275 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): done: PR-CONFLICT-LABEL-LOAD -> #1250
Author
Owner

@Daolyap commented on GitHub (Nov 24, 2026):

Correction to my previous finding (the Semaphore / job-system hypothesis): ruled out. The affinity log shows only three SetThreadGroupAffinity(0x3fff) calls and no per-core pins, so nothing is routed to hardware threads 12-13. The thread blocked on the Semaphore is a work-waiting loop that is idle by design.

finding: the ~33 s native-Windows exit is the title's watchdog giving up on one cold Vulkan pipeline compile | where: CreateComputePipelineState (device slot 62) → the Vulkan layer → nvgpucomp64.dll, on the title's graphics-init thread (exe+0x23cefd2 <- … <- +0x19f4f54 <- +0x2479455 <- +0x247af3d <- +0x5c8fa88 <- +0x6eb8c2, then driver frames only). Three samples 4 s apart put that thread in the NVIDIA compiler each time; the main thread polls for it every 10 ms, and the watchdog loop ends the process after about 26 s | why: on the console pipelines are precompiled, so the title's watchdog never sees a stall like this. Here the process dies before the compile finishes, so the driver's own cache never fills and every launch is identically slow. gta6rt run from runtime/build finds no pipeline_cache.bin (the runtime looks beside gta6rt.exe) and says nothing about it. I'm now running the pipelines stage to measure whether a build-time seed actually hits for the runtime's pipelines, which #276/#323 note nobody has measured. RTX 3070, driver 32.0.16.1692, wave64 emulation on (likely what makes the compile heavy), LEONIDA_D3D12=vulkan, #432 stack + #387/#428/#142/#219 | needs: game files and an NVIDIA (or other 32-wide) GPU. AI-assisted (Claude Code).

claiming: RT-PIPELINE-CACHE-HINT - a one-time stderr line when no usable pipeline_cache.bin is beside gta6rt.exe, naming the path and the pipelines stage (runtime/shims/d3d12_vulkan_device.cpp, create_seeded_pipeline_cache). Log-only. AI-assisted.

<!-- gh-comment-id:7144176666 --> @Daolyap commented on GitHub (Nov 24, 2026): **Correction** to my previous finding (the Semaphore / job-system hypothesis): ruled out. The affinity log shows only three `SetThreadGroupAffinity(0x3fff)` calls and no per-core pins, so nothing is routed to hardware threads 12-13. The thread blocked on the Semaphore is a work-waiting loop that is idle by design. finding: the ~33 s native-Windows exit is the title's watchdog giving up on **one cold Vulkan pipeline compile** | where: `CreateComputePipelineState` (device slot 62) → the Vulkan layer → `nvgpucomp64.dll`, on the title's graphics-init thread (`exe+0x23cefd2 <- … <- +0x19f4f54 <- +0x2479455 <- +0x247af3d <- +0x5c8fa88 <- +0x6eb8c2`, then driver frames only). Three samples 4 s apart put that thread in the NVIDIA compiler each time; the main thread polls for it every 10 ms, and the watchdog loop ends the process after about 26 s | why: on the console pipelines are precompiled, so the title's watchdog never sees a stall like this. Here the process dies before the compile finishes, so the driver's own cache never fills and every launch is identically slow. `gta6rt` run from `runtime/build` finds no `pipeline_cache.bin` (the runtime looks beside `gta6rt.exe`) and says nothing about it. I'm now running the `pipelines` stage to measure whether a build-time seed actually hits for the runtime's pipelines, which #276/#323 note nobody has measured. RTX 3070, driver 32.0.16.1692, wave64 emulation on (likely what makes the compile heavy), `LEONIDA_D3D12=vulkan`, #432 stack + #387/#428/#142/#219 | needs: game files and an NVIDIA (or other 32-wide) GPU. AI-assisted (Claude Code). claiming: RT-PIPELINE-CACHE-HINT - a one-time stderr line when no usable `pipeline_cache.bin` is beside `gta6rt.exe`, naming the path and the pipelines stage (`runtime/shims/d3d12_vulkan_device.cpp`, `create_seeded_pipeline_cache`). Log-only. AI-assisted.
Author
Owner

@Boost9898 commented on GitHub (Nov 24, 2026):

done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7144141333) -> #1252

<!-- gh-comment-id:7144179258 --> @Boost9898 commented on GitHub (Nov 24, 2026): done: new item (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7144141333) -> #1252
Author
Owner

@ImLele69 commented on GitHub (Nov 24, 2026):

finding (BOOT-TURING-WINE): on a 16 GB machine under Wine, boot-prototype's whole-region import fails at its default size, so the boot never submits anything

Setup: Fedora 44, Wine 11.21 Staging, RTX 2070 SUPER 8 GB (Turing), NVIDIA 620.70.06, 16 GB RAM (15.5 GB zram swap), retail 1.0.2.1. Stack: boot-prototype 9173e790f + #968 + #980 + #1028 + #1079 + #1157, shaders re-translated with #1021 (--wave64-emulate). LEONIDA_D3D12=vulkan LEONIDA_LAZY_PSO=1.

LEONIDA_GPU_REGION_MB arena import run
14336 (default) the title's GPU region could not be imported (-1, types 0x18) PresentX ready, then every ExecuteCommandLists refused (unknown resource, first at vulkan_replay.h:2235, a vertex buffer outside any resolvable buffer): 302 refusals in 300 s, black window
8192 imported (memory type 4) title writes through a null pointer at exe+0x2215c35 after 63 s, before PresentX
4096 imported (memory type 4) not run further
  • vkGetMemoryHostPointerPropertiesEXT accepts the region (types 0x18); vkAllocateMemory of the 14 GiB import is what returns VK_ERROR_OUT_OF_HOST_MEMORY. The NVIDIA driver pins host-pointer imports, so the region has to fit in RAM: every run that got past this so far is on 32-64 GB.
  • A smaller region does import, but the title then runs out of room in it (the 8 GiB stop is an unchecked allocation result, my reading, not traced).

So on 16 GB machines the whole-region design needs either a region that is not pinned whole (imported in pieces, as it fills) or #984's arena. I am moving this claim to #984 + #968 on the same Turing card under Proton (no Turing result there yet) and will post that next.

AI-assisted: yes (Claude Code)

<!-- gh-comment-id:7144181926 --> @ImLele69 commented on GitHub (Nov 24, 2026): finding (BOOT-TURING-WINE): on a 16 GB machine under Wine, `boot-prototype`'s whole-region import fails at its default size, so the boot never submits anything Setup: Fedora 44, Wine 11.21 Staging, RTX 2070 SUPER 8 GB (Turing), NVIDIA 620.70.06, **16 GB RAM** (15.5 GB zram swap), retail 1.0.2.1. Stack: `boot-prototype` `9173e790f` + #968 + #980 + #1028 + #1079 + #1157, shaders re-translated with #1021 (`--wave64-emulate`). `LEONIDA_D3D12=vulkan LEONIDA_LAZY_PSO=1`. | `LEONIDA_GPU_REGION_MB` | arena import | run | |---|---|---| | 14336 (default) | `the title's GPU region could not be imported (-1, types 0x18)` | `PresentX ready`, then every `ExecuteCommandLists` refused (`unknown resource`, first at `vulkan_replay.h:2235`, a vertex buffer outside any resolvable buffer): 302 refusals in 300 s, black window | | 8192 | imported (memory type 4) | title writes through a null pointer at `exe+0x2215c35` after 63 s, before `PresentX` | | 4096 | imported (memory type 4) | not run further | - `vkGetMemoryHostPointerPropertiesEXT` accepts the region (types 0x18); `vkAllocateMemory` of the 14 GiB import is what returns `VK_ERROR_OUT_OF_HOST_MEMORY`. The NVIDIA driver pins host-pointer imports, so the region has to fit in RAM: every run that got past this so far is on 32-64 GB. - A smaller region does import, but the title then runs out of room in it (the 8 GiB stop is an unchecked allocation result, my reading, not traced). So on 16 GB machines the whole-region design needs either a region that is not pinned whole (imported in pieces, as it fills) or #984's arena. I am moving this claim to #984 + #968 on the same Turing card under Proton (no Turing result there yet) and will post that next. AI-assisted: yes (Claude Code)
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

done: OLD-10025 -> #1254

<!-- gh-comment-id:7144244527 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): done: OLD-10025 -> #1254
Author
Owner

@nicoco23 commented on GitHub (Nov 24, 2026):

claiming: RT-CHAD-DSP-LAYOUTS - chad.dll (5 XDsp imports) in runtime/shims/xapu_chad.cpp still rests on HYPOTHESIS notes: the stream description activation takes, the status block the title polls (submitted/completed tickets and a result), the per-block command, and what connect and activate accept or refuse. I will replace them with the console's layouts and the validation limits, keep the outputs silent (no convolution, nothing computed), and extend runtime/test/xapu_chad_test.cpp. The layouts are facts from Marvisak/VIctory (GPL-3.0-or-later, see docs/related_projects.md), no code. Builds on the chad half of #277 (piyonchu's draft) and credits it. Touches only chad; #1144 owns xapu. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7144245422 --> @nicoco23 commented on GitHub (Nov 24, 2026): claiming: RT-CHAD-DSP-LAYOUTS - chad.dll (5 XDsp imports) in runtime/shims/xapu_chad.cpp still rests on HYPOTHESIS notes: the stream description activation takes, the status block the title polls (submitted/completed tickets and a result), the per-block command, and what connect and activate accept or refuse. I will replace them with the console's layouts and the validation limits, keep the outputs silent (no convolution, nothing computed), and extend runtime/test/xapu_chad_test.cpp. The layouts are facts from Marvisak/VIctory (GPL-3.0-or-later, see docs/related_projects.md), no code. Builds on the chad half of #277 (piyonchu's draft) and credits it. Touches only chad; #1144 owns xapu. No game files, no GPU. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: DASH-CTEST-INCOMPLETE-NESTED - fix parse_lasttest in tools/progress_dashboard.py (following the real CTest 3.31.10 fixture in comment #7144069427 and earlier finding #7143409370): track nested Start testing: runs as a stack of [in_output, inner_test_name] frames so an unmatched <end of output> / Test time = cleanly unwinds incomplete nested logs without mistaking inner verdicts for outer ones (even when inner and outer share the same name, ordinal, and timestamps).

<!-- gh-comment-id:7144282413 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: DASH-CTEST-INCOMPLETE-NESTED - fix `parse_lasttest` in `tools/progress_dashboard.py` (following the real CTest 3.31.10 fixture in comment #7144069427 and earlier finding #7143409370): track nested `Start testing:` runs as a stack of `[in_output, inner_test_name]` frames so an unmatched `<end of output>` / `Test time =` cleanly unwinds incomplete nested logs without mistaking inner verdicts for outer ones (even when inner and outer share the same name, ordinal, and timestamps).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: DASH-CTEST-INCOMPLETE-NESTED -> #1256

<!-- gh-comment-id:7144283520 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: DASH-CTEST-INCOMPLETE-NESTED -> #1256
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming: TEST-PRESENT-HEADLESS - Fix the d3d12_present on-screen pixel check on headless Windows (#504), while keeping the Vulkan swapchain readback assertions. No game files needed. AI-assisted.

<!-- gh-comment-id:7144288485 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: TEST-PRESENT-HEADLESS - Fix the `d3d12_present` on-screen pixel check on headless Windows (#504), while keeping the Vulkan swapchain readback assertions. No game files needed. AI-assisted.
Author
Owner

@titoreinaldo commented on GitHub (Nov 24, 2026):

claiming: SHADER-IMAGE-LOAD-MSAA — Support ordinary image_load on 2D and 2D-array multisampled images. AMD RDNA2 table 42 gives the sample ID after the pixel coordinates and optional array slice. I reproduced both rejected dimensions on main (66d4f5aa). I’ll coordinate the shared typed descriptor declarations with #1199, add synthetic checks for sample and slice selection, and test actual GPU readbacks. #1199’s author retains the distinct image_msaa_load opcode. Codex-assisted.

<!-- gh-comment-id:7144288740 --> @titoreinaldo commented on GitHub (Nov 24, 2026): claiming: SHADER-IMAGE-LOAD-MSAA — Support ordinary `image_load` on 2D and 2D-array multisampled images. AMD RDNA2 table 42 gives the sample ID after the pixel coordinates and optional array slice. I reproduced both rejected dimensions on `main` (`66d4f5aa`). I’ll coordinate the shared typed descriptor declarations with #1199, add synthetic checks for sample and slice selection, and test actual GPU readbacks. #1199’s author retains the distinct `image_msaa_load` opcode. Codex-assisted.
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

claiming: OLD-9777 - carry forward old-pr/9777 (draft #55, by pes7): cache report_paths.work_root() in tools/report_paths.py, tools/rdna2spirv.py, and tools/shader_meta.py instead of repeated realpath() calls per shader, with tests in tests/test_report_paths.py (rebased on main with pes7 kept as author). No game files. AI-assisted: yes.

<!-- gh-comment-id:7144314613 --> @Tortoche commented on GitHub (Nov 24, 2026): claiming: OLD-9777 - carry forward old-pr/9777 (draft #55, by pes7): cache report_paths.work_root() in tools/report_paths.py, tools/rdna2spirv.py, and tools/shader_meta.py instead of repeated realpath() calls per shader, with tests in tests/test_report_paths.py (rebased on main with pes7 kept as author). No game files. AI-assisted: yes.
Author
Owner

@Tortoche commented on GitHub (Nov 24, 2026):

claiming: OLD-9779 - carry forward old-pr/9779 (draft #57, by pes7): balance rdna2spirv.py --shard by input file size via shard_bucket() with tests in tests/test_rdna2spirv_shard.py (rebased on main with pes7 kept as author). No game files. AI-assisted: yes.

<!-- gh-comment-id:7144316269 --> @Tortoche commented on GitHub (Nov 24, 2026): claiming: OLD-9779 - carry forward old-pr/9779 (draft #57, by pes7): balance rdna2spirv.py --shard by input file size via shard_bucket() with tests in tests/test_rdna2spirv_shard.py (rebased on main with pes7 kept as author). No game files. AI-assisted: yes.
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

claiming: RT-INTEL-IMPORT-SETTLE - d3d12_existing_heap fails with the layer on an Intel Iris Xe (Intel 32.0.101.7092), three times at SUCCEEDED(queue->Signal(fence.p, 1)) in check_title_placed. This corrects my finding https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142086637: the copy out of the title-placed buffer is not at fault. vkQueueSubmit answers it with VK_ERROR_DEVICE_LOST because the device is lost by then: open_cases has released its existing heaps and freed their pages at once. Intel's Vulkan driver goes on working with a host import's pages for a moment after vkAllocateMemory has returned and loses the device at the next submission when they are gone by then, also when vkFreeMemory came first. A raw Vulkan program without the layer shows it: 10 of 10 runs for imports of 1 to 64 MiB, none on an RTX 4060, and the Iris Xe's own D3D12 driver takes the same sequence on an existing heap. I will have the GPU read a fresh import once before OpenExistingHeapFromAddress or device slot 133 hands it out, on Intel only (runtime/shims/d3d12_vulkan_device.cpp), add a check to d3d12_existing_heap_test that frees the pages right after the release, and put the measurements into docs/d3d12_vulkan.md. It is probably also the failure on clean main that #1192 reports on an Intel UHD. Synthetic data only, no game files. AI-assisted.

<!-- gh-comment-id:7144332456 --> @MalexAson commented on GitHub (Nov 24, 2026): claiming: RT-INTEL-IMPORT-SETTLE - `d3d12_existing_heap` fails with the layer on an Intel Iris Xe (Intel 32.0.101.7092), three times at `SUCCEEDED(queue->Signal(fence.p, 1))` in `check_title_placed`. This corrects my finding https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142086637: the copy out of the title-placed buffer is not at fault. `vkQueueSubmit` answers it with `VK_ERROR_DEVICE_LOST` because the device is lost by then: `open_cases` has released its existing heaps and freed their pages at once. Intel's Vulkan driver goes on working with a host import's pages for a moment after `vkAllocateMemory` has returned and loses the device at the next submission when they are gone by then, also when `vkFreeMemory` came first. A raw Vulkan program without the layer shows it: 10 of 10 runs for imports of 1 to 64 MiB, none on an RTX 4060, and the Iris Xe's own D3D12 driver takes the same sequence on an existing heap. I will have the GPU read a fresh import once before `OpenExistingHeapFromAddress` or device slot 133 hands it out, on Intel only (`runtime/shims/d3d12_vulkan_device.cpp`), add a check to `d3d12_existing_heap_test` that frees the pages right after the release, and put the measurements into `docs/d3d12_vulkan.md`. It is probably also the failure on clean `main` that #1192 reports on an Intel UHD. Synthetic data only, no game files. AI-assisted.
Author
Owner

@muhammadumairmustafa commented on GitHub (Nov 24, 2026):

claiming: OLD-9807 - carry forward old-pr/9807 (draft #80, by nino-exe): make non-numeric --waves in tools/buffer_bounds_probe.py exit 2 instead of raising ValueError, with test_waves_that_are_not_numbers in tests/test_buffer_bounds_probe.py. No game files, no GPU.

<!-- gh-comment-id:7144348663 --> @muhammadumairmustafa commented on GitHub (Nov 24, 2026): claiming: OLD-9807 - carry forward old-pr/9807 (draft #80, by nino-exe): make non-numeric --waves in tools/buffer_bounds_probe.py exit 2 instead of raising ValueError, with test_waves_that_are_not_numbers in tests/test_buffer_bounds_probe.py. No game files, no GPU.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: opt-in bounded workers for file-backed DirectStorage zlib decompression, following XCL #819.

<!-- gh-comment-id:7144350290 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: opt-in bounded workers for file-backed DirectStorage zlib decompression, following XCL #819.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9827 -> #1258

<!-- gh-comment-id:7144350444 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9827 -> #1258
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9779 - carry forward old-pr/9779 (draft #57, by pes7): balance --shard by file size in tools/rdna2spirv.py (largest-first greedy bin packing) and fail fast when a file cannot be sized instead of guessing weight 0, rebased on main with pes7's commits preserved, verified with tests/test_rdna2spirv_shard.py and full semantic test suite. No game files. AI-assisted.

<!-- gh-comment-id:7144358109 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9779 - carry forward old-pr/9779 (draft #57, by pes7): balance --shard by file size in tools/rdna2spirv.py (largest-first greedy bin packing) and fail fast when a file cannot be sized instead of guessing weight 0, rebased on main with pes7's commits preserved, verified with tests/test_rdna2spirv_shard.py and full semantic test suite. No game files. AI-assisted.
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

done: TEST-WATERFALL-DESCRIPTOR -> #1257

<!-- gh-comment-id:7144369996 --> @Okachamie commented on GitHub (Nov 24, 2026): done: TEST-WATERFALL-DESCRIPTOR -> #1257
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9779 -> #1261

<!-- gh-comment-id:7144384433 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9779 -> #1261
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9777 - carry forward old-pr/9777 (draft #55, by pes7): one cached work_root() per shader instead of nine repeated realpath() calls (-14% fixed cost, byte-identical), rebased on main with pes7's 3 commits preserved, verified with tests/test_report_paths.py and compileall. No game files. AI-assisted.

<!-- gh-comment-id:7144385534 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9777 - carry forward old-pr/9777 (draft #55, by pes7): one cached work_root() per shader instead of nine repeated realpath() calls (-14% fixed cost, byte-identical), rebased on main with pes7's 3 commits preserved, verified with tests/test_report_paths.py and compileall. No game files. AI-assisted.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: opt-in bounded workers for file-backed DirectStorage zlib decompression -> #1260

<!-- gh-comment-id:7144391722 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: opt-in bounded workers for file-backed DirectStorage zlib decompression -> #1260
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: classify Vulkan command batches in one pass before acquiring the queue resource locks

<!-- gh-comment-id:7144407846 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: classify Vulkan command batches in one pass before acquiring the queue resource locks
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: exclude timeout-created frame tokens from measured origin-to-present latency

<!-- gh-comment-id:7144407859 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: exclude timeout-created frame tokens from measured origin-to-present latency
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: exclude timeout-created frame tokens from measured origin-to-present latency -> #1263

<!-- gh-comment-id:7144409976 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: exclude timeout-created frame tokens from measured origin-to-present latency -> #1263
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: classify Vulkan command batches in one pass before acquiring the queue resource locks -> #1264

<!-- gh-comment-id:7144410065 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: classify Vulkan command batches in one pass before acquiring the queue resource locks -> #1264
Author
Owner

@MalexAson commented on GitHub (Nov 24, 2026):

done: RT-INTEL-IMPORT-SETTLE -> #1259

<!-- gh-comment-id:7144412021 --> @MalexAson commented on GitHub (Nov 24, 2026): done: RT-INTEL-IMPORT-SETTLE -> #1259
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9777 -> #1265

<!-- gh-comment-id:7144417825 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9777 -> #1265
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: OLD-9979 - carry forward old-pr/9979 (draft #244, by @Elijah-J): document radio trackid title/artist label keys (<N>s/<N>a joaat hashes) in docs/audio_config.md and add counts-only checker tools/track_labels.py + hand-built fixture tests tests/test_track_labels.py. Rebased cleanly on main preserving the original author commit; verified with test_track_labels.py, test_tool_startup.py, test_tool_stdout_encoding.py, test_ci_registration.py, and all 12 test_docs_*.py suites.

<!-- gh-comment-id:7144422818 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: OLD-9979 - carry forward `old-pr/9979` (draft #244, by @Elijah-J): document radio `trackid` title/artist label keys (`<N>s`/`<N>a` joaat hashes) in `docs/audio_config.md` and add counts-only checker `tools/track_labels.py` + hand-built fixture tests `tests/test_track_labels.py`. Rebased cleanly on `main` preserving the original author commit; verified with `test_track_labels.py`, `test_tool_startup.py`, `test_tool_stdout_encoding.py`, `test_ci_registration.py`, and all 12 `test_docs_*.py` suites.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: OLD-9979 -> #1266

<!-- gh-comment-id:7144423790 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: OLD-9979 -> #1266
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: TEST-NON-ASCII-PATHS - five tests fail on Windows when the temp folder has a non-ASCII character in its name, as under an accented user name. test_gamedata_blobs.py, test_gamedata_sps1.py, test_script_qtable.py and test_guest_scene_reference.py (test_uncreatable_output_reports_clean_error) decode the tool's output as UTF-8 while the isolated child writes the ANSI code page, so the path they assert is never found. test_build_runtime_fallback.py decodes PowerShell's OEM output with the ANSI code page and stops on UnicodeDecodeError or a wrong path. Reproduced on main 66d4f5aa with synthetic inputs; the five files pass with an ASCII temp folder. I will make each child write UTF-8 and put a non-ASCII character in the path of those cases, so the fault shows with an ASCII temp folder too. Tests only, no tool change. No game files or GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7144437085 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: TEST-NON-ASCII-PATHS - five tests fail on Windows when the temp folder has a non-ASCII character in its name, as under an accented user name. `test_gamedata_blobs.py`, `test_gamedata_sps1.py`, `test_script_qtable.py` and `test_guest_scene_reference.py` (`test_uncreatable_output_reports_clean_error`) decode the tool's output as UTF-8 while the isolated child writes the ANSI code page, so the path they assert is never found. `test_build_runtime_fallback.py` decodes PowerShell's OEM output with the ANSI code page and stops on `UnicodeDecodeError` or a wrong path. Reproduced on `main` 66d4f5aa with synthetic inputs; the five files pass with an ASCII temp folder. I will make each child write UTF-8 and put a non-ASCII character in the path of those cases, so the fault shows with an ASCII temp folder too. Tests only, no tool change. No game files or GPU. AI-assisted (Claude Code).
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: TEST-PRESENT-HEADLESS -> #1267

<!-- gh-comment-id:7144440400 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: TEST-PRESENT-HEADLESS -> #1267
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

done: OLD-9792 -> #1268

<!-- gh-comment-id:7144470028 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): done: OLD-9792 -> #1268
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9926 - carry forward old-pr/9926 (draft #195, by JRamos1993): LEONIDA_THREAD_SNAPSHOT names what every thread waits on at given times (runtime/shims/thread_snapshot.h, runtime/src/main.cpp, runtime/test/thread_snapshot_test.cpp), rebased on main with JRamos1993 kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.

<!-- gh-comment-id:7144475783 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9926 - carry forward old-pr/9926 (draft #195, by JRamos1993): LEONIDA_THREAD_SNAPSHOT names what every thread waits on at given times (runtime/shims/thread_snapshot.h, runtime/src/main.cpp, runtime/test/thread_snapshot_test.cpp), rebased on main with JRamos1993 kept as author, built and tested natively on Windows 11 with MSVC. No game files. AI-assisted.
Author
Owner

@TheMercerVirus commented on GitHub (Nov 24, 2026):

done: DOC-GPU-VERIFICATION-TERMS -> #1262

<!-- gh-comment-id:7144476620 --> @TheMercerVirus commented on GitHub (Nov 24, 2026): done: DOC-GPU-VERIFICATION-TERMS -> #1262
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: TEST-NON-ASCII-PATHS -> #1269

<!-- gh-comment-id:7144496121 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: TEST-NON-ASCII-PATHS -> #1269
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: DASH-SCRUB-SPACES - tools/progress_dashboard.py scrub() is meant to replace every absolute path outside the repository, file name included, but a Windows path that contains a space is only replaced up to the space. FAIL: cannot read D:\My work\shaders\dxbc\<name>.fssm becomes FAIL: cannot read <path> work\shaders\dxbc\<name>.fssm, so a carved shader's name, or part of a user name such as C:\Users\First Last, can reach the published page. Found on main 66d4f5aa because test_progress_dashboard.py fails when the temp folder has a space in its name. I will let an unquoted drive path continue over spaces while a later part still has its separator, take a quoted path up to its closing quote, and add synthetic cases. tools/progress_dashboard.py and its test only. No game files or GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7144496629 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: DASH-SCRUB-SPACES - `tools/progress_dashboard.py` `scrub()` is meant to replace every absolute path outside the repository, file name included, but a Windows path that contains a space is only replaced up to the space. `FAIL: cannot read D:\My work\shaders\dxbc\<name>.fssm` becomes `FAIL: cannot read <path> work\shaders\dxbc\<name>.fssm`, so a carved shader's name, or part of a user name such as `C:\Users\First Last`, can reach the published page. Found on `main` 66d4f5aa because `test_progress_dashboard.py` fails when the temp folder has a space in its name. I will let an unquoted drive path continue over spaces while a later part still has its separator, take a quoted path up to its closing quote, and add synthetic cases. `tools/progress_dashboard.py` and its test only. No game files or GPU. AI-assisted (Claude Code).
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9926 -> #1270

<!-- gh-comment-id:7144504774 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9926 -> #1270
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9790 - carry forward old-pr/9790 (draft #65, by tiagonogueiraa-bit): translate FLAT loads and stores (flat_load_/flat_store_ with 64-bit VGPR address) as global accesses in tools/rdna2spirv.py with ab_control_flow update, docs/design.md contract row, and tests/semantic/test_flat_mem.py, rebased on main with tiagonogueiraa-bit's 2 commits preserved. No game files. AI-assisted.

<!-- gh-comment-id:7144505947 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9790 - carry forward old-pr/9790 (draft #65, by tiagonogueiraa-bit): translate FLAT loads and stores (flat_load_*/flat_store_* with 64-bit VGPR address) as global accesses in tools/rdna2spirv.py with ab_control_flow update, docs/design.md contract row, and tests/semantic/test_flat_mem.py, rebased on main with tiagonogueiraa-bit's 2 commits preserved. No game files. AI-assisted.
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

claiming: TFE-DENSE-FIXTURE - open tahffo68hk-hash's cs_image_tfe_dense fixture here as they asked on #98 (their commit, authorship and date kept): a dense resident image_load tfe / tfe d16 check with in- and out-of-bounds coordinates and preserved status seeds, plus its docs/design.md row. Their second patch (the two legacy fixtures) is already on main via #892. Tests only, no translator change. AI-assisted.

<!-- gh-comment-id:7144518534 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): claiming: TFE-DENSE-FIXTURE - open tahffo68hk-hash's `cs_image_tfe_dense` fixture here as they asked on #98 (their commit, authorship and date kept): a dense resident `image_load tfe` / `tfe d16` check with in- and out-of-bounds coordinates and preserved status seeds, plus its `docs/design.md` row. Their second patch (the two legacy fixtures) is already on `main` via #892. Tests only, no translator change. AI-assisted.
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

claiming: omit native shader subgroup votes when the scalar condition is dead

<!-- gh-comment-id:7144523872 --> @Kadamitas commented on GitHub (Nov 24, 2026): claiming: omit native shader subgroup votes when the scalar condition is dead
Author
Owner

@Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026):

done: TFE-DENSE-FIXTURE -> #1271

<!-- gh-comment-id:7144525437 --> @Mouad-Scriptz-0 commented on GitHub (Nov 24, 2026): done: TFE-DENSE-FIXTURE -> #1271
Author
Owner

@Kadamitas commented on GitHub (Nov 24, 2026):

done: omit native shader subgroup votes when the scalar condition is dead -> #1272

<!-- gh-comment-id:7144526272 --> @Kadamitas commented on GitHub (Nov 24, 2026): done: omit native shader subgroup votes when the scalar condition is dead -> #1272
Author
Owner

@anonymechab-droid commented on GitHub (Nov 24, 2026):

claiming: SHADER-LITERAL-MAD-DENORM - I will make v_madak_f32 and v_madmk_f32 flush f32 subnormal operands, the rounded product and the final sum, matching the existing v_mad_f32 path and Mesa ACO's documented MAD-family rule. Reproduced on main 6261ca91 with synthetic listings: four boundary cases differ (subnormal multiplicand, addend, product and sum), while an ordinary-value control agrees. Scope: tools/rdna2spirv.py, a hand-written semantic fixture and regression tests, and the contract row in docs/design.md. No game files or particular GPU required; CPU verification first. AI-assisted.

<!-- gh-comment-id:7144562403 --> @anonymechab-droid commented on GitHub (Nov 24, 2026): claiming: SHADER-LITERAL-MAD-DENORM - I will make v_madak_f32 and v_madmk_f32 flush f32 subnormal operands, the rounded product and the final sum, matching the existing v_mad_f32 path and Mesa ACO's documented MAD-family rule. Reproduced on main 6261ca91 with synthetic listings: four boundary cases differ (subnormal multiplicand, addend, product and sum), while an ordinary-value control agrees. Scope: tools/rdna2spirv.py, a hand-written semantic fixture and regression tests, and the contract row in docs/design.md. No game files or particular GPU required; CPU verification first. AI-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

done: DASH-SCRUB-SPACES -> #1274

<!-- gh-comment-id:7144572500 --> @TheGeogeo commented on GitHub (Nov 24, 2026): done: DASH-SCRUB-SPACES -> #1274
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: D3D-SCISSOR-COUNT-PARITY - d3d12_close_parity has failed on main since #510 (found by QemmHD): RSSetScissorRects with more than 16 rectangles now puts the list in the error state, so Close returns E_INVALIDARG where WARP succeeds. I merged #510, so I'm fixing it: the call keeps the first 16 rectangles with a one-time notice, which brings the parity row back. One file, runtime/shims/d3d12_com.cpp; no game files.

AI-assisted (Claude Code, Claude Fable 5.2).

<!-- gh-comment-id:7144591297 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: D3D-SCISSOR-COUNT-PARITY - `d3d12_close_parity` has failed on `main` since #510 (found by QemmHD): `RSSetScissorRects` with more than 16 rectangles now puts the list in the error state, so `Close` returns `E_INVALIDARG` where WARP succeeds. I merged #510, so I'm fixing it: the call keeps the first 16 rectangles with a one-time notice, which brings the parity row back. One file, `runtime/shims/d3d12_com.cpp`; no game files. AI-assisted (Claude Code, Claude Fable 5.2).
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: TEST-ATOMIC-SOFFSET-BOUNDS - one translator test: raw buffer atomics addressed by soffset alone, on both sides of the bound, for the three atomic lowerings; no translator change

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144600523 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: TEST-ATOMIC-SOFFSET-BOUNDS - one translator test: raw buffer atomics addressed by soffset alone, on both sides of the bound, for the three atomic lowerings; no translator change Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: TEST-ATOMIC-SOFFSET-BOUNDS -> #1275

<!-- gh-comment-id:7144602581 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: TEST-ATOMIC-SOFFSET-BOUNDS -> #1275
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: SHADER-TYPED-RESERVED-FORMATS - rdna2spirv: a typed buffer load whose run-time FORMAT has no decoder (INVALID or reserved) no longer reads memory; the loaded values do not change

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144611731 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: SHADER-TYPED-RESERVED-FORMATS - rdna2spirv: a typed buffer load whose run-time FORMAT has no decoder (INVALID or reserved) no longer reads memory; the loaded values do not change Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-TYPED-RESERVED-FORMATS -> #1276

<!-- gh-comment-id:7144613673 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-TYPED-RESERVED-FORMATS -> #1276
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: SHADER-LEGACY-MUL-SUBNORMAL - rdna2spirv: v_mul_legacy_f32 tests each operand's magnitude once (the subnormal flush and the zero override are one test) and flushes the result again only after output scaling; no result changes, shorter code

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144630364 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: SHADER-LEGACY-MUL-SUBNORMAL - rdna2spirv: v_mul_legacy_f32 tests each operand's magnitude once (the subnormal flush and the zero override are one test) and flushes the result again only after output scaling; no result changes, shorter code Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-LEGACY-MUL-SUBNORMAL -> #1277

<!-- gh-comment-id:7144633412 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-LEGACY-MUL-SUBNORMAL -> #1277
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: TOOLS-PE-SHADER-CONTAINERS - tools/pe_shader_containers.py also finds console programs stored as a raw deflate record (plain deflate, nothing decrypted), lists them after the plain containers and extracts them inflated; synthetic tests only

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144646343 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: TOOLS-PE-SHADER-CONTAINERS - tools/pe_shader_containers.py also finds console programs stored as a raw deflate record (plain deflate, nothing decrypted), lists them after the plain containers and extracts them inflated; synthetic tests only Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: TOOLS-PE-SHADER-CONTAINERS -> #1278

<!-- gh-comment-id:7144648291 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: TOOLS-PE-SHADER-CONTAINERS -> #1278
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-MULDIV - fix 4 bugs in tools/x64_recomp.py _emit_mul (2-/3-op imul clobbering T0 before smulh/smaddl, 1-op imul checking high != 0 instead of sign extension, 16-bit 2-/3-op imul overflow width, and missing _maybe_mkflags for cross-block CF/OF) and implement missing 8/16-bit mul/imul/div/idiv plus 64-bit div/idiv (fast path + full 128-by-64 restoring division). Conflict-free with #1174, #1202, #1205, #1211, #1213, #1120, #1121, and #1246; verified natively on Apple M5 arm64 (91/91 tests).

<!-- gh-comment-id:7144659020 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-MULDIV - fix 4 bugs in `tools/x64_recomp.py` `_emit_mul` (2-/3-op `imul` clobbering `T0` before `smulh`/`smaddl`, 1-op `imul` checking `high != 0` instead of sign extension, 16-bit 2-/3-op `imul` overflow width, and missing `_maybe_mkflags` for cross-block `CF`/`OF`) and implement missing 8/16-bit `mul`/`imul`/`div`/`idiv` plus 64-bit `div`/`idiv` (fast path + full 128-by-64 restoring division). Conflict-free with #1174, #1202, #1205, #1211, #1213, #1120, #1121, and #1246; verified natively on Apple M5 arm64 (91/91 tests).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-MULDIV -> #1279

<!-- gh-comment-id:7144659948 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-MULDIV -> #1279
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: TOOLS-LIBRARY-COMPUTE-BY-HASH - tools/shader_library.py writes one entry per distinct state of a compute program (it kept only the last state) and gains --compute-hashes FILE to unpack compute programs by code SHA-256; synthetic tests only

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144662266 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: TOOLS-LIBRARY-COMPUTE-BY-HASH - tools/shader_library.py writes one entry per distinct state of a compute program (it kept only the last state) and gains --compute-hashes FILE to unpack compute programs by code SHA-256; synthetic tests only Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: TOOLS-LIBRARY-COMPUTE-BY-HASH -> #1281

<!-- gh-comment-id:7144664074 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: TOOLS-LIBRARY-COMPUTE-BY-HASH -> #1281
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

done: OLD-8385 -> #1280

<!-- gh-comment-id:7144671255 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): done: OLD-8385 -> #1280
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: TOOLS-DISASM-WAVE-SIZE - shader_disasm passes the wave size to llvm-mc (wave64 programs were listed with wave32 mask operands), and fspx_unpack and shader_library pass the dispatch state's wave size; the translator-side repair is left to #1021

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144674660 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: TOOLS-DISASM-WAVE-SIZE - shader_disasm passes the wave size to llvm-mc (wave64 programs were listed with wave32 mask operands), and fspx_unpack and shader_library pass the dispatch state's wave size; the translator-side repair is left to #1021 Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: TOOLS-DISASM-WAVE-SIZE -> #1282

<!-- gh-comment-id:7144676852 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: TOOLS-DISASM-WAVE-SIZE -> #1282
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

claiming: VK-TRACKER-NO-COPY - VulkanQueue::execute_now copies the whole LayoutTracker for every submission (runtime/src/vulkan_backend.h, auto next_tracker = context_.tracker_;): one hash node and one vector per tracked image, for each ExecuteCommandLists. On a retail boot's loading screen (the title's streamed textures are all tracked by then, and it submits many small lists a frame) that copy took 93 % of the submitting thread on an RTX 5080. The fix changes the tracker in place under tracker_mutex_ and takes the changes back when the submission fails (begin/commit/rollback with a note of what each changed image had). No game files needed for the tests. AI-assisted (Claude Code).

<!-- gh-comment-id:7144683371 --> @DadaCap commented on GitHub (Nov 24, 2026): claiming: VK-TRACKER-NO-COPY - `VulkanQueue::execute_now` copies the whole `LayoutTracker` for every submission (`runtime/src/vulkan_backend.h`, `auto next_tracker = context_.tracker_;`): one hash node and one vector per tracked image, for each `ExecuteCommandLists`. On a retail boot's loading screen (the title's streamed textures are all tracked by then, and it submits many small lists a frame) that copy took 93 % of the submitting thread on an RTX 5080. The fix changes the tracker in place under `tracker_mutex_` and takes the changes back when the submission fails (`begin`/`commit`/`rollback` with a note of what each changed image had). No game files needed for the tests. AI-assisted (Claude Code).
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: TOOLS-DISASM-BOUNDED-LISTING - shader_ir.parse_file reads a listing one line at a time instead of holding the whole file (llvm-mc's messages at the end can be many times the instructions); same result for every input; the shader_disasm half is left to #623

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144686585 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: TOOLS-DISASM-BOUNDED-LISTING - shader_ir.parse_file reads a listing one line at a time instead of holding the whole file (llvm-mc's messages at the end can be many times the instructions); same result for every input; the shader_disasm half is left to #623 Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: TOOLS-DISASM-BOUNDED-LISTING -> #1283

<!-- gh-comment-id:7144688450 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: TOOLS-DISASM-BOUNDED-LISTING -> #1283
Author
Owner

@DadaCap commented on GitHub (Nov 24, 2026):

done: VK-TRACKER-NO-COPY -> #1284

<!-- gh-comment-id:7144688638 --> @DadaCap commented on GitHub (Nov 24, 2026): done: VK-TRACKER-NO-COPY -> #1284
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

claiming: GPU-LLVMPIPE-ARM64-LINUX - a gpu-test-results/ record for Mesa llvmpipe on arm64 (aarch64) Linux, no GPU: runtime/ built natively with GCC + Ninja, ctest, and run_gpu_tests.py native, LEONIDA_W64_EMULATE=1 (--filter cs_, as CI) and LEONIDA_BARY_FALLBACK=1 on main 6293c1c4. llvmpipe's subgroup there is 4 lanes (128-bit NEON), not the 8 of the x86-64 CI runner. Counts only, no game data. AI-assisted.

<!-- gh-comment-id:7144718492 --> @PierreEbele commented on GitHub (Nov 24, 2026): claiming: GPU-LLVMPIPE-ARM64-LINUX - a `gpu-test-results/` record for Mesa llvmpipe on arm64 (aarch64) Linux, no GPU: runtime/ built natively with GCC + Ninja, ctest, and `run_gpu_tests.py` native, `LEONIDA_W64_EMULATE=1` (`--filter cs_`, as CI) and `LEONIDA_BARY_FALLBACK=1` on main `6293c1c4`. llvmpipe's subgroup there is 4 lanes (128-bit NEON), not the 8 of the x86-64 CI runner. Counts only, no game data. AI-assisted.
Author
Owner

@anonymechab-droid commented on GitHub (Nov 24, 2026):

done: SHADER-LITERAL-MAD-DENORM -> #1287

The fix, synthetic regression fixture, CPU tests and contract update are in the draft PR. The new regression cases fail before the fix and pass afterward; the final full translator suite is running before the PR is marked ready. No game files or GPU measurements are included. AI-assisted.

<!-- gh-comment-id:7144725644 --> @anonymechab-droid commented on GitHub (Nov 24, 2026): done: SHADER-LITERAL-MAD-DENORM -> #1287 The fix, synthetic regression fixture, CPU tests and contract update are in the draft PR. The new regression cases fail before the fix and pass afterward; the final full translator suite is running before the PR is marked ready. No game files or GPU measurements are included. AI-assisted.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: D3D-SCISSOR-COUNT-PARITY -> #1286

<!-- gh-comment-id:7144726640 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: D3D-SCISSOR-COUNT-PARITY -> #1286
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

done: GPU-LLVMPIPE-ARM64-LINUX -> #1288

<!-- gh-comment-id:7144743597 --> @PierreEbele commented on GitHub (Nov 24, 2026): done: GPU-LLVMPIPE-ARM64-LINUX -> #1288
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming: DOC-README-VULKAN-LINKS - Replace README references to the old GPU-results issue #166 and D3D12/Vulkan tracker #313 with the current in-repository destinations. README only, no game files or GPU needed. AI-assisted.

<!-- gh-comment-id:7144743877 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: DOC-README-VULKAN-LINKS - Replace README references to the old GPU-results issue #166 and D3D12/Vulkan tracker #313 with the current in-repository destinations. README only, no game files or GPU needed. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9790 -> #1289

<!-- gh-comment-id:7144766269 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9790 -> #1289
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10055 - carry forward old-pr/10055 (draft #320, by wavehs): compare resolved loader path at loader's own index in tests/test_guest_scene_reference.py plus symlinked-root regression test, rebased on main with wavehs kept as author, verified on Windows 11. No game files. AI-assisted.

<!-- gh-comment-id:7144775375 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10055 - carry forward old-pr/10055 (draft #320, by wavehs): compare resolved loader path at loader's own index in tests/test_guest_scene_reference.py plus symlinked-root regression test, rebased on main with wavehs kept as author, verified on Windows 11. No game files. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-MEMORY-PROBE - opt-in LEONIDA_MEM_PROBE=: counts of the Vulkan device's memory, pipelines and shader modules, the arena and the process's memory on stderr; off by default, nothing wrapped and no thread when unset; counts, sizes and file names only

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144784981 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-MEMORY-PROBE - opt-in LEONIDA_MEM_PROBE=<seconds>: counts of the Vulkan device's memory, pipelines and shader modules, the arena and the process's memory on stderr; off by default, nothing wrapped and no thread when unset; counts, sizes and file names only Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: DOC-README-VULKAN-LINKS -> #1290

<!-- gh-comment-id:7144785014 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: DOC-README-VULKAN-LINKS -> #1290
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-MEMORY-PROBE -> #1291

<!-- gh-comment-id:7144786985 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-MEMORY-PROBE -> #1291
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10055 -> #1292

<!-- gh-comment-id:7144816020 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10055 -> #1292
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming: DOC-FR-QUICKSTART-LINKS - Fix the clone URL and GPU report link in docs/i18n/fr/quickstart.md. French quickstart only. AI-assisted.

<!-- gh-comment-id:7144845341 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: DOC-FR-QUICKSTART-LINKS - Fix the clone URL and GPU report link in docs/i18n/fr/quickstart.md. French quickstart only. AI-assisted.
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: TEST-RETIRE-TICKET-DEVICE-LOSS — add a deterministic regression to runtime/test/vk_queue_query_sync_test.cpp that injects VK_ERROR_DEVICE_LOST into the vkGetSemaphoreCounterValue call made by VulkanContext::completed_retire_ticket(), and verify it marks the context lost and returns no completed ticket. The merged #408 fix currently has only driver-dependent coverage through the queue progress query. Test-only; no game files. AI-assisted.

<!-- gh-comment-id:7144846738 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: TEST-RETIRE-TICKET-DEVICE-LOSS — add a deterministic regression to runtime/test/vk_queue_query_sync_test.cpp that injects VK_ERROR_DEVICE_LOST into the vkGetSemaphoreCounterValue call made by VulkanContext::completed_retire_ticket(), and verify it marks the context lost and returns no completed ticket. The merged #408 fix currently has only driver-dependent coverage through the queue progress query. Test-only; no game files. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-PRESENT-PROBE - opt-in LEONIDA_PRESENT_PROBE=1 (bounded lines for clears, draws, PresentX calls and refusals, and the presenter's path) and LEONIDA_CAPTURE_SOURCE=1 (reads back the presented texture next to the existing frame capture); both off by default; ids, sizes, formats and result codes only

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7144859037 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-PRESENT-PROBE - opt-in LEONIDA_PRESENT_PROBE=1 (bounded lines for clears, draws, PresentX calls and refusals, and the presenter's path) and LEONIDA_CAPTURE_SOURCE=1 (reads back the presented texture next to the existing frame capture); both off by default; ids, sizes, formats and result codes only Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-PRESENT-PROBE -> #1293

<!-- gh-comment-id:7144860841 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-PRESENT-PROBE -> #1293
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

done: OLD-2528 -> #1295

<!-- gh-comment-id:7144887957 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): done: OLD-2528 -> #1295
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: DOC-FR-QUICKSTART-LINKS -> #1294

<!-- gh-comment-id:7144893649 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: DOC-FR-QUICKSTART-LINKS -> #1294
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-SHIFT-WIDTH-CF - Fix 64-bit shift/rotate CF extraction (sf=1) and 8/16-bit shl/shr/sar/rol/ror value, flag, and ctx.eflags preservation bugs in tools/x64_recomp.py, with static encoding and arm64 execution tests in tests/test_x64_recomp_shifts.py.

<!-- gh-comment-id:7144921997 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-SHIFT-WIDTH-CF - Fix 64-bit shift/rotate CF extraction (`sf=1`) and 8/16-bit `shl`/`shr`/`sar`/`rol`/`ror` value, flag, and `ctx.eflags` preservation bugs in `tools/x64_recomp.py`, with static encoding and arm64 execution tests in `tests/test_x64_recomp_shifts.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-SHIFT-WIDTH-CF -> #1296

<!-- gh-comment-id:7144922937 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-SHIFT-WIDTH-CF -> #1296
Author
Owner

@kaoru-maki commented on GitHub (Nov 24, 2026):

claiming: PSIN-NATIVE-SPEAKER — Export native speaker character hashes from typed PSIN conversation turns, including cues missed by the AU_ pattern. Add a separate report with source locations and synthetic tests. No game files or GPU are needed for the tests.

<!-- gh-comment-id:7144955191 --> @kaoru-maki commented on GitHub (Nov 24, 2026): claiming: PSIN-NATIVE-SPEAKER — Export native speaker character hashes from typed PSIN conversation turns, including cues missed by the AU_ pattern. Add a separate report with source locations and synthetic tests. No game files or GPU are needed for the tests.
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

done: TEST-RETIRE-TICKET-DEVICE-LOST -> #1298

<!-- gh-comment-id:7144993303 --> @Okachamie commented on GitHub (Nov 24, 2026): done: TEST-RETIRE-TICKET-DEVICE-LOST -> #1298
Author
Owner

@muhammadumairmustafa commented on GitHub (Nov 24, 2026):

done: OLD-9807 -> #1299

<!-- gh-comment-id:7145029295 --> @muhammadumairmustafa commented on GitHub (Nov 24, 2026): done: OLD-9807 -> #1299
Author
Owner

@whoalin1 commented on GitHub (Nov 24, 2026):

finding: d3d12_execute_indirect_validation ctest fails identically on clean main AND hardware — validation layer rejects 5 ExecuteIndirect argument-buffer cases that WARP and the RTX 4070 SUPER driver accept; likely a shim validation strictness mismatch vs real drivers (runtime/shims/d3d12_com.cpp:847-848 emits the check). Needs Windows + Vulkan hardware; reproduces on both AMD RDNA2 iGPU (gfx1035, driver 24.10.24) and NVIDIA RTX 4070 SUPER — pre-existing on main 6293c1c4f, not PR-caused.

<!-- gh-comment-id:7145037376 --> @whoalin1 commented on GitHub (Nov 24, 2026): finding: d3d12_execute_indirect_validation ctest fails identically on clean main AND hardware — validation layer rejects 5 ExecuteIndirect argument-buffer cases that WARP and the RTX 4070 SUPER driver accept; likely a shim validation strictness mismatch vs real drivers (runtime/shims/d3d12_com.cpp:847-848 emits the check). Needs Windows + Vulkan hardware; reproduces on both AMD RDNA2 iGPU (gfx1035, driver 24.10.24) and NVIDIA RTX 4070 SUPER — pre-existing on main 6293c1c4f, not PR-caused.
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming: GPU-RUNNER-TEMP-ERROR - Handle failure to create the automatic work directory in scripts/run_gpu_tests.py with a clear error and --work hint. Reproduced by forcing mkdtemp to raise PermissionError. No GPU or game files needed. AI-assisted.

<!-- gh-comment-id:7145037818 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: GPU-RUNNER-TEMP-ERROR - Handle failure to create the automatic work directory in scripts/run_gpu_tests.py with a clear error and --work hint. Reproduced by forcing mkdtemp to raise PermissionError. No GPU or game files needed. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: SHADER-FFX-PACKED-DOT - translator: a v_dot4_i32_i8 whose stored op_sel_hi (5, inline integer S1) llvm-mc drops is repaired from the bytes instead of refused; other dropped selectors stay refused. tools/rdna2spirv.py, docs/design.md, tests/semantic/test_printed_encoding.py. Not the op_sel 2 words of #281.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7145070821 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: SHADER-FFX-PACKED-DOT - translator: a v_dot4_i32_i8 whose stored op_sel_hi (5, inline integer S1) llvm-mc drops is repaired from the bytes instead of refused; other dropped selectors stay refused. tools/rdna2spirv.py, docs/design.md, tests/semantic/test_printed_encoding.py. Not the op_sel 2 words of #281. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@kaoru-maki commented on GitHub (Nov 24, 2026):

done: PSIN-NATIVE-SPEAKER -> #1300

<!-- gh-comment-id:7145071689 --> @kaoru-maki commented on GitHub (Nov 24, 2026): done: PSIN-NATIVE-SPEAKER -> #1300
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-FFX-PACKED-DOT -> #1301

<!-- gh-comment-id:7145072658 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-FFX-PACKED-DOT -> #1301
Author
Owner

@DeadlyChirp commented on GitHub (Nov 24, 2026):

finding: exe_sha attributes an explicit --expect match to an unread manifest in both text and JSON.

Reproduced on main at 4a50cafc7, Windows 11, Python 3.12.10. From a fresh scratch directory containing only sample.txt (the three ASCII bytes abc), run the following with the repo tool:

python -I <repo>/tools/exe_sha.py sample.txt --manifest missing.json --expect ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Exit 0 and the digest comparison are correct. The final line says “ok: matches the manifest (missing.json)”. Adding --json reports "source": "missing.json". Both outputs should identify --expect, which supplied the digest. In tools/exe_sha.py:91 the source field prefers the manifest argument even when check() skipped reading it. No game files or special hardware required. Flagging here for coordination since #616 is already changing this function. AI-assisted, reproduced locally.

<!-- gh-comment-id:7145080417 --> @DeadlyChirp commented on GitHub (Nov 24, 2026): finding: exe_sha attributes an explicit --expect match to an unread manifest in both text and JSON. Reproduced on main at 4a50cafc7, Windows 11, Python 3.12.10. From a fresh scratch directory containing only sample.txt (the three ASCII bytes abc), run the following with the repo tool: python -I <repo>/tools/exe_sha.py sample.txt --manifest missing.json --expect ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad Exit 0 and the digest comparison are correct. The final line says “ok: matches the manifest (missing.json)”. Adding --json reports "source": "missing.json". Both outputs should identify --expect, which supplied the digest. In tools/exe_sha.py:91 the source field prefers the manifest argument even when check() skipped reading it. No game files or special hardware required. Flagging here for coordination since #616 is already changing this function. AI-assisted, reproduced locally.
Author
Owner

@jtoucas-DIMO commented on GitHub (Nov 24, 2026):

finding: leonida_tui.pump_process terminates unrelated monitored children when one child takes longer than 0.5 seconds to exit after closing stdout. Location: tools/leonida_tui.py:1150-1153 at 0b45fdc21. The subprocess.TimeoutExpired handler calls kill_live_processes(), which terminates the entire registered group rather than just the child being waited on. A synthetic FakeProcess with EOF on stdout, a timeout for wait(timeout=0.5), and a subsequent successful exit reproduces one global termination call despite child result 0. This can kill parallel shader shards during an otherwise successful asset subprocess shutdown. No game files or GPU required for reproduction; Windows makes the global taskkill path especially visible. Diagnosis only, no patch or claim. AI-assisted.

<!-- gh-comment-id:7145085073 --> @jtoucas-DIMO commented on GitHub (Nov 24, 2026): finding: leonida_tui.pump_process terminates unrelated monitored children when one child takes longer than 0.5 seconds to exit after closing stdout. Location: tools/leonida_tui.py:1150-1153 at 0b45fdc21. The subprocess.TimeoutExpired handler calls kill_live_processes(), which terminates the entire registered group rather than just the child being waited on. A synthetic FakeProcess with EOF on stdout, a timeout for wait(timeout=0.5), and a subsequent successful exit reproduces one global termination call despite child result 0. This can kill parallel shader shards during an otherwise successful asset subprocess shutdown. No game files or GPU required for reproduction; Windows makes the global taskkill path especially visible. Diagnosis only, no patch or claim. AI-assisted.
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: GPU-RUNNER-TEMP-ERROR -> #1302

<!-- gh-comment-id:7145107115 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: GPU-RUNNER-TEMP-ERROR -> #1302
Author
Owner

@wetw0rks-c0ding commented on GitHub (Nov 24, 2026):

done: OLD-10050 -> #1303

<!-- gh-comment-id:7145109967 --> @wetw0rks-c0ding commented on GitHub (Nov 24, 2026): done: OLD-10050 -> #1303
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming: DOC-WINE-ARTIFACT - Fix the runtime-windows artifact download command in docs/testing.md to target the current repository, and link the current Runtime workflow and GPU reports. Documentation only. AI-assisted.

<!-- gh-comment-id:7145136919 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: DOC-WINE-ARTIFACT - Fix the runtime-windows artifact download command in docs/testing.md to target the current repository, and link the current Runtime workflow and GPU reports. Documentation only. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: TUI-PUMP-PROCESS-TIMEOUT - Fix \leonida_tui.pump_process\ terminating unrelated monitored children on post-EOF wait timeout (\ ools/leonida_tui.py, \ ests/test_leonida_tui.py).

<!-- gh-comment-id:7145146638 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: TUI-PUMP-PROCESS-TIMEOUT - Fix \leonida_tui.pump_process\ terminating unrelated monitored children on post-EOF wait timeout (\ ools/leonida_tui.py\, \ ests/test_leonida_tui.py\).
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: DOC-WINE-ARTIFACT -> #1304

<!-- gh-comment-id:7145170936 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: DOC-WINE-ARTIFACT -> #1304
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: TUI-PUMP-PROCESS-TIMEOUT -> #1305

<!-- gh-comment-id:7145176452 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: TUI-PUMP-PROCESS-TIMEOUT -> #1305
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9784 - Carry forward \make_game: --gpu-info FILE\ (#61 / \old-pr/9784) onto current \main\ (\README.md, \make_game.py, \ ests/test_make_game_wave64.py).

<!-- gh-comment-id:7145184739 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9784 - Carry forward \make_game: --gpu-info FILE\ (#61 / \old-pr/9784\) onto current \main\ (\README.md\, \make_game.py\, \ ests/test_make_game_wave64.py\).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-ATOMICS - Implement cmpxchg (0F B0/0F B1), xadd (0F C0/0F C1), and ARMv8.0 LL/SC (ldaxr*/stlxr*/clrex) atomicity for memory xchg (implicit LOCK), lock cmpxchg, and lock xadd across 8/16/32/64-bit in tools/x64_recomp.py, plus fix cmpxchg/xadd FLAG_WRITERS/SUB_KIND/flags_r classification, with tests in tests/test_x64_recomp_atomics.py.

<!-- gh-comment-id:7145199633 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-ATOMICS - Implement `cmpxchg` (`0F B0`/`0F B1`), `xadd` (`0F C0`/`0F C1`), and ARMv8.0 LL/SC (`ldaxr*`/`stlxr*`/`clrex`) atomicity for memory `xchg` (implicit `LOCK`), `lock cmpxchg`, and `lock xadd` across 8/16/32/64-bit in `tools/x64_recomp.py`, plus fix `cmpxchg`/`xadd` `FLAG_WRITERS`/`SUB_KIND`/`flags_r` classification, with tests in `tests/test_x64_recomp_atomics.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-ATOMICS -> #1306

<!-- gh-comment-id:7145200670 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-ATOMICS -> #1306
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9784 -> #1307

<!-- gh-comment-id:7145203579 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9784 -> #1307
Author
Owner

@Daolyap commented on GitHub (Nov 24, 2026):

claiming: RT-RUNTIME-PIPELINE-CACHE - a pipeline cache that actually seeds the runtime. vk_pipeline_check's device enables a different extension and feature set from the runtime's (17 extensions the runtime has and the checker doesn't), so a driver's cache from the pipelines stage misses for the runtime's pipelines. Measured on an RTX 3070 (32.0.16.1692): the checker's own re-run of the BVH builder's largest program hits in 0.01 s, while the runtime with that seed loaded still compiles it cold (~28 s), longer than the title's ~26 s watchdog. Change: save_pipeline_cache on the Vulkan device; a pso_warmup tool that builds a folder of compute programs through create_vulkan_device_standalone and writes that device's cache; LEONIDA_PIPELINE_CACHE_OUT to save after slow compiles (for runs that end without a teardown); and a log line naming any compute compile of 1 s or more. runtime/shims/d3d12_vulkan_device.cpp, runtime/test/pso_warmup.cpp, docs/d3d12_vulkan.md. It complements #218 (persisting the cache at teardown). AI-assisted.

<!-- gh-comment-id:7145204274 --> @Daolyap commented on GitHub (Nov 24, 2026): claiming: RT-RUNTIME-PIPELINE-CACHE - a pipeline cache that actually seeds the runtime. `vk_pipeline_check`'s device enables a different extension and feature set from the runtime's (17 extensions the runtime has and the checker doesn't), so a driver's cache from the `pipelines` stage misses for the runtime's pipelines. Measured on an RTX 3070 (32.0.16.1692): the checker's own re-run of the BVH builder's largest program hits in 0.01 s, while the runtime with that seed loaded still compiles it cold (~28 s), longer than the title's ~26 s watchdog. Change: `save_pipeline_cache` on the Vulkan device; a `pso_warmup` tool that builds a folder of compute programs through `create_vulkan_device_standalone` and writes that device's cache; `LEONIDA_PIPELINE_CACHE_OUT` to save after slow compiles (for runs that end without a teardown); and a log line naming any compute compile of 1 s or more. `runtime/shims/d3d12_vulkan_device.cpp`, `runtime/test/pso_warmup.cpp`, `docs/d3d12_vulkan.md`. It complements #218 (persisting the cache at teardown). AI-assisted.
Author
Owner

@Daolyap commented on GitHub (Nov 24, 2026):

finding: the retail 1.0.2.1 boot runs its frame loop on native Windows (no Wine): 13,838 PresentX ok and 55,353 ExecuteCommandLists in a 10-minute run with no exception (I stopped it at the time limit) | where: Mumogg's #432 branch (the stack up to #430) + #387 + #428 + #142 + #219 (merged by hand), plus two changes: the runtime-device pipeline cache (#1308, seeded with pso_warmup over <work>/shaders/bvh) and an A8_UNORM fix to #428 (posted on #428: a 128×1 TEXTURE1D A8 with no flags was refused, and the title asserted at exe+0x344196). LEONIDA_D3D12=vulkan, LEONIDA_SHADERS set; RTX 3070, driver 32.0.16.1692; Ryzen 5 5600X; Windows 11 | why: until now the frame loop was only reported under Wine. The native-Windows stops were, in order: (1) slot 133 needs the Vulkan device (#1168 logs it); (2) RT-XMEM-LEASE (in the stack); (3) a cold 28 s compile of the BVH builder's largest program on the graphics-init thread outlasting the title's ~26 s watchdog, which a cache from vk_pipeline_check doesn't fix because its device differs (#1308); (4) the A8 1D texture. Still in the log during the loop, none of them fatal in 10 minutes: queue slot 31 E_NOTIMPL, primitive topology type not supported: 19, device slot 81 E_NOTIMPL, XG texture computer E_NOTIMPL, CreateLifetimeTracker (not supported). I haven't looked at the picture. | needs: game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7145218465 --> @Daolyap commented on GitHub (Nov 24, 2026): finding: **the retail 1.0.2.1 boot runs its frame loop on native Windows** (no Wine): 13,838 `PresentX ok` and 55,353 `ExecuteCommandLists` in a 10-minute run with no exception (I stopped it at the time limit) | where: Mumogg's #432 branch (the stack up to #430) + #387 + #428 + #142 + #219 (merged by hand), plus two changes: the runtime-device pipeline cache (#1308, seeded with `pso_warmup` over `<work>/shaders/bvh`) and an A8_UNORM fix to #428 (posted on #428: a 128×1 `TEXTURE1D` A8 with no flags was refused, and the title asserted at `exe+0x344196`). `LEONIDA_D3D12=vulkan`, `LEONIDA_SHADERS` set; RTX 3070, driver 32.0.16.1692; Ryzen 5 5600X; Windows 11 | why: until now the frame loop was only reported under Wine. The native-Windows stops were, in order: (1) slot 133 needs the Vulkan device (#1168 logs it); (2) RT-XMEM-LEASE (in the stack); (3) a cold 28 s compile of the BVH builder's largest program on the graphics-init thread outlasting the title's ~26 s watchdog, which a cache from `vk_pipeline_check` doesn't fix because its device differs (#1308); (4) the A8 1D texture. Still in the log during the loop, none of them fatal in 10 minutes: queue slot 31 `E_NOTIMPL`, `primitive topology type not supported: 19`, device slot 81 `E_NOTIMPL`, XG texture computer `E_NOTIMPL`, `CreateLifetimeTracker (not supported)`. I haven't looked at the picture. | needs: game files. AI-assisted (Claude Code).
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming: GPU-RUNNER-OUTPUT-DECODE - Preserve subprocess exit codes and diagnostics in scripts/run_gpu_tests.py when output contains bytes that cannot be decoded. Reproduced with a synthetic subprocess on Windows. No GPU or game files required. AI-assisted.

<!-- gh-comment-id:7145221122 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: GPU-RUNNER-OUTPUT-DECODE - Preserve subprocess exit codes and diagnostics in scripts/run_gpu_tests.py when output contains bytes that cannot be decoded. Reproduced with a synthetic subprocess on Windows. No GPU or game files required. AI-assisted.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9915 - Carry forward \host_cpu: move gta6rt's AVX preflight decision into a testable preflight()\ (\old-pr/9915) onto current \main.

<!-- gh-comment-id:7145221826 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9915 - Carry forward \host_cpu: move gta6rt's AVX preflight decision into a testable preflight()\ (\old-pr/9915\) onto current \main\.
Author
Owner

@BadgersMC commented on GitHub (Nov 24, 2026):

done: TEST-LDS-WIDE-GPUAV -> #1309

<!-- gh-comment-id:7145239991 --> @BadgersMC commented on GitHub (Nov 24, 2026): done: TEST-LDS-WIDE-GPUAV -> #1309
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9915 -> #1311

<!-- gh-comment-id:7145257814 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9915 -> #1311
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: GPU-RUNNER-OUTPUT-DECODE -> #1310

<!-- gh-comment-id:7145259044 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: GPU-RUNNER-OUTPUT-DECODE -> #1310
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10051 - Carry forward \ ile_system: GetVolumeInformation and GetVolumePathName answer for the GAME: and T: roots\ (\old-pr/10051) onto current \main.

<!-- gh-comment-id:7145261318 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10051 - Carry forward \ ile_system: GetVolumeInformation and GetVolumePathName answer for the GAME: and T: roots\ (\old-pr/10051\) onto current \main\.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10051 -> #1312

<!-- gh-comment-id:7145298322 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10051 -> #1312
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10017 - Carry forward \ ile_system: GetTempPath and GetTempFileName resolve GAME:, G: and T: to the overlay scratch folder\ (\old-pr/10017) onto current \main.

<!-- gh-comment-id:7145301297 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10017 - Carry forward \ ile_system: GetTempPath and GetTempFileName resolve GAME:, G: and T: to the overlay scratch folder\ (\old-pr/10017\) onto current \main\.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-INCDEC-WIDTH-CF - Fix 8/16-bit inc/dec shifted delta, inc/dec CF preservation (dead-flag, ubfx bit 29 before bfi, and materialized ctx.eflags without SUB_KIND carry flip), and inc/dec/neg AF operand stashing in tools/x64_recomp.py, with tests in tests/test_x64_recomp_incdec.py.

<!-- gh-comment-id:7145304149 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-INCDEC-WIDTH-CF - Fix 8/16-bit `inc`/`dec` shifted delta, `inc`/`dec` `CF` preservation (dead-flag, `ubfx` bit 29 before `bfi`, and materialized `ctx.eflags` without `SUB_KIND` carry flip), and `inc`/`dec`/`neg` `AF` operand stashing in `tools/x64_recomp.py`, with tests in `tests/test_x64_recomp_incdec.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-INCDEC-WIDTH-CF -> #1313

<!-- gh-comment-id:7145305179 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-INCDEC-WIDTH-CF -> #1313
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: EXE-SHA-SOURCE - Report --expect as the hash source in exe_sha text and JSON when it overrides --manifest.

<!-- gh-comment-id:7145320825 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: EXE-SHA-SOURCE - Report --expect as the hash source in exe_sha text and JSON when it overrides --manifest.
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: DRAFT-285 — carry forward draft #285 (old PR 10015 by AGInformatique81). Keep the pipelines checker running when an old optional crash report is locked, and report a JSON path only after it was written. This addresses startup cleanup and reporting. Synthetic Windows regression. AI-assisted (Codex).

<!-- gh-comment-id:7145329388 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: DRAFT-285 — carry forward draft #285 (old PR 10015 by AGInformatique81). Keep the pipelines checker running when an old optional crash report is locked, and report a JSON path only after it was written. This addresses startup cleanup and reporting. Synthetic Windows regression. AI-assisted (Codex).
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10017 -> #1314

<!-- gh-comment-id:7145335226 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10017 -> #1314
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10066 - Carry forward \meshlet_page: fix u16 running-sum wraparound, non-finite crashes, and 0-meshlet groups\ (\old-pr/10066) onto current \main.

<!-- gh-comment-id:7145341753 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10066 - Carry forward \meshlet_page: fix u16 running-sum wraparound, non-finite crashes, and 0-meshlet groups\ (\old-pr/10066\) onto current \main\.
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: DRAFT-256 — carry forward archived draft #256 (old-pr/9987) on current main with the original commits preserved. The synthetic expect regression on 4a50cafc7 confirms missing and corrupt images return 1 instead of 2. No game data or GPU needed. AI-assisted (Codex).

<!-- gh-comment-id:7145350336 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: DRAFT-256 — carry forward archived draft #256 (old-pr/9987) on current main with the original commits preserved. The synthetic expect regression on 4a50cafc7 confirms missing and corrupt images return 1 instead of 2. No game data or GPU needed. AI-assisted (Codex).
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: EXE-SHA-SOURCE -> #1315

<!-- gh-comment-id:7145351124 --> @fin-github commented on GitHub (Nov 24, 2026): done: EXE-SHA-SOURCE -> #1315
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

releasing: OLD-10066 - Already landed on \main\ in \77caf525a\ (\meshlet_page: fix u16 running-sum wraparound, non-finite crashes, and 0-meshlet groups).

<!-- gh-comment-id:7145353677 --> @ambroseautomation commented on GitHub (Nov 24, 2026): releasing: OLD-10066 - Already landed on \main\ in \77caf525a\ (\meshlet_page: fix u16 running-sum wraparound, non-finite crashes, and 0-meshlet groups\).
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10010 - Carry forward \shader_disasm prints the v_dot4_i32_i8 op_sel 2 / op_sel_hi 5 words llvm-mc rejects, so the FSR4 FSPX programs translate\ (\old-pr/10010) onto current \main.

<!-- gh-comment-id:7145356743 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10010 - Carry forward \shader_disasm prints the v_dot4_i32_i8 op_sel 2 / op_sel_hi 5 words llvm-mc rejects, so the FSR4 FSPX programs translate\ (\old-pr/10010\) onto current \main\.
Author
Owner

@GuilhermeG5 commented on GitHub (Nov 24, 2026):

claiming: TEST-XMEM-COMMIT-CHECK - runtime/test/xmem_test.cpp, test_physical_pages_commit_on_touch: "mapping them does not charge them" and "writing to 512 of them charges about those 512 pages" compare GetPerformanceInfo's CommitTotal, which is system-wide, so another process committing or freeing memory between the two samples fails the test (reproduced with ctest --repeat until-fail:500 while a build ran: -120 MiB measured where +32 MiB was expected). Plan: count MEM_COMMIT pages of the test's own view with VirtualQuery (the state commit_mapped_page reads) and print CommitTotal as information only. Test-only change, no game files, any GPU. Note: #417 changes the same check another way (retries); the PR will say so.

<!-- gh-comment-id:7145358805 --> @GuilhermeG5 commented on GitHub (Nov 24, 2026): claiming: TEST-XMEM-COMMIT-CHECK - runtime/test/xmem_test.cpp, test_physical_pages_commit_on_touch: "mapping them does not charge them" and "writing to 512 of them charges about those 512 pages" compare GetPerformanceInfo's CommitTotal, which is system-wide, so another process committing or freeing memory between the two samples fails the test (reproduced with ctest --repeat until-fail:500 while a build ran: -120 MiB measured where +32 MiB was expected). Plan: count MEM_COMMIT pages of the test's own view with VirtualQuery (the state commit_mapped_page reads) and print CommitTotal as information only. Test-only change, no game files, any GPU. Note: #417 changes the same check another way (retries); the PR will say so.
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: DRAFT-63 - Carry forward #63 so ps_sweep exact comparisons preserve proven color mismatches when depth readbacks are unusable.

<!-- gh-comment-id:7145408470 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: DRAFT-63 - Carry forward #63 so ps_sweep exact comparisons preserve proven color mismatches when depth readbacks are unusable.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10010 -> #1317

<!-- gh-comment-id:7145409203 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10010 -> #1317
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10022 - Carry forward
dna2spirv: zero the tfe/lwe status VGPR on image_load and image_load_mip\ (\old-pr/10022) onto current \main.

<!-- gh-comment-id:7145413045 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10022 - Carry forward \ dna2spirv: zero the tfe/lwe status VGPR on image_load and image_load_mip\ (\old-pr/10022\) onto current \main\.
Author
Owner

@Snooozs commented on GitHub (Nov 24, 2026):

finding: make_game.native_ask decodes the chosen folder as strict text | where: make_game.py:585-603 (subprocess.run(..., text=True), no errors=), the kdialog/zenity folder dialog of --pick | why: on Linux a folder name with a byte that is not valid in the locale's encoding raises UnicodeDecodeError, which the OSError handling does not expect; errors="replace" would be wrong there, since the text is used as the path (os.fsdecode of the bytes would keep it), and printing such a path needs care too | pointed out by fin-github in the review of #1003; read in the code only, not reproduced (no Linux desktop here) | needs: no game files, no GPU, a Linux desktop to confirm. I am not taking it. AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7145423513 --> @Snooozs commented on GitHub (Nov 24, 2026): finding: `make_game.native_ask` decodes the chosen folder as strict text | where: `make_game.py:585-603` (`subprocess.run(..., text=True)`, no `errors=`), the kdialog/zenity folder dialog of `--pick` | why: on Linux a folder name with a byte that is not valid in the locale's encoding raises `UnicodeDecodeError`, which the `OSError` handling does not expect; `errors="replace"` would be wrong there, since the text is used as the path (`os.fsdecode` of the bytes would keep it), and printing such a path needs care too | pointed out by fin-github in the review of #1003; read in the code only, not reproduced (no Linux desktop here) | needs: no game files, no GPU, a Linux desktop to confirm. I am not taking it. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: DRAFT-63 -> #1318

<!-- gh-comment-id:7145458486 --> @fin-github commented on GitHub (Nov 24, 2026): done: DRAFT-63 -> #1318
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: DRAFT-285 -> #1319 (supersedes draft #285; original author preserved). The two regressions reproduce on upstream main. Windows pipeline suites: 53 passed, one POSIX-only skip. AI-assisted (Codex).

<!-- gh-comment-id:7145462478 --> @fin-github commented on GitHub (Nov 24, 2026): done: DRAFT-285 -> #1319 (supersedes draft #285; original author preserved). The two regressions reproduce on upstream main. Windows pipeline suites: 53 passed, one POSIX-only skip. AI-assisted (Codex).
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: SHADER-WATERFALL-FULL-WORD - wave64 graphics partition analysis: the waterfall proof in tools/wave64_halves.py accepts only an unmodified whole-word integer equality (v_cmp_eq_u32/i32 and v_cmpx forms); float, 16-bit, SDWA and DPP compares make the loop tier C. With its test and contract row. Not the table-execution test of #1257.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7145465860 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: SHADER-WATERFALL-FULL-WORD - wave64 graphics partition analysis: the waterfall proof in tools/wave64_halves.py accepts only an unmodified whole-word integer equality (v_cmp_eq_u32/i32 and v_cmpx forms); float, 16-bit, SDWA and DPP compares make the loop tier C. With its test and contract row. Not the table-execution test of #1257. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: DRAFT-139 - Carry forward #139 so CI does not announce expected tests passed when the runner fails without reporting any test names.

<!-- gh-comment-id:7145467171 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: DRAFT-139 - Carry forward #139 so CI does not announce expected tests passed when the runner fails without reporting any test names.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: SHADER-WATERFALL-FULL-WORD -> #1320

<!-- gh-comment-id:7145468142 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: SHADER-WATERFALL-FULL-WORD -> #1320
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-CONV-CALL-RET-LOOP - Fix 5 bugs in tools/x64_recomp.py (_emit_conv 66 99 cwd & REX.W vs 66 precedence, _emit_ret ret imm16 IndexError & imm16 >= 4096, _emit_call indirect call [rsp+disp] ordering, and _emit_branch jrcxz/67 loop/cross-block loope/loopne), with tests in tests/test_x64_recomp_control_conv.py.

<!-- gh-comment-id:7145468746 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-CONV-CALL-RET-LOOP - Fix 5 bugs in `tools/x64_recomp.py` (`_emit_conv` `66 99` `cwd` & `REX.W` vs `66` precedence, `_emit_ret` `ret imm16` `IndexError` & `imm16 >= 4096`, `_emit_call` indirect `call [rsp+disp]` ordering, and `_emit_branch` `jrcxz`/67 `loop`/cross-block `loope`/`loopne`), with tests in `tests/test_x64_recomp_control_conv.py`.
Author
Owner

@GuilhermeG5 commented on GitHub (Nov 24, 2026):

done: TEST-XMEM-COMMIT-CHECK -> #1316

<!-- gh-comment-id:7145469345 --> @GuilhermeG5 commented on GitHub (Nov 24, 2026): done: TEST-XMEM-COMMIT-CHECK -> #1316
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-CONV-CALL-RET-LOOP -> #1321

<!-- gh-comment-id:7145469563 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-CONV-CALL-RET-LOOP -> #1321
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: DRAFT-256 -> #1322

<!-- gh-comment-id:7145477333 --> @fin-github commented on GitHub (Nov 24, 2026): done: DRAFT-256 -> #1322
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: DRAFT-114 — carry forward archived draft #114 (old-pr/9848) on current main with the original commit preserved. On 4a50cafc7 an unexpected handler exception produces NameError and exits 1; the original fix restores the traceback and exit 2. Synthetic inputs only. AI-assisted (Codex).

<!-- gh-comment-id:7145478287 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: DRAFT-114 — carry forward archived draft #114 (old-pr/9848) on current main with the original commit preserved. On 4a50cafc7 an unexpected handler exception produces NameError and exits 1; the original fix restores the traceback and exit 2. Synthetic inputs only. AI-assisted (Codex).
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming: GPU-CHECK-CLI-OUTPUT, GPU-CHECK-MESH-OUTPUT, GPU-CHECK-PROBE-JSON - Three related fixes in runtime/test/shaders/check.py: retain standard test and wave64 mesh diagnostics containing undecodable bytes, and handle non-object JSON from the feature probe. Reproduced with synthetic subprocesses/outputs on Windows. One PR, no game files. AI-assisted.

<!-- gh-comment-id:7145499474 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: GPU-CHECK-CLI-OUTPUT, GPU-CHECK-MESH-OUTPUT, GPU-CHECK-PROBE-JSON - Three related fixes in runtime/test/shaders/check.py: retain standard test and wave64 mesh diagnostics containing undecodable bytes, and handle non-object JSON from the feature probe. Reproduced with synthetic subprocesses/outputs on Windows. One PR, no game files. AI-assisted.
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: DRAFT-139 -> #1323

<!-- gh-comment-id:7145503939 --> @fin-github commented on GitHub (Nov 24, 2026): done: DRAFT-139 -> #1323
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: DRAFT-114 -> #1324

<!-- gh-comment-id:7145511104 --> @fin-github commented on GitHub (Nov 24, 2026): done: DRAFT-114 -> #1324
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: DRAFT-125 — carry forward draft #125 (old PR 9859 by WebIdentity1). Check both GPU test runners for suppressed compute failures after subgroup warnings, using CPU-only synthetic subprocess results. AI-assisted (Codex).

<!-- gh-comment-id:7145519617 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: DRAFT-125 — carry forward draft #125 (old PR 9859 by WebIdentity1). Check both GPU test runners for suppressed compute failures after subgroup warnings, using CPU-only synthetic subprocess results. AI-assisted (Codex).
Author
Owner

@ImLele69 commented on GitHub (Nov 24, 2026):

BOOT-TURING-WINE, moved to #984 + #968 as said above: on an RTX 2070 SUPER (Turing, 16 GB RAM, zram) under Wine 11.21 Staging it reaches the story load with 0 refused submissions and no device loss in 660 s. Proton Experimental's wine-11.0 stops at 9-11 s on exe+0xb5a5f8 with the same build. Details: https://github.com/ubiquitarianism/leonida/pull/984#issuecomment-7145531353 . Continuing with a run to the end of the load. AI-assisted: yes

<!-- gh-comment-id:7145531921 --> @ImLele69 commented on GitHub (Nov 24, 2026): BOOT-TURING-WINE, moved to #984 + #968 as said above: on an RTX 2070 SUPER (Turing, 16 GB RAM, zram) under Wine 11.21 Staging it reaches the story load with 0 refused submissions and no device loss in 660 s. Proton Experimental's wine-11.0 stops at 9-11 s on `exe+0xb5a5f8` with the same build. Details: https://github.com/ubiquitarianism/leonida/pull/984#issuecomment-7145531353 . Continuing with a run to the end of the load. AI-assisted: yes
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: GPU-CHECK-CLI-OUTPUT -> #1325
done: GPU-CHECK-MESH-OUTPUT -> #1325
done: GPU-CHECK-PROBE-JSON -> #1325

<!-- gh-comment-id:7145539705 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: GPU-CHECK-CLI-OUTPUT -> #1325 done: GPU-CHECK-MESH-OUTPUT -> #1325 done: GPU-CHECK-PROBE-JSON -> #1325
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

claiming: TEST-LDS-FIXTURE-ORDER - the seven GPU fixtures that still print a shared-memory error under GPU-assisted validation on main 4a50cafc7 (cs_lds_atomics_ext, cs_lds_b64_cmpst, cs_lds_xchg64_ext, cs_w32_fcmpswap, cs_w32_misc_ext, cs_w32_new_ops: RaceOnLoadStoreVsAtomic once each; cs_w32_lds_wide: RaceOnStore/RaceOnLoad, every lane writes the same words). The rest of the list @natterman12 posted after #382: #412 did cs_w32_lds_subdword, #481 has cs_pk_mul_lo_const. Fixture-only, as #412: a workgroup barrier between a plain LDS access and an atomic one on the same word, and the lane-0 mask before the first LDS access in cs_w32_lds_wide; expected words unchanged, checked-in listings regenerated. Measured on an RTX 3060 Ti (621.14, Windows 11), native and LEONIDA_W64_EMULATE=1; first fixture done: 1 error -> 0, same eight words. No translator change, no game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7145547424 --> @klikso commented on GitHub (Nov 24, 2026): claiming: TEST-LDS-FIXTURE-ORDER - the seven GPU fixtures that still print a shared-memory error under GPU-assisted validation on `main` `4a50cafc7` (`cs_lds_atomics_ext`, `cs_lds_b64_cmpst`, `cs_lds_xchg64_ext`, `cs_w32_fcmpswap`, `cs_w32_misc_ext`, `cs_w32_new_ops`: `RaceOnLoadStoreVsAtomic` once each; `cs_w32_lds_wide`: `RaceOnStore`/`RaceOnLoad`, every lane writes the same words). The rest of the list @natterman12 posted after #382: #412 did `cs_w32_lds_subdword`, #481 has `cs_pk_mul_lo_const`. Fixture-only, as #412: a workgroup barrier between a plain LDS access and an atomic one on the same word, and the lane-0 mask before the first LDS access in `cs_w32_lds_wide`; expected words unchanged, checked-in listings regenerated. Measured on an RTX 3060 Ti (621.14, Windows 11), native and `LEONIDA_W64_EMULATE=1`; first fixture done: 1 error -> 0, same eight words. No translator change, no game files. AI-assisted (Claude Code).
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming: DRAFT-259 — carry forward archived draft #259 (old-pr/9989) with the original commits preserved. Current main accepts PNG structures that the conformance comparison tool should reject. Baseline tests failed on ten synthetic PNG structure cases. No game files or GPU. AI-assisted (Codex).

<!-- gh-comment-id:7145552458 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: DRAFT-259 — carry forward archived draft #259 (old-pr/9989) with the original commits preserved. Current main accepts PNG structures that the conformance comparison tool should reject. Baseline tests failed on ten synthetic PNG structure cases. No game files or GPU. AI-assisted (Codex).
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: DRAFT-125 -> #1326 (supersedes draft #125; original author preserved). Both GPU test runners reproduced false skips on current main using synthetic child results. Both Windows test suites pass (153 tests). AI-assisted (Codex).

<!-- gh-comment-id:7145557574 --> @fin-github commented on GitHub (Nov 24, 2026): done: DRAFT-125 -> #1326 (supersedes draft #125; original author preserved). Both GPU test runners reproduced false skips on current main using synthetic child results. Both Windows test suites pass (153 tests). AI-assisted (Codex).
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

claiming:

  • OLD-9920 - take over carried-over draft #188 (check_d3d12_trace: finish communicate() after killing a timed-out fixture, Sunkiller-qc): cherry-pick -x onto current main, original author kept, new PR superseding the draft. Its test fails on main and passes with the change.
  • OLD-9989 - take over carried-over draft #259 (conformance reader rejects invalid critical PNG chunk structure, Tayar), same way.
  • OLD-9928 - take over carried-over draft #197 (wint_diff: GFX12 has no always-true/false VALU compare, Størm), same way.

No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7145581073 --> @fin-github commented on GitHub (Nov 24, 2026): claiming: - OLD-9920 - take over carried-over draft #188 (check_d3d12_trace: finish communicate() after killing a timed-out fixture, Sunkiller-qc): cherry-pick -x onto current main, original author kept, new PR superseding the draft. Its test fails on main and passes with the change. - OLD-9989 - take over carried-over draft #259 (conformance reader rejects invalid critical PNG chunk structure, Tayar), same way. - OLD-9928 - take over carried-over draft #197 (wint_diff: GFX12 has no always-true/false VALU compare, Størm), same way. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: DRAFT-259 -> #1327

<!-- gh-comment-id:7145590144 --> @fin-github commented on GitHub (Nov 24, 2026): done: DRAFT-259 -> #1327
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

claiming: MAKE-GAME-PICK-FSDECODE - make_game.native_ask (make_game.py:590-603) reads the kdialog/zenity answer with text=True, so on Linux a chosen folder whose name is not valid in the locale encoding raises UnicodeDecodeError (not caught as OSError). Decode the bytes with os.fsdecode so the path round-trips, and keep the log/fail lines that print it from raising. Takes the finding by Snooozs above. Test with a fake picker on Linux, no GPU or game files. AI-assisted.

<!-- gh-comment-id:7145590209 --> @PierreEbele commented on GitHub (Nov 24, 2026): claiming: MAKE-GAME-PICK-FSDECODE - `make_game.native_ask` (`make_game.py:590-603`) reads the kdialog/zenity answer with `text=True`, so on Linux a chosen folder whose name is not valid in the locale encoding raises `UnicodeDecodeError` (not caught as `OSError`). Decode the bytes with `os.fsdecode` so the path round-trips, and keep the `log`/`fail` lines that print it from raising. Takes the finding by Snooozs above. Test with a fake picker on Linux, no GPU or game files. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-CONSOLE-HEAP-ALIGN -- requite a console descriptor-heap address to be 64 KiB aligned before slot 14 treats a desc as the console layout; a caller whose trailing words happened to encode 32 was misread and its garbage word became the CPU handle (d3d12_subgroup SegFault, #1150). One predicate, one test case. No game files, needs a Vulkan device

<!-- gh-comment-id:7145591230 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-CONSOLE-HEAP-ALIGN -- requite a console descriptor-heap address to be 64 KiB aligned before slot 14 treats a desc as the console layout; a caller whose trailing words happened to encode 32 was misread and its garbage word became the CPU handle (d3d12_subgroup SegFault, #1150). One predicate, one test case. No game files, needs a Vulkan device
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming:

  • GPU-RUNNER-PROBE-JSON - Handle non-object capability probe JSON in the two fallback selectors of scripts/run_gpu_tests.py. Synthetic verification only.
  • DOC-ES-QUICKSTART-LINKS - Update the Spanish quickstart clone, coordination, and GPU report instructions.
  • DOC-IT-QUICKSTART-LINKS - Update the Italian quickstart clone, coordination, and GPU report instructions.
    One PR per item. No game files. AI-assisted.
<!-- gh-comment-id:7145593530 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: - GPU-RUNNER-PROBE-JSON - Handle non-object capability probe JSON in the two fallback selectors of scripts/run_gpu_tests.py. Synthetic verification only. - DOC-ES-QUICKSTART-LINKS - Update the Spanish quickstart clone, coordination, and GPU report instructions. - DOC-IT-QUICKSTART-LINKS - Update the Italian quickstart clone, coordination, and GPU report instructions. One PR per item. No game files. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-CONSOLE-HEAP-ALIGN -> #1328

<!-- gh-comment-id:7145601242 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-CONSOLE-HEAP-ALIGN -> #1328
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-ADCSBB-NARROW - Implement 8/16-bit adc/sbb (widened ADCS/SBCS with conditional low-bit fill), fix Asm.csinv/csetm opcode (0xDA800000, not 0x9A808000) and Asm.li(-1), sign-extend immediates to destination width in _emit_adcsbb, and stash CTX_A/CTX_B for AF in tools/x64_recomp.py, with tests in tests/test_x64_recomp_adcsbb.py.

<!-- gh-comment-id:7145607224 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-ADCSBB-NARROW - Implement 8/16-bit `adc`/`sbb` (widened `ADCS`/`SBCS` with conditional low-bit fill), fix `Asm.csinv`/`csetm` opcode (`0xDA800000`, not `0x9A808000`) and `Asm.li(-1)`, sign-extend immediates to destination width in `_emit_adcsbb`, and stash `CTX_A`/`CTX_B` for `AF` in `tools/x64_recomp.py`, with tests in `tests/test_x64_recomp_adcsbb.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-ADCSBB-NARROW -> #1329

<!-- gh-comment-id:7145608133 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-ADCSBB-NARROW -> #1329
Author
Owner

@GGandCo commented on GitHub (Nov 24, 2026):

claiming: RT-WINDOW-MODES - local Win32 presentation-window controls: F11 / Alt+Enter borderless fullscreen toggle, restoring previous window placement, resizable window borders, and system-menu client-size presets fitted to the monitor work area. Cover both the runtime fallback window and a title-owned window through its existing ShowWindow hook. Synthetic Win32 fixture; no game files. Checked current claims/open fullscreen PR search; no matching owner found. AI-assisted.

<!-- gh-comment-id:7145608395 --> @GGandCo commented on GitHub (Nov 24, 2026): claiming: RT-WINDOW-MODES - local Win32 presentation-window controls: F11 / Alt+Enter borderless fullscreen toggle, restoring previous window placement, resizable window borders, and system-menu client-size presets fitted to the monitor work area. Cover both the runtime fallback window and a title-owned window through its existing ShowWindow hook. Synthetic Win32 fixture; no game files. Checked current claims/open fullscreen PR search; no matching owner found. AI-assisted.
Author
Owner

@fin-github commented on GitHub (Nov 24, 2026):

done: OLD-9920 -> #1330 (supersedes draft #188)
done: OLD-9989 -> #1331 (supersedes draft #259)
done: OLD-9928 -> #1332 (supersedes draft #197)

<!-- gh-comment-id:7145632644 --> @fin-github commented on GitHub (Nov 24, 2026): done: OLD-9920 -> #1330 (supersedes draft #188) done: OLD-9989 -> #1331 (supersedes draft #259) done: OLD-9928 -> #1332 (supersedes draft #197)
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10022 -> #1334

<!-- gh-comment-id:7145642742 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10022 -> #1334
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-10015 - Carry forward \make_game: keep checking pipelines when the previous crash report is locked\ (\old-pr/10015) onto current \main.

<!-- gh-comment-id:7145652100 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-10015 - Carry forward \make_game: keep checking pipelines when the previous crash report is locked\ (\old-pr/10015\) onto current \main\.
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

claiming: TEST-WINE-FAST - make the Windows tests fast to run under Wine. On my machine the full suite of the clang-cl build takes about 28 minutes per device when the tests run one after another, and about 1 minute with a wineserver kept alive, the crash debugger and the menu builder switched off, and the tests in parallel. I will:

  • measure which of those accounts for the time, and say so;
  • give scripts/run_wine_tests.py a kept-alive wineserver, the winedbg.exe=d and winemenubuilder.exe=d overrides, and an opt-in --jobs N (the default stays one at a time), with tests in tests/test_run_wine_tests.py;
  • add the fast local recipe to docs/testing.md, with the note that a fresh prefix otherwise writes file associations into the user's profile.

It touches the same file as #919, #999 and #1015, which are other topics. No game files.

AI-assisted (Claude Code, Claude Fable 5.2).

<!-- gh-comment-id:7145659035 --> @aslan2142 commented on GitHub (Nov 24, 2026): claiming: TEST-WINE-FAST - make the Windows tests fast to run under Wine. On my machine the full suite of the clang-cl build takes about 28 minutes per device when the tests run one after another, and about 1 minute with a wineserver kept alive, the crash debugger and the menu builder switched off, and the tests in parallel. I will: - measure which of those accounts for the time, and say so; - give `scripts/run_wine_tests.py` a kept-alive wineserver, the `winedbg.exe=d` and `winemenubuilder.exe=d` overrides, and an opt-in `--jobs N` (the default stays one at a time), with tests in `tests/test_run_wine_tests.py`; - add the fast local recipe to `docs/testing.md`, with the note that a fresh prefix otherwise writes file associations into the user's profile. It touches the same file as #919, #999 and #1015, which are other topics. No game files. AI-assisted (Claude Code, Claude Fable 5.2).
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: GPU-RUNNER-PROBE-JSON -> #1333
done: DOC-ES-QUICKSTART-LINKS -> #1335
done: DOC-IT-QUICKSTART-LINKS -> #1336

<!-- gh-comment-id:7145659959 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: GPU-RUNNER-PROBE-JSON -> #1333 done: DOC-ES-QUICKSTART-LINKS -> #1335 done: DOC-IT-QUICKSTART-LINKS -> #1336
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-10015 -> #1337

<!-- gh-comment-id:7145666348 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-10015 -> #1337
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

claiming: OLD-9920 - Carry forward \check_d3d12_trace: finish communicate() after killing a timed-out fixture\ (\old-pr/9920) onto current \main.

<!-- gh-comment-id:7145671001 --> @ambroseautomation commented on GitHub (Nov 24, 2026): claiming: OLD-9920 - Carry forward \check_d3d12_trace: finish communicate() after killing a timed-out fixture\ (\old-pr/9920\) onto current \main\.
Author
Owner

@ambroseautomation commented on GitHub (Nov 24, 2026):

done: OLD-9920 -> #1338

<!-- gh-comment-id:7145681286 --> @ambroseautomation commented on GitHub (Nov 24, 2026): done: OLD-9920 -> #1338
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-SIGNEXT-IMM - Sign-extend narrow immediates to destination width in _emit_alu, _emit_cmp, and _emit_mov (fixing and rsp, -16, cmp rax, -1, test rax, -1, and mov qword [mem], -1), fix Asm.li(-1), stash CTX_A/CTX_B on materialized ALU/CMP, and handle movnti in tools/x64_recomp.py, with tests in tests/test_x64_recomp_signext_imm.py.

<!-- gh-comment-id:7145695813 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-SIGNEXT-IMM - Sign-extend narrow immediates to destination width in `_emit_alu`, `_emit_cmp`, and `_emit_mov` (fixing `and rsp, -16`, `cmp rax, -1`, `test rax, -1`, and `mov qword [mem], -1`), fix `Asm.li(-1)`, stash `CTX_A`/`CTX_B` on materialized ALU/CMP, and handle `movnti` in `tools/x64_recomp.py`, with tests in `tests/test_x64_recomp_signext_imm.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-SIGNEXT-IMM -> #1339

<!-- gh-comment-id:7145696693 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-SIGNEXT-IMM -> #1339
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming:

  • DOC-DE-QUICKSTART-LINKS - Update the German quickstart clone, coordination and GPU report instructions.
  • DOC-PL-QUICKSTART-LINKS - Update the Polish quickstart clone, coordination and GPU report instructions.
  • DOC-PT-QUICKSTART-LINKS - Update the European Portuguese quickstart clone, coordination and GPU report instructions.
    One PR per locale, documentation only. AI-assisted.
<!-- gh-comment-id:7145697850 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: - DOC-DE-QUICKSTART-LINKS - Update the German quickstart clone, coordination and GPU report instructions. - DOC-PL-QUICKSTART-LINKS - Update the Polish quickstart clone, coordination and GPU report instructions. - DOC-PT-QUICKSTART-LINKS - Update the European Portuguese quickstart clone, coordination and GPU report instructions. One PR per locale, documentation only. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: DOC-RELATED-ANYXBOXX -- add LooperSalty/AnyXboxX to docs/related_projects.md: a GPL-3.0 prototype HLE emulator on the same 1.0.2.1 build, with its measured state and what we can take (licence-compatible, unlike the GPL-2.0-only entries). Facts only, no code copied, no game files

<!-- gh-comment-id:7145711690 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: DOC-RELATED-ANYXBOXX -- add LooperSalty/AnyXboxX to docs/related_projects.md: a GPL-3.0 prototype HLE emulator on the same 1.0.2.1 build, with its measured state and what we can take (licence-compatible, unlike the GPL-2.0-only entries). Facts only, no code copied, no game files
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-SKIP-COMPUTE-DIAGNOSTIC - runtime diagnostic: LEONIDA_SKIP_COMPUTE=[,...] (unset by default) takes named compute programs out of a run: no shader module or pipeline, CreateComputePipelineState still succeeds and logs the name, direct and indirect dispatches dropped. d3d12_vulkan_device.cpp, vulkan_replay.h, docs, a GPU test.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7145723794 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-SKIP-COMPUTE-DIAGNOSTIC - runtime diagnostic: LEONIDA_SKIP_COMPUTE=<part of a name>[,...] (unset by default) takes named compute programs out of a run: no shader module or pipeline, CreateComputePipelineState still succeeds and logs the name, direct and indirect dispatches dropped. d3d12_vulkan_device.cpp, vulkan_replay.h, docs, a GPU test. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-SKIP-COMPUTE-DIAGNOSTIC -> #1341

<!-- gh-comment-id:7145725648 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-SKIP-COMPUTE-DIAGNOSTIC -> #1341
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: DOC-RELATED-ANYXBOXX -> #1340

<!-- gh-comment-id:7145726312 --> @robot00f commented on GitHub (Nov 24, 2026): done: DOC-RELATED-ANYXBOXX -> #1340
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: DOC-DE-QUICKSTART-LINKS -> #1342
done: DOC-PL-QUICKSTART-LINKS -> #1343
done: DOC-PT-QUICKSTART-LINKS -> #1344

<!-- gh-comment-id:7145756793 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: DOC-DE-QUICKSTART-LINKS -> #1342 done: DOC-PL-QUICKSTART-LINKS -> #1343 done: DOC-PT-QUICKSTART-LINKS -> #1344
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: PE-INSPECT-DELAY-VA-THUNKS - Pass va_entries=va_entries to img.thunk_names and guard dll_rva > 0 in tools/pe_inspect.py:_imports so legacy dlattrRva == 0 VA delay-import tables resolve named imports instead of '?' and never read 'MZ' at ImageBase, with regression tests in tests/test_pe_inspect.py.

<!-- gh-comment-id:7145759394 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: PE-INSPECT-DELAY-VA-THUNKS - Pass `va_entries=va_entries` to `img.thunk_names` and guard `dll_rva > 0` in `tools/pe_inspect.py:_imports` so legacy `dlattrRva == 0` VA delay-import tables resolve named imports instead of `'?'` and never read `'MZ'` at `ImageBase`, with regression tests in `tests/test_pe_inspect.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: PE-INSPECT-DELAY-VA-THUNKS -> #1345

<!-- gh-comment-id:7145760347 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: PE-INSPECT-DELAY-VA-THUNKS -> #1345
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: RT-KEYBOARD-PAD-SCRIPT - a scripted run (LEONIDA_INPUT_SCRIPT) has to turn the keyboard pad on to press anything, and that also turns on the pad's raw mouse input and its ClipCursor on the game window (clip_cursor in runtime/shims/gameinput.cpp, re-applied every 100 ms). Under Wine on a Wayland desktop that holds the desktop pointer for the whole run. With LEONIDA_KEYBOARD_PAD=always, the run also takes the keys and mouse of someone working in another window. This adds LEONIDA_KEYBOARD_PAD=script: the pad is attached and the scripted presses run, but no physical keyboard or mouse input is read, no raw mouse input is registered and the cursor is never clipped. Test in runtime/test/gameinput_test.cpp, docs in docs/gameinput.md. Checked under Wine 11.21 on Linux (RTX 4070 Ti). Synthetic input only, no game data. #955 edits the same two functions; this stays off its lines. AI-assisted.

<!-- gh-comment-id:7145771034 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: RT-KEYBOARD-PAD-SCRIPT - a scripted run (`LEONIDA_INPUT_SCRIPT`) has to turn the keyboard pad on to press anything, and that also turns on the pad's raw mouse input and its `ClipCursor` on the game window (`clip_cursor` in `runtime/shims/gameinput.cpp`, re-applied every 100 ms). Under Wine on a Wayland desktop that holds the desktop pointer for the whole run. With `LEONIDA_KEYBOARD_PAD=always`, the run also takes the keys and mouse of someone working in another window. This adds `LEONIDA_KEYBOARD_PAD=script`: the pad is attached and the scripted presses run, but no physical keyboard or mouse input is read, no raw mouse input is registered and the cursor is never clipped. Test in `runtime/test/gameinput_test.cpp`, docs in `docs/gameinput.md`. Checked under Wine 11.21 on Linux (RTX 4070 Ti). Synthetic input only, no game data. #955 edits the same two functions; this stays off its lines. AI-assisted.
Author
Owner

@sxnistxr commented on GitHub (Nov 24, 2026):

finding: the shader-stage resume check accepts a same-size index with the wrong shader key and no module files

Where: make_game.py:1323–1348 and make_game.py:2028–2051 at 4a50cafc7. The saved translation index is checked for emptiness, and the completion guard compares only the number of entries.

Reproduced with ShaderStageResumeTest's synthetic fixture in tests/test_shader_stage_resume.py. After one fixture run, I replaced the translated index's sole key with an unrelated name, leaving zero module files. A second run of the shader stage invoked none of the build steps and accepted the stale index. This lets a resumed build report completion while the runtime's expected shader is missing.

A regression case can check shader identity and module presence during stage resume. PR #1235 is related by scope and covers empty compute modules. No game files or particular hardware needed. AI-assisted.

<!-- gh-comment-id:7145787151 --> @sxnistxr commented on GitHub (Nov 24, 2026): finding: the shader-stage resume check accepts a same-size index with the wrong shader key and no module files Where: `make_game.py:1323–1348` and `make_game.py:2028–2051` at `4a50cafc7`. The saved translation index is checked for emptiness, and the completion guard compares only the number of entries. Reproduced with `ShaderStageResumeTest`'s synthetic fixture in `tests/test_shader_stage_resume.py`. After one fixture run, I replaced the translated index's sole key with an unrelated name, leaving zero module files. A second run of the shader stage invoked none of the build steps and accepted the stale index. This lets a resumed build report completion while the runtime's expected shader is missing. A regression case can check shader identity and module presence during stage resume. PR #1235 is related by scope and covers empty compute modules. No game files or particular hardware needed. AI-assisted.
Author
Owner

@Mby159 commented on GitHub (Nov 24, 2026):

released: RT-RESTORE-6DECE-PC-CHECKER - #709 is closed. The checker was removed on purpose before the merge (5125a01f0, in main as 4fa19c6f7 ahead of 6dece9231); the merge kept that deletion, so there is nothing to restore. Verification details in #709. Note for other restorations from the 35-path list: check the first-parent side for a deliberate deletion before restoring a path. (Correction to my claim comment: the files were 977 and 158 lines, not 849/120.) AI-assisted.

<!-- gh-comment-id:7145801378 --> @Mby159 commented on GitHub (Nov 24, 2026): released: RT-RESTORE-6DECE-PC-CHECKER - #709 is closed. The checker was removed on purpose before the merge (`5125a01f0`, in `main` as `4fa19c6f7` ahead of `6dece9231`); the merge kept that deletion, so there is nothing to restore. Verification details in #709. Note for other restorations from the 35-path list: check the first-parent side for a deliberate deletion before restoring a path. (Correction to my claim comment: the files were 977 and 158 lines, not 849/120.) AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claiming: D3D12-SET-HEAPS-BLOB -- d3d12_set_descriptor_heaps fails early with CHECK failed: !blob.empty() (line 341), deterministic 3/3 on native Windows (#1150); find out which serialization comes back empty and whether the shim or the test is wrong. No game files, needs a Vulkan device

<!-- gh-comment-id:7145813750 --> @robot00f commented on GitHub (Nov 24, 2026): claiming: D3D12-SET-HEAPS-BLOB -- d3d12_set_descriptor_heaps fails early with CHECK failed: !blob.empty() (line 341), deterministic 3/3 on native Windows (#1150); find out which serialization comes back empty and whether the shim or the test is wrong. No game files, needs a Vulkan device
Author
Owner

@PierreEbele commented on GitHub (Nov 24, 2026):

done: MAKE-GAME-PICK-FSDECODE -> #1347

<!-- gh-comment-id:7145847169 --> @PierreEbele commented on GitHub (Nov 24, 2026): done: MAKE-GAME-PICK-FSDECODE -> #1347
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

finding (round 5 — runtime stop-site correlation, exe 1.0.2.1): base mapping — community "exe+N" is RVA from image base 0x140000000 (verified: int3 CC exactly at exe+0x2474606); that int3 is the fallthrough abort after call *0x1467939c8 inside fn 0x142474500, which also holds the XMemAlloc(0x80, [0x1475e7a08]) site at 0x142474572 gated by XMemGetWorkingSetStatistics(0x20000001) out[0]-out[1] >= 0x6400001 (cmp 0x14247455a, round 4) — the title's device-removed exit is the int3 at the tail of that 100 MiB+1 free-space probe's function

finding: span assert exe+0x247af2d measured — genuine int3 (file 0x247A32D); guard at 0x14247af25 is cmp $0x1fffff on ([rsp+0x78] - [rsp+0x70] + [0x1475e6ff0]), jbe-over-int3 (byte-exact pool_size - used + global <= 0x1FFFFF); the post-assert path lea's rdx=0x1456a2a60 — the 64 KiB bump-allocator fn (round 1) — into call 0x145c8fa70; no 0x4000000/0x5280000/0x60 immediates in ±0x100, so the tier→size selection (ConsoleMode 0x60 → 82.5 MiB) is not in this fn; the 0x1475e6ff0 accumulator is read-only in-window (writer untraced)

finding: 30 s job watchdog — the cited +0x2215c35 is the fatal null write (movl $0,0; int3 backstop +0xB, at +0x2215c40); supervisor loop (wait 0x3e8, ~1 s passes, 64-slot baseline table 0x146844a28 + slot0x48 + entry8, lfenced reads) fires when scaled (now - baseline) reaches float 300.0 (.rdata 0x146159e20; unit 100 ms per the 26-33 s deaths; scale const 0x149e4f5c0 in the unmapped VA hole); clock from a layer-installed thunk [0x146793550] (no RDTSC/QPC IAT in-window)

finding: GameInput ordinal-1 closed by PR #741 (merged 16:38:39Z) + -DLEONIDA_SDL3_FETCH=ON: the GameInputCreate stop on the CI runtime-windows artifact was the missing-SDL3 build gap (with the flag the build passes GameInputCreate with 0 GameInput failures, reaches 1,639 D3D12 calls), consistent with the exe importing its single GameInput entry from GameInput.dll by ordinal #1 with no name, not from xgameruntime (round 1, 7128855244)

<!-- gh-comment-id:7145871243 --> @tengotengo commented on GitHub (Nov 24, 2026): finding (round 5 — runtime stop-site correlation, exe 1.0.2.1): base mapping — community "exe+N" is RVA from image base 0x140000000 (verified: int3 CC exactly at exe+0x2474606); that int3 is the fallthrough abort after call *0x1467939c8 inside fn 0x142474500, which also holds the XMemAlloc(0x80, [0x1475e7a08]) site at 0x142474572 gated by XMemGetWorkingSetStatistics(0x20000001) out[0]-out[1] >= 0x6400001 (cmp 0x14247455a, round 4) — the title's device-removed exit is the int3 at the tail of that 100 MiB+1 free-space probe's function finding: span assert exe+0x247af2d measured — genuine int3 (file 0x247A32D); guard at 0x14247af25 is cmp $0x1fffff on ([rsp+0x78] - [rsp+0x70] + [0x1475e6ff0]), jbe-over-int3 (byte-exact pool_size - used + global <= 0x1FFFFF); the post-assert path lea's rdx=0x1456a2a60 — the 64 KiB bump-allocator fn (round 1) — into call 0x145c8fa70; no 0x4000000/0x5280000/0x60 immediates in ±0x100, so the tier→size selection (ConsoleMode 0x60 → 82.5 MiB) is not in this fn; the 0x1475e6ff0 accumulator is read-only in-window (writer untraced) finding: 30 s job watchdog — the cited +0x2215c35 is the fatal null write (movl $0,0; int3 backstop +0xB, at +0x2215c40); supervisor loop (wait 0x3e8, ~1 s passes, 64-slot baseline table 0x146844a28 + slot*0x48 + entry*8, lfenced reads) fires when scaled (now - baseline) reaches float 300.0 (.rdata 0x146159e20; unit 100 ms per the 26-33 s deaths; scale const 0x149e4f5c0 in the unmapped VA hole); clock from a layer-installed thunk [0x146793550] (no RDTSC/QPC IAT in-window) finding: GameInput ordinal-1 closed by PR #741 (merged 16:38:39Z) + -DLEONIDA_SDL3_FETCH=ON: the GameInputCreate stop on the CI runtime-windows artifact was the missing-SDL3 build gap (with the flag the build passes GameInputCreate with 0 GameInput failures, reaches 1,639 D3D12 calls), consistent with the exe importing its single GameInput entry from GameInput.dll by ordinal #1 with no name, not from xgameruntime (round 1, 7128855244)
Author
Owner

@tengotengo commented on GitHub (Nov 24, 2026):

Package verification data point (promised in my first finding on this exe): the complete 1.0.2.1 package (info hash 465d6a0eac381e68ca77115f44f19f0c968b9590, 108 files, 223,880,932,870 bytes) verifies 108/108 against the in-repo manifest game/xbox-1.0.2.1.json — every file passes size + SHA-256 via make_game.py --check --full-check (2026-11-24).

<!-- gh-comment-id:7145871649 --> @tengotengo commented on GitHub (Nov 24, 2026): Package verification data point (promised in my first finding on this exe): the complete 1.0.2.1 package (info hash 465d6a0eac381e68ca77115f44f19f0c968b9590, 108 files, 223,880,932,870 bytes) verifies 108/108 against the in-repo manifest game/xbox-1.0.2.1.json — every file passes size + SHA-256 via make_game.py --check --full-check (2026-11-24).
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: CI-RUNTIME-SDL3-ARTIFACT - Enable SDL3 in the Windows Runtime CI build so the runtime-windows artifact includes the GameInput shim needed for retail startup under Wine. I will verify the CI artifact on Linux with the game-free GameInput test and a same-source offline retail comparison, checking whether startup reaches D3D12. AI-assisted.

<!-- gh-comment-id:7145882630 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: CI-RUNTIME-SDL3-ARTIFACT - Enable SDL3 in the Windows Runtime CI build so the runtime-windows artifact includes the GameInput shim needed for retail startup under Wine. I will verify the CI artifact on Linux with the game-free GameInput test and a same-source offline retail comparison, checking whether startup reaches D3D12. AI-assisted.
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming:

  • WINE-CTEST-DEPENDENCY-LISTS - Reject malformed dependency and fixture lists in the Wine CTest inventory before graph construction. Reproduced three crashes with synthetic JSON.
  • GPU-TIMEOUT-OVERFLOW - Validate the shared GPU subprocess timeout before it overflows platform waits. Reproduced on Windows with 1e300.
  • DOC-TR-QUICKSTART-LINKS - Update the Turkish quickstart clone, coordination and GPU report instructions.
    One PR per item. No game files or GPU. AI-assisted.
<!-- gh-comment-id:7145900346 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: - WINE-CTEST-DEPENDENCY-LISTS - Reject malformed dependency and fixture lists in the Wine CTest inventory before graph construction. Reproduced three crashes with synthetic JSON. - GPU-TIMEOUT-OVERFLOW - Validate the shared GPU subprocess timeout before it overflows platform waits. Reproduced on Windows with 1e300. - DOC-TR-QUICKSTART-LINKS - Update the Turkish quickstart clone, coordination and GPU report instructions. One PR per item. No game files or GPU. AI-assisted.
Author
Owner

@xel1uz commented on GitHub (Nov 24, 2026):

@sodove @titoreinaldo I tested #1060 and #1191 together. The same CPU regression test fails on each branch for a different reason and passes with both changes. Would you prefer a combined PR preserving both commit histories, or should I send the regression test to one of the existing PRs?

<!-- gh-comment-id:7145900784 --> @xel1uz commented on GitHub (Nov 24, 2026): @sodove @titoreinaldo I tested #1060 and #1191 together. The same CPU regression test fails on each branch for a different reason and passes with both changes. Would you prefer a combined PR preserving both commit histories, or should I send the regression test to one of the existing PRs?
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-SHLD-SHRD - Decode and emit shld (0F A4/0F A5) and shrd (0F AC/0F AD) double-precision shifts across 16/32/64-bit register and memory operands (immediate and CL counts, count-0 no-op, ARM64 EXTR fast path, and exact SF/ZF/CF/OF/PF flags) in tools/x64_recomp.py with unit + hardware execution tests.

<!-- gh-comment-id:7145941001 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-SHLD-SHRD - Decode and emit `shld` (`0F A4`/`0F A5`) and `shrd` (`0F AC`/`0F AD`) double-precision shifts across 16/32/64-bit register and memory operands (immediate and `CL` counts, count-0 no-op, ARM64 `EXTR` fast path, and exact `SF`/`ZF`/`CF`/`OF`/`PF` flags) in `tools/x64_recomp.py` with unit + hardware execution tests.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-SHLD-SHRD -> #1349

<!-- gh-comment-id:7145941973 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-SHLD-SHRD -> #1349
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

releasing: CI-RUNTIME-SDL3-ARTIFACT - I found that slauko already implemented the same Windows Runtime change in github.com/slauko/leonida@149adbdb97. I am releasing the claim to avoid duplicating that work. AI-assisted.

<!-- gh-comment-id:7145945687 --> @Okachamie commented on GitHub (Nov 24, 2026): releasing: CI-RUNTIME-SDL3-ARTIFACT - I found that slauko already implemented the same Windows Runtime change in https://github.com/slauko/leonida/commit/149adbdb97faf33dd1b51ed510db750e677c1a16. I am releasing the claim to avoid duplicating that work. AI-assisted.
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: WINE-CTEST-DEPENDENCY-LISTS -> #1348
done: GPU-TIMEOUT-OVERFLOW -> #1350
done: DOC-TR-QUICKSTART-LINKS -> #1351

<!-- gh-comment-id:7145959882 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: WINE-CTEST-DEPENDENCY-LISTS -> #1348 done: GPU-TIMEOUT-OVERFLOW -> #1350 done: DOC-TR-QUICKSTART-LINKS -> #1351
Author
Owner

@Mykolas009 commented on GitHub (Nov 24, 2026):

claiming: CI-MACOS-OCCLUSION-EXPECTED - drop vk_overlapping_occlusion from the macOS job's EXPECTED_FAILURES in .github/workflows/runtime.yml (aslan2142's finding above). The job's own notice says it passes on MoltenVK (runs 45444758602 and 45444181679: "vk_overlapping_occlusion passed: drop it from the expected failures"). The comment that links the private repository goes with it. No game files; not run on a Mac here, the macOS job on the pull request is the check. AI-assisted (Claude Code, Claude Fable 5.2).

<!-- gh-comment-id:7146013055 --> @Mykolas009 commented on GitHub (Nov 24, 2026): claiming: CI-MACOS-OCCLUSION-EXPECTED - drop `vk_overlapping_occlusion` from the macOS job's `EXPECTED_FAILURES` in `.github/workflows/runtime.yml` (aslan2142's [finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142209135) above). The job's own notice says it passes on MoltenVK (runs 45444758602 and 45444181679: "vk_overlapping_occlusion passed: drop it from the expected failures"). The comment that links the private repository goes with it. No game files; not run on a Mac here, the macOS job on the pull request is the check. AI-assisted (Claude Code, Claude Fable 5.2).
Author
Owner

@klikso commented on GitHub (Nov 24, 2026):

done: TEST-LDS-FIXTURE-ORDER -> #1352

All seven fixtures: same eight words, GPU-assisted validation errors 1-6 -> 0, natively and with LEONIDA_W64_EMULATE=1 (RTX 3060 Ti, 621.14, Windows 11). A validated run_gpu_tests.py goes from 8 fixtures with an error to 1 natively (cs_pk_mul_lo_const, #481) and from 40 to 33 emulated (that one plus the 32 sink-word fixtures #1110 clears). AI-assisted (Claude Code).

<!-- gh-comment-id:7146025463 --> @klikso commented on GitHub (Nov 24, 2026): done: TEST-LDS-FIXTURE-ORDER -> #1352 All seven fixtures: same eight words, GPU-assisted validation errors 1-6 -> 0, natively and with `LEONIDA_W64_EMULATE=1` (RTX 3060 Ti, 621.14, Windows 11). A validated `run_gpu_tests.py` goes from 8 fixtures with an error to 1 natively (`cs_pk_mul_lo_const`, #481) and from 40 to 33 emulated (that one plus the 32 sink-word fixtures #1110 clears). AI-assisted (Claude Code).
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-SET-HEAPS-BLOB -> #1353

<!-- gh-comment-id:7146027616 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-SET-HEAPS-BLOB -> #1353
Author
Owner

@Mykolas009 commented on GitHub (Nov 24, 2026):

claiming: BUILD-SHADER-RESUME-IDENTITY - sxnistxr's finding above: on a resumed shader stage, make_game.shaders keeps a saved shaders/spirv/index.json that names a shader with no listing (same count, wrong key), because verify_translation_completeness compares only the number of entries. Reproduced on main 9f25f1ef2 with ShaderStageResumeTest's fixture (second run: no step runs). The fix compares the index's names with the disassembly listings and translates again when they differ, with a regression test. No game files, no GPU; Windows, standard library only. AI-assisted (Claude Code, Claude Fable 5.2).

<!-- gh-comment-id:7146036301 --> @Mykolas009 commented on GitHub (Nov 24, 2026): claiming: BUILD-SHADER-RESUME-IDENTITY - sxnistxr's [finding](https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7145787151) above: on a resumed shader stage, `make_game.shaders` keeps a saved `shaders/spirv/index.json` that names a shader with no listing (same count, wrong key), because `verify_translation_completeness` compares only the number of entries. Reproduced on `main` `9f25f1ef2` with `ShaderStageResumeTest`'s fixture (second run: no step runs). The fix compares the index's names with the disassembly listings and translates again when they differ, with a regression test. No game files, no GPU; Windows, standard library only. AI-assisted (Claude Code, Claude Fable 5.2).
Author
Owner

@aslan2142 commented on GitHub (Nov 24, 2026):

done: TEST-WINE-FAST -> #1354

<!-- gh-comment-id:7146059153 --> @aslan2142 commented on GitHub (Nov 24, 2026): done: TEST-WINE-FAST -> #1354
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

claiming:

  • DOC-ZH-QUICKSTART-LINKS - Fix the clone URL and GPU result links and submission instructions in the Simplified Chinese quickstart.
  • DOC-JA-QUICKSTART-LINKS - Fix the clone URL and GPU result submission instructions in the Japanese quickstart.
  • DOC-PTBR-QUICKSTART-LINKS - Fix the clone URL, coordination link and GPU result submission instructions in the Brazilian Portuguese quickstart.
    One PR per guide. Documentation only. AI-assisted.
<!-- gh-comment-id:7146157705 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): claiming: - DOC-ZH-QUICKSTART-LINKS - Fix the clone URL and GPU result links and submission instructions in the Simplified Chinese quickstart. - DOC-JA-QUICKSTART-LINKS - Fix the clone URL and GPU result submission instructions in the Japanese quickstart. - DOC-PTBR-QUICKSTART-LINKS - Fix the clone URL, coordination link and GPU result submission instructions in the Brazilian Portuguese quickstart. One PR per guide. Documentation only. AI-assisted.
Author
Owner

@titoreinaldo commented on GitHub (Nov 24, 2026):

done: SHADER-IMAGE-LOAD-MSAA -> #1355. Ordinary per-sample reads now translate in the standalone tool with --msaa-image-load. The seven synthetic fixtures went from 0/7 to 7/7 translated and validated. Both the RTX 3070 and Intel Arc matched 576/576 results each, and the sample-zero control caught every expected difference. The PR links the runnable probe and full outputs. Shared declarations with #1199 mean the second PR to land needs a rebase. Codex-assisted.

<!-- gh-comment-id:7146170252 --> @titoreinaldo commented on GitHub (Nov 24, 2026): done: SHADER-IMAGE-LOAD-MSAA -> #1355. Ordinary per-sample reads now translate in the standalone tool with `--msaa-image-load`. The seven synthetic fixtures went from 0/7 to 7/7 translated and validated. Both the RTX 3070 and Intel Arc matched 576/576 results each, and the sample-zero control caught every expected difference. The PR links the runnable probe and full outputs. Shared declarations with #1199 mean the second PR to land needs a rebase. Codex-assisted.
Author
Owner

@TheGeogeo commented on GitHub (Nov 24, 2026):

claiming: VK-IMAGE-MEMORY-POOL - every committed and placed texture makes its own vkAllocateMemory and frees it on its own (runtime/shims/d3d12_vulkan_device.cpp, Resource::create_texture). Measured on main 4a50cafc7, Windows 11, RTX 3080, NVIDIA 621.24: creating a 64x64 texture takes about 105 us and releasing one about 200-250 us, nearly all of it in vkAllocateMemory (about 100 us) and vkFreeMemory (about 200 us), so a title that streams textures pays for both on every one. The Vulkan guarantee for maxMemoryAllocationCount is only 4096, and nothing here checks it (this driver reports no limit).

I will place small textures in shared device-local blocks, as docs/d3d12_vulkan.md section 3.3 already describes ("or a suballocated device-local image heap"): a small CPU-testable range allocator in a new header, render-target and depth textures and large ones keep their own allocation, a range goes back to its block when the last submission using the image has completed, and a committed texture in a reused range is still zeroed before a shader reads it. Tests: the allocator on the CPU, and many textures through the layer on a GPU. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7146176960 --> @TheGeogeo commented on GitHub (Nov 24, 2026): claiming: VK-IMAGE-MEMORY-POOL - every committed and placed texture makes its own `vkAllocateMemory` and frees it on its own (`runtime/shims/d3d12_vulkan_device.cpp`, `Resource::create_texture`). Measured on `main` 4a50cafc7, Windows 11, RTX 3080, NVIDIA 621.24: creating a 64x64 texture takes about 105 us and releasing one about 200-250 us, nearly all of it in `vkAllocateMemory` (about 100 us) and `vkFreeMemory` (about 200 us), so a title that streams textures pays for both on every one. The Vulkan guarantee for `maxMemoryAllocationCount` is only 4096, and nothing here checks it (this driver reports no limit). I will place small textures in shared device-local blocks, as docs/d3d12_vulkan.md section 3.3 already describes ("or a suballocated device-local image heap"): a small CPU-testable range allocator in a new header, render-target and depth textures and large ones keep their own allocation, a range goes back to its block when the last submission using the image has completed, and a committed texture in a reused range is still zeroed before a shader reads it. Tests: the allocator on the CPU, and many textures through the layer on a GPU. No game files. AI-assisted (Claude Code).
Author
Owner

@jj4tv commented on GitHub (Nov 24, 2026):

claiming: QA-00, QA-08, QA-05, QA-09, RT-03, RT-01, RT-04, SH-01, SH-02, AS-01 — execução dos cards de backlog do Trello "Meu quadro do Trello" (MVP) por uma equipe de agentes Claude Code em worktrees isolados. Python/docs/testes e C++ Windows-only; sem dados do jogo, sem GPU física no WSL Linux. Não duplica PRs abertos já identificados (ex.: #974, #984, #1087, #1101, #1157, #1278): cada agente alinha com o PR aberto correspondente. AI-assisted (Claude Code).

<!-- gh-comment-id:7146183845 --> @jj4tv commented on GitHub (Nov 24, 2026): claiming: QA-00, QA-08, QA-05, QA-09, RT-03, RT-01, RT-04, SH-01, SH-02, AS-01 — execução dos cards de backlog do Trello "Meu quadro do Trello" (MVP) por uma equipe de agentes Claude Code em worktrees isolados. Python/docs/testes e C++ Windows-only; sem dados do jogo, sem GPU física no WSL Linux. Não duplica PRs abertos já identificados (ex.: #974, #984, #1087, #1101, #1157, #1278): cada agente alinha com o PR aberto correspondente. AI-assisted (Claude Code).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-CMPXCHG8B-16B - Decode and emit cmpxchg8b (0F C7 /1) and cmpxchg16b (REX.W 0F C7 /1) in tools/x64_recomp.py using ARMv8.0 LDAXP/STLXP/CLREX LL/SC loops (with alignment guard + unaligned/unlocked pair fallback and ZF-only flag updates preserving CF/SF/OF/PF/AF), with unit and hardware execution tests.

<!-- gh-comment-id:7146185617 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-CMPXCHG8B-16B - Decode and emit `cmpxchg8b` (`0F C7 /1`) and `cmpxchg16b` (`REX.W 0F C7 /1`) in `tools/x64_recomp.py` using ARMv8.0 `LDAXP`/`STLXP`/`CLREX` LL/SC loops (with alignment guard + unaligned/unlocked pair fallback and ZF-only flag updates preserving `CF`/`SF`/`OF`/`PF`/`AF`), with unit and hardware execution tests.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-CMPXCHG8B-16B -> #1357

<!-- gh-comment-id:7146186617 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-CMPXCHG8B-16B -> #1357
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

claim: D3D12-DYNAMIC-DEPTH-BIAS -- implement ID3D12GraphicsCommandList::OMSetDepthBias and the DYNAMIC_DEPTH_BIAS pipeline flag (record the values, VK_DYNAMIC_STATE_DEPTH_BIAS at replay, then answer D3D12_OPTIONS16.DynamicDepthBiasSupported with what the layer can honour). Follow-up of the note in #967; the layer accepts both DYNAMIC_* flags while reporting both features FALSE. Needs no game files, needs a GPU. Branch will be based on #967 (Depends on: #967).

<!-- gh-comment-id:7146203524 --> @robot00f commented on GitHub (Nov 24, 2026): claim: D3D12-DYNAMIC-DEPTH-BIAS -- implement ID3D12GraphicsCommandList::OMSetDepthBias and the DYNAMIC_DEPTH_BIAS pipeline flag (record the values, VK_DYNAMIC_STATE_DEPTH_BIAS at replay, then answer D3D12_OPTIONS16.DynamicDepthBiasSupported with what the layer can honour). Follow-up of the note in #967; the layer accepts both DYNAMIC_* flags while reporting both features FALSE. Needs no game files, needs a GPU. Branch will be based on #967 (Depends on: #967).
Author
Owner

@sodove commented on GitHub (Nov 24, 2026):

@xel1uz Thanks for testing the two changes together. From the #1060 side, my preference is to put the regression test on #1191. Could you link your test commit there and include what fails on each head? That would let @titoreinaldo carry the test when rebasing #1191 onto #1060, which it already lists as a dependency.

I checked the published heads with git merge-tree. Each merges cleanly into main at 51a6074d2. Combining fc5d08b8 and 49eca8d5 produces content conflicts in both runtime/test/shaders/w64_graphics.py and tests/test_w64_graphics_reference.py. The test would help verify that the conflict resolution preserves both the choice of the 32-wide draw and the checks on the fixture's known output words.

AI-assisted: yes (OpenAI Codex).

<!-- gh-comment-id:7146207731 --> @sodove commented on GitHub (Nov 24, 2026): @xel1uz Thanks for testing the two changes together. From the #1060 side, my preference is to put the regression test on #1191. Could you link your test commit there and include what fails on each head? That would let @titoreinaldo carry the test when rebasing #1191 onto #1060, which it already lists as a dependency. I checked the published heads with `git merge-tree`. Each merges cleanly into `main` at `51a6074d2`. Combining `fc5d08b8` and `49eca8d5` produces content conflicts in both `runtime/test/shaders/w64_graphics.py` and `tests/test_w64_graphics_reference.py`. The test would help verify that the conflict resolution preserves both the choice of the 32-wide draw and the checks on the fixture's known output words. AI-assisted: yes (OpenAI Codex).
Author
Owner

@delysidemanYT1 commented on GitHub (Nov 24, 2026):

done: DOC-ZH-QUICKSTART-LINKS -> #1356
done: DOC-JA-QUICKSTART-LINKS -> #1358
done: DOC-PTBR-QUICKSTART-LINKS -> #1359

<!-- gh-comment-id:7146208947 --> @delysidemanYT1 commented on GitHub (Nov 24, 2026): done: DOC-ZH-QUICKSTART-LINKS -> #1356 done: DOC-JA-QUICKSTART-LINKS -> #1358 done: DOC-PTBR-QUICKSTART-LINKS -> #1359
Author
Owner

@JesusACD commented on GitHub (Nov 24, 2026):

claiming: ROOTSIG-CENSUS-JSON-GUARD - guard tools/rootsig_census.py --json with report_paths.same_report_path against overwriting its .dxbc, fspx/*.json, index.json, or --disasm *.s inputs (and directory targets), and report --json write OSErrors cleanly with exit 2 instead of a traceback. No game files or GPU needed. AI-assisted.

<!-- gh-comment-id:7146264254 --> @JesusACD commented on GitHub (Nov 24, 2026): claiming: ROOTSIG-CENSUS-JSON-GUARD - guard tools/rootsig_census.py --json with report_paths.same_report_path against overwriting its .dxbc, fspx/*.json, index.json, or --disasm *.s inputs (and directory targets), and report --json write OSErrors cleanly with exit 2 instead of a traceback. No game files or GPU needed. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: TEST-CI-REG-LOCAL-MIXIN - tests/test_ci_registration.py fails on main since #930 merged (540d5111f, 22:12 UTC; it passes on its parent 4a50cafc7). test_every_selected_file_exposes_a_test_to_its_runner reports tests/semantic/test_sub_co_same_operand.py as a file the semantic job collects nothing from, but python -m unittest discover -s tests/semantic -p test_sub_co_same_operand.py runs 6 tests there. Its three TestCase classes take their test* methods from a mixin class defined in the same file, and defines_a_test only looks at a class's own body and at a mixin imported from another module. The fix goes into the scan (a TestCase inherits the test* methods of its local bases), not into #930's test file. Until then the standard-library loop is red (check, stdlib-tests-linux, macos-python) on every pull request whose run starts on the current main. No game files needed. AI-assisted.

<!-- gh-comment-id:7146307911 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: TEST-CI-REG-LOCAL-MIXIN - `tests/test_ci_registration.py` fails on `main` since #930 merged (`540d5111f`, 22:12 UTC; it passes on its parent `4a50cafc7`). `test_every_selected_file_exposes_a_test_to_its_runner` reports `tests/semantic/test_sub_co_same_operand.py` as a file the semantic job collects nothing from, but `python -m unittest discover -s tests/semantic -p test_sub_co_same_operand.py` runs 6 tests there. Its three `TestCase` classes take their `test*` methods from a mixin class defined in the same file, and `defines_a_test` only looks at a class's own body and at a mixin imported from another module. The fix goes into the scan (a `TestCase` inherits the `test*` methods of its local bases), not into #930's test file. Until then the standard-library loop is red (`check`, `stdlib-tests-linux`, `macos-python`) on every pull request whose run starts on the current `main`. No game files needed. AI-assisted.
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

claiming: SHADER-CARVE-NAME-LENGTH

Fix shader names in tools/shader_carve.py when a printable length byte is mistaken for the first character. Add a synthetic test and invalidate old carve outputs so the shaders stage can regenerate the translation index. AI-assisted.

<!-- gh-comment-id:7146324024 --> @x2Tweek commented on GitHub (Nov 24, 2026): claiming: SHADER-CARVE-NAME-LENGTH Fix shader names in tools/shader_carve.py when a printable length byte is mistaken for the first character. Add a synthetic test and invalidate old carve outputs so the shaders stage can regenerate the translation index. AI-assisted.
Author
Owner

@JesusACD commented on GitHub (Nov 24, 2026):

done: ROOTSIG-CENSUS-JSON-GUARD -> #1360

<!-- gh-comment-id:7146324027 --> @JesusACD commented on GitHub (Nov 24, 2026): done: ROOTSIG-CENSUS-JSON-GUARD -> #1360
Author
Owner

@x2Tweek commented on GitHub (Nov 24, 2026):

done: SHADER-CARVE-NAME-LENGTH -> #1361

<!-- gh-comment-id:7146330922 --> @x2Tweek commented on GitHub (Nov 24, 2026): done: SHADER-CARVE-NAME-LENGTH -> #1361
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-MOVBE-CRC32 - Decode and emit movbe (0F 38 F0/F1, 16/32/64-bit load and store) and SSE4.2 crc32 (F2 0F 38 F0/F1, 8/16/32/64-bit Castagnoli CRC-32C) in tools/x64_recomp.py with ARM64 REV16/REV and flag-preserving ARMv8.0 CRC-32C lowering, plus unit and hardware execution tests.

<!-- gh-comment-id:7146343005 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-MOVBE-CRC32 - Decode and emit `movbe` (`0F 38 F0`/`F1`, 16/32/64-bit load and store) and SSE4.2 `crc32` (`F2 0F 38 F0`/`F1`, 8/16/32/64-bit Castagnoli CRC-32C) in `tools/x64_recomp.py` with ARM64 `REV16`/`REV` and flag-preserving ARMv8.0 CRC-32C lowering, plus unit and hardware execution tests.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-MOVBE-CRC32 -> #1362

<!-- gh-comment-id:7146344115 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-MOVBE-CRC32 -> #1362
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

claiming: RT-TRACE-SUCCESSFUL-OPENS - startup trace: with --trace on, the first 600 successful guest CreateFileW/CreateFile2 opens are file_open events (path, access mask, caller), on a budget separate from the 256 failures; the open's last error (ERROR_ALREADY_EXISTS for OPEN_ALWAYS) is kept. file_system.cpp, docs/boot.md, runtime/README.md, a test form.

Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.

<!-- gh-comment-id:7146367781 --> @Moriz82 commented on GitHub (Nov 24, 2026): claiming: RT-TRACE-SUCCESSFUL-OPENS - startup trace: with --trace on, the first 600 successful guest CreateFileW/CreateFile2 opens are file_open events (path, access mask, caller), on a budget separate from the 256 failures; the open's last error (ERROR_ALREADY_EXISTS for OPEN_ALWAYS) is kept. file_system.cpp, docs/boot.md, runtime/README.md, a test form. Child of #984 (RT-PROTON-STORY-LOAD), which is being split into small pull requests as its reviewer asked. AI-assisted.
Author
Owner

@Moriz82 commented on GitHub (Nov 24, 2026):

done: RT-TRACE-SUCCESSFUL-OPENS -> #1363

<!-- gh-comment-id:7146369487 --> @Moriz82 commented on GitHub (Nov 24, 2026): done: RT-TRACE-SUCCESSFUL-OPENS -> #1363
Author
Owner

@sxnistxr commented on GitHub (Nov 24, 2026):

claiming: EXE-CHECKLIST-SOURCE-GUARD - tools/exe_checklist.py currently protects --gdk-calls inputs but permits --out to overwrite runtime source or docs read by collect(). Protect every scanned source/document with tools/report_paths.same_report_path, including files without notes and symlink/hard-link aliases; add synthetic preservation tests. This is separate from EXE-CHECKLIST-PARSE / OLD-8385 markdown and JSON parsing work. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7146381556 --> @sxnistxr commented on GitHub (Nov 24, 2026): claiming: EXE-CHECKLIST-SOURCE-GUARD - tools/exe_checklist.py currently protects --gdk-calls inputs but permits --out to overwrite runtime source or docs read by collect(). Protect every scanned source/document with tools/report_paths.same_report_path, including files without notes and symlink/hard-link aliases; add synthetic preservation tests. This is separate from EXE-CHECKLIST-PARSE / OLD-8385 markdown and JSON parsing work. No game files or GPU required. AI-assisted.
Author
Owner

@xel1uz commented on GitHub (Nov 24, 2026):

@breachato I tested #1214 and #1227 on a case-insensitive Windows volume mounted in WSL. I added two CLI regression tests: one for JSON and CSV output names that differ only in case, and one for a report named INDEX.JSON in a carve directory. Both commands refuse the collision before writing. Both tests also pass on a case-sensitive Linux filesystem.

Would you prefer a single PR that preserves your commits from both branches and adds the tests, or would you like me to send the tree test to #1214 and the index test to #1227?

<!-- gh-comment-id:7146396277 --> @xel1uz commented on GitHub (Nov 24, 2026): @breachato I tested #1214 and #1227 on a case-insensitive Windows volume mounted in WSL. I added two CLI regression tests: one for JSON and CSV output names that differ only in case, and one for a report named `INDEX.JSON` in a carve directory. Both commands refuse the collision before writing. Both tests also pass on a case-sensitive Linux filesystem. Would you prefer a single PR that preserves your commits from both branches and adds the tests, or would you like me to send the tree test to #1214 and the index test to #1227?
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

claiming: OLD-4682 - carry forward old-pr/4682 (draft #37, ray3242, with the follow-ups by Gustavo Rafael Schmidt and Rayhan Robin; TEST-995), cherry-picked onto current main with the authors kept: on NVIDIA Pascal a texture in a CPU-visible heap is created with VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT and then gets memoryTypeBits = 0, so CreateCommittedResource answers E_OUTOFMEMORY; the PR remakes the image without host-transfer usage and takes the staging path. Measured on a GeForce GTX 1050 Ti, NVIDIA 582.66, Windows 10 19045, main 4a50cafc7 against main + the three commits, each test 3x: d3d12_subresource_copy fails -> passes; the CPU-heap texture cases of d3d12_heap_properties (ours 0x8007000e host 0x0) and d3d12_vulkan_device (line 174, line 7046) fail -> pass; root_sig and d3d12_state_sweep fail the same way on both (Windows 10 host). The only conflict was a docs/testing.md row the third commit removes anyway. The resource-heap-tier-1 comparisons (ALLOW_ALL heaps in d3d12_heap_properties, heap_mismatches in d3d12_vulkan_device) are a separate item and stay out of it. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7146403034 --> @qhukz13 commented on GitHub (Nov 24, 2026): claiming: OLD-4682 - carry forward `old-pr/4682` (draft #37, ray3242, with the follow-ups by Gustavo Rafael Schmidt and Rayhan Robin; TEST-995), cherry-picked onto current `main` with the authors kept: on NVIDIA Pascal a texture in a CPU-visible heap is created with `VK_IMAGE_USAGE_HOST_TRANSFER_BIT_EXT` and then gets `memoryTypeBits = 0`, so `CreateCommittedResource` answers `E_OUTOFMEMORY`; the PR remakes the image without host-transfer usage and takes the staging path. Measured on a GeForce GTX 1050 Ti, NVIDIA 582.66, Windows 10 19045, `main` `4a50cafc7` against `main` + the three commits, each test 3x: `d3d12_subresource_copy` fails -> passes; the CPU-heap texture cases of `d3d12_heap_properties` (`ours 0x8007000e host 0x0`) and `d3d12_vulkan_device` (line 174, line 7046) fail -> pass; `root_sig` and `d3d12_state_sweep` fail the same way on both (Windows 10 host). The only conflict was a docs/testing.md row the third commit removes anyway. The resource-heap-tier-1 comparisons (`ALLOW_ALL` heaps in `d3d12_heap_properties`, `heap_mismatches` in `d3d12_vulkan_device`) are a separate item and stay out of it. No game files. AI-assisted (Claude Code).
Author
Owner

@madhyn commented on GitHub (Nov 24, 2026):

note (RT-TITLE-HOST-REGION -> #1273): following up on @ImLele69's BOOT-TURING-WINE finding above (14 GiB whole-region VK_EXT_external_memory_host pinning hitting VK_ERROR_OUT_OF_HOST_MEMORY on 16 GB hosts), #1273 implements piecewise host-region tracking and lazy Vulkan import (TitleHostRegions + VulkanTitleRegions + resolve_shader_va for CBV/SRV/UAV).

Verified on RTX 3060 Ti (Arch Linux ctest + Wine 11.22 title_host_regions_test.exe and title_host_region_gpu_test.exe).

AI-assisted: yes

<!-- gh-comment-id:7146420441 --> @madhyn commented on GitHub (Nov 24, 2026): note (RT-TITLE-HOST-REGION -> #1273): following up on @ImLele69's `BOOT-TURING-WINE` finding above (14 GiB whole-region `VK_EXT_external_memory_host` pinning hitting `VK_ERROR_OUT_OF_HOST_MEMORY` on 16 GB hosts), #1273 implements piecewise host-region tracking and lazy Vulkan import (`TitleHostRegions` + `VulkanTitleRegions` + `resolve_shader_va` for CBV/SRV/UAV). Verified on RTX 3060 Ti (Arch Linux `ctest` + Wine 11.22 `title_host_regions_test.exe` and `title_host_region_gpu_test.exe`). AI-assisted: yes
Author
Owner

@Diegobecker07 commented on GitHub (Nov 24, 2026):

claiming: TEST-VK-ALLOC-INFO-OUTPUT - runtime/test/d3d12_vulkan_device_test.cpp: compare_allocation_info's mismatch line (stderr, allocation info <case>: ours size …) and the informational line it prints for every compared case (stdout, allocation info <case>: alignment …, size ours … host …) start the same way, so "no allocation info lines" reads like a pass criterion although a run with a host device always prints 46 of them (the #375 merge note). Give the mismatch line its own prefix and end the comparison with a count line like the other host comparisons (N compared, M mismatches). Test output only. AI-assisted.

<!-- gh-comment-id:7146425273 --> @Diegobecker07 commented on GitHub (Nov 24, 2026): claiming: TEST-VK-ALLOC-INFO-OUTPUT - runtime/test/d3d12_vulkan_device_test.cpp: `compare_allocation_info`'s mismatch line (stderr, `allocation info <case>: ours size …`) and the informational line it prints for every compared case (stdout, `allocation info <case>: alignment …, size ours … host …`) start the same way, so "no `allocation info` lines" reads like a pass criterion although a run with a host device always prints 46 of them (the #375 merge note). Give the mismatch line its own prefix and end the comparison with a count line like the other host comparisons (`N compared, M mismatches`). Test output only. AI-assisted.
Author
Owner

@Diegobecker07 commented on GitHub (Nov 24, 2026):

claiming: MAKE-GAME-PLAIN-LOG - make_game.py: with --no-tui (or redirected output) nothing is written to <work>/logs; only the LEONIDA board writes the stage logs (make_game.py:3037-3048), so a plain run leaves no log to read afterwards. Write the same stage logs in plain mode, keeping the console output as it is, with tests. AI-assisted.

<!-- gh-comment-id:7146425751 --> @Diegobecker07 commented on GitHub (Nov 24, 2026): claiming: MAKE-GAME-PLAIN-LOG - make_game.py: with `--no-tui` (or redirected output) nothing is written to `<work>/logs`; only the LEONIDA board writes the stage logs (make_game.py:3037-3048), so a plain run leaves no log to read afterwards. Write the same stage logs in plain mode, keeping the console output as it is, with tests. AI-assisted.
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: OLD-4682 -> #1364

<!-- gh-comment-id:7146426733 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: OLD-4682 -> #1364
Author
Owner

@JesusACD commented on GitHub (Nov 24, 2026):

claiming: SAVE-KEYS-OUT-GUARD - switch tools/save_keys.py out_problem() to tools/report_paths.same_report_path and refuse directory --out targets before running key collection and dictionary resolution. No game files or GPU needed. AI-assisted.

<!-- gh-comment-id:7146434960 --> @JesusACD commented on GitHub (Nov 24, 2026): claiming: SAVE-KEYS-OUT-GUARD - switch tools/save_keys.py out_problem() to tools/report_paths.same_report_path and refuse directory --out targets before running key collection and dictionary resolution. No game files or GPU needed. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: TEST-CI-REG-LOCAL-MIXIN -> #1365. tests/test_ci_registration.py is red on main since the merge of #930 (540d5111f), which fails check, stdlib-tests-linux and macos-python on every pull request whose run starts on a main from then on; #1365 fixes the scan (a TestCase that takes its test* methods from a mixin class in the same file), with a test that holds the scan to what unittest discover collects. #930's test file is unchanged. AI-assisted.

<!-- gh-comment-id:7146446075 --> @milk4sale commented on GitHub (Nov 24, 2026): done: TEST-CI-REG-LOCAL-MIXIN -> #1365. `tests/test_ci_registration.py` is red on `main` since the merge of #930 (`540d5111f`), which fails `check`, `stdlib-tests-linux` and `macos-python` on every pull request whose run starts on a `main` from then on; #1365 fixes the scan (a `TestCase` that takes its `test*` methods from a mixin class in the same file), with a test that holds the scan to what `unittest discover` collects. #930's test file is unchanged. AI-assisted.
Author
Owner

@ipadev88 commented on GitHub (Nov 24, 2026):

claiming: RT-MESH-COMPUTE-DIRECT-MAC — on devices without VK_EXT_mesh_shader, replay direct DispatchMesh by using the already-translated mesh_compute module and a generated mesh vertex module, with the required buffer barrier and ordinary vertex draw. Keep native mesh PSOs/DispatchMesh unchanged; indirect mesh dispatches remain #424. Add synthetic D3D12/runtime tests without game data, and verify the path on MoltenVK if the local device supports it. AI-assisted.

<!-- gh-comment-id:7146467086 --> @ipadev88 commented on GitHub (Nov 24, 2026): claiming: RT-MESH-COMPUTE-DIRECT-MAC — on devices without VK_EXT_mesh_shader, replay direct DispatchMesh by using the already-translated mesh_compute module and a generated mesh vertex module, with the required buffer barrier and ordinary vertex draw. Keep native mesh PSOs/DispatchMesh unchanged; indirect mesh dispatches remain #424. Add synthetic D3D12/runtime tests without game data, and verify the path on MoltenVK if the local device supports it. AI-assisted.
Author
Owner

@JesusACD commented on GitHub (Nov 24, 2026):

done: SAVE-KEYS-OUT-GUARD -> #1367

<!-- gh-comment-id:7146467631 --> @JesusACD commented on GitHub (Nov 24, 2026): done: SAVE-KEYS-OUT-GUARD -> #1367
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-BMI1-BMI2 - Decode and emit all 13 VEX.LZ BMI1/BMI2 instructions (andn, blsr, blsmsk, blsi, bextr, bzhi, shlx, sarx, shrx, rorx, mulx, pdep, pext) across 32/64-bit register and memory operands in tools/x64_recomp.py, with unit and hardware execution tests.

<!-- gh-comment-id:7146523831 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-BMI1-BMI2 - Decode and emit all 13 VEX.LZ BMI1/BMI2 instructions (`andn`, `blsr`, `blsmsk`, `blsi`, `bextr`, `bzhi`, `shlx`, `sarx`, `shrx`, `rorx`, `mulx`, `pdep`, `pext`) across 32/64-bit register and memory operands in `tools/x64_recomp.py`, with unit and hardware execution tests.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-BMI1-BMI2 -> #1368

<!-- gh-comment-id:7146524586 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-BMI1-BMI2 -> #1368
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: TEST-TRANSLATE-TEXT-ONLY - translator-tests fails on main since #957 merged (6261ca916, 21:04 UTC): tests/test_translate.py::test_gpu_samples_translate_and_validate[cs_dpp_cmp.asm] and ::test_wave64_emulate_uses_no_subgroup_ops[cs_dpp_cmp.asm] stop at the llvm-mc assertion in tests/conftest.py ("dpp variant of this instruction is not supported"; 2 failed, 1879 passed, the same with llvm-mc 21 on a runner and 23.1.4 here). The new fixture carries the line ; run_gpu_tests: text only, ... because llvm-mc has no gfx1013 encoding for a VOPC compare in DPP form, and scripts/run_gpu_tests.py then takes the file's text as its listing. conftest.Shader assembles every sample with llvm-mc and does not know that line. Fix: Shader takes a marked sample's text as its listing, as the GPU runner does, so both tests run on the fixture; a sample without the line that llvm-mc rejects still fails. No game files needed. AI-assisted.

<!-- gh-comment-id:7146574385 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: TEST-TRANSLATE-TEXT-ONLY - `translator-tests` fails on `main` since #957 merged (`6261ca916`, 21:04 UTC): `tests/test_translate.py::test_gpu_samples_translate_and_validate[cs_dpp_cmp.asm]` and `::test_wave64_emulate_uses_no_subgroup_ops[cs_dpp_cmp.asm]` stop at the llvm-mc assertion in `tests/conftest.py` ("dpp variant of this instruction is not supported"; 2 failed, 1879 passed, the same with llvm-mc 21 on a runner and 23.1.4 here). The new fixture carries the line `; run_gpu_tests: text only, ...` because llvm-mc has no gfx1013 encoding for a VOPC compare in DPP form, and `scripts/run_gpu_tests.py` then takes the file's text as its listing. `conftest.Shader` assembles every sample with llvm-mc and does not know that line. Fix: `Shader` takes a marked sample's text as its listing, as the GPU runner does, so both tests run on the fixture; a sample without the line that llvm-mc rejects still fails. No game files needed. AI-assisted.
Author
Owner

@Okachamie commented on GitHub (Nov 24, 2026):

claiming: TEST-XMEM-POOL-FILL - Extend xs_proxy_mock_test with two synthetic 3840×2160 RGBA8 render targets through slot 127. Check both lease sizes, the remaining space in the 64 MiB pool, and both frees. Verify under Wine on Linux. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7146595011 --> @Okachamie commented on GitHub (Nov 24, 2026): claiming: TEST-XMEM-POOL-FILL - Extend `xs_proxy_mock_test` with two synthetic 3840×2160 RGBA8 render targets through slot 127. Check both lease sizes, the remaining space in the 64 MiB pool, and both frees. Verify under Wine on Linux. No game files or GPU required. AI-assisted.
Author
Owner

@Tyrannys commented on GitHub (Nov 24, 2026):

@DadaCap boot-prototype at a66c1422e on a second native Windows machine: Windows 11, RTX 4070 SUPER (12 GB), 64 GB RAM, own 1.0.2.1 copy. Built unchanged except a local window-size switch; shaders retranslated with that tree (--stages shaders, all translated and spirv-val-valid, 10 of 10 executable programs). LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1, keyboard-pad autopress. Counts only.

  • Same picture as yours up to the world phase: package splash, intro movie, loading artwork, first ExecuteIndirect. A 600 s run ends at the time limit with no exception.
  • Then the title's hang watchdog (the one @CLHelper read, main-thread handler variant) ends two longer runs: at 1,264 s (cold driver cache, 45 library compute compiles logged, 15 to 67 s each) and at 398 s (warm driver cache, 13 compiles, frame rate down to about 12 fps during them). Between the loading art and the watchdog the frames stay on the loading slideshow.
  • Not the shared VkPipelineCache lock: creating compute pipelines with no cache (VK_NULL_HANDLE) changed nothing in a 600 s run (22 compiles, 860 s of compile time, against 27 and 896 s with the cache). The compiles do overlap a little; each one is just long and the title asks for them one after another.
  • @Daolyap's RT-RUNTIME-PIPELINE-CACHE finding fits: our pipelines-stage cache (4.8 GB) did not shorten these compiles.

So on this machine the world phase is gated by compile time against the 30 s watchdog, not by a fault. Happy to run a build with whatever you change there.

AI-assisted (Claude Code).

<!-- gh-comment-id:7146602429 --> @Tyrannys commented on GitHub (Nov 24, 2026): @DadaCap `boot-prototype` at `a66c1422e` on a second native Windows machine: Windows 11, RTX 4070 SUPER (12 GB), 64 GB RAM, own 1.0.2.1 copy. Built unchanged except a local window-size switch; shaders retranslated with that tree (`--stages shaders`, all translated and `spirv-val`-valid, 10 of 10 executable programs). `LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1`, keyboard-pad autopress. Counts only. - **Same picture as yours up to the world phase:** package splash, intro movie, loading artwork, first `ExecuteIndirect`. A 600 s run ends at the time limit with no exception. - **Then the title's hang watchdog** (the one @CLHelper read, main-thread handler variant) ends two longer runs: at 1,264 s (cold driver cache, 45 library compute compiles logged, 15 to 67 s each) and at 398 s (warm driver cache, 13 compiles, frame rate down to about 12 fps during them). Between the loading art and the watchdog the frames stay on the loading slideshow. - **Not the shared `VkPipelineCache` lock:** creating compute pipelines with no cache (`VK_NULL_HANDLE`) changed nothing in a 600 s run (22 compiles, 860 s of compile time, against 27 and 896 s with the cache). The compiles do overlap a little; each one is just long and the title asks for them one after another. - @Daolyap's RT-RUNTIME-PIPELINE-CACHE finding fits: our `pipelines`-stage cache (4.8 GB) did not shorten these compiles. So on this machine the world phase is gated by compile time against the 30 s watchdog, not by a fault. Happy to run a build with whatever you change there. AI-assisted (Claude Code).
Author
Owner

@Diegobecker07 commented on GitHub (Nov 24, 2026):

done: TEST-VK-ALLOC-INFO-OUTPUT -> #1369

<!-- gh-comment-id:7146606263 --> @Diegobecker07 commented on GitHub (Nov 24, 2026): done: TEST-VK-ALLOC-INFO-OUTPUT -> #1369
Author
Owner

@qhukz13 commented on GitHub (Nov 24, 2026):

done: TEST-INTERP-IJ-CFG -> #1370

<!-- gh-comment-id:7146608572 --> @qhukz13 commented on GitHub (Nov 24, 2026): done: TEST-INTERP-IJ-CFG -> #1370
Author
Owner

@Mykolas009 commented on GitHub (Nov 24, 2026):

done: CI-MACOS-OCCLUSION-EXPECTED -> #1371
done: BUILD-SHADER-RESUME-IDENTITY -> #1372

#1372 covers the wrong-name half of the finding (an index that names a shader not carved in this folder); the missing-module half is left out and said so in the pull request. AI-assisted (Claude Code, Claude Fable 5.2).

<!-- gh-comment-id:7146652522 --> @Mykolas009 commented on GitHub (Nov 24, 2026): done: CI-MACOS-OCCLUSION-EXPECTED -> #1371 done: BUILD-SHADER-RESUME-IDENTITY -> #1372 #1372 covers the wrong-name half of the finding (an index that names a shader not carved in this folder); the missing-module half is left out and said so in the pull request. AI-assisted (Claude Code, Claude Fable 5.2).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-LOCK-ALU - Emit ARMv8.0 LDAXR/STLXR atomic read-modify-write loops for LOCK-prefixed memory ALU instructions (add, sub, and, or, xor, inc, dec, neg, not, adc, sbb) across 8/16/32/64-bit operands in tools/x64_recomp.py (with alignment guard + fallback and exact flag handling), with unit and hardware execution tests.

<!-- gh-comment-id:7146669535 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-LOCK-ALU - Emit ARMv8.0 `LDAXR`/`STLXR` atomic read-modify-write loops for `LOCK`-prefixed memory ALU instructions (`add`, `sub`, `and`, `or`, `xor`, `inc`, `dec`, `neg`, `not`, `adc`, `sbb`) across 8/16/32/64-bit operands in `tools/x64_recomp.py` (with alignment guard + fallback and exact flag handling), with unit and hardware execution tests.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-LOCK-ALU -> #1373

<!-- gh-comment-id:7146670408 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-LOCK-ALU -> #1373
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: TEST-TRANSLATE-TEXT-ONLY -> #1375. translator-tests is red on main since the merge of #957 (6261ca916): two tests of tests/test_translate.py hand cs_dpp_cmp.asm to llvm-mc, which has no gfx1013 encoding for a VOPC compare in DPP form. #1375 makes the pytest helper take the listing from the text of a sample that carries the ; run_gpu_tests: text only, ... line, as scripts/run_gpu_tests.py already does, so both tests run on the fixture. With #1365 (the other red test, in the standard-library loop) that is both failures I found on main at 89d7dfcf5. AI-assisted.

<!-- gh-comment-id:7146692225 --> @milk4sale commented on GitHub (Nov 24, 2026): done: TEST-TRANSLATE-TEXT-ONLY -> #1375. `translator-tests` is red on `main` since the merge of #957 (`6261ca916`): two tests of `tests/test_translate.py` hand `cs_dpp_cmp.asm` to llvm-mc, which has no gfx1013 encoding for a VOPC compare in DPP form. #1375 makes the pytest helper take the listing from the text of a sample that carries the `; run_gpu_tests: text only, ...` line, as `scripts/run_gpu_tests.py` already does, so both tests run on the fixture. With #1365 (the other red test, in the standard-library loop) that is both failures I found on `main` at `89d7dfcf5`. AI-assisted.
Author
Owner

@thiefyzheng commented on GitHub (Nov 24, 2026):

claiming: ANV-INTNARROW-WORD34 — root-cause the one-word cs_fmt_int_narrow failure our ARL-H record in #663 carries, and land a docs/testing.md Known-problems row for it.

  • Where: runtime/test/shaders/cs_fmt_int_narrow.asm, word 34 = the 16_16_16_16_SINT (GFX10 format 70) buffer_load_format_xyzw channel Z: the source halfword is 0xffff, gfx1036-native expected words say 0xffffffff, and on the Arrow Lake-H iGPU (ANV, Mesa 25.2.8, Vulkan 1.4.318) the dump reads 0x00000000. Verbatim row in gpu-test-results/IntelARL.txt (#663).
  • Why it matters: the fixture is exact on gfx1036 (hw_oracle, both wave widths), an RTX 5080, an RX 7900 XTX under RADV (136/136, #663), an RTX 2060 SUPER/5060 Laptop on NVIDIA 620.70, Xe-LP (UHD 770, ANV 26.3.1) and Meteor Lake (ANV 26.2.7, our #663 MTL record) — the failure is specific to the ARL iGPU + Mesa 25.2.8 combo, and docs/testing.md's Known problems has no cs_fmt_int_narrow row at all (the old repo tracked one only for Intel Gen9 ANV as TEST-1000, old #4736).
  • Plan: full-word reproduction on the ARL rig (native and LEONIDA_W64_EMULATE=1, to see whether word 34 is the only mismatch or the first), identification of the translator construct that performs the 16-bit SINT sign-extension and a minimal SPIR-V case against the miscompilation, then the docs row.
  • Needs hardware: the ARL iGPU (only our rig has one). No game data. Not GPU-confirmed on any other ANV/mXe combination beyond what #663's records say.

AI-assisted (pi agent operated by the repo contributor; subagent workers on our own rig and local checkouts).

<!-- gh-comment-id:7146744289 --> @thiefyzheng commented on GitHub (Nov 24, 2026): claiming: ANV-INTNARROW-WORD34 — root-cause the one-word `cs_fmt_int_narrow` failure our ARL-H record in #663 carries, and land a `docs/testing.md` Known-problems row for it. - **Where:** `runtime/test/shaders/cs_fmt_int_narrow.asm`, word 34 = the `16_16_16_16_SINT` (GFX10 format 70) `buffer_load_format_xyzw` channel Z: the source halfword is `0xffff`, gfx1036-native expected words say `0xffffffff`, and on the Arrow Lake-H iGPU (ANV, Mesa 25.2.8, Vulkan 1.4.318) the dump reads `0x00000000`. Verbatim row in `gpu-test-results/IntelARL.txt` (#663). - **Why it matters:** the fixture is exact on gfx1036 (hw_oracle, both wave widths), an RTX 5080, an RX 7900 XTX under RADV (136/136, #663), an RTX 2060 SUPER/5060 Laptop on NVIDIA 620.70, Xe-LP (UHD 770, ANV 26.3.1) and Meteor Lake (ANV 26.2.7, our #663 MTL record) — the failure is specific to the ARL iGPU + Mesa 25.2.8 combo, and `docs/testing.md`'s Known problems has no `cs_fmt_int_narrow` row at all (the old repo tracked one only for Intel Gen9 ANV as TEST-1000, old #4736). - **Plan:** full-word reproduction on the ARL rig (native and `LEONIDA_W64_EMULATE=1`, to see whether word 34 is the only mismatch or the first), identification of the translator construct that performs the 16-bit SINT sign-extension and a minimal SPIR-V case against the miscompilation, then the docs row. - **Needs hardware:** the ARL iGPU (only our rig has one). No game data. Not GPU-confirmed on any other ANV/mXe combination beyond what #663's records say. AI-assisted (pi agent operated by the repo contributor; subagent workers on our own rig and local checkouts).
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

finding: root_signature_oracle also fails on Windows 10 from the same 0xC00 refusal #1353 fixes: it serializes a root signature with every flag through Microsoft's D3D12SerializeVersionedRootSignature directly (runtime/test/root_signature_oracle_test.cpp:90, Unsupported bit-flag set (root signature flags c7f)), so the shim-side retry of #1353 does not reach it. It is the last case of its 1.1 group, and the whole run fails on it (deterministic, Windows 10 19045, in-box d3d12.dll 10.0.19041.4355). Needs whichever fix lands for the flags, or its own: the test could take the same retry it gives the shim, or drop the two bits where the host reports no support. Windows 10 machine and GPU; no game files.

<!-- gh-comment-id:7146749431 --> @robot00f commented on GitHub (Nov 24, 2026): finding: `root_signature_oracle` also fails on Windows 10 from the same `0xC00` refusal #1353 fixes: it serializes a root signature with every flag through Microsoft's `D3D12SerializeVersionedRootSignature` directly (runtime/test/root_signature_oracle_test.cpp:90, `Unsupported bit-flag set (root signature flags c7f)`), so the shim-side retry of #1353 does not reach it. It is the last case of its 1.1 group, and the whole run fails on it (deterministic, Windows 10 19045, in-box d3d12.dll 10.0.19041.4355). Needs whichever fix lands for the flags, or its own: the test could take the same retry it gives the shim, or drop the two bits where the host reports no support. Windows 10 machine and GPU; no game files.
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 24, 2026):

claiming: SHADER-CODEBASE-PAIRS — count how many real PSOs put a code base in two stages, so §5.2 can choose between the 168-byte push-constant block and a per-stage buffer.

docs/d3d12_vulkan.md §5.2 ("Decide after measuring how many real PSOs have two code-base stages") and row 14 of the boot checklist in docs/boot.md ("Two code-base stages in one PSO") both wait on this count, and tools/feature_scan.py's header says the package cannot give it: "Which stages are paired in one PSO is in the executable, not in shaders.rpf." It can. The pipeline library's graphics records name a program per stage slot (tools/shader_library.py:150, slots at :52), so every stage of every PSO joins to that program's uses_code_base in the translation index.

Plan (standard-library Python, no GPU, nothing online):

  • a scan that joins pipeline-library record → stage slot → program → carved container → spirv/index.json row, and reports PSOs by number of code-base stages, the stage combinations that need two, and the records it could not resolve;
  • docs/d3d12_vulkan.md §5.2 and docs/boot.md row 14 get the measured count, and the feature_scan.py header line is corrected.

Measured on my work folder (Xbox 1.0.2.1, shaders stage built, library 0x65F41EDD 930.048.020): of 25,471 graphics records 0 put a code base in two stages and 444 put one in exactly one stage; 21 records have a stage whose program is not in the carve output. Stage census: 13,383 VS+PS, 10,726 MS+PS, 1,336 MS only, 24 VS only, and 2 records with a program in the unidentified slot 6 — in both cases alongside VS+PS. The per-stage code-base counts reproduce the published 54 VS / 93 PS / 266 MS / 263 CS of 26,503 (tools/feature_scan.py), so the join sees the same corpus.

Counts only: no shader name, listing or code leaves the work folder. Needs the retail package plus a built work folder. AI-assisted.

<!-- gh-comment-id:7146787349 --> @GTAVIB4GTAVI commented on GitHub (Nov 24, 2026): claiming: SHADER-CODEBASE-PAIRS — count how many real PSOs put a code base in two stages, so §5.2 can choose between the 168-byte push-constant block and a per-stage buffer. `docs/d3d12_vulkan.md` §5.2 ("Decide after measuring how many real PSOs have two code-base stages") and row 14 of the boot checklist in `docs/boot.md` ("Two code-base stages in one PSO") both wait on this count, and `tools/feature_scan.py`'s header says the package cannot give it: "Which stages are paired in one PSO is in the executable, not in `shaders.rpf`." It can. The pipeline library's graphics records name a program per stage slot (`tools/shader_library.py:150`, slots at `:52`), so every stage of every PSO joins to that program's `uses_code_base` in the translation index. Plan (standard-library Python, no GPU, nothing online): - a scan that joins pipeline-library record → stage slot → program → carved container → `spirv/index.json` row, and reports PSOs by number of code-base stages, the stage combinations that need two, and the records it could not resolve; - `docs/d3d12_vulkan.md` §5.2 and `docs/boot.md` row 14 get the measured count, and the `feature_scan.py` header line is corrected. Measured on my work folder (Xbox 1.0.2.1, `shaders` stage built, library `0x65F41EDD` 930.048.020): of 25,471 graphics records **0** put a code base in two stages and **444** put one in exactly one stage; 21 records have a stage whose program is not in the carve output. Stage census: 13,383 VS+PS, 10,726 MS+PS, 1,336 MS only, 24 VS only, and 2 records with a program in the unidentified slot 6 — in both cases alongside VS+PS. The per-stage code-base counts reproduce the published 54 VS / 93 PS / 266 MS / 263 CS of 26,503 (`tools/feature_scan.py`), so the join sees the same corpus. Counts only: no shader name, listing or code leaves the work folder. Needs the retail package plus a built work folder. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 24, 2026):

done: D3D12-DYNAMIC-DEPTH-BIAS -> #1377

<!-- gh-comment-id:7146820321 --> @robot00f commented on GitHub (Nov 24, 2026): done: D3D12-DYNAMIC-DEPTH-BIAS -> #1377
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

claiming: TEST-W64-EMU-WAVE-REDUCE - run_emulated_workgroup in tests/semantic/test_wave64_emulate_opt.py (the CPU model that runs --wave64-emulate output on all 64 lanes) executes only the OR, add, AND, XOR and exchange atomics, so a wave64 program with ds_min_u32 stops at NotImplementedError: unsupported op OpAtomicUMin and cannot be checked under emulation on the CPU. I will add OpAtomicUMin, UMax, SMin, SMax and ISub (a branch of its own, away from the lines #1110 and #850 change) and a new tests/semantic/test_wave64_emulate_wave_reduce.py with hand-written programs for two wave64 sequences that only come out right when both 32-lane halves agree: a reduction over the wave (s_or_saveexec_b64 ..., -1, four DPP steps per row, v_permlanex16_b32, v_readlane_b32 of lanes 0 and 63) that the first active lane commits with ds_or_b32 / ds_min_u32, and a 64-bit lane mask kept in two lanes of a VGPR with v_writelane_b32 and read back with v_readlane_b32. Each is translated natively and emulated and compared with a plain-Python reference on all 64 lanes. Test-only: the translator comes out right on all of it. No game files needed, no GPU. AI-assisted.

<!-- gh-comment-id:7146823788 --> @milk4sale commented on GitHub (Nov 24, 2026): claiming: TEST-W64-EMU-WAVE-REDUCE - `run_emulated_workgroup` in `tests/semantic/test_wave64_emulate_opt.py` (the CPU model that runs `--wave64-emulate` output on all 64 lanes) executes only the OR, add, AND, XOR and exchange atomics, so a wave64 program with `ds_min_u32` stops at `NotImplementedError: unsupported op OpAtomicUMin` and cannot be checked under emulation on the CPU. I will add `OpAtomicUMin`, `UMax`, `SMin`, `SMax` and `ISub` (a branch of its own, away from the lines #1110 and #850 change) and a new `tests/semantic/test_wave64_emulate_wave_reduce.py` with hand-written programs for two wave64 sequences that only come out right when both 32-lane halves agree: a reduction over the wave (`s_or_saveexec_b64 ..., -1`, four DPP steps per row, `v_permlanex16_b32`, `v_readlane_b32` of lanes 0 and 63) that the first active lane commits with `ds_or_b32` / `ds_min_u32`, and a 64-bit lane mask kept in two lanes of a VGPR with `v_writelane_b32` and read back with `v_readlane_b32`. Each is translated natively and emulated and compared with a plain-Python reference on all 64 lanes. Test-only: the translator comes out right on all of it. No game files needed, no GPU. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

claiming: X64-RECOMP-SUB-MAT-FLAGCTL - Fix _maybe_mkflags inverting live ARM NZCV.C in-place for materialized SUB_KIND ops (which inverted every same-block carry consumer including 3-way unsigned cmp; jb; je) and fix _emit_flagctl (clc/stc/cmc) calling _maybe_mkflags instead of patching only EF_CF in ctx.eflags in tools/x64_recomp.py.

<!-- gh-comment-id:7146826797 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): claiming: X64-RECOMP-SUB-MAT-FLAGCTL - Fix `_maybe_mkflags` inverting live ARM `NZCV.C` in-place for materialized `SUB_KIND` ops (which inverted every same-block carry consumer including 3-way unsigned `cmp; jb; je`) and fix `_emit_flagctl` (`clc`/`stc`/`cmc`) calling `_maybe_mkflags` instead of patching only `EF_CF` in `ctx.eflags` in `tools/x64_recomp.py`.
Author
Owner

@Diegobecker07 commented on GitHub (Nov 24, 2026):

done: MAKE-GAME-PLAIN-LOG -> #1378

<!-- gh-comment-id:7146827235 --> @Diegobecker07 commented on GitHub (Nov 24, 2026): done: MAKE-GAME-PLAIN-LOG -> #1378
Author
Owner

@IlyassRS3 commented on GitHub (Nov 24, 2026):

done: X64-RECOMP-SUB-MAT-FLAGCTL -> #1379

<!-- gh-comment-id:7146827546 --> @IlyassRS3 commented on GitHub (Nov 24, 2026): done: X64-RECOMP-SUB-MAT-FLAGCTL -> #1379
Author
Owner

@abdoulaahmad commented on GitHub (Nov 24, 2026):

claiming: Make the parallel semantic test runner honor package-level load_tests hooks so -j 1 and -j 2 select the same tests. I will add a synthetic regression test. No game files or GPU required.

<!-- gh-comment-id:7146860187 --> @abdoulaahmad commented on GitHub (Nov 24, 2026): claiming: Make the parallel semantic test runner honor package-level load_tests hooks so -j 1 and -j 2 select the same tests. I will add a synthetic regression test. No game files or GPU required.
Author
Owner

@milk4sale commented on GitHub (Nov 24, 2026):

done: TEST-W64-EMU-WAVE-REDUCE -> #1381

AI-assisted.

<!-- gh-comment-id:7146892661 --> @milk4sale commented on GitHub (Nov 24, 2026): done: TEST-W64-EMU-WAVE-REDUCE -> #1381 AI-assisted.
Author
Owner

@Snooozs commented on GitHub (Nov 25, 2026):

On robot00f's finding about root_signature_oracle on Windows 10 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7146749431): #988 (OLD-4731, carried for its author) is open for exactly that test, so please don't write it a second time; a run on your GTX 1050 Ti would help.

Overlap to note for the coordinator: #990 (OLD-7718) changes d3d12_set_descriptor_heaps_test for the same refusal that #1353 handles in the serializer. I have not tested the two together.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7146906419 --> @Snooozs commented on GitHub (Nov 25, 2026): On robot00f's finding about `root_signature_oracle` on Windows 10 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7146749431): #988 (OLD-4731, carried for its author) is open for exactly that test, so please don't write it a second time; a run on your GTX 1050 Ti would help. Overlap to note for the coordinator: #990 (OLD-7718) changes `d3d12_set_descriptor_heaps_test` for the same refusal that #1353 handles in the serializer. I have not tested the two together. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-XLAT-ENTER — add xlat/xlatb (0xD7) and enter (0xC8) emitters in tools/x64_recomp.py with static and arm64 execution tests (tests/test_x64_recomp_xlat_enter.py).

<!-- gh-comment-id:7146930175 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-XLAT-ENTER — add `xlat`/`xlatb` (`0xD7`) and `enter` (`0xC8`) emitters in `tools/x64_recomp.py` with static and arm64 execution tests (`tests/test_x64_recomp_xlat_enter.py`).
Author
Owner

@Diegobecker07 commented on GitHub (Nov 25, 2026):

claiming: OLD-9990 - carry over #260 (old PR 9990, Amzi-01): the first call of a device slot the proxy forwards by number names its caller (RT-526). Rebased on current main (one conflict in runtime/shims/d3d12_xs_device.cpp, where main now handles slot 26's console form in the same thunk), with the original commits and authors kept. #228 (old PR 9961) has its own version of this logging. My carry-over of #228's other half (OLD-9961) leaves the logging to this one. AI-assisted.

<!-- gh-comment-id:7146930294 --> @Diegobecker07 commented on GitHub (Nov 25, 2026): claiming: OLD-9990 - carry over #260 (old PR 9990, Amzi-01): the first call of a device slot the proxy forwards by number names its caller (RT-526). Rebased on current `main` (one conflict in `runtime/shims/d3d12_xs_device.cpp`, where `main` now handles slot 26's console form in the same thunk), with the original commits and authors kept. #228 (old PR 9961) has its own version of this logging. My carry-over of #228's other half (OLD-9961) leaves the logging to this one. AI-assisted.
Author
Owner

@Diegobecker07 commented on GitHub (Nov 25, 2026):

claiming: OLD-9961 - carry over the assert half of #228 (old PR 9961, slipperysquid): LEONIDA_SKIP_ASSERTS=N steps over up to N guest int3 without a trace (runtime/src/assert_skip.h, its test, the tiny_game case and the docs), rebased on current main with the author kept. Its caller logging for forwarded device slots is left out, because #260 (OLD-9990) covers it. tools/int3_cause.py on main already names LEONIDA_SKIP_ASSERTS, which main's runtime does not have yet. AI-assisted.

<!-- gh-comment-id:7146930740 --> @Diegobecker07 commented on GitHub (Nov 25, 2026): claiming: OLD-9961 - carry over the assert half of #228 (old PR 9961, slipperysquid): `LEONIDA_SKIP_ASSERTS=N` steps over up to N guest `int3` without a trace (`runtime/src/assert_skip.h`, its test, the tiny_game case and the docs), rebased on current `main` with the author kept. Its caller logging for forwarded device slots is left out, because #260 (OLD-9990) covers it. `tools/int3_cause.py` on `main` already names `LEONIDA_SKIP_ASSERTS`, which `main`'s runtime does not have yet. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-XLAT-ENTER -> #1383

<!-- gh-comment-id:7146931110 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: X64-RECOMP-XLAT-ENTER -> #1383
Author
Owner

@iiiirokuuug-rgb commented on GitHub (Nov 25, 2026):

finding: the executable's embedded shaders (RT-EXE-SHADERS, #387) are needed for the frame loop, but fixing them does not make the boot frame show anything — so the all-zero presented frame has a different cause than the 14 refused pipelines.

Retail 1.0.2.1, boot/frame-loop-on-main e0d4fd2b, Intel Arc A770, Windows 11, LEONIDA_D3D12=vulkan.

Before, on a work folder whose <shaders>/exe was never built (make_game.py --stages shaders stops with the 207-refused-shaders error before it reaches the step, so this is easy to hit):

50,468 CreatePipelineState, 50,454 ok, 14 failed
each failure preceded by: no translated vs for FSSM sha256 01ac7810...d426f
presented frame: every pixel 0

The 10 programs of the executable translate cleanly when the step is run by hand (pe_shader_containers.py -> fssm_unpack.py -> shader_disasm.py --mcpu gfx1013 -> rdna2spirv.py --wave64-emulate --f16-interp-fallback) and container_00 is that vertex shader, stage vs. With <shaders>/exe/index.json in place:

50,468 CreatePipelineState, 50,468 ok, 0 failed
no translated ... messages: 0
221 frames presented, every dumped frame still a constant zero (mean 0.0, one distinct colour)

So the boot frame is not black because of a refused pipeline. The steady-state frame is one ClearRenderTargetView and 1-2 DrawInstanced into one render target, no Dispatch, no copies, byte-identical frames for half an hour — the title is sitting in a load state and the pass it draws there writes zero. Chasing the 14 refusals is still worth doing (they are gone now), but the next question is what the title waits for, not what it renders.

Measured with LEONIDA_PRESENT_DUMP=<dir>,1 and --trace-d3d12. No game data quoted.

<!-- gh-comment-id:7146952489 --> @iiiirokuuug-rgb commented on GitHub (Nov 25, 2026): finding: the executable's embedded shaders (RT-EXE-SHADERS, #387) are needed for the frame loop, but **fixing them does not make the boot frame show anything** — so the all-zero presented frame has a different cause than the 14 refused pipelines. Retail 1.0.2.1, `boot/frame-loop-on-main` `e0d4fd2b`, Intel Arc A770, Windows 11, `LEONIDA_D3D12=vulkan`. Before, on a work folder whose `<shaders>/exe` was never built (`make_game.py --stages shaders` stops with the 207-refused-shaders error before it reaches the step, so this is easy to hit): ``` 50,468 CreatePipelineState, 50,454 ok, 14 failed each failure preceded by: no translated vs for FSSM sha256 01ac7810...d426f presented frame: every pixel 0 ``` The 10 programs of the executable translate cleanly when the step is run by hand (`pe_shader_containers.py` -> `fssm_unpack.py` -> `shader_disasm.py --mcpu gfx1013` -> `rdna2spirv.py --wave64-emulate --f16-interp-fallback`) and `container_00` is that vertex shader, stage vs. With `<shaders>/exe/index.json` in place: ``` 50,468 CreatePipelineState, 50,468 ok, 0 failed no translated ... messages: 0 221 frames presented, every dumped frame still a constant zero (mean 0.0, one distinct colour) ``` So the boot frame is not black because of a refused pipeline. The steady-state frame is one `ClearRenderTargetView` and 1-2 `DrawInstanced` into one render target, no `Dispatch`, no copies, byte-identical frames for half an hour — the title is sitting in a load state and the pass it draws there writes zero. Chasing the 14 refusals is still worth doing (they are gone now), but the next question is what the title waits for, not what it renders. Measured with `LEONIDA_PRESENT_DUMP=<dir>,1` and `--trace-d3d12`. No game data quoted.
Author
Owner

@kaoru-maki commented on GitHub (Nov 25, 2026):

claiming: BINK-FRAME-CAPTIONS - Document burned-in Bink subtitles alongside the GXT workflow in docs/text.md. Include the frame-sampling and review method, aggregate results, and how to record observed frame times. Documentation only, with aggregate measurements and no game assets or quoted dialogue. AI-assisted.

<!-- gh-comment-id:7146968122 --> @kaoru-maki commented on GitHub (Nov 25, 2026): claiming: BINK-FRAME-CAPTIONS - Document burned-in Bink subtitles alongside the GXT workflow in docs/text.md. Include the frame-sampling and review method, aggregate results, and how to record observed frame times. Documentation only, with aggregate measurements and no game assets or quoted dialogue. AI-assisted.
Author
Owner

@kaoru-maki commented on GitHub (Nov 25, 2026):

done: BINK-FRAME-CAPTIONS -> #1388

<!-- gh-comment-id:7147012075 --> @kaoru-maki commented on GitHub (Nov 25, 2026): done: BINK-FRAME-CAPTIONS -> #1388
Author
Owner

@qhukz13 commented on GitHub (Nov 25, 2026):

claiming: TEST-HEAP-TIER1-HOST - on a D3D12 host of resource heap tier 1 (measured on a GeForce GTX 1050 Ti, Windows 10) CreateHeap refuses heaps without two DENY flags (D3D12_HEAP_FLAG_NONE, ALLOW_ALL) with E_INVALIDARG, which the layer accepts as the console does, so three host comparisons report false mismatches there: the two ALLOW_ALL placed cases of d3d12_heap_properties, and in d3d12_vulkan_device compare_heap_neighbours (heap_mismatches) and compare_placed_reserved (every NONE-flag placed case gets E_UNEXPECTED from the host's CreateHeap). I will query the host's ResourceHeapTier and, on tier 1 only, mark the mixed-heap cases not comparable in d3d12_heap_properties and compare the NONE-flag heaps as category-specific ALLOW_ONLY_* heaps on both devices in d3d12_vulkan_device; tier 2+ hosts are unchanged (checked with LEONIDA_HOST_ADAPTER=warp). Tests only; the same idea as #1094 (TEST-METHOD-VARIANTS-HEAP-TIER1) for other tests. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7147012332 --> @qhukz13 commented on GitHub (Nov 25, 2026): claiming: TEST-HEAP-TIER1-HOST - on a D3D12 host of resource heap tier 1 (measured on a GeForce GTX 1050 Ti, Windows 10) `CreateHeap` refuses heaps without two DENY flags (`D3D12_HEAP_FLAG_NONE`, `ALLOW_ALL`) with `E_INVALIDARG`, which the layer accepts as the console does, so three host comparisons report false mismatches there: the two `ALLOW_ALL` placed cases of `d3d12_heap_properties`, and in `d3d12_vulkan_device` `compare_heap_neighbours` (`heap_mismatches`) and `compare_placed_reserved` (every NONE-flag placed case gets `E_UNEXPECTED` from the host's `CreateHeap`). I will query the host's `ResourceHeapTier` and, on tier 1 only, mark the mixed-heap cases not comparable in `d3d12_heap_properties` and compare the NONE-flag heaps as category-specific `ALLOW_ONLY_*` heaps on both devices in `d3d12_vulkan_device`; tier 2+ hosts are unchanged (checked with `LEONIDA_HOST_ADAPTER=warp`). Tests only; the same idea as #1094 (TEST-METHOD-VARIANTS-HEAP-TIER1) for other tests. No game files. AI-assisted (Claude Code).
Author
Owner

@qhukz13 commented on GitHub (Nov 25, 2026):

done: TEST-HEAP-TIER1-HOST -> #1389 (depends on #1364)

<!-- gh-comment-id:7147016839 --> @qhukz13 commented on GitHub (Nov 25, 2026): done: TEST-HEAP-TIER1-HOST -> #1389 (depends on #1364)
Author
Owner

@Diegobecker07 commented on GitHub (Nov 25, 2026):

done: OLD-9990 -> #1390

<!-- gh-comment-id:7147103895 --> @Diegobecker07 commented on GitHub (Nov 25, 2026): done: OLD-9990 -> #1390
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-ADDRSIZE-67 — handle 0x67 address-size override in ModRM/SIB effective addressing (_mem_addr), EIP-relative addressing, and 4-byte moffs (A0..A3) decoding in tools/x64_recomp.py with static and arm64 execution tests (tests/test_x64_recomp_addrsize67.py).

<!-- gh-comment-id:7147118169 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-ADDRSIZE-67 — handle `0x67` address-size override in ModRM/SIB effective addressing (`_mem_addr`), EIP-relative addressing, and 4-byte `moffs` (`A0`..`A3`) decoding in `tools/x64_recomp.py` with static and arm64 execution tests (`tests/test_x64_recomp_addrsize67.py`).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-ADDRSIZE-67 -> #1392

<!-- gh-comment-id:7147119039 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: X64-RECOMP-ADDRSIZE-67 -> #1392
Author
Owner

@WaltrBlackington commented on GitHub (Nov 25, 2026):

done: RT-PIPELINE-MEMORY-GUARD -> #1391

<!-- gh-comment-id:7147156843 --> @WaltrBlackington commented on GitHub (Nov 25, 2026): done: RT-PIPELINE-MEMORY-GUARD -> #1391
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: BVH-REHYDRATE-INPUT-VALIDATION — validate leaf vertex order, box child count (<=4), --geom format, and saturate f32() overflow to signed infinity in tools/bvh_rehydrate.py with regression tests in tests/test_bvh_rehydrate.py.

<!-- gh-comment-id:7147163780 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: BVH-REHYDRATE-INPUT-VALIDATION — validate leaf vertex order, box child count (<=4), `--geom` format, and saturate `f32()` overflow to signed infinity in `tools/bvh_rehydrate.py` with regression tests in `tests/test_bvh_rehydrate.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: BVH-REHYDRATE-INPUT-VALIDATION -> #1393

<!-- gh-comment-id:7147164638 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: BVH-REHYDRATE-INPUT-VALIDATION -> #1393
Author
Owner

@Okachamie commented on GitHub (Nov 25, 2026):

claiming: SHADER-DPP-ABSENT-SOURCE - Guard the native DPP FI=0 shuffle index so it cannot read an absent source lane. Add a synthetic regression and document the translator rule. CPU-only, no game files or GPU required. AI-assisted.

<!-- gh-comment-id:7147210154 --> @Okachamie commented on GitHub (Nov 25, 2026): claiming: SHADER-DPP-ABSENT-SOURCE - Guard the native DPP FI=0 shuffle index so it cannot read an absent source lane. Add a synthetic regression and document the translator rule. CPU-only, no game files or GPU required. AI-assisted.
Author
Owner

@Okachamie commented on GitHub (Nov 25, 2026):

claiming: TEST-WINE-WARM-EXISTING - Warm up a pre-existing persistent wineserver in scripts/run_wine_tests.py so a crashing test reports its exit without waiting for the timeout. Keep the pre-existing server running after the suite. Verify with a synthetic test under Wine. No game files or GPU required. AI-assisted.

<!-- gh-comment-id:7147210658 --> @Okachamie commented on GitHub (Nov 25, 2026): claiming: TEST-WINE-WARM-EXISTING - Warm up a pre-existing persistent wineserver in `scripts/run_wine_tests.py` so a crashing test reports its exit without waiting for the timeout. Keep the pre-existing server running after the suite. Verify with a synthetic test under Wine. No game files or GPU required. AI-assisted.
Author
Owner

@Okachamie commented on GitHub (Nov 25, 2026):

done: TEST-XMEM-POOL-FILL -> #1394

<!-- gh-comment-id:7147211241 --> @Okachamie commented on GitHub (Nov 25, 2026): done: TEST-XMEM-POOL-FILL -> #1394
Author
Owner

@Diegobecker07 commented on GitHub (Nov 25, 2026):

done: OLD-9961 -> #1395

<!-- gh-comment-id:7147257602 --> @Diegobecker07 commented on GitHub (Nov 25, 2026): done: OLD-9961 -> #1395
Author
Owner

@qhukz13 commented on GitHub (Nov 25, 2026):

claiming: DOC-1050TI-HOST-TRANSFER-DRIVER - follow-up to #1364 from its review: the docs/d3d12_vulkan.md row on host-transfer images with no memory type names only NVIDIA 582.78 for the GTX 1050 Ti, while #1364's run was on 582.66 (Windows 10). One docs line. AI-assisted (Claude Code).

<!-- gh-comment-id:7147277142 --> @qhukz13 commented on GitHub (Nov 25, 2026): claiming: DOC-1050TI-HOST-TRANSFER-DRIVER - follow-up to #1364 from its review: the `docs/d3d12_vulkan.md` row on host-transfer images with no memory type names only NVIDIA 582.78 for the GTX 1050 Ti, while #1364's run was on 582.66 (Windows 10). One docs line. AI-assisted (Claude Code).
Author
Owner

@qhukz13 commented on GitHub (Nov 25, 2026):

done: DOC-1050TI-HOST-TRANSFER-DRIVER -> #1396

<!-- gh-comment-id:7147279178 --> @qhukz13 commented on GitHub (Nov 25, 2026): done: DOC-1050TI-HOST-TRANSFER-DRIVER -> #1396
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: ms_w64x_ballot under LEONIDA_W64_EMULATE=1 hangs the AMD RDNA2 iGPU (gfx1035, driver 24.10.24) — 300s timeout, reproducible on clean origin/main 51a6074d2, not PR-caused. Needs Windows + AMD Vulkan hardware; NVIDIA unaffected (no 64-wide subgroup, case skips).

<!-- gh-comment-id:7147284576 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: ms_w64x_ballot under LEONIDA_W64_EMULATE=1 hangs the AMD RDNA2 iGPU (gfx1035, driver 24.10.24) — 300s timeout, reproducible on clean origin/main 51a6074d2, not PR-caused. Needs Windows + AMD Vulkan hardware; NVIDIA unaffected (no 64-wide subgroup, case skips).
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

update on earlier d3d12_execute_indirect_validation finding: at current origin/main 4a50cafc7 the ctest PASSES on NVIDIA RTX 4070 SUPER with LEONIDA_VK_VALIDATION=1 (was failing at 6293c1c4f) — the parity mismatch may already be fixed upstream; still fails on AMD iGPU but at the 144B-PSO step before reaching parity checks (128B push-constant cap). Re-check before treating as open.

<!-- gh-comment-id:7147284855 --> @whoalin1 commented on GitHub (Nov 25, 2026): update on earlier d3d12_execute_indirect_validation finding: at current origin/main 4a50cafc7 the ctest PASSES on NVIDIA RTX 4070 SUPER with LEONIDA_VK_VALIDATION=1 (was failing at 6293c1c4f) — the parity mismatch may already be fixed upstream; still fails on AMD iGPU but at the 144B-PSO step before reaching parity checks (128B push-constant cap). Re-check before treating as open.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: d3d12_skip_compute_test (PR #1341's new ctest) FAILS rather than SKIPping on GPUs with maxPushConstantsSize <144B — same class as the ~15 known AMD iGPU pushconst ctest failures; suggests ctest entries should SKIP(77) when the device can't fit the pipeline. Needs Windows + Vulkan hardware to observe; NVIDIA tier-2 unaffected.

<!-- gh-comment-id:7147333195 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: d3d12_skip_compute_test (PR #1341's new ctest) FAILS rather than SKIPping on GPUs with maxPushConstantsSize <144B — same class as the ~15 known AMD iGPU pushconst ctest failures; suggests ctest entries should SKIP(77) when the device can't fit the pipeline. Needs Windows + Vulkan hardware to observe; NVIDIA tier-2 unaffected.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: MASK-REGS-DATA-READ — rdna2spirv: VALU data reads of lane-mask operands (mask SGPRs/EXEC/VCC/mask VGPRs) yield the wave-uniform mask word, and v_readfirstlane of a mask VGPR broadcasts the first-active-lane word (fuzz-found via crosslane_fuzz seeds 1001/2002; fixes stale-lane garbage under EXEC gating). Branch mask-regs-data-read, worktree leonida-w2. PR incoming.

<!-- gh-comment-id:7147335368 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: MASK-REGS-DATA-READ — rdna2spirv: VALU data reads of lane-mask operands (mask SGPRs/EXEC/VCC/mask VGPRs) yield the wave-uniform mask word, and v_readfirstlane of a mask VGPR broadcasts the first-active-lane word (fuzz-found via crosslane_fuzz seeds 1001/2002; fixes stale-lane garbage under EXEC gating). Branch mask-regs-data-read, worktree leonida-w2. PR incoming.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 25, 2026):

@whoalin1 a data point for your ms_w64x_ballot finding, from a second AMD iGPU on Windows with a newer driver: it does not hang here.

main 2376e7d56, scripts/run_gpu_tests.py --filter ms_w64x_ballot, Windows 11 build 26300, one run of each:

GPU driver native LEONIDA_W64_EMULATE=1
AMD Radeon Graphics (Ryzen 9 9950X3D iGPU, PCI 1002:13c0, subgroup 32..64) 32.0.21042.62, Vulkan 1.4.315 PASS, 4096/4096 pixels exact PASS, 4096/4096 pixels exact
NVIDIA GeForce RTX 4080 (subgroup 32..32) 621.24 SKIP (no 64-wide subgroup) PASS, 4096/4096 pixels exact

Each run finished in about a second. The same case also passed in both modes on this iGPU in the full run recorded in gpu-test-results/GraniteRidge-9950X3D.txt (main 3aa97542).

So on this evidence the hang is specific to the older driver (24.10.24) or to gfx1035, not to AMD on Windows in general; I cannot tell those two apart from here. One correction to the finding: on NVIDIA the case skips only in the native run. With emulation on it runs and passes.

The filtered run does not print the device line; the native column (pass on one device, 64-wide skip on the other) is what shows which device each run used. AI-assisted: yes (Claude Code)

<!-- gh-comment-id:7147347577 --> @quartz-heron-58 commented on GitHub (Nov 25, 2026): @whoalin1 a data point for your `ms_w64x_ballot` finding, from a second AMD iGPU on Windows with a newer driver: it does not hang here. main 2376e7d56, `scripts/run_gpu_tests.py --filter ms_w64x_ballot`, Windows 11 build 26300, one run of each: | GPU | driver | native | `LEONIDA_W64_EMULATE=1` | |---|---|---|---| | AMD Radeon Graphics (Ryzen 9 9950X3D iGPU, PCI 1002:13c0, subgroup 32..64) | 32.0.21042.62, Vulkan 1.4.315 | PASS, 4096/4096 pixels exact | PASS, 4096/4096 pixels exact | | NVIDIA GeForce RTX 4080 (subgroup 32..32) | 621.24 | SKIP (no 64-wide subgroup) | PASS, 4096/4096 pixels exact | Each run finished in about a second. The same case also passed in both modes on this iGPU in the full run recorded in `gpu-test-results/GraniteRidge-9950X3D.txt` (main 3aa97542). So on this evidence the hang is specific to the older driver (24.10.24) or to gfx1035, not to AMD on Windows in general; I cannot tell those two apart from here. One correction to the finding: on NVIDIA the case skips only in the native run. With emulation on it runs and passes. The filtered run does not print the device line; the native column (pass on one device, 64-wide skip on the other) is what shows which device each run used. AI-assisted: yes (Claude Code)
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: MASK-REGS-DATA-READ -> PR https://github.com/ubiquitarianism/leonida/pull/1397 (reviewer-approved, semantic suite 6186/0, GPU-verified AMD iGPU + RTX 4070 SUPER). Follow-up noted: scalar (SGPR) dst of v_readfirstlane on a mask VGPR still yields the per-lane bit to pure-SALU data reads — same wrongness as before this change, needs scalar-path word materialization; rare. Will post as finding if still relevant after merge.

<!-- gh-comment-id:7147348610 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: MASK-REGS-DATA-READ -> PR https://github.com/ubiquitarianism/leonida/pull/1397 (reviewer-approved, semantic suite 6186/0, GPU-verified AMD iGPU + RTX 4070 SUPER). Follow-up noted: scalar (SGPR) dst of v_readfirstlane on a mask VGPR still yields the per-lane bit to pure-SALU data reads — same wrongness as before this change, needs scalar-path word materialization; rare. Will post as finding if still relevant after merge.
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

claiming: CI-CHECK-TIME-LIMIT - the Windows check job cannot finish inside its timeout-minutes: 15. On GitHub's windows-latest runners it was cancelled at the limit in 8 of 8 runs of the CI workflow on my fork today (five hourly runs of main from 18:02 to 22:05 UTC and three branch runs), each time after about 379 of 491 standard-library files. With the limit lifted on a scratch branch the same job took 21 min 20 s (the loop alone 20 min 15 s for 486 files) and then reported its failures. So check gives no result on any pull request, and whatever fails after the 379th file is never seen. Fix: a limit the job fits in, in .github/workflows/ci.yml. No game files needed. AI-assisted.

claiming: TEST-WINE-JOBS-TIMING-LOG - tests/test_run_wine_tests.py fails on Windows in 2 of the 4 of those runs that had the file: MainTest.test_jobs_keeps_locks_serial_tests_and_dependencies (added by #1354) ends in KeyError: 'after' or in IndexError: list index out of range in overlap. (Corrected at 23:38 UTC: this first said 2 of 3 runs and named only the IndexError.) It passes on macOS and Linux. The test's fake programs, run four at a time, all append their start and end lines to one timing.log; a line that is missing leaves a test with one timestamp. Appends from several processes to one file are not atomic on Windows, which is my reading of the lost line and not yet measured. Fix: one log file per fake test, so no two processes write the same file; measured on a Windows runner before and after. It is one of the failures the 15-minute limit hides. No game files needed. AI-assisted.

<!-- gh-comment-id:7147387006 --> @milk4sale commented on GitHub (Nov 25, 2026): claiming: CI-CHECK-TIME-LIMIT - the Windows `check` job cannot finish inside its `timeout-minutes: 15`. On GitHub's `windows-latest` runners it was cancelled at the limit in 8 of 8 runs of the `CI` workflow on my fork today (five hourly runs of `main` from 18:02 to 22:05 UTC and three branch runs), each time after about 379 of 491 standard-library files. With the limit lifted on a scratch branch the same job took 21 min 20 s (the loop alone 20 min 15 s for 486 files) and then reported its failures. So `check` gives no result on any pull request, and whatever fails after the 379th file is never seen. Fix: a limit the job fits in, in `.github/workflows/ci.yml`. No game files needed. AI-assisted. claiming: TEST-WINE-JOBS-TIMING-LOG - `tests/test_run_wine_tests.py` fails on Windows in 2 of the 4 of those runs that had the file: `MainTest.test_jobs_keeps_locks_serial_tests_and_dependencies` (added by #1354) ends in `KeyError: 'after'` or in `IndexError: list index out of range` in `overlap`. (Corrected at 23:38 UTC: this first said 2 of 3 runs and named only the `IndexError`.) It passes on macOS and Linux. The test's fake programs, run four at a time, all append their start and end lines to one `timing.log`; a line that is missing leaves a test with one timestamp. Appends from several processes to one file are not atomic on Windows, which is my reading of the lost line and not yet measured. Fix: one log file per fake test, so no two processes write the same file; measured on a Windows runner before and after. It is one of the failures the 15-minute limit hides. No game files needed. AI-assisted.
Author
Owner

@qhukz13 commented on GitHub (Nov 25, 2026):

claiming: TEST-STATE-SWEEP-WIN10-STENCIL - d3d12_state_sweep fails on Windows 10 19045 (measured on a GTX 1050 Ti, NVIDIA 582.66): its 16 stencil per-face masks cases (added with #878) build DEPTH_STENCIL2 pipeline streams, which that in-box D3D12 refuses (E_INVALIDARG) while the layer accepts them on purpose; the runtime does not even know D3D12_FEATURE_D3D12_OPTIONS14 (CheckFeatureSupport fails). I will ask the host for OPTIONS14.IndependentFrontAndBackStencilRefMaskSupported and, where it is missing or FALSE, still run those cases on the layer but report them as not comparable on that host; hosts that report support are unchanged. Test only. No game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7147410103 --> @qhukz13 commented on GitHub (Nov 25, 2026): claiming: TEST-STATE-SWEEP-WIN10-STENCIL - `d3d12_state_sweep` fails on Windows 10 19045 (measured on a GTX 1050 Ti, NVIDIA 582.66): its 16 `stencil per-face masks` cases (added with #878) build `DEPTH_STENCIL2` pipeline streams, which that in-box D3D12 refuses (`E_INVALIDARG`) while the layer accepts them on purpose; the runtime does not even know `D3D12_FEATURE_D3D12_OPTIONS14` (`CheckFeatureSupport` fails). I will ask the host for `OPTIONS14.IndependentFrontAndBackStencilRefMaskSupported` and, where it is missing or FALSE, still run those cases on the layer but report them as not comparable on that host; hosts that report support are unchanged. Test only. No game files. AI-assisted (Claude Code).
Author
Owner

@qhukz13 commented on GitHub (Nov 25, 2026):

done: TEST-STATE-SWEEP-WIN10-STENCIL -> #1398

<!-- gh-comment-id:7147412311 --> @qhukz13 commented on GitHub (Nov 25, 2026): done: TEST-STATE-SWEEP-WIN10-STENCIL -> #1398
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

done: ANV-INTNARROW-WORD34 -> #1399

One Known-problems row for cs_fmt_int_narrow on Intel ANV Mesa 25.2. Summary of what the rig work added over the ARL datapoint in #663: the failure is three of 136 words (34, 49, 129 — check.py stops at the first mismatch, so suite logs only ever named 34); the raw buffer readback (129 shows it directly) has the source dword 0x8000FFFF sitting in the SSBO as 0x80000000 despite the module storing it with a single integer dword OpStore; and all 136 words pass with OpExecutionMode DenormPreserve 32 added by hand. The mechanism paragraph is @theswiss24's TEST-1000 diagnosis from old PR #4736, carried with credit — the same row never merged before the original repo closed. Docs-only, synthetic fixtures only, AI-assisted.

<!-- gh-comment-id:7147424349 --> @thiefyzheng commented on GitHub (Nov 25, 2026): done: ANV-INTNARROW-WORD34 -> #1399 One Known-problems row for `cs_fmt_int_narrow` on Intel ANV Mesa 25.2. Summary of what the rig work added over the ARL datapoint in #663: the failure is three of 136 words (34, 49, 129 — `check.py` stops at the first mismatch, so suite logs only ever named 34); the raw buffer readback (129 shows it directly) has the source dword `0x8000FFFF` sitting in the SSBO as `0x80000000` despite the module storing it with a single integer dword `OpStore`; and all 136 words pass with `OpExecutionMode DenormPreserve 32` added by hand. The mechanism paragraph is @theswiss24's TEST-1000 diagnosis from old PR #4736, carried with credit — the same row never merged before the original repo closed. Docs-only, synthetic fixtures only, AI-assisted.
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

claiming: REPORT-PATH-MISSING-PARENT — detect colliding report paths on case-folding volumes when their output parents do not exist yet, before exporters create the directories. AI-assisted.

<!-- gh-comment-id:7147436243 --> @PyZikYG commented on GitHub (Nov 25, 2026): claiming: REPORT-PATH-MISSING-PARENT — detect colliding report paths on case-folding volumes when their output parents do not exist yet, before exporters create the directories. AI-assisted.
Author
Owner

@Okachamie commented on GitHub (Nov 25, 2026):

done: SHADER-DPP-ABSENT-SOURCE -> #1400

<!-- gh-comment-id:7147450405 --> @Okachamie commented on GitHub (Nov 25, 2026): done: SHADER-DPP-ABSENT-SOURCE -> #1400
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-PARITY-LOGIC-EFLAGS — clear OF for LOGIC_KIND and store full 64-bit CTX_EFLAGS in rt_mkflags, read EF_PF for popf/sahf/materialized parity checks, and preserve ARM NZCV and T0 (cmov source) in _parity_jcc/_ctx_jcc (tools/x64_recomp.py, tests/test_x64_recomp_parity_logic_eflags.py).

<!-- gh-comment-id:7147457169 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-PARITY-LOGIC-EFLAGS — clear `OF` for `LOGIC_KIND` and store full 64-bit `CTX_EFLAGS` in `rt_mkflags`, read `EF_PF` for `popf`/`sahf`/materialized parity checks, and preserve ARM `NZCV` and `T0` (`cmov` source) in `_parity_jcc`/`_ctx_jcc` (`tools/x64_recomp.py`, `tests/test_x64_recomp_parity_logic_eflags.py`).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-PARITY-LOGIC-EFLAGS -> #1401

<!-- gh-comment-id:7147457964 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: X64-RECOMP-PARITY-LOGIC-EFLAGS -> #1401
Author
Owner

@Okachamie commented on GitHub (Nov 25, 2026):

done: TEST-WINE-WARM-EXISTING -> #1402

<!-- gh-comment-id:7147462572 --> @Okachamie commented on GitHub (Nov 25, 2026): done: TEST-WINE-WARM-EXISTING -> #1402
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

done: REPORT-PATH-MISSING-PARENT -> #1403 (draft).

<!-- gh-comment-id:7147463383 --> @PyZikYG commented on GitHub (Nov 25, 2026): done: REPORT-PATH-MISSING-PARENT -> #1403 (draft).
Author
Owner

@Diegobecker07 commented on GitHub (Nov 25, 2026):

claiming: PIPELINES-ETA - make_game.py's pipelines stage logs only checking shaders N-M of T per batch, with no percent or time left, while its batches take from seconds to half an hour. After each batch, log the share done and an ETA weighted by each module's SPIR-V size (Σ MB^1.5 per batch), which follows the measured batch times far better than the batch count: on a 41-batch RTX 5070 Ti run the count-based estimate was 55-85% short, this one 6-25%. Display only, with tests. AI-assisted.

<!-- gh-comment-id:7147477749 --> @Diegobecker07 commented on GitHub (Nov 25, 2026): claiming: PIPELINES-ETA - make_game.py's pipelines stage logs only `checking shaders N-M of T` per batch, with no percent or time left, while its batches take from seconds to half an hour. After each batch, log the share done and an ETA weighted by each module's SPIR-V size (Σ MB^1.5 per batch), which follows the measured batch times far better than the batch count: on a 41-batch RTX 5070 Ti run the count-based estimate was 55-85% short, this one 6-25%. Display only, with tests. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

done: CI-CHECK-TIME-LIMIT -> #1404. The Windows check job gets timeout-minutes: 30; at 15 it was cancelled in 8 of 8 runs on a hosted windows-latest runner and needed 21 min 20 s when allowed to finish (run links in the pull request). Behind the old limit it hid failures in tests/test_run_wine_tests.py (mine to fix, TEST-WINE-JOBS-TIMING-LOG) and tests/test_world_names.py (covered by #128). AI-assisted.

<!-- gh-comment-id:7147485748 --> @milk4sale commented on GitHub (Nov 25, 2026): done: CI-CHECK-TIME-LIMIT -> #1404. The Windows `check` job gets `timeout-minutes: 30`; at 15 it was cancelled in 8 of 8 runs on a hosted `windows-latest` runner and needed 21 min 20 s when allowed to finish (run links in the pull request). Behind the old limit it hid failures in `tests/test_run_wine_tests.py` (mine to fix, TEST-WINE-JOBS-TIMING-LOG) and `tests/test_world_names.py` (covered by #128). AI-assisted.
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

claiming: GPU-RTX5070TI-62101 - a GPU-test record for an NVIDIA GeForce RTX 5070 Ti (Blackwell, subgroup 32) on NVIDIA 621.01, Windows 11 Pro 26300.9457, current main (e0b08c77d): scripts/run_gpu_tests.py on the pre-disassembled subset natively and with LEONIDA_W64_EMULATE=1, the MSVC runtime ctest and the translator suite. A separate driver record next to #635 (617.42), in the format of RTX3080Ti-61692.txt; it does not replace it. No game files, nothing online. AI-assisted (Claude Code).

<!-- gh-comment-id:7147522630 --> @Anonymous78e commented on GitHub (Nov 25, 2026): claiming: GPU-RTX5070TI-62101 - a GPU-test record for an NVIDIA GeForce RTX 5070 Ti (Blackwell, subgroup 32) on NVIDIA 621.01, Windows 11 Pro 26300.9457, current `main` (e0b08c77d): `scripts/run_gpu_tests.py` on the pre-disassembled subset natively and with `LEONIDA_W64_EMULATE=1`, the MSVC runtime ctest and the translator suite. A separate driver record next to #635 (617.42), in the format of `RTX3080Ti-61692.txt`; it does not replace it. No game files, nothing online. AI-assisted (Claude Code).
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

done: GPU-RTX5070TI-62101 -> #1405

<!-- gh-comment-id:7147536108 --> @Anonymous78e commented on GitHub (Nov 25, 2026): done: GPU-RTX5070TI-62101 -> #1405
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

finding: PermissionError's repr makes three unreadable-directory tests fail on Windows — tests/test_world_names.py:49, tests/test_bink_names.py:340, tests/test_opus_tags.py:337. Each mocks os.walk's onerror with PermissionError(13, "Permission denied", blocked) and then asserts the path appears in the tool's stderr. The tools print ERROR: {e}, and str() of that error quotes the filename and doubles its backslashes, so the line is ERROR: [Errno 13] Permission denied: 'C:\Users\...\blocked' — with the backslashes doubled in the actual text — while the assertion compares against the plain path. Reproduced at 89d7dfcf5 on Windows 11: python -I tests/test_world_names.py runs 31 tests with that one failure, and the other two files show the same single failure; all three pass on Linux. One line fixes it either way: compare err.getvalue() against the error's .filename, or print the path unquoted. No game files, no GPU, any Windows box.

<!-- gh-comment-id:7147548161 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): finding: PermissionError's repr makes three unreadable-directory tests fail on Windows — `tests/test_world_names.py:49`, `tests/test_bink_names.py:340`, `tests/test_opus_tags.py:337`. Each mocks `os.walk`'s `onerror` with `PermissionError(13, "Permission denied", blocked)` and then asserts the path appears in the tool's stderr. The tools print `ERROR: {e}`, and `str()` of that error quotes the filename and doubles its backslashes, so the line is `ERROR: [Errno 13] Permission denied: 'C:\Users\...\blocked'` — with the backslashes doubled in the actual text — while the assertion compares against the plain path. Reproduced at 89d7dfcf5 on Windows 11: `python -I tests/test_world_names.py` runs 31 tests with that one failure, and the other two files show the same single failure; all three pass on Linux. One line fixes it either way: compare `err.getvalue()` against the error's `.filename`, or print the path unquoted. No game files, no GPU, any Windows box.
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

finding: defines_a_test() misses a TestCase whose tests come from a mixin defined in the same file — tests/test_ci_registration.py:267 treats a base that names a class defined in the module as bringing nothing, so tests/semantic/test_sub_co_same_operand.py (SameOperandWave32 at :180 and the two wave64 classes, whose test_* methods all live in _SameOperandMixin) is reported as "selected by CI, but the runner would collect no test". It does collect: python -m unittest discover -s tests/semantic -p test_sub_co_same_operand.py runs 6 tests and passes. Consequence: test_every_selected_file_exposes_a_test_to_its_runner fails at 89d7dfcf5 on Windows 11, so the file is red rather than the mixin pattern being reported. Fix either way: when a local base is a class, look inside it for test* functions instead of skipping it, or accept the module if any local base defines them. No game files, no GPU, any OS.

Update: main fixed this while this was being written — fd0a53907 ("the CI registration scan counts the tests a TestCase inherits from a class of its module", TEST-CI-REG-LOCAL-MIXIN) — and python -I scripts/run_semantic_tests.py tests -j 4 reports the file green at 6fe83805a. Keeping the comment for the count of files that are red on a clean Windows checkout, which is what #1423 measures against.

<!-- gh-comment-id:7147548671 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): finding: `defines_a_test()` misses a TestCase whose tests come from a mixin defined in the same file — `tests/test_ci_registration.py:267` treats a base that names a class defined in the module as bringing nothing, so `tests/semantic/test_sub_co_same_operand.py` (`SameOperandWave32` at :180 and the two wave64 classes, whose `test_*` methods all live in `_SameOperandMixin`) is reported as "selected by CI, but the runner would collect no test". It does collect: `python -m unittest discover -s tests/semantic -p test_sub_co_same_operand.py` runs 6 tests and passes. Consequence: `test_every_selected_file_exposes_a_test_to_its_runner` fails at 89d7dfcf5 on Windows 11, so the file is red rather than the mixin pattern being reported. Fix either way: when a local base is a class, look inside it for `test*` functions instead of skipping it, or accept the module if any local base defines them. No game files, no GPU, any OS. *Update:* main fixed this while this was being written — `fd0a53907` ("the CI registration scan counts the tests a TestCase inherits from a class of its module", TEST-CI-REG-LOCAL-MIXIN) — and `python -I scripts/run_semantic_tests.py tests -j 4` reports the file green at `6fe83805a`. Keeping the comment for the count of files that are red on a clean Windows checkout, which is what #1423 measures against.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-PUSH-POP-16 — handle 16-bit operand-size override (66, unless overridden by REX.W) in push/pop (r16, m16, imm16, sign-extended imm8) in tools/x64_recomp.py with static and arm64 execution tests (tests/test_x64_recomp_push_pop_16.py).

<!-- gh-comment-id:7147562050 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-PUSH-POP-16 — handle 16-bit operand-size override (`66`, unless overridden by `REX.W`) in `push`/`pop` (`r16`, `m16`, `imm16`, sign-extended `imm8`) in `tools/x64_recomp.py` with static and arm64 execution tests (`tests/test_x64_recomp_push_pop_16.py`).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-PUSH-POP-16 -> #1408

<!-- gh-comment-id:7147562827 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: X64-RECOMP-PUSH-POP-16 -> #1408
Author
Owner

@Diegobecker07 commented on GitHub (Nov 25, 2026):

done: PIPELINES-ETA -> #1407

<!-- gh-comment-id:7147566491 --> @Diegobecker07 commented on GitHub (Nov 25, 2026): done: PIPELINES-ETA -> #1407
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

finding check: the PermissionError repr finding above (three unreadable-directory tests red on Windows: tests/test_world_names.py, tests/test_bink_names.py, tests/test_opus_tags.py) is already covered by open #128 (tools print the plain path). Reproduced the three failures on Windows 11 at main 507029d1e; with #128 merged on top all three files pass, verification posted on #128. No new pull request needed. The defines_a_test() mixin finding is fixed on main by #1365 (3a0af1f15). AI-assisted (Claude Code).

<!-- gh-comment-id:7147599071 --> @Anonymous78e commented on GitHub (Nov 25, 2026): finding check: the `PermissionError` repr finding above (three unreadable-directory tests red on Windows: `tests/test_world_names.py`, `tests/test_bink_names.py`, `tests/test_opus_tags.py`) is already covered by open #128 (tools print the plain path). Reproduced the three failures on Windows 11 at `main` 507029d1e; with #128 merged on top all three files pass, verification posted on #128. No new pull request needed. The `defines_a_test()` mixin finding is fixed on `main` by #1365 (3a0af1f15). AI-assisted (Claude Code).
Author
Owner

@djrolfes commented on GitHub (Nov 25, 2026):

finding: #984 integration-only Linux native build break: pso_stream_test is added outside the Windows guard.

Independent RT-PROTON-3070TI-VALIDATION at ac7c3449d (runtime-identical to current 273b3bdf9): runtime/CMakeLists.txt:1214-1221 unconditionally adds the D3D12 test with /W4, /permissive-, /utf-8 and /OPT:NOREF, although runtime/test/pso_stream_test.cpp:3 requires d3d12.h. A native Clang/Ninja build with LEONIDA_BUILD_WINDOWS_RUNTIME=OFF fails on those MSVC switches. Seven supported portable targets build and pass; the Windows cross-build and 25 targeted Wine tests pass.

No separate implementation claimed: the owned RT-PSO-STREAM-SLOT55 split #1058 at f51356450 already places this target in the Windows D3D12 section (runtime/CMakeLists.txt:259-266), so please preserve that placement when integrating the split rather than copy #984’s unconditional target. No game files or special hardware are needed to reproduce this build issue. AI-assisted.

<!-- gh-comment-id:7147600470 --> @djrolfes commented on GitHub (Nov 25, 2026): finding: #984 integration-only Linux native build break: pso_stream_test is added outside the Windows guard. Independent RT-PROTON-3070TI-VALIDATION at ac7c3449d (runtime-identical to current 273b3bdf9): runtime/CMakeLists.txt:1214-1221 unconditionally adds the D3D12 test with /W4, /permissive-, /utf-8 and /OPT:NOREF, although runtime/test/pso_stream_test.cpp:3 requires d3d12.h. A native Clang/Ninja build with LEONIDA_BUILD_WINDOWS_RUNTIME=OFF fails on those MSVC switches. Seven supported portable targets build and pass; the Windows cross-build and 25 targeted Wine tests pass. No separate implementation claimed: the owned RT-PSO-STREAM-SLOT55 split #1058 at f51356450 already places this target in the Windows D3D12 section (runtime/CMakeLists.txt:259-266), so please preserve that placement when integrating the split rather than copy #984’s unconditional target. No game files or special hardware are needed to reproduce this build issue. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-REXW-OVER-66 — give REX.W precedence over 0x66 operand-size override in _vsize and decode_one (tools/x64_recomp.py) so 66 48 ... instructions decode full 64-bit operands and 4-byte Iz/8-byte Iv immediates (tests/test_x64_recomp_rexw_66.py).

<!-- gh-comment-id:7147611417 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-REXW-OVER-66 — give `REX.W` precedence over `0x66` operand-size override in `_vsize` and `decode_one` (`tools/x64_recomp.py`) so `66 48 ...` instructions decode full 64-bit operands and 4-byte `Iz`/8-byte `Iv` immediates (`tests/test_x64_recomp_rexw_66.py`).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-REXW-OVER-66 -> #1409

<!-- gh-comment-id:7147612156 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: X64-RECOMP-REXW-OVER-66 -> #1409
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

done: TEST-WINE-JOBS-TIMING-LOG -> #1410. Measured on hosted runners: four processes appending to one file at the same moment lost a line in 150 of 150 rounds on windows-latest and in none on Linux and macOS; the two --jobs tests of tests/test_run_wine_tests.py failed 60 of 60 times on Windows before the change and 0 of 60 after. Each fake test now writes its own timing log. scripts/run_wine_tests.py is unchanged. AI-assisted.

<!-- gh-comment-id:7147630576 --> @milk4sale commented on GitHub (Nov 25, 2026): done: TEST-WINE-JOBS-TIMING-LOG -> #1410. Measured on hosted runners: four processes appending to one file at the same moment lost a line in 150 of 150 rounds on `windows-latest` and in none on Linux and macOS; the two `--jobs` tests of `tests/test_run_wine_tests.py` failed 60 of 60 times on Windows before the change and 0 of 60 after. Each fake test now writes its own timing log. `scripts/run_wine_tests.py` is unchanged. AI-assisted.
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

claiming: TEST-WIN-PERMERR-REPR — the PermissionError repr finding (tests/test_world_names.py:49, tests/test_bink_names.py:340, tests/test_opus_tags.py:337): str() of PermissionError(13, "Permission denied", blocked) doubles the path's backslashes inside the quoted ERROR: line, so each assertion against the plain path fails on Windows. Reproducing now on a Windows VM, then the one-line fix per file (compare against the error's .filename, printed unquoted) with each of the three files running green before a PR. Windows-only observation needed, no GPU, no game files. AI-assisted.

<!-- gh-comment-id:7147635626 --> @thiefyzheng commented on GitHub (Nov 25, 2026): claiming: TEST-WIN-PERMERR-REPR — the `PermissionError` repr finding (tests/test_world_names.py:49, tests/test_bink_names.py:340, tests/test_opus_tags.py:337): `str()` of `PermissionError(13, "Permission denied", blocked)` doubles the path's backslashes inside the quoted `ERROR:` line, so each assertion against the plain path fails on Windows. Reproducing now on a Windows VM, then the one-line fix per file (compare against the error's `.filename`, printed unquoted) with each of the three files running green before a PR. Windows-only observation needed, no GPU, no game files. AI-assisted.
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

finding (correction): the defines_a_test() mixin finding above (test_ci_registration.py:267, test_sub_co_same_operand.py collected as empty) is a duplicate of merged #1365 — the fix (own_tests bookkeeping: a TestCase with no test* of its own counts when a same-module base defines them) merged to main at 23:26:36Z (3a0af1f15), eight minutes before the finding was posted; the finding's repro commit 89d7dfcf5 is an ancestor of main (behind_by 0 in a compare), and current main contains it. Anyone re-doing this work would collide with the merged fix — skipping it. Verified from the API just now, nothing run locally. AI-assisted.

<!-- gh-comment-id:7147635899 --> @thiefyzheng commented on GitHub (Nov 25, 2026): finding (correction): the `defines_a_test()` mixin finding above (test_ci_registration.py:267, `test_sub_co_same_operand.py` collected as empty) is a duplicate of **merged #1365** — the fix (`own_tests` bookkeeping: a TestCase with no `test*` of its own counts when a same-module base defines them) merged to main at 23:26:36Z (3a0af1f15), eight minutes before the finding was posted; the finding's repro commit 89d7dfcf5 is an ancestor of main (behind_by 0 in a compare), and current main contains it. Anyone re-doing this work would collide with the merged fix — skipping it. Verified from the API just now, nothing run locally. AI-assisted.
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

claiming: D3D-132 — implement PIPELINE_STATISTICS1 query heaps, replay and 112-byte resolves in the D3D12-to-Vulkan runtime, including mesh counters where Vulkan exposes meshShaderQueries. Builds on the merged D3D-291 machinery. AI-assisted.

<!-- gh-comment-id:7147650349 --> @PyZikYG commented on GitHub (Nov 25, 2026): claiming: D3D-132 — implement PIPELINE_STATISTICS1 query heaps, replay and 112-byte resolves in the D3D12-to-Vulkan runtime, including mesh counters where Vulkan exposes meshShaderQueries. Builds on the merged D3D-291 machinery. AI-assisted.
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

Possible link between reports, not confirmed: the the null-read stop (read of 0x68) stop that @Dezmonius saw after #421 on DadaCap's prototype (Windows 10 22H2) has the same address and offset as the Windows 10 case in #683 (Kokonotcu) and #1353 (robot00f). Windows 10's in-box d3d12.dll refuses root-signature flags 0xC00 (heap directly indexed) in D3D12SerializeVersionedRootSignature, so the title is left with a null program and reads [0+0x68] about 15 s in. otaviosza's run of that stop was also on Windows 10 22H2.

Dezmonius, or anyone on Windows 10: a rerun with either #683 or #1353 applied would confirm it. Those two PRs fix the same thing in different ways (retry without the bits, then patch them back into RTS0), so they should probably be reconciled into one. On Windows 11 the host accepts the flags, so I can't reproduce the stop here.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7147657615 --> @QemmHD commented on GitHub (Nov 25, 2026): Possible link between reports, not confirmed: the the null-read stop (read of `0x68`) stop that @Dezmonius saw after #421 on DadaCap's prototype (Windows 10 22H2) has the same address and offset as the Windows 10 case in **#683** (Kokonotcu) and **#1353** (robot00f). Windows 10's in-box `d3d12.dll` refuses root-signature flags `0xC00` (heap directly indexed) in `D3D12SerializeVersionedRootSignature`, so the title is left with a null program and reads `[0+0x68]` about 15 s in. otaviosza's run of that stop was also on Windows 10 22H2. Dezmonius, or anyone on Windows 10: a rerun with either #683 or #1353 applied would confirm it. Those two PRs fix the same thing in different ways (retry without the bits, then patch them back into `RTS0`), so they should probably be reconciled into one. On Windows 11 the host accepts the flags, so I can't reproduce the stop here. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

claiming: FSSM-ROOT-LAYOUT-TABLES. Parse each native shader record's own root-layout table and used-resource table in tools/fssm_unpack.py, and report them per shader, so the graphics/mesh/compute user-data layout becomes a per-shader fact instead of the hypothesis in docs/d3d12_vulkan.md §3.5 (base SGPR per stage, one or two dwords per table, spill start). Includes a census tool beside tools/user_sgpr_census.py and a parser test on a hand-built record; no game files. The record layout follows VIctory's reading (Marvisak/VIctory, crates/victory-shader/src/native.rs), credited and re-derived, not copied. It complements #974 and #1009 rather than replacing them: it gives them measured layouts. Wiring it into rt::rootsig::pack_stage would be a follow-up once the census numbers are in.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7147663051 --> @QemmHD commented on GitHub (Nov 25, 2026): claiming: FSSM-ROOT-LAYOUT-TABLES. Parse each native shader record's own root-layout table and used-resource table in `tools/fssm_unpack.py`, and report them per shader, so the graphics/mesh/compute user-data layout becomes a per-shader fact instead of the hypothesis in `docs/d3d12_vulkan.md` §3.5 (base SGPR per stage, one or two dwords per table, spill start). Includes a census tool beside `tools/user_sgpr_census.py` and a parser test on a hand-built record; no game files. The record layout follows VIctory's reading (Marvisak/VIctory, `crates/victory-shader/src/native.rs`), credited and re-derived, not copied. It complements #974 and #1009 rather than replacing them: it gives them measured layouts. Wiring it into `rt::rootsig::pack_stage` would be a follow-up once the census numbers are in. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

claiming: TEST-MOD-PACK-ALIAS-MACOS - tests/test_mod_pack_output_alias.py (added by #1057, on main since be195981e, 23:22 UTC) fails on macOS: test_alias_preflight_precedes_output_truncation ends in AssertionError: ModsError not raised for both of its cases. It passes on Linux. Seen in the macos-python job of a manual CI run of main 3a0af1f15 on my fork; that job stops at the first failing file, so every file after it goes unrun on macOS. Cause: the test replaces os.path.samefile with a function that compares the paths as tempfile spelled them, while report_paths.same_report_path hands samefile the paths os.path.realpath gave it, and on macOS those differ (/var is a link to /private/var). Fix in the test: compare resolved names. tools/leonida_mods.py and tools/report_paths.py are right and stay as they are. I will measure it on macOS, Windows and Linux runners before and after. No game files needed. AI-assisted.

<!-- gh-comment-id:7147669112 --> @milk4sale commented on GitHub (Nov 25, 2026): claiming: TEST-MOD-PACK-ALIAS-MACOS - `tests/test_mod_pack_output_alias.py` (added by #1057, on `main` since `be195981e`, 23:22 UTC) fails on macOS: `test_alias_preflight_precedes_output_truncation` ends in `AssertionError: ModsError not raised` for both of its cases. It passes on Linux. Seen in the `macos-python` job of a manual CI run of `main` `3a0af1f15` on my fork; that job stops at the first failing file, so every file after it goes unrun on macOS. Cause: the test replaces `os.path.samefile` with a function that compares the paths as `tempfile` spelled them, while `report_paths.same_report_path` hands `samefile` the paths `os.path.realpath` gave it, and on macOS those differ (`/var` is a link to `/private/var`). Fix in the test: compare resolved names. `tools/leonida_mods.py` and `tools/report_paths.py` are right and stay as they are. I will measure it on macOS, Windows and Linux runners before and after. No game files needed. AI-assisted.
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

done: TEST-MOD-PACK-ALIAS-MACOS -> #1412. tests/test_mod_pack_output_alias.py fails on macOS and, as it turned out, on Windows too: its stand-in for os.path.samefile compared the paths as tempfile spelled them, and same_report_path passes resolved ones (/private/var/..., C:\Users\runneradmin\...). Measured on hosted runners with Python 3.12: FAILED on macos-26 and windows-latest and OK on ubuntu-24.04 before, OK on all three after. The tools are unchanged. AI-assisted.

<!-- gh-comment-id:7147700468 --> @milk4sale commented on GitHub (Nov 25, 2026): done: TEST-MOD-PACK-ALIAS-MACOS -> #1412. `tests/test_mod_pack_output_alias.py` fails on macOS and, as it turned out, on Windows too: its stand-in for `os.path.samefile` compared the paths as `tempfile` spelled them, and `same_report_path` passes resolved ones (`/private/var/...`, `C:\Users\runneradmin\...`). Measured on hosted runners with Python 3.12: FAILED on `macos-26` and `windows-latest` and OK on `ubuntu-24.04` before, OK on all three after. The tools are unchanged. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: SPIRV-OPT-TYPE-DECORATE-SOUNDNESS — enforce Result Type matching on integer/bit folding and OpLoad forwarding, resolve absorbing constants via res_ty, and pin OpDecorateId operand IDs against DCE in tools/spirv_opt.py (tests/test_spirv_opt.py).

<!-- gh-comment-id:7147703038 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: SPIRV-OPT-TYPE-DECORATE-SOUNDNESS — enforce `Result Type` matching on integer/bit folding and `OpLoad` forwarding, resolve absorbing constants via `res_ty`, and pin `OpDecorateId` operand IDs against DCE in `tools/spirv_opt.py` (`tests/test_spirv_opt.py`).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: SPIRV-OPT-TYPE-DECORATE-SOUNDNESS -> #1414

<!-- gh-comment-id:7147703910 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: SPIRV-OPT-TYPE-DECORATE-SOUNDNESS -> #1414
Author
Owner

@TheGeogeo commented on GitHub (Nov 25, 2026):

done: VK-IMAGE-MEMORY-POOL -> #1413

<!-- gh-comment-id:7147705315 --> @TheGeogeo commented on GitHub (Nov 25, 2026): done: VK-IMAGE-MEMORY-POOL -> #1413
Author
Owner

@Tortoche commented on GitHub (Nov 25, 2026):

claiming: OLD-9875 - carry forward old-pr/9875 (draft #143, by tedin7): translate image_load_mip glc on 2D through the coherent storage view in tools/rdna2spirv.py and tests/semantic/test_image_coherent.py, rebased on main with tedin7 kept as author, verified on Linux with the semantic test suite. No game files. AI-assisted: yes.

<!-- gh-comment-id:7147714743 --> @Tortoche commented on GitHub (Nov 25, 2026): claiming: OLD-9875 - carry forward old-pr/9875 (draft #143, by tedin7): translate image_load_mip glc on 2D through the coherent storage view in tools/rdna2spirv.py and tests/semantic/test_image_coherent.py, rebased on main with tedin7 kept as author, verified on Linux with the semantic test suite. No game files. AI-assisted: yes.
Author
Owner

@Tortoche commented on GitHub (Nov 25, 2026):

done: OLD-5237 -> #1415

<!-- gh-comment-id:7147721002 --> @Tortoche commented on GitHub (Nov 25, 2026): done: OLD-5237 -> #1415
Author
Owner

@JesusACD commented on GitHub (Nov 25, 2026):

claiming: CI-XDXR-POSTBUILD-SKIP-CODE - register SKIP_RETURN_CODE 77 for vk_xdxr_postbuild_readback in runtime/CMakeLists.txt (currently failing the Windows Runtime CI job on GPU-less runners when it returns 77 to skip) and guard return-77 CTest targets in tests/test_ctest_registration.py. Verified PASS on RTX 4060 Ti. AI-assisted.

<!-- gh-comment-id:7147726562 --> @JesusACD commented on GitHub (Nov 25, 2026): claiming: CI-XDXR-POSTBUILD-SKIP-CODE - register SKIP_RETURN_CODE 77 for vk_xdxr_postbuild_readback in runtime/CMakeLists.txt (currently failing the Windows Runtime CI job on GPU-less runners when it returns 77 to skip) and guard return-77 CTest targets in tests/test_ctest_registration.py. Verified PASS on RTX 4060 Ti. AI-assisted.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: ~15 existing d3d12 ctest entries on main FAIL (not SKIP) on GPUs with maxPushConstantsSize <144B — the AMD iGPU 128B cap family: d3d12_compute, draw, buffer_uav, bundle, mesh, m2_, m3_, m4_compute, depth24_draw, bindless_churn*, stores_atomics, subgroup, indirect_dispatch_count, typeless_families, depth_resolve, multi_viewport, f16_halves, translated_draw, pso_validation, geometry. They mostly lack the device_push_constants_need_fallback→SKIP(77) guard that d3d12_msaa_draw_test/d3d12_set0_compute_test/d3d12_fspx_compute_test/d3d12_pipeline_library_test already use. A shared guard helper or per-test guards would be a separate PR on main. Needs Windows + Vulkan hardware (128B pushconst device) to observe.

<!-- gh-comment-id:7147738640 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: ~15 existing d3d12 ctest entries on main FAIL (not SKIP) on GPUs with maxPushConstantsSize <144B — the AMD iGPU 128B cap family: d3d12_compute, draw, buffer_uav, bundle, mesh, m2_*, m3_*, m4_compute, depth24_draw, bindless_churn*, stores_atomics, subgroup, indirect_dispatch_count, typeless_families, depth_resolve, multi_viewport, f16_halves, translated_draw, pso_validation, geometry. They mostly lack the device_push_constants_need_fallback→SKIP(77) guard that d3d12_msaa_draw_test/d3d12_set0_compute_test/d3d12_fspx_compute_test/d3d12_pipeline_library_test already use. A shared guard helper or per-test guards would be a separate PR on main. Needs Windows + Vulkan hardware (128B pushconst device) to observe.
Author
Owner

@Tortoche commented on GitHub (Nov 25, 2026):

claiming: OLD-9919 - carry forward old-pr/9919 (draft #187, by LouisRiverstone; SHADER-820): clear ("vote", "exec") when EXEC changes without rewriting SCC (tools/wave64_halves.py), add ps_w64_c_vote_rewrite and ps_w64_c_vote_exec fixtures (runtime/test/shaders/), soundness and fixture tests (tests/semantic/test_wave64_halves_soundness.py, tests/test_wave64_halves_fixtures.py), and update docs/design.md, rebased on main with original attribution preserved and verified on Linux. No game files. AI-assisted: yes.

<!-- gh-comment-id:7147742087 --> @Tortoche commented on GitHub (Nov 25, 2026): claiming: OLD-9919 - carry forward `old-pr/9919` (draft #187, by `LouisRiverstone`; `SHADER-820`): clear `("vote", "exec")` when `EXEC` changes without rewriting `SCC` (`tools/wave64_halves.py`), add `ps_w64_c_vote_rewrite` and `ps_w64_c_vote_exec` fixtures (`runtime/test/shaders/`), soundness and fixture tests (`tests/semantic/test_wave64_halves_soundness.py`, `tests/test_wave64_halves_fixtures.py`), and update `docs/design.md`, rebased on `main` with original attribution preserved and verified on Linux. No game files. AI-assisted: yes.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: VK-IMAGE-FUZZ-DRAW-PARAMETERS — runtime/test/vk_image_fuzz.cpp never enabled shaderDrawParameters, so under LEONIDA_VK_VALIDATION=1 every image_fuzz case failed VUID-08740 on both AMD iGPU and RTX 4070 SUPER, silently zeroing fuzz campaigns. Branch vk-image-fuzz-drawparams, worktree leonida-w1. PR incoming.

<!-- gh-comment-id:7147754867 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: VK-IMAGE-FUZZ-DRAW-PARAMETERS — runtime/test/vk_image_fuzz.cpp never enabled shaderDrawParameters, so under LEONIDA_VK_VALIDATION=1 every image_fuzz case failed VUID-08740 on both AMD iGPU and RTX 4070 SUPER, silently zeroing fuzz campaigns. Branch vk-image-fuzz-drawparams, worktree leonida-w1. PR incoming.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: VK-IMAGE-FUZZ-DRAW-PARAMETERS -> PR https://github.com/ubiquitarianism/leonida/pull/1417 (reviewer-approved; image_fuzz 60/60+30/30 on both AMD iGPU and RTX 4070 SUPER under validation, was all-VUID-fail before).

<!-- gh-comment-id:7147774350 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: VK-IMAGE-FUZZ-DRAW-PARAMETERS -> PR https://github.com/ubiquitarianism/leonida/pull/1417 (reviewer-approved; image_fuzz 60/60+30/30 on both AMD iGPU and RTX 4070 SUPER under validation, was all-VUID-fail before).
Author
Owner

@KamelOtmani commented on GitHub (Nov 25, 2026):

claiming: UPSTREAM-MAIN-SYNC — pulling and merging ubiquitarianism/leonida main into ottomans/leonida

The archive main follows upstream by fast-forward only (hourly continue-sync, daily forgejo-upstream-sync); this claim covers carrying upstream's actual content into our first-boot line, which the fast-forward deliberately does not do.

Shape. A new branch integration/upstream-main forked from the verified wip/first-boot tip 5838e1ab2, one tracking issue, and batches landed and tested separately: self-contained runtime units first, then the offline shims, then repo tooling and docs, then the translator — which changes SPIR-V output and therefore needs a corpus rebuild with before/after translated and spirv-val-valid counts — and last the merge-resolution batch.

What it must not disturb: the native boot checkpoint the user has exercised (intro, audio, controller input through brightness setup, loading spinner) and the shader corpus contract — one llvm-mc for the whole pass, spirv-val clean per stage.

Overlap already recorded, so nobody writes it twice. Three of our first-boot commits are patch-identical to upstream's, and upstream got there independently: 6e81b9219 (full memory barrier at the ExecuteCommandLists boundary), 9f9a50340 (that barrier skipped on a context without vkCmdPipelineBarrier), 5a67c51a4 (byte length passed to BufferVaIndex::find in host_at). All three are live in our tree; preserve them through the conflicted runtime/src/vulkan_backend.h.

Status of upstream: at the time of claiming, main is level with 364ab4eab and 190 non-merge upstream commits are missing from our line; a full merge preview conflicts on 22 paths.

Needs: no game files, no particular GPU — the runtime unit and shim batches validate in CI-equivalent ctest, and the translator batch validates over a corpus the user builds locally.

<!-- gh-comment-id:7147775002 --> @KamelOtmani commented on GitHub (Nov 25, 2026): claiming: UPSTREAM-MAIN-SYNC — pulling and merging `ubiquitarianism/leonida` main into `ottomans/leonida` The archive `main` follows upstream by fast-forward only (hourly `continue-sync`, daily `forgejo-upstream-sync`); this claim covers carrying upstream's actual **content** into our first-boot line, which the fast-forward deliberately does not do. **Shape.** A new branch `integration/upstream-main` forked from the verified `wip/first-boot` tip `5838e1ab2`, one tracking issue, and batches landed and tested separately: self-contained runtime units first, then the offline shims, then repo tooling and docs, then the translator — which changes SPIR-V output and therefore needs a corpus rebuild with before/after translated and `spirv-val`-valid counts — and last the merge-resolution batch. **What it must not disturb:** the native boot checkpoint the user has exercised (intro, audio, controller input through brightness setup, loading spinner) and the shader corpus contract — one `llvm-mc` for the whole pass, `spirv-val` clean per stage. **Overlap already recorded, so nobody writes it twice.** Three of our first-boot commits are patch-identical to upstream's, and upstream got there independently: `6e81b9219` (full memory barrier at the ExecuteCommandLists boundary), `9f9a50340` (that barrier skipped on a context without `vkCmdPipelineBarrier`), `5a67c51a4` (byte length passed to `BufferVaIndex::find` in `host_at`). All three are live in our tree; preserve them through the conflicted `runtime/src/vulkan_backend.h`. **Status of upstream:** at the time of claiming, `main` is level with `364ab4eab` and 190 non-merge upstream commits are missing from our line; a full merge preview conflicts on 22 paths. **Needs:** no game files, no particular GPU — the runtime unit and shim batches validate in CI-equivalent `ctest`, and the translator batch validates over a corpus the user builds locally.
Author
Owner

@Tortoche commented on GitHub (Nov 25, 2026):

claiming: OLD-9794 - carry forward old-pr/9794 (draft #71, by totonii / totonicpu): use leonida::memory_type_order with OOM fallback in PredicateReducer::batch (runtime/src/vulkan_predicate.h), add CPU-only mock test runtime/test/predicate_alloc_test.cpp registered as predicate_alloc in runtime/CMakeLists.txt, rebased on main with original attribution preserved and verified on Linux. No game files. AI-assisted: yes.

<!-- gh-comment-id:7147781405 --> @Tortoche commented on GitHub (Nov 25, 2026): claiming: OLD-9794 - carry forward `old-pr/9794` (draft #71, by `totonii` / `totonicpu`): use `leonida::memory_type_order` with OOM fallback in `PredicateReducer::batch` (`runtime/src/vulkan_predicate.h`), add CPU-only mock test `runtime/test/predicate_alloc_test.cpp` registered as `predicate_alloc` in `runtime/CMakeLists.txt`, rebased on `main` with original attribution preserved and verified on Linux. No game files. AI-assisted: yes.
Author
Owner

@JesusACD commented on GitHub (Nov 25, 2026):

done: CI-XDXR-POSTBUILD-SKIP-CODE -> #1418

<!-- gh-comment-id:7147782925 --> @JesusACD commented on GitHub (Nov 25, 2026): done: CI-XDXR-POSTBUILD-SKIP-CODE -> #1418
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

claiming: D3D-RGB9E5-UINT-ALIAS-VIEW. The title packs light as R9G9B9E5 bits into R32_UINT textures from compute shaders, then samples them through R9G9B9E5 views of the same memory (sky, probes, bounced light, fog). The console allows that view; the layer refuses it (runtime/shims/d3d12_vulkan_device.cpp, "incompatible R9G9B9E5 view format"), so those reads would come out empty or black.

Plan:

  • create such R32_UINT textures VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT with an E5B9G9R9_UFLOAT_PACK32 view in the format list (both are in the 32-bit compatibility class), the same way the layer already backs R9G9B9E5 UAVs with mutable R32_UINT;
  • accept the cross-format SRV for console (d3d12_xs) callers only, so PC parity tests keep matching WARP;
  • add a GPU test: compute writes packed words, a draw samples them through the R9G9B9E5 view, checked against expected values. No game files.

Found by comparing with fxceless/victory-fork, which fixed the same black sky/probe/fog by aliasing the two textures. Credit to that fork and to VIctory. I'll check for overlap with #1079 (slot 70 lookup) and #592.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7147788092 --> @QemmHD commented on GitHub (Nov 25, 2026): claiming: D3D-RGB9E5-UINT-ALIAS-VIEW. The title packs light as R9G9B9E5 bits into `R32_UINT` textures from compute shaders, then samples them through R9G9B9E5 views of the same memory (sky, probes, bounced light, fog). The console allows that view; the layer refuses it (`runtime/shims/d3d12_vulkan_device.cpp`, "incompatible R9G9B9E5 view format"), so those reads would come out empty or black. Plan: - create such `R32_UINT` textures `VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT` with an `E5B9G9R9_UFLOAT_PACK32` view in the format list (both are in the 32-bit compatibility class), the same way the layer already backs R9G9B9E5 UAVs with mutable `R32_UINT`; - accept the cross-format SRV for console (d3d12_xs) callers only, so PC parity tests keep matching WARP; - add a GPU test: compute writes packed words, a draw samples them through the R9G9B9E5 view, checked against expected values. No game files. Found by comparing with fxceless/victory-fork, which fixed the same black sky/probe/fog by aliasing the two textures. Credit to that fork and to VIctory. I'll check for overlap with #1079 (slot 70 lookup) and #592. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

claiming: CTEST-XDXR-CHECK-TIMEOUT - give xdxr_build_check its own ctest TIMEOUT in runtime/CMakeLists.txt (robot00f's finding at #issuecomment-7143570457): it has none today, so the ctest ... --timeout 120 that docs/testing.md suggests applies to it and a slow host scores a Timeout (212 s measured on a 4 GB Pascal card). A per-test TIMEOUT takes precedence over --timeout, as for d3d12_queue_handover (400). No game files; checked with ctest on Windows 11 / RTX 5070 Ti. AI-assisted (Claude Code).

<!-- gh-comment-id:7147790860 --> @Anonymous78e commented on GitHub (Nov 25, 2026): claiming: CTEST-XDXR-CHECK-TIMEOUT - give `xdxr_build_check` its own ctest `TIMEOUT` in `runtime/CMakeLists.txt` (robot00f's finding at #issuecomment-7143570457): it has none today, so the `ctest ... --timeout 120` that `docs/testing.md` suggests applies to it and a slow host scores a Timeout (212 s measured on a 4 GB Pascal card). A per-test TIMEOUT takes precedence over `--timeout`, as for `d3d12_queue_handover` (400). No game files; checked with ctest on Windows 11 / RTX 5070 Ti. AI-assisted (Claude Code).
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

finding: scripts/run_semantic_tests.py pointed at tests instead of tests/semantic reports 36 failed files that CI never runs under it — on a clean Windows 11 checkout at 89d7dfcf5, python -I scripts/run_semantic_tests.py tests -j 4 reports 522 files, 8,099 tests, 42 files failed. 30 of those 42 are files the workflow hands to pytest (PYTEST_FILE_MARKERS: '^import pytest|^ *HAVE_NUMPY =', ci.yml:17, applied at ci.yml:87 and ci.yml:155), and python -I cannot import pytest at all: the runner loads them through unittest and they die with ModuleNotFoundError: No module named 'pytest'. 6 more (test_cfg_structure, test_d3d12_xs_surface, test_desc_cache, test_feature_scan, test_lane_masks, test_vs_input_survey) have a __main__ block and no TestCase — CI runs those with python -I tests/<file>.py and they exit 0 — so unittest collects zero tests and the runner calls the file failed. The runner's own usage lines name tests/semantic, so this is a trap rather than a supported path, and the CI-registration check in tests/test_ci_registration.py already contains the marker logic the runner would need to skip the same files. Reproduced on a clean checkout with no game files and no GPU.

<!-- gh-comment-id:7147793888 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): finding: `scripts/run_semantic_tests.py` pointed at `tests` instead of `tests/semantic` reports 36 failed files that CI never runs under it — on a clean Windows 11 checkout at 89d7dfcf5, `python -I scripts/run_semantic_tests.py tests -j 4` reports 522 files, 8,099 tests, 42 files failed. 30 of those 42 are files the workflow hands to pytest (`PYTEST_FILE_MARKERS: '^import pytest|^ *HAVE_NUMPY ='`, ci.yml:17, applied at ci.yml:87 and ci.yml:155), and `python -I` cannot import pytest at all: the runner loads them through `unittest` and they die with `ModuleNotFoundError: No module named 'pytest'`. 6 more (`test_cfg_structure`, `test_d3d12_xs_surface`, `test_desc_cache`, `test_feature_scan`, `test_lane_masks`, `test_vs_input_survey`) have a `__main__` block and no `TestCase` — CI runs those with `python -I tests/<file>.py` and they exit 0 — so unittest collects zero tests and the runner calls the file failed. The runner's own usage lines name `tests/semantic`, so this is a trap rather than a supported path, and the CI-registration check in tests/test_ci_registration.py already contains the marker logic the runner would need to skip the same files. Reproduced on a clean checkout with no game files and no GPU.
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

finding: tests/test_mesh_alloc_single_writer.py:5 puts tools on sys.path relative to the working directory — sys.path.insert(0, 'tools'), the only relative insert in tests/ (every other test file derives the folder from __file__) — so import rdna2spirv on the next line works only when the current directory is the repository root. python -I tests/test_mesh_alloc_single_writer.py from the root: exit 0. From anywhere else: ModuleNotFoundError: No module named 'rdna2spirv'. That is also why the file is red in python -I scripts/run_semantic_tests.py tests: run_module starts the child with cwd=directory, the suite folder (scripts/run_semantic_tests.py:117), and it is the one ImportError in that run's 42 failures. One-line fix: sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "tools")), which is what the neighbouring files already do. No game files, no GPU.

<!-- gh-comment-id:7147794300 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): finding: `tests/test_mesh_alloc_single_writer.py:5` puts `tools` on `sys.path` relative to the working directory — `sys.path.insert(0, 'tools')`, the only relative insert in `tests/` (every other test file derives the folder from `__file__`) — so `import rdna2spirv` on the next line works only when the current directory is the repository root. `python -I tests/test_mesh_alloc_single_writer.py` from the root: exit 0. From anywhere else: `ModuleNotFoundError: No module named 'rdna2spirv'`. That is also why the file is red in `python -I scripts/run_semantic_tests.py tests`: `run_module` starts the child with `cwd=directory`, the suite folder (scripts/run_semantic_tests.py:117), and it is the one ImportError in that run's 42 failures. One-line fix: `sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "tools"))`, which is what the neighbouring files already do. No game files, no GPU.
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

finding: three tests pass alone and fail under parallel load on Windows 10 (Pro 22H2, 19045), each on a file or a timestamp it does not control. (1) tests/test_run_wine_tests.py's scheduling tests (test_jobs_keeps_locks_serial_tests_and_dependencies, test_jobs_runs_that_many_tests_at_a_time) died with IndexError: list index out of range in overlap (:623), which reads b[1]: intervals (:616) had built a span with only its start timestamp, because the children append name start <mono> / name end <mono> to one shared timing.log (:607-:610, open(log, 'a') from several processes) and run_main gives the whole runner timeout=10 (:694), a wall-clock budget a busy machine can miss. Both failed that way in both python -I scripts/run_semantic_tests.py tests -j 4 runs here while a 16-thread vk_pipeline_check was loading the box; the file alone passed 72 tests (12 skipped) twice. (2) tests/test_build_batch_launch.py:80 asserts 'a & b/0->1' in broken and got 'a & b/0->0' — the fake launcher it generated never ran the case — in one of three runs; alone it passes both tests (2 tests, 10 s), in both trees. (3) tests/test_build_runtime_cmake.py:96 builds its fixture in with tempfile.TemporaryDirectory(dir=self.base) and the cleanup raised PermissionError: [WinError 5] Access is denied: ...\caret^dir\tools ^ & 東京\recorder.exe, an .exe the test wrote and a child ran, so shutil.rmtree reported the cleanup instead of the assertion; once in three runs, alone it passes (117 s). Together: intervals() could keep a one-ended span and let the test name the missing line, the budgets could scale with the machine, and TemporaryDirectory(..., ignore_cleanup_errors=True) or an onexc retry keeps the assertion in charge. No game files, no GPU.

<!-- gh-comment-id:7147794650 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): finding: three tests pass alone and fail under parallel load on Windows 10 (Pro 22H2, 19045), each on a file or a timestamp it does not control. (1) `tests/test_run_wine_tests.py`'s scheduling tests (`test_jobs_keeps_locks_serial_tests_and_dependencies`, `test_jobs_runs_that_many_tests_at_a_time`) died with `IndexError: list index out of range` in `overlap` (:623), which reads `b[1]`: `intervals` (:616) had built a span with only its `start` timestamp, because the children append `name start <mono>` / `name end <mono>` to one shared `timing.log` (:607-:610, `open(log, 'a')` from several processes) and `run_main` gives the whole runner `timeout=10` (:694), a wall-clock budget a busy machine can miss. Both failed that way in both `python -I scripts/run_semantic_tests.py tests -j 4` runs here while a 16-thread `vk_pipeline_check` was loading the box; the file alone passed 72 tests (12 skipped) twice. (2) `tests/test_build_batch_launch.py:80` asserts `'a & b/0->1' in broken` and got `'a & b/0->0'` — the fake launcher it generated never ran the case — in one of three runs; alone it passes both tests (2 tests, 10 s), in both trees. (3) `tests/test_build_runtime_cmake.py:96` builds its fixture in `with tempfile.TemporaryDirectory(dir=self.base)` and the cleanup raised `PermissionError: [WinError 5] Access is denied: ...\caret^dir\tools ^ & 東京\recorder.exe`, an `.exe` the test wrote and a child ran, so `shutil.rmtree` reported the cleanup instead of the assertion; once in three runs, alone it passes (117 s). Together: `intervals()` could keep a one-ended span and let the test name the missing line, the budgets could scale with the machine, and `TemporaryDirectory(..., ignore_cleanup_errors=True)` or an `onexc` retry keeps the assertion in charge. No game files, no GPU.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: PC-TAIL-SKIP-GUARD — d3d12_skip_compute_test (from #1341) FAILs instead of SKIPping on GPUs with maxPushConstantsSize <144B; adds the device_push_constants_need_fallback→SKIP(77) guard the sibling tests already use. Depends on: #1341. Branch pc-tail-skip-guard based on #1341 head, worktree leonida-w2. PR incoming.

<!-- gh-comment-id:7147802961 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: PC-TAIL-SKIP-GUARD — d3d12_skip_compute_test (from #1341) FAILs instead of SKIPping on GPUs with maxPushConstantsSize <144B; adds the device_push_constants_need_fallback→SKIP(77) guard the sibling tests already use. Depends on: #1341. Branch pc-tail-skip-guard based on #1341 head, worktree leonida-w2. PR incoming.
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

claiming: TEST-MESHALLOC-SYSPATH — the tests/test_mesh_alloc_single_writer.py:5 relative sys.path finding (sys.path.insert(0, 'tools'), the only relative insert in tests/; verified still present on current main): the file imports rdna2spirv only when the cwd is the repo root, ModuleNotFoundError from anywhere else, and it is the one ImportError in run_semantic_tests.py tests runs. One-line fix to the __file__-derived path the neighbouring test files use, verified from the repo root and from an unrelated cwd, plus CI's python -I tests/test_mesh_alloc_single_writer.py shape. CPU-only, Linux-native, no game files. AI-assisted.

<!-- gh-comment-id:7147817177 --> @thiefyzheng commented on GitHub (Nov 25, 2026): claiming: TEST-MESHALLOC-SYSPATH — the `tests/test_mesh_alloc_single_writer.py:5` relative sys.path finding (`sys.path.insert(0, 'tools')`, the only relative insert in tests/; verified still present on current main): the file imports `rdna2spirv` only when the cwd is the repo root, `ModuleNotFoundError` from anywhere else, and it is the one ImportError in `run_semantic_tests.py tests` runs. One-line fix to the `__file__`-derived path the neighbouring test files use, verified from the repo root and from an unrelated cwd, plus CI's `python -I tests/test_mesh_alloc_single_writer.py` shape. CPU-only, Linux-native, no game files. AI-assisted.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: PC-TAIL-SKIP-GUARD -> PR https://github.com/ubiquitarianism/leonida/pull/1419 (Depends on: #1341; reviewer-approved; AMD iGPU skip_compute tests now SKIP, NVIDIA still pass).

<!-- gh-comment-id:7147817647 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: PC-TAIL-SKIP-GUARD -> PR https://github.com/ubiquitarianism/leonida/pull/1419 (Depends on: #1341; reviewer-approved; AMD iGPU skip_compute tests now SKIP, NVIDIA still pass).
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

done: D3D-132 -> #1420

<!-- gh-comment-id:7147827302 --> @PyZikYG commented on GitHub (Nov 25, 2026): done: D3D-132 -> #1420
Author
Owner

@thesubtleties commented on GitHub (Nov 25, 2026):

Hardware follow-up to my finding and correction above: on gfx1036 (tools/hw_oracle), all 21 leftover programs, including the six with a hypothesis op, match the fuzzer's model. The minimal case gives 0xfffffdff in every lane. One chip; the console is a custom RDNA2. AI-assisted (Claude Code)

<!-- gh-comment-id:7147849877 --> @thesubtleties commented on GitHub (Nov 25, 2026): Hardware follow-up to my finding and correction above: on gfx1036 (`tools/hw_oracle`), all 21 leftover programs, including the six with a hypothesis op, match the fuzzer's model. The minimal case gives `0xfffffdff` in every lane. One chip; the console is a custom RDNA2. AI-assisted (Claude Code)
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

done: TEST-MESHALLOC-SYSPATH -> #1421

One-line fix: tests/test_mesh_alloc_single_writer.py now inserts tools on sys.path derived from __file__ (the neighbouring tests' idiom) instead of the cwd-relative 'tools', so the rdna2spirv import no longer requires the repository root as the working directory. Verified before (ModuleNotFoundError from any non-root cwd) and after (the file passes from both cwd shapes, and via python -m unittest); check_no_game_data clean; not run on Windows (no platform-specific behavior — pure os.path). The finding was @GTAVIB4GTAVI's. Docs of the failing shape (run_semantic_tests.py:117 cwd) as posted there. AI-assisted.

<!-- gh-comment-id:7147856772 --> @thiefyzheng commented on GitHub (Nov 25, 2026): done: TEST-MESHALLOC-SYSPATH -> #1421 One-line fix: `tests/test_mesh_alloc_single_writer.py` now inserts `tools` on sys.path derived from `__file__` (the neighbouring tests' idiom) instead of the cwd-relative `'tools'`, so the `rdna2spirv` import no longer requires the repository root as the working directory. Verified before (ModuleNotFoundError from any non-root cwd) and after (the file passes from both cwd shapes, and via `python -m unittest`); `check_no_game_data` clean; not run on Windows (no platform-specific behavior — pure os.path). The finding was @GTAVIB4GTAVI's. Docs of the failing shape (run_semantic_tests.py:117 cwd) as posted there. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: BCPACK-TOOL-HARDENING — single-pass profile_stream, refuse overwriting --history (file or <dir>/<codec>.json), fix trailing-slash --history error attribution, atomic staged output publishing, and CLI handling for BcpackUnsupportedCodec in tools/bcpack_tool.py.

<!-- gh-comment-id:7147866956 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: BCPACK-TOOL-HARDENING — single-pass `profile_stream`, refuse overwriting `--history` (file or `<dir>/<codec>.json`), fix trailing-slash `--history` error attribution, atomic staged output publishing, and CLI handling for `BcpackUnsupportedCodec` in `tools/bcpack_tool.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: BCPACK-TOOL-HARDENING -> #1422

<!-- gh-comment-id:7147867631 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: BCPACK-TOOL-HARDENING -> #1422
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

done: CTEST-XDXR-CHECK-TIMEOUT -> #1424

<!-- gh-comment-id:7147891804 --> @Anonymous78e commented on GitHub (Nov 25, 2026): done: CTEST-XDXR-CHECK-TIMEOUT -> #1424
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

PR for SHADER-CODEBASE-PAIRS opened: https://github.com/ubiquitarianism/leonida/pull/1423 — tools/pso_code_base_pairs.py plus the doc lines, the measured counts from the claim above (0 of 25,471 graphics PSOs with two code-base stages), and 9 synthetic tests. No game data in the commit; scripts/check_no_game_data.py clean on every file in it. The five finding: comments here cover all 42 files the suite runner reports red on a clean Windows checkout; none of them is changed by that pull request.

<!-- gh-comment-id:7147893276 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): PR for SHADER-CODEBASE-PAIRS opened: https://github.com/ubiquitarianism/leonida/pull/1423 — `tools/pso_code_base_pairs.py` plus the doc lines, the measured counts from the claim above (0 of 25,471 graphics PSOs with two code-base stages), and 9 synthetic tests. No game data in the commit; `scripts/check_no_game_data.py` clean on every file in it. The five `finding:` comments here cover all 42 files the suite runner reports red on a clean Windows checkout; none of them is changed by that pull request.
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

claiming: SHADER-COMPUTED-IJ-NO-PERVERTEX — #1285. A GPU without PerVertexKHR inputs (no fragmentShaderBarycentric, geometry shaders present) makes make_game.py turn on only --f16-interp-fallback, and tools/rdna2spirv.py then refuses every computed I/J pair, so the shaders stage stops at 26296 of 26503. Draft #120 (old PR 9855) is the translator half and no longer merges. I will rebase that behaviour onto current main and select --bary-fallback for a geometry-capable GPU that cannot take PerVertexKHR inputs. No game files: tests/semantic and the make_game unit tests. The RX 5700 XT run stays the report in #1285.

<!-- gh-comment-id:7147910401 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): claiming: SHADER-COMPUTED-IJ-NO-PERVERTEX — #1285. A GPU without PerVertexKHR inputs (no fragmentShaderBarycentric, geometry shaders present) makes make_game.py turn on only --f16-interp-fallback, and tools/rdna2spirv.py then refuses every computed I/J pair, so the shaders stage stops at 26296 of 26503. Draft #120 (old PR 9855) is the translator half and no longer merges. I will rebase that behaviour onto current main and select --bary-fallback for a geometry-capable GPU that cannot take PerVertexKHR inputs. No game files: tests/semantic and the make_game unit tests. The RX 5700 XT run stays the report in #1285.
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

done: TEST-WIN-PERMERR-REPR -> #1425

One-line fix per test file (world_names/bink_names/opus_tags): the unreadable-directory assertions compare repr(blocked) — how str(OSError) actually renders the filename — instead of the plain path, which could never match on Windows (doubled backslashes) though Linux never noticed. Reproduced before: exactly one named failure per file (31/36/28 tests) on Windows 11; after: all OK; Linux unchanged before and after. The tool-side alternative (print the path unquoted) is noted in the PR for reviewers. @GTAVIB4GTAVI's finding. AI-assisted.

<!-- gh-comment-id:7147959534 --> @thiefyzheng commented on GitHub (Nov 25, 2026): done: TEST-WIN-PERMERR-REPR -> #1425 One-line fix per test file (world_names/bink_names/opus_tags): the unreadable-directory assertions compare `repr(blocked)` — how `str(OSError)` actually renders the filename — instead of the plain path, which could never match on Windows (doubled backslashes) though Linux never noticed. Reproduced before: exactly one named failure per file (31/36/28 tests) on Windows 11; after: all OK; Linux unchanged before and after. The tool-side alternative (print the path unquoted) is noted in the PR for reviewers. @GTAVIB4GTAVI's finding. AI-assisted.
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

claiming: TEST-GPU-TIMEOUT-QUICK-LOAD - tests/test_gpu_test_timeout.py HungProgram.test_quick_program_is_unaffected runs a quick python -c "print('ok')" child under the 0.5 s limit the hang cases use, and starting a Python child alone can take longer than that on a loaded Windows host, so the quick program is killed and the test fails for the wrong reason: 3 of 10 runs failed on main 6fe83805a on Windows 11 with the CPU saturated, (1, 'timed out after 0.5 s: python.exe was killed ...'); it passes alone. Not one of the three in the parallel-load finding above. Fix: that one test runs under a generous limit (still a limit), the hang cases keep 0.5 s. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7147985597 --> @Anonymous78e commented on GitHub (Nov 25, 2026): claiming: TEST-GPU-TIMEOUT-QUICK-LOAD - `tests/test_gpu_test_timeout.py` `HungProgram.test_quick_program_is_unaffected` runs a quick `python -c "print('ok')"` child under the 0.5 s limit the hang cases use, and starting a Python child alone can take longer than that on a loaded Windows host, so the quick program is killed and the test fails for the wrong reason: 3 of 10 runs failed on `main` 6fe83805a on Windows 11 with the CPU saturated, `(1, 'timed out after 0.5 s: python.exe was killed ...')`; it passes alone. Not one of the three in the parallel-load finding above. Fix: that one test runs under a generous limit (still a limit), the hang cases keep 0.5 s. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

claiming: RT-PALMETTO-PARITY - one integration branch that brings in what luizwidmer/palmetto (a GPL-3.0 rebrand of this project that reports a 300 s boot with frames presented) has and main lacks, without rewriting anything claimed here:

  • merges #984 (RT-PROTON-STORY-LOAD, Moriz82) onto current main with its conflicts resolved and its commits and author kept (Depends on: #984)
  • merges the open translator decode PRs that still apply, each with its own author kept
  • ports from palmetto, credited, only the parts nobody here has claimed: the widened SMEM decode (s_buffer_load_dwordx8 destinations past the SGPR file that currently show up as undecodable words in the FidelityFX programs), its measurement notes (scrubbed of any game bytes, addresses or disassembly), and tools/boot_report.py / tools/run_report.py

Not included, because they are already claimed; I will post palmetto's version of each as a finding: for its owner:

  • slot-57 graphics PSO (RT-SLOT57-NATIVE-GRAPHICS-PSO)
  • title-VA rebasing (RT-TITLE-RESERVATION-ARENA / RT-TITLE-HOST-REGION)
  • crash stacks (RT-CRASH-STACK)
  • startup trace (RT-STARTUP-TRACE)

No game data. Tested with the runtime ctest suite and the translator suite on Windows. AI-assisted (Claude Code).

<!-- gh-comment-id:7148001600 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): claiming: RT-PALMETTO-PARITY - one integration branch that brings in what `luizwidmer/palmetto` (a GPL-3.0 rebrand of this project that reports a 300 s boot with frames presented) has and `main` lacks, without rewriting anything claimed here: - merges #984 (RT-PROTON-STORY-LOAD, Moriz82) onto current `main` with its conflicts resolved and its commits and author kept (`Depends on: #984`) - merges the open translator decode PRs that still apply, each with its own author kept - ports from palmetto, credited, only the parts nobody here has claimed: the widened SMEM decode (`s_buffer_load_dwordx8` destinations past the SGPR file that currently show up as undecodable words in the FidelityFX programs), its measurement notes (scrubbed of any game bytes, addresses or disassembly), and `tools/boot_report.py` / `tools/run_report.py` Not included, because they are already claimed; I will post palmetto's version of each as a `finding:` for its owner: - slot-57 graphics PSO (RT-SLOT57-NATIVE-GRAPHICS-PSO) - title-VA rebasing (RT-TITLE-RESERVATION-ARENA / RT-TITLE-HOST-REGION) - crash stacks (RT-CRASH-STACK) - startup trace (RT-STARTUP-TRACE) No game data. Tested with the runtime ctest suite and the translator suite on Windows. AI-assisted (Claude Code).
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

finding: luizwidmer/palmetto (GPL-3.0) has a working slot-57 record → D3D12 graphics PSO backend that reports all 10,241 graphics records built with 0 refusals, plus 41,545 derived pipelines (for RT-SLOT57-NATIVE-GRAPHICS-PSO, @Rain156)

  • Where: port/src/graphics_record.{h,cpp} decodes the record, and port/src/graphics_pso.{h,cpp} resolves native stages by the program's SHA-256 (the same key as slot 67) and builds the desc. Its tests are port/test/graphics_{pso,record}_test.cpp (synthetic). Notes: docs/graphics_pso.md, graphics_record.md, slot57_wiring.md, input_layout.md, state_blob.md. Palmetto renamed runtime/→port/ and LEONIDA_→PALMETTO_.
  • Why it matters: this is the piece between our slot-57 index (#497) and real graphics pipelines. Its fixed-function state blob is still undecoded and stood in by a documented default set, so check that assumption.
  • Needs: no game files for the unit tests; the retail package for the pipeline counts.

Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).

<!-- gh-comment-id:7148008268 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): finding: luizwidmer/palmetto (GPL-3.0) has a working slot-57 record → D3D12 graphics PSO backend that reports all 10,241 graphics records built with 0 refusals, plus 41,545 derived pipelines (for RT-SLOT57-NATIVE-GRAPHICS-PSO, @Rain156) - Where: [`port/src/graphics_record.{h,cpp}`](https://github.com/luizwidmer/palmetto/blob/318723d5e/port/src/graphics_record.cpp) decodes the record, and [`port/src/graphics_pso.{h,cpp}`](https://github.com/luizwidmer/palmetto/blob/318723d5e/port/src/graphics_pso.cpp) resolves native stages by the program's SHA-256 (the same key as slot 67) and builds the desc. Its tests are `port/test/graphics_{pso,record}_test.cpp` (synthetic). Notes: `docs/graphics_pso.md`, `graphics_record.md`, `slot57_wiring.md`, `input_layout.md`, `state_blob.md`. Palmetto renamed `runtime/`→`port/` and `LEONIDA_`→`PALMETTO_`. - Why it matters: this is the piece between our slot-57 index (#497) and real graphics pipelines. Its fixed-function state blob is still undecoded and stood in by a documented default set, so check that assumption. - Needs: no game files for the unit tests; the retail package for the pipeline counts. Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

finding: luizwidmer/palmetto rebases title VAs into the GPU arena with one map (for RT-TITLE-RESERVATION-ARENA / RT-TITLE-HOST-REGION, @roanh47)

  • Where: port/src/console_va_map.h. It keeps an arena stand-in per title range for the slot-133 pages and the slot-14 console descriptor heaps. Command arguments translate through buffer_at, and shader-visible copies are rewritten: rebase_user_data in port/src/vulkan_replay.h does the root and table VAs, and patch_descriptor_bases does the 48-bit V# bases in the heap mirror. Anything unplaced refuses the draw. Notes: docs/page_address_space.md, docs/replay_resolution.md.
  • Why it matters: palmetto credits this with getting 0 refused submissions in its frame loop. It is an alternative design to importing the host region, so it is worth comparing before either lands.
  • Needs: the retail package to measure; a GPU.

Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).

<!-- gh-comment-id:7148008511 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): finding: luizwidmer/palmetto rebases title VAs into the GPU arena with one map (for RT-TITLE-RESERVATION-ARENA / RT-TITLE-HOST-REGION, @roanh47) - Where: [`port/src/console_va_map.h`](https://github.com/luizwidmer/palmetto/blob/318723d5e/port/src/console_va_map.h). It keeps an arena stand-in per title range for the slot-133 pages and the slot-14 console descriptor heaps. Command arguments translate through `buffer_at`, and shader-visible copies are rewritten: `rebase_user_data` in `port/src/vulkan_replay.h` does the root and table VAs, and `patch_descriptor_bases` does the 48-bit V# bases in the heap mirror. Anything unplaced refuses the draw. Notes: `docs/page_address_space.md`, `docs/replay_resolution.md`. - Why it matters: palmetto credits this with getting 0 refused submissions in its frame loop. It is an alternative design to importing the host region, so it is worth comparing before either lands. - Needs: the retail package to measure; a GPU. Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

finding: luizwidmer/palmetto has an x64 unwinder for crash reports in mapped title code (for RT-CRASH-STACK, #994, @roanh47)

  • Where: port/src/crash_unwind.{h,cpp}, with a synthetic test at port/test/crash_unwind_test.cpp and notes in docs/crash_report.md. It walks the image's own .pdata/UNWIND_INFO for frames in the mapped executable.
  • Why it matters: it may fill frames that a host RtlVirtualUnwind misses for an image the Windows loader does not know about, so compare it with #994.
  • Needs: no game files for its unit test.

Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).

<!-- gh-comment-id:7148008793 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): finding: luizwidmer/palmetto has an x64 unwinder for crash reports in mapped title code (for RT-CRASH-STACK, #994, @roanh47) - Where: [`port/src/crash_unwind.{h,cpp}`](https://github.com/luizwidmer/palmetto/blob/318723d5e/port/src/crash_unwind.cpp), with a synthetic test at `port/test/crash_unwind_test.cpp` and notes in `docs/crash_report.md`. It walks the image's own `.pdata`/`UNWIND_INFO` for frames in the mapped executable. - Why it matters: it may fill frames that a host `RtlVirtualUnwind` misses for an image the Windows loader does not know about, so compare it with #994. - Needs: no game files for its unit test. Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

finding: luizwidmer/palmetto's startup trace is about 620 lines longer than ours (for RT-STARTUP-TRACE, @Moriz82)

  • Where: port/shims/startup_trace.h. Palmetto's PALMETTO_* env vars correspond to our LEONIDA_*.
  • Why it matters: it may overlap or extend the access-violation region event and the successful-open events you claimed. Check it before finishing, so the two don't diverge.
  • Needs: none to read it.

Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).

<!-- gh-comment-id:7148009096 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): finding: luizwidmer/palmetto's startup trace is about 620 lines longer than ours (for RT-STARTUP-TRACE, @Moriz82) - Where: [`port/shims/startup_trace.h`](https://github.com/luizwidmer/palmetto/blob/318723d5e/port/shims/startup_trace.h). Palmetto's `PALMETTO_*` env vars correspond to our `LEONIDA_*`. - Why it matters: it may overlap or extend the access-violation region event and the successful-open events you claimed. Check it before finishing, so the two don't diverge. - Needs: none to read it. Not taken into RT-PALMETTO-PARITY because this item is yours. AI-assisted (Claude Code).
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

done: SHADER-COMPUTED-IJ-NO-PERVERTEX -> #1426

<!-- gh-comment-id:7148012384 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): done: SHADER-COMPUTED-IJ-NO-PERVERTEX -> #1426
Author
Owner

@akimfomin commented on GitHub (Nov 25, 2026):

finding: vk_pipeline_check can leave later small modules queued when spare workers claim large modules and then wait for memory-budget admission. The index claim still precedes admission on current main.

In a CPU-only fixture using the production worker-selection and gate statements, the baseline waited first. The local draft started the later small module first, then resumed the deferred large one after capacity returned. The available-budget, disabled-gate, and exclusive-mode controls passed on both builds. The Windows checker builds. Driver throughput and peak memory remain unmeasured.

Reviewed patch, fixtures and reproduction. PortBridge helped trace related work in #636, #1391, and #1209. The draft changes the in-process admission order. AI-assisted with Codex.

<!-- gh-comment-id:7148018607 --> @akimfomin commented on GitHub (Nov 25, 2026): finding: `vk_pipeline_check` can leave later small modules queued when spare workers claim large modules and then wait for memory-budget admission. The index claim still precedes admission on [current main](https://github.com/ubiquitarianism/leonida/blob/6fe83805a9bf0a1f31651151e38ed8e2f24d75d1/runtime/test/vk_pipeline_check.cpp#L1583-L1642). In a CPU-only fixture using the production worker-selection and gate statements, the baseline waited first. The local draft started the later small module first, then resumed the deferred large one after capacity returned. The available-budget, disabled-gate, and exclusive-mode controls passed on both builds. The Windows checker builds. Driver throughput and peak memory remain unmeasured. [Reviewed patch, fixtures and reproduction](https://github.com/akimfomin/PortBridge/blob/c2ee43153145168e49d00a1d7bf022aefda885c5/research/continued-pipeline-admission/README.md). [PortBridge](https://github.com/akimfomin/PortBridge) helped trace related work in #636, #1391, and #1209. The draft changes the in-process admission order. AI-assisted with Codex.
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

claiming: D3D-TESSELLATION — accept Vulkan-backed hull and domain shader pairs in D3D12 graphics PSOs and replay the IA patch control-point count using pipeline variants. Scope is runtime support for SPIR-V hull/domain modules. AI-assisted.

<!-- gh-comment-id:7148029096 --> @PyZikYG commented on GitHub (Nov 25, 2026): claiming: D3D-TESSELLATION — accept Vulkan-backed hull and domain shader pairs in D3D12 graphics PSOs and replay the IA patch control-point count using pipeline variants. Scope is runtime support for SPIR-V hull/domain modules. AI-assisted.
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

done: TEST-GPU-TIMEOUT-QUICK-LOAD -> #1427

<!-- gh-comment-id:7148047324 --> @Anonymous78e commented on GitHub (Nov 25, 2026): done: TEST-GPU-TIMEOUT-QUICK-LOAD -> #1427
Author
Owner

@abdoulaahmad commented on GitHub (Nov 25, 2026):

done: Make the parallel semantic test runner honor package-level load_tests hooks -> #1406

<!-- gh-comment-id:7148068444 --> @abdoulaahmad commented on GitHub (Nov 25, 2026): done: Make the parallel semantic test runner honor package-level load_tests hooks -> #1406
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-SHORT-XCHG-MOVNTI — fix short-form xchg rAX, r (0x91..0x97, plus 41 90/66 41 90 width compatibility with #847) decoding from Oq Oq to Ov Av, and fix movnti (0F C3) 32/64-bit width (66 ignored) and emission in tools/x64_recomp.py.

<!-- gh-comment-id:7148077012 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-SHORT-XCHG-MOVNTI — fix short-form `xchg rAX, r` (`0x91..0x97`, plus `41 90`/`66 41 90` width compatibility with #847) decoding from `Oq Oq` to `Ov Av`, and fix `movnti` (`0F C3`) 32/64-bit width (`66` ignored) and emission in `tools/x64_recomp.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-SHORT-XCHG-MOVNTI -> #1428

<!-- gh-comment-id:7148077866 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: X64-RECOMP-SHORT-XCHG-MOVNTI -> #1428
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

claiming: BINK-INDEX-SHARED-REPORT-PATH — tools/bink_index.py same_output_path uses os.path.normcase, which does not fold case on macOS. A not-yet-created

/index.json and the same path with a different case of the directory are one file on APFS, so --out is accepted and would write the carve manifest. No game files. tests/test_bink_index.py.

claiming: MESHLET-PAGE-SHARED-REPORT-PATH — tools/meshlet_page.py same_output_path has the same normcase gap, so --json can be the carve folder's index.json under another case spelling. No game files. tests/test_meshlet_page.py.

<!-- gh-comment-id:7148142338 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): claiming: BINK-INDEX-SHARED-REPORT-PATH — tools/bink_index.py same_output_path uses os.path.normcase, which does not fold case on macOS. A not-yet-created <dir>/index.json and the same path with a different case of the directory are one file on APFS, so --out is accepted and would write the carve manifest. No game files. tests/test_bink_index.py. claiming: MESHLET-PAGE-SHARED-REPORT-PATH — tools/meshlet_page.py same_output_path has the same normcase gap, so --json can be the carve folder's index.json under another case spelling. No game files. tests/test_meshlet_page.py.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: BVH-GEOMETRY-CHECK-NAN-INF-GEOM — fix NaN/non-finite leaf and scene bounds bypassing check_bounds(), fix infinite child-bound tolerance blow-up in check_overrides(), validate --geom syntax and --json directory early, and emit strict RFC 8259 JSON (allow_nan=False) in tools/bvh_geometry_check.py.

<!-- gh-comment-id:7148142721 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: BVH-GEOMETRY-CHECK-NAN-INF-GEOM — fix NaN/non-finite leaf and scene bounds bypassing `check_bounds()`, fix infinite child-bound tolerance blow-up in `check_overrides()`, validate `--geom` syntax and `--json` directory early, and emit strict RFC 8259 JSON (`allow_nan=False`) in `tools/bvh_geometry_check.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: BVH-GEOMETRY-CHECK-NAN-INF-GEOM -> #1429

<!-- gh-comment-id:7148143459 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: BVH-GEOMETRY-CHECK-NAN-INF-GEOM -> #1429
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

done: BINK-INDEX-SHARED-REPORT-PATH -> #1430
done: MESHLET-PAGE-SHARED-REPORT-PATH -> #1431

<!-- gh-comment-id:7148163404 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): done: BINK-INDEX-SHARED-REPORT-PATH -> #1430 done: MESHLET-PAGE-SHARED-REPORT-PATH -> #1431
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

done: D3D-TESSELLATION -> #1432

<!-- gh-comment-id:7148202134 --> @PyZikYG commented on GitHub (Nov 25, 2026): done: D3D-TESSELLATION -> #1432
Author
Owner

@titoreinaldo commented on GitHub (Nov 25, 2026):

claiming: SEMANTIC-RUNNER-COMPLETION — make scripts/run_semantic_tests.py fail when a unittest subprocess exits 0 before reporting completion. Reproduced on main 1154976d with a passing synthetic module alongside a module that terminates during import: the runner reports success with both -j 1 and -j 2 even though the suite did not finish. This is separate from #1051 (nonzero exit diagnostics) and #1406 (load_tests discovery). CPU-only; no game data or GPU. AI-assisted.

<!-- gh-comment-id:7148212498 --> @titoreinaldo commented on GitHub (Nov 25, 2026): claiming: SEMANTIC-RUNNER-COMPLETION — make scripts/run_semantic_tests.py fail when a unittest subprocess exits 0 before reporting completion. Reproduced on main 1154976d with a passing synthetic module alongside a module that terminates during import: the runner reports success with both -j 1 and -j 2 even though the suite did not finish. This is separate from #1051 (nonzero exit diagnostics) and #1406 (load_tests discovery). CPU-only; no game data or GPU. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: GLB-SKINNING-BBOX-VALIDATION-ATOMIC — fix partial-axis non-finite _bbox() returning ±inf (breaking write_json(..., allow_nan=False)), reject leading-zero JOINTS_00/WEIGHTS_01 keys, reject byteOffset > view_length on count == 0 accessors, reject normalized: true on inverseBindMatrices, and publish --json atomically in tools/glb_skinning.py.

<!-- gh-comment-id:7148214815 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: GLB-SKINNING-BBOX-VALIDATION-ATOMIC — fix partial-axis non-finite `_bbox()` returning `±inf` (breaking `write_json(..., allow_nan=False)`), reject leading-zero `JOINTS_00`/`WEIGHTS_01` keys, reject `byteOffset > view_length` on `count == 0` accessors, reject `normalized: true` on `inverseBindMatrices`, and publish `--json` atomically in `tools/glb_skinning.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: GLB-SKINNING-BBOX-VALIDATION-ATOMIC -> #1433

<!-- gh-comment-id:7148215511 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: GLB-SKINNING-BBOX-VALIDATION-ATOMIC -> #1433
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

claiming: SKIN-STREAMS-SHARED-REPORT-PATH — tools/skin_streams.py same_output_path uses os.path.normcase, which does not fold case on macOS, and os.path.samefile, which cannot see a report that has not been created. Two spellings of one not-yet-created path are the same file on APFS. No game files. tests/test_skin_streams.py. fragment_children.py calls this function, so it keeps the name.

claiming: INSTANCE-LISTS-SHARED-REPORT-PATH — tools/instance_lists.py same_output_path has the same normcase gap. No game files. tests/test_instance_lists.py.

<!-- gh-comment-id:7148220483 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): claiming: SKIN-STREAMS-SHARED-REPORT-PATH — tools/skin_streams.py same_output_path uses os.path.normcase, which does not fold case on macOS, and os.path.samefile, which cannot see a report that has not been created. Two spellings of one not-yet-created path are the same file on APFS. No game files. tests/test_skin_streams.py. fragment_children.py calls this function, so it keeps the name. claiming: INSTANCE-LISTS-SHARED-REPORT-PATH — tools/instance_lists.py same_output_path has the same normcase gap. No game files. tests/test_instance_lists.py.
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

done: SKIN-STREAMS-SHARED-REPORT-PATH -> #1434
done: INSTANCE-LISTS-SHARED-REPORT-PATH -> #1435

<!-- gh-comment-id:7148232891 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): done: SKIN-STREAMS-SHARED-REPORT-PATH -> #1434 done: INSTANCE-LISTS-SHARED-REPORT-PATH -> #1435
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

claiming: PE-INSPECT-SHARED-REPORT-PATH - tools/pe_inspect.py:485 carries a private same_output_path (realpath + normcase + samefile), used at :546 and :549 to keep a report from overwriting another one; CONTRIBUTING asks report writers to use tools/report_paths.same_report_path. Same change as the other *-SHARED-REPORT-PATH pull requests (#1430, #1435): import it and keep same_output_path as its alias, plus a test for a case-only spelling of a missing report. Not in any open pull request. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7148263980 --> @Anonymous78e commented on GitHub (Nov 25, 2026): claiming: PE-INSPECT-SHARED-REPORT-PATH - `tools/pe_inspect.py:485` carries a private `same_output_path` (realpath + normcase + samefile), used at :546 and :549 to keep a report from overwriting another one; CONTRIBUTING asks report writers to use `tools/report_paths.same_report_path`. Same change as the other *-SHARED-REPORT-PATH pull requests (#1430, #1435): import it and keep `same_output_path` as its alias, plus a test for a case-only spelling of a missing report. Not in any open pull request. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

done: PE-INSPECT-SHARED-REPORT-PATH -> #1436

<!-- gh-comment-id:7148289551 --> @Anonymous78e commented on GitHub (Nov 25, 2026): done: PE-INSPECT-SHARED-REPORT-PATH -> #1436
Author
Owner

@hugo0024 commented on GitHub (Nov 25, 2026):

claiming: TEST-BUILD-TEXT-ONLY - runtime/test/shaders/build.py takes a text-only fixture's lines as its listing, as scripts/run_gpu_tests.py does. Since #957 (cs_dpp_cmp.asm, which llvm-mc cannot assemble for gfx1013) build.py with no names stops with 'cs_dpp_cmp.asm did not assemble' and publishes nothing, so check.py reports 0 of 226 and w64_graphics.py finds no module; reproduced on main 1154976d4 with llvm-mc 23.1.6. build.py only: run_gpu_tests.py keeps its marker line (#1375 checks for it), and a test holds the two to the same text. With a standard-library unit test.

<!-- gh-comment-id:7148298254 --> @hugo0024 commented on GitHub (Nov 25, 2026): claiming: TEST-BUILD-TEXT-ONLY - runtime/test/shaders/build.py takes a text-only fixture's lines as its listing, as scripts/run_gpu_tests.py does. Since #957 (cs_dpp_cmp.asm, which llvm-mc cannot assemble for gfx1013) build.py with no names stops with 'cs_dpp_cmp.asm did not assemble' and publishes nothing, so check.py reports 0 of 226 and w64_graphics.py finds no module; reproduced on main 1154976d4 with llvm-mc 23.1.6. build.py only: run_gpu_tests.py keeps its marker line (#1375 checks for it), and a test holds the two to the same text. With a standard-library unit test.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: GLB-WRITER-VALIDATION-HARDENING — reject non-finite JSON / RecursionError / boolean bufferViews[].buffer in read_glb_summary(), fix build_instanced_glb() transform validation & scale-determinant underflow / quaternion norm overflow / bounds overflow, reject empty/boolean inputs in pack_primitive() and _parse_base_color_factor(), and use same_report_path + early directory check in tools/glb_writer.py.

<!-- gh-comment-id:7148306724 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: GLB-WRITER-VALIDATION-HARDENING — reject non-finite JSON / `RecursionError` / boolean `bufferViews[].buffer` in `read_glb_summary()`, fix `build_instanced_glb()` transform validation & scale-determinant underflow / quaternion norm overflow / bounds overflow, reject empty/boolean inputs in `pack_primitive()` and `_parse_base_color_factor()`, and use `same_report_path` + early directory check in `tools/glb_writer.py`.
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

claiming: D3D-PREDICATED-COPY-RESOURCE — honor SetPredication for buffer-to-buffer CopyResource using the existing GPU predicated copy path, including readback visibility and pipeline statistics. AI-assisted.

<!-- gh-comment-id:7148306735 --> @PyZikYG commented on GitHub (Nov 25, 2026): claiming: D3D-PREDICATED-COPY-RESOURCE — honor SetPredication for buffer-to-buffer CopyResource using the existing GPU predicated copy path, including readback visibility and pipeline statistics. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: GLB-WRITER-VALIDATION-HARDENING -> #1438

<!-- gh-comment-id:7148307521 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: GLB-WRITER-VALIDATION-HARDENING -> #1438
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

claiming: TEST-CMAKE-BATCH-CLEANUP - part (3) of GTAVIB4GTAVI's parallel-load finding (#issuecomment-7147794650), unclaimed: tests/test_build_runtime_cmake.py:96 builds each case in tempfile.TemporaryDirectory(dir=self.base), and when Windows still holds the recorder.exe the case ran, the cleanup's PermissionError: [WinError 5] replaces the case's own result. The per-case and the class temp folders get ignore_cleanup_errors=True so the assertion stays in charge. Parts (1) and (2) are already #1410 and #1002. No game files, no GPU; Windows 11. AI-assisted (Claude Code).

<!-- gh-comment-id:7148310075 --> @Anonymous78e commented on GitHub (Nov 25, 2026): claiming: TEST-CMAKE-BATCH-CLEANUP - part (3) of GTAVIB4GTAVI's parallel-load finding (#issuecomment-7147794650), unclaimed: `tests/test_build_runtime_cmake.py:96` builds each case in `tempfile.TemporaryDirectory(dir=self.base)`, and when Windows still holds the `recorder.exe` the case ran, the cleanup's `PermissionError: [WinError 5]` replaces the case's own result. The per-case and the class temp folders get `ignore_cleanup_errors=True` so the assertion stays in charge. Parts (1) and (2) are already #1410 and #1002. No game files, no GPU; Windows 11. AI-assisted (Claude Code).
Author
Owner

@titoreinaldo commented on GitHub (Nov 25, 2026):

done: SEMANTIC-RUNNER-COMPLETION -> #1437

<!-- gh-comment-id:7148312918 --> @titoreinaldo commented on GitHub (Nov 25, 2026): done: SEMANTIC-RUNNER-COMPLETION -> #1437
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

done: TEST-CMAKE-BATCH-CLEANUP -> #1439

<!-- gh-comment-id:7148332785 --> @Anonymous78e commented on GitHub (Nov 25, 2026): done: TEST-CMAKE-BATCH-CLEANUP -> #1439
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

claiming: SEMANTIC-RUNNER-WRONG-FOLDER - GTAVIB4GTAVI's finding (#issuecomment-7147793888), unclaimed: scripts/run_semantic_tests.py tests (the parent folder instead of tests/semantic) runs the whole tests/ tree through unittest and reports 36 failed files that CI runs under pytest or as scripts, not through this runner. The runner will refuse the repository's tests folder with a message naming tests/semantic and .github/workflows/ci.yml, instead of reporting false failures; every documented and CI call passes tests/semantic and is unchanged. Small, separate from #1051. No game files, no GPU. AI-assisted (Claude Code).

<!-- gh-comment-id:7148344085 --> @Anonymous78e commented on GitHub (Nov 25, 2026): claiming: SEMANTIC-RUNNER-WRONG-FOLDER - GTAVIB4GTAVI's finding (#issuecomment-7147793888), unclaimed: `scripts/run_semantic_tests.py tests` (the parent folder instead of `tests/semantic`) runs the whole `tests/` tree through unittest and reports 36 failed files that CI runs under pytest or as scripts, not through this runner. The runner will refuse the repository's `tests` folder with a message naming `tests/semantic` and `.github/workflows/ci.yml`, instead of reporting false failures; every documented and CI call passes `tests/semantic` and is unchanged. Small, separate from #1051. No game files, no GPU. AI-assisted (Claude Code).
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

claiming: MANIFEST-WALK-CASE-EXCLUDE — tools/manifest.py walk() excludes the manifest with os.path.normcase(os.path.realpath()), which keeps the typed case on macOS. A folder created as Game and --out game/MANIFEST.json are one file on APFS, so the next create treats the manifest as an input and refuses to replace it, and verify lists it as NEW. No game files. tests/test_manifest.py.

<!-- gh-comment-id:7148360501 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): claiming: MANIFEST-WALK-CASE-EXCLUDE — tools/manifest.py walk() excludes the manifest with os.path.normcase(os.path.realpath()), which keeps the typed case on macOS. A folder created as Game and --out game/MANIFEST.json are one file on APFS, so the next create treats the manifest as an input and refuses to replace it, and verify lists it as NEW. No game files. tests/test_manifest.py.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: BARY-FALLBACK-GS-VALIDATION-ATOMIC — validate input locations in gs_spvasm(), reject shader-name path traversal and malformed capabilities/inputs/bary_fallback_input fields in _helpers_for_index(), accept UTF-8 BOM index.json, and publish write_for_index() atomically in tools/bary_fallback_gs.py.

<!-- gh-comment-id:7148369881 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: BARY-FALLBACK-GS-VALIDATION-ATOMIC — validate input locations in `gs_spvasm()`, reject shader-name path traversal and malformed `capabilities`/`inputs`/`bary_fallback_input` fields in `_helpers_for_index()`, accept UTF-8 BOM `index.json`, and publish `write_for_index()` atomically in `tools/bary_fallback_gs.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: BARY-FALLBACK-GS-VALIDATION-ATOMIC -> #1440

<!-- gh-comment-id:7148370608 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: BARY-FALLBACK-GS-VALIDATION-ATOMIC -> #1440
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

done: MANIFEST-WALK-CASE-EXCLUDE -> #1441

<!-- gh-comment-id:7148376289 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): done: MANIFEST-WALK-CASE-EXCLUDE -> #1441
Author
Owner

@Anonymous78e commented on GitHub (Nov 25, 2026):

done: SEMANTIC-RUNNER-WRONG-FOLDER -> #1442

<!-- gh-comment-id:7148380346 --> @Anonymous78e commented on GitHub (Nov 25, 2026): done: SEMANTIC-RUNNER-WRONG-FOLDER -> #1442
Author
Owner

@tengotengo commented on GitHub (Nov 25, 2026):

claiming: DSTORAGE-FACTORY — XCRDAPI.dll!DStorageGetFactory, the title's sole DStorage import (our round-2 measurement, 7131203523: exactly 1 call site 0x141d8e4f0, the four console DStorage IIDs FactoryX/FileX/StatusArrayX/QueueX1, factory vtable slots 2/4/5/8/10 exercised — CreateQueue1 used, CreateQueue never) cross-referenced with @nullport-re's ABI finding 7146348305 (factory takes a .rdata table slot, not a GUID, + an 8-byte out-slot; NULL/HRESULT → int3). Scope: the runtime/shims/dstorage.cpp shim serving DStorageGetFactory offline, measured against our hash-verified exe (108/108 package, 223,880,932,870 B; findings 7121759577 → 7145871649). Other XCRDAPI/DStorage surfaces (queues, blobs, files) stay open unless claimed.

<!-- gh-comment-id:7148382438 --> @tengotengo commented on GitHub (Nov 25, 2026): claiming: DSTORAGE-FACTORY — XCRDAPI.dll!DStorageGetFactory, the title's sole DStorage import (our round-2 measurement, 7131203523: exactly 1 call site 0x141d8e4f0, the four console DStorage IIDs FactoryX/FileX/StatusArrayX/QueueX1, factory vtable slots 2/4/5/8/10 exercised — CreateQueue1 used, CreateQueue never) cross-referenced with @nullport-re's ABI finding 7146348305 (factory takes a .rdata table slot, not a GUID, + an 8-byte out-slot; NULL/HRESULT → int3). Scope: the runtime/shims/dstorage.cpp shim serving DStorageGetFactory offline, measured against our hash-verified exe (108/108 package, 223,880,932,870 B; findings 7121759577 → 7145871649). Other XCRDAPI/DStorage surfaces (queues, blobs, files) stay open unless claimed.
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

done: D3D-PREDICATED-COPY-RESOURCE -> #1443

<!-- gh-comment-id:7148400815 --> @PyZikYG commented on GitHub (Nov 25, 2026): done: D3D-PREDICATED-COPY-RESOURCE -> #1443
Author
Owner

@hugo0024 commented on GitHub (Nov 25, 2026):

done: TEST-BUILD-TEXT-ONLY -> #1444

<!-- gh-comment-id:7148419247 --> @hugo0024 commented on GitHub (Nov 25, 2026): done: TEST-BUILD-TEXT-ONLY -> #1444
Author
Owner

@djrolfes commented on GitHub (Nov 25, 2026):

finding: #984 has a reproducible additional early Wine stop without breakpoint suppression: a title-side bounded append has 80 bytes left for a 1,728-byte request.

RT-PROTON-3070TI-VALIDATION, ac7c3449d (runtime-identical to 273b3bdf9), Linux/Wine 11.22, RTX 3070 Ti 8 GiB, driver 620.73.04, 32 GiB RAM. Two offline runs with rebuilt branch-matching shaders and predictor stop at the same assertion after 40.735 s / 4,041 presents and 33.576 s / 4,257 presents. Both reach game=3/session=3 before stopping; first scripted input is later than either stop. This is not the older physical-pool fill assertion. Producer/drain semantics are not established and no runtime cause is claimed.

Where: the title exception is recorded through runtime/shims/startup_trace.h:202-245; detailed local measurements and settings are summarized on #984, https://github.com/ubiquitarianism/leonida/pull/984#issuecomment-7148334803. Why it matters: on this host it prevents reaching the loading/streaming gates that #968 addresses. No failed PresentX or device-loss indication recorded; ample RAM/VRAM headroom. Captures are not proof of a working menu: first run 7/7 exactly black, repeat 3/8 non-black. Needs own game files and a Wine/Vulkan-capable machine to reproduce. No assertion skip is being treated as a fix; continuing reduction with earlier ordinary pad input, and coordinating through the existing integration PR rather than duplicating its active rebase. Counts only, all raw data stays local. AI-assisted.

<!-- gh-comment-id:7148431090 --> @djrolfes commented on GitHub (Nov 25, 2026): finding: #984 has a reproducible additional early Wine stop without breakpoint suppression: a title-side bounded append has 80 bytes left for a 1,728-byte request. RT-PROTON-3070TI-VALIDATION, ac7c3449d (runtime-identical to 273b3bdf9), Linux/Wine 11.22, RTX 3070 Ti 8 GiB, driver 620.73.04, 32 GiB RAM. Two offline runs with rebuilt branch-matching shaders and predictor stop at the same assertion after 40.735 s / 4,041 presents and 33.576 s / 4,257 presents. Both reach game=3/session=3 before stopping; first scripted input is later than either stop. This is not the older physical-pool fill assertion. Producer/drain semantics are not established and no runtime cause is claimed. Where: the title exception is recorded through runtime/shims/startup_trace.h:202-245; detailed local measurements and settings are summarized on #984, https://github.com/ubiquitarianism/leonida/pull/984#issuecomment-7148334803. Why it matters: on this host it prevents reaching the loading/streaming gates that #968 addresses. No failed PresentX or device-loss indication recorded; ample RAM/VRAM headroom. Captures are not proof of a working menu: first run 7/7 exactly black, repeat 3/8 non-black. Needs own game files and a Wine/Vulkan-capable machine to reproduce. No assertion skip is being treated as a fix; continuing reduction with earlier ordinary pad input, and coordinating through the existing integration PR rather than duplicating its active rebase. Counts only, all raw data stays local. AI-assisted.
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

done: FSSM-ROOT-LAYOUT-TABLES -> #1445. A parser for each native program's root-layout and used-resource tables, plus a census against the §3.5 hypothesis. Tooling only, with no translator input changed, so no retranslation is needed. The offsets are VIctory's reading and need a census on a real library to confirm: anyone with their own extracted library can run python -I tools/root_layout_census.py <work folder> and post the summary.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7148443053 --> @QemmHD commented on GitHub (Nov 25, 2026): done: FSSM-ROOT-LAYOUT-TABLES -> #1445. A parser for each native program's root-layout and used-resource tables, plus a census against the §3.5 hypothesis. Tooling only, with no translator input changed, so no retranslation is needed. The offsets are VIctory's reading and need a census on a real library to confirm: anyone with their own extracted library can run `python -I tools/root_layout_census.py <work folder>` and post the summary. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@iiiirokuuug-rgb commented on GitHub (Nov 25, 2026):

finding: on a 24 GB host the frame-loop integration (#321) reaches the loop and presents, but every presented frame is a constant zero, and the title's memory growth takes the whole machine down — so the #939 milestone needs more host memory than 24 GB, not just more switches.

Setup: boot/frame-loop-on-main e0d4fd2b + the executable's embedded programs (<shaders>/exe), Intel Arc A770 16 GB, 24 GB RAM, Windows 11 26200, LEONIDA_D3D12=vulkan, retail 1.0.2.1.

Reached:

CreatePipelineState  50,468 ok, 0 failed
PresentX             ok, 221+ frames
per frame            1 ClearRenderTargetView + 1-2 DrawInstanced, 0 Dispatch, 0 copies

LEONIDA_PRESENT_DUMP=<dir>,1 writes every presented frame; all 221 are byte-identical and zero in every channel. Instrumenting the clear path shows the title itself clears to 0 0 0 0 every time, and the present plane is 3840x2160 R8G8B8A8_UNORM, two buffers alternating. So the zero frame is what the title renders at that stage, not a lost present.

Host side, same run: the process holds ~5.8 GB private and ~0.8 GB working set, yet free physical memory falls from 15.8 GB to 2.3 GB in about 150 s, and the frame loop runs at ~0.18 fps with 7.3 cores busy and the GPU at 0.3 %. Twice, letting that continue froze Windows outright (no bugcheck, full-pagefile thrash); a 48 GB page file makes it worse by letting the commit grow further before the machine dies. Nothing here is a code claim — it is what a 24 GB host does.

Two things that may help whoever runs #939 on a small host: the memory is not the process's working set, so a working-set cap/watchdog does not save the machine (the watcher itself starves); and the title ignores WM_CLOSE, so the session pipeline cache is never written unless the run ends some other way, which makes every launch pay the 50 k-pipeline compile again.

No game data quoted; counts, formats and log classes only.

<!-- gh-comment-id:7148443309 --> @iiiirokuuug-rgb commented on GitHub (Nov 25, 2026): finding: on a 24 GB host the frame-loop integration (#321) reaches the loop and presents, but every presented frame is a constant zero, and the title's memory growth takes the whole machine down — so the #939 milestone needs more host memory than 24 GB, not just more switches. Setup: `boot/frame-loop-on-main` `e0d4fd2b` + the executable's embedded programs (`<shaders>/exe`), Intel Arc A770 16 GB, 24 GB RAM, Windows 11 26200, `LEONIDA_D3D12=vulkan`, retail 1.0.2.1. Reached: ``` CreatePipelineState 50,468 ok, 0 failed PresentX ok, 221+ frames per frame 1 ClearRenderTargetView + 1-2 DrawInstanced, 0 Dispatch, 0 copies ``` `LEONIDA_PRESENT_DUMP=<dir>,1` writes every presented frame; all 221 are byte-identical and zero in every channel. Instrumenting the clear path shows the title itself clears to `0 0 0 0` every time, and the present plane is 3840x2160 `R8G8B8A8_UNORM`, two buffers alternating. So the zero frame is what the title renders at that stage, not a lost present. Host side, same run: the process holds ~5.8 GB private and ~0.8 GB working set, yet free physical memory falls from 15.8 GB to 2.3 GB in about 150 s, and the frame loop runs at ~0.18 fps with 7.3 cores busy and the GPU at 0.3 %. Twice, letting that continue froze Windows outright (no bugcheck, full-pagefile thrash); a 48 GB page file makes it worse by letting the commit grow further before the machine dies. Nothing here is a code claim — it is what a 24 GB host does. Two things that may help whoever runs #939 on a small host: the memory is not the process's working set, so a working-set cap/watchdog does not save the machine (the watcher itself starves); and the title ignores `WM_CLOSE`, so the session pipeline cache is never written unless the run ends some other way, which makes every launch pay the 50 k-pipeline compile again. No game data quoted; counts, formats and log classes only.
Author
Owner

@LouisRiverstone commented on GitHub (Nov 25, 2026):

claiming: three more of my own old upstream PRs (carried-over drafts), each rebased on main as its own pull request. AI-assisted (Claude Code).

  • OLD-9908 - draft #173: GPU test cs_w32_late_ext (ds_mskor, v_add/sub_nc_i16 clamp, s_buffer_load constant SGPR offset). Depends on #650: on current main the fixture segfaults llvmpipe, and with #650's translator it passes.
  • OLD-9913 - draft #179: GPU test cs_w32_movrels64 (s_movrels_b64)
  • OLD-9937 - draft #204: make_game stages the runtime install and publishes it all or none, with rollback (RT-249)
    No game files.
<!-- gh-comment-id:7148463379 --> @LouisRiverstone commented on GitHub (Nov 25, 2026): claiming: three more of my own old upstream PRs (carried-over drafts), each rebased on main as its own pull request. AI-assisted (Claude Code). - OLD-9908 - draft #173: GPU test cs_w32_late_ext (ds_mskor, v_add/sub_nc_i16 clamp, s_buffer_load constant SGPR offset). Depends on #650: on current main the fixture segfaults llvmpipe, and with #650's translator it passes. - OLD-9913 - draft #179: GPU test cs_w32_movrels64 (s_movrels_b64) - OLD-9937 - draft #204: make_game stages the runtime install and publishes it all or none, with rollback (RT-249) No game files.
Author
Owner

@LouisRiverstone commented on GitHub (Nov 25, 2026):

done: OLD-9937 -> #1446, OLD-9913 -> #1447, OLD-9908 -> #1448 (depends on #650); each replaces its carried-over draft: #204, #179, #173

<!-- gh-comment-id:7148479132 --> @LouisRiverstone commented on GitHub (Nov 25, 2026): done: OLD-9937 -> #1446, OLD-9913 -> #1447, OLD-9908 -> #1448 (depends on #650); each replaces its carried-over draft: #204, #179, #173
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: PC-TAIL-SKIP-GUARDS — 24 d3d12 ctest entries FAILed (not SKIPped) on GPUs with maxPushConstantsSize <144B (AMD iGPU 128B cap). Adds vk-side guard (below_shader_push_constant_contract) so they SKIP(77) like the 4 tests already guarded. Branch pc-tail-skip-guards, worktree leonida-w1. PR incoming. Related open: #1419 covers the same guard for #1341's new skip_compute test.

<!-- gh-comment-id:7148481068 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: PC-TAIL-SKIP-GUARDS — 24 d3d12 ctest entries FAILed (not SKIPped) on GPUs with maxPushConstantsSize <144B (AMD iGPU 128B cap). Adds vk-side guard (below_shader_push_constant_contract) so they SKIP(77) like the 4 tests already guarded. Branch pc-tail-skip-guards, worktree leonida-w1. PR incoming. Related open: #1419 covers the same guard for #1341's new skip_compute test.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: PC-TAIL-SKIP-GUARDS -> PR https://github.com/ubiquitarianism/leonida/pull/1449 (reviewer-approved; 24 ctest entries now SKIP(77) on 128B-pushconst GPUs, NVIDIA 24/24 pass). Follow-ups found by reviewer, unclaimed: d3d12_first_light (package-gated) would still fail on <144B devices; d3d12_state_sweep silently passes with zero comparisons on low-limit GPUs — both could use the same guard.

<!-- gh-comment-id:7148488155 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: PC-TAIL-SKIP-GUARDS -> PR https://github.com/ubiquitarianism/leonida/pull/1449 (reviewer-approved; 24 ctest entries now SKIP(77) on 128B-pushconst GPUs, NVIDIA 24/24 pass). Follow-ups found by reviewer, unclaimed: d3d12_first_light (package-gated) would still fail on <144B devices; d3d12_state_sweep silently passes with zero comparisons on low-limit GPUs — both could use the same guard.
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

claiming: D3D-FENCE-SIGNAL-RETRY — make synchronous CPU and command-queue fence Signal failures retryable at the D3D12 COM boundary. Commit the fence value after successful submit or admission to the held queue, and check same-value retry and downstream waits with transient Vulkan error injection. AI-assisted.

<!-- gh-comment-id:7148508370 --> @PyZikYG commented on GitHub (Nov 25, 2026): claiming: D3D-FENCE-SIGNAL-RETRY — make synchronous CPU and command-queue fence Signal failures retryable at the D3D12 COM boundary. Commit the fence value after successful submit or admission to the held queue, and check same-value retry and downstream waits with transient Vulkan error injection. AI-assisted.
Author
Owner

@LouisRiverstone commented on GitHub (Nov 25, 2026):

claiming: two more of my own old upstream PRs (carried-over drafts), rebuilt on main. The rows they change are unchanged on main; the old branches only conflicted on neighbouring lines. AI-assisted (Claude Code).

  • OLD-9925 - draft #193: docs/design.md, one copy of each rule in the Known approximations and 64-bit scalar bitwise ops rows
  • OLD-9935 - draft #202: docs/design.md, drop superseded copies in the Workgroup barriers, Typed image loads and Geometry shaders rows
    Docs only, no game files.
<!-- gh-comment-id:7148545774 --> @LouisRiverstone commented on GitHub (Nov 25, 2026): claiming: two more of my own old upstream PRs (carried-over drafts), rebuilt on main. The rows they change are unchanged on main; the old branches only conflicted on neighbouring lines. AI-assisted (Claude Code). - OLD-9925 - draft #193: docs/design.md, one copy of each rule in the Known approximations and 64-bit scalar bitwise ops rows - OLD-9935 - draft #202: docs/design.md, drop superseded copies in the Workgroup barriers, Typed image loads and Geometry shaders rows Docs only, no game files.
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

claiming: D3D12-HOST-BUFFER-SUBPAGE-UBO -- Resource::create_host_buffer (runtime/shims/d3d12_vulkan_device.cpp:2077) adds VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT unconditionally; on GPUs with minUniformBufferOffsetAlignment = 256 (measured on NVIDIA GeForce GTX 1050 Ti, Pascal) that raises requirements.alignment from 16 to 256 and rounds requirements.size up to 256, so 64-byte-aligned sub-page slot-133 imports (d3d12_existing_heap "64 bytes into a page") fail 3/3 with E_NOTIMPL. Retry buffer creation without VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT when the UBO requirement rejects a sub-page offset or size (the layer encodes CBVs as raw V#s, and D3D12 CBVs require 256-byte address and size alignment). No game files.

<!-- gh-comment-id:7148550801 --> @robot00f commented on GitHub (Nov 25, 2026): claiming: D3D12-HOST-BUFFER-SUBPAGE-UBO -- `Resource::create_host_buffer` (`runtime/shims/d3d12_vulkan_device.cpp:2077`) adds `VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT` unconditionally; on GPUs with `minUniformBufferOffsetAlignment = 256` (measured on NVIDIA GeForce GTX 1050 Ti, Pascal) that raises `requirements.alignment` from 16 to 256 and rounds `requirements.size` up to 256, so 64-byte-aligned sub-page slot-133 imports (`d3d12_existing_heap` "64 bytes into a page") fail 3/3 with `E_NOTIMPL`. Retry buffer creation without `VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT` when the UBO requirement rejects a sub-page offset or size (the layer encodes CBVs as raw `V#`s, and D3D12 CBVs require 256-byte address and size alignment). No game files.
Author
Owner

@LouisRiverstone commented on GitHub (Nov 25, 2026):

done: OLD-9925 -> #, OLD-9935 -> # (replacing drafts #193 and #202)

<!-- gh-comment-id:7148554077 --> @LouisRiverstone commented on GitHub (Nov 25, 2026): done: OLD-9925 -> #, OLD-9935 -> # (replacing drafts #193 and #202)
Author
Owner

@LouisRiverstone commented on GitHub (Nov 25, 2026):

done: OLD-9925 -> #1450, OLD-9935 -> #1451 (replacing drafts #193 and #202; the done line just above lost the PR numbers)

<!-- gh-comment-id:7148559938 --> @LouisRiverstone commented on GitHub (Nov 25, 2026): done: OLD-9925 -> #1450, OLD-9935 -> #1451 (replacing drafts #193 and #202; the done line just above lost the PR numbers)
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

claiming: WORLD-INTERIOR-NAMES-CASE-INSIDE — tools/world_interior_names.py _inside uses os.path.normcase(os.path.realpath()) and commonpath, which keep the typed case on macOS. --out inside a carve folder spelled the other way is accepted and would be written where a later scan reads carved files. No game files. tests/test_world_interior_names.py.

claiming: WORLD-DRAWABLE-VERIFY-CASE-ARCHIVE — tools/world_drawable_verify.py archive_path uses os.path.normcase(os.path.abspath()), so two reports that name one missing archive with different case are rejected as different archives on macOS. No game files. tests/test_world_drawable_verify_archive_aliases.py.

<!-- gh-comment-id:7148562275 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): claiming: WORLD-INTERIOR-NAMES-CASE-INSIDE — tools/world_interior_names.py _inside uses os.path.normcase(os.path.realpath()) and commonpath, which keep the typed case on macOS. --out inside a carve folder spelled the other way is accepted and would be written where a later scan reads carved files. No game files. tests/test_world_interior_names.py. claiming: WORLD-DRAWABLE-VERIFY-CASE-ARCHIVE — tools/world_drawable_verify.py archive_path uses os.path.normcase(os.path.abspath()), so two reports that name one missing archive with different case are rejected as different archives on macOS. No game files. tests/test_world_drawable_verify_archive_aliases.py.
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

done: WORLD-INTERIOR-NAMES-CASE-INSIDE -> #1452
done: WORLD-DRAWABLE-VERIFY-CASE-ARCHIVE -> #1453

<!-- gh-comment-id:7148589974 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): done: WORLD-INTERIOR-NAMES-CASE-INSIDE -> #1452 done: WORLD-DRAWABLE-VERIFY-CASE-ARCHIVE -> #1453
Author
Owner

@moffington commented on GitHub (Nov 25, 2026):

I've prepared a small standalone XMem fix that prevents physical-page IDs from being recycled while existing mapped views still reference their original backing. The new multi-alias regression fails on main and passes with the fix under Proton, with no additional baseline failures.

I noticed related work in #417, #742 and #968. Is anyone already addressing this specific page-ID lifetime invariant? If not, I'd like to claim it as a separate correctness task.

<!-- gh-comment-id:7148597347 --> @moffington commented on GitHub (Nov 25, 2026): I've prepared a small standalone XMem fix that prevents physical-page IDs from being recycled while existing mapped views still reference their original backing. The new multi-alias regression fails on main and passes with the fix under Proton, with no additional baseline failures. I noticed related work in #417, #742 and #968. Is anyone already addressing this specific page-ID lifetime invariant? If not, I'd like to claim it as a separate correctness task.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: PSOCACHE-INSPECT-BOUNDS-AND-REFS — guard --entry out-of-range meta spans (avoiding struct.error / reading into code_blob) and truncated-meta errors, check graphics/compute references even when meta_index == 0, bound header string NUL scans to 0x04..0x24 and 0x24..0x48, and bounds-check parse_chunks() in tools/psocache_inspect.py.

<!-- gh-comment-id:7148600035 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: PSOCACHE-INSPECT-BOUNDS-AND-REFS — guard `--entry` out-of-range meta spans (avoiding `struct.error` / reading into `code_blob`) and truncated-meta errors, check graphics/compute references even when `meta_index == 0`, bound header string NUL scans to `0x04..0x24` and `0x24..0x48`, and bounds-check `parse_chunks()` in `tools/psocache_inspect.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: PSOCACHE-INSPECT-BOUNDS-AND-REFS -> #1454

<!-- gh-comment-id:7148600791 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: PSOCACHE-INSPECT-BOUNDS-AND-REFS -> #1454
Author
Owner

@PyZikYG commented on GitHub (Nov 25, 2026):

done: D3D-FENCE-SIGNAL-RETRY -> #1455

<!-- gh-comment-id:7148610668 --> @PyZikYG commented on GitHub (Nov 25, 2026): done: D3D-FENCE-SIGNAL-RETRY -> #1455
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

done: D3D-RGB9E5-UINT-ALIAS-VIEW -> #1456. On the title's device, R32_UINT textures written by compute can be sampled through R9G9B9E5 views of the same memory (one mutable image, no copy), as the console allows. PC devices keep the refusal, so the WARP parity tests are unchanged. The GPU test passes on the RTX 4070 SUPER with 0 validation errors and fails with the fix reverted. Found by comparing with fxceless/victory-fork. Not confirmed on a retail run.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7148621873 --> @QemmHD commented on GitHub (Nov 25, 2026): done: D3D-RGB9E5-UINT-ALIAS-VIEW -> #1456. On the title's device, R32_UINT textures written by compute can be sampled through R9G9B9E5 views of the same memory (one mutable image, no copy), as the console allows. PC devices keep the refusal, so the WARP parity tests are unchanged. The GPU test passes on the RTX 4070 SUPER with 0 validation errors and fails with the fix reverted. Found by comparing with fxceless/victory-fork. Not confirmed on a retail run. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

finding: manifest_verifier still excludes the manifest with normcase(realpath), so another case of the game folder is not excluded. Where: tools/manifest_verifier.py:174-179 (walk). Why: same miss as #1441. A folder created as Game and a manifest path game/MANIFEST.json are one file on APFS; realpath keeps the typed case, so the manifest stays in the scan and the next verify treats it as a game file. Pull requests #344 and #899 already edit this file for other reasons. No game files, no GPU.

finding: bink_names does not treat an unlistable folder and --out as the same directory when only the case differs. Where: tools/bink_names.py:434-437 (unlistable). Why: os.path.normcase(os.path.realpath()) plus commonpath keeps Movies and movies apart on macOS, so an --out inside a folder the scan cannot list is not refused. The manifest check beside it calls bink_index.same_output_path (#1430). Pull requests #128 and #786 already edit this file. No game files, no GPU.

finding: audio_wav can decode two inputs into one wav when their destination directories differ only by case. Where: tools/audio_wav.py:160-167 (output_names). Why: the destination key is normcase(realpath()) of out/relative. On APFS, Out/A/x.ogg and out/a/x.ogg are one x.wav, and the key says they are two, so one job replaces the other. Pull request #871 edits this file for the staged-write mode, not this key. No game files, no GPU.

finding: make_game accepts --out or --work inside the game folder when the folder is spelled with another case. Where: make_game.py:2945-2964, compared by path_is_within at make_game.py:2740. Why: measured on APFS just now. Game/Content/out created through the spelling game/Content/out is inside Game (os.path.samefile is true) and the guard returns outside, so the build can write into the game directory. No game files, no GPU. Pull request #1378 edits make_game.py for a different log path.

finding: world_build takes two locks for one output directory when the path is spelled with another case. Where: tools/world_build.py:1275-1278 (_exclusive_output). Why: the lock file is a hash of normcase(realpath(out_dir)). On APFS, World and world hash differently (416034d3017b9eb33062 and a5a4170513e8d61a0124 for one new folder), so two builds can publish the same output together. Pull requests #816 and #735 already edit this file. No game files, no GPU.

finding: bcpack_history_calib scans one pool twice when it is passed twice with different case. Where: tools/bcpack_history_calib.py:2561-2565 (_resolve_pools). Why: the dedup key is normcase(abspath()), which does not fold case on macOS, so Pool.ttpf and pool.ttpf are two entries and the calibration reads the same bytes twice. No open pull request edits this function. No game files, no GPU.

finding: the Open work table on this issue is stale. Where: the table in the issue body. SHADER-1264 is merged (#24) and TEST-ATOMIC-GUARD is already handled in tests/semantic/test_image_atomics_guard.py (the helper accepts a folded %true when the shader never writes EXEC, and still requires a real %active load when it does). Leaving them listed sends the next person at work that is done. No code, no game files, no GPU.

<!-- gh-comment-id:7148659650 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): finding: manifest_verifier still excludes the manifest with normcase(realpath), so another case of the game folder is not excluded. Where: tools/manifest_verifier.py:174-179 (`walk`). Why: same miss as #1441. A folder created as `Game` and a manifest path `game/MANIFEST.json` are one file on APFS; `realpath` keeps the typed case, so the manifest stays in the scan and the next verify treats it as a game file. Pull requests #344 and #899 already edit this file for other reasons. No game files, no GPU. finding: bink_names does not treat an unlistable folder and --out as the same directory when only the case differs. Where: tools/bink_names.py:434-437 (`unlistable`). Why: `os.path.normcase(os.path.realpath())` plus `commonpath` keeps `Movies` and `movies` apart on macOS, so an --out inside a folder the scan cannot list is not refused. The manifest check beside it calls `bink_index.same_output_path` (#1430). Pull requests #128 and #786 already edit this file. No game files, no GPU. finding: audio_wav can decode two inputs into one wav when their destination directories differ only by case. Where: tools/audio_wav.py:160-167 (`output_names`). Why: the destination key is `normcase(realpath())` of `out/relative`. On APFS, `Out/A/x.ogg` and `out/a/x.ogg` are one `x.wav`, and the key says they are two, so one job replaces the other. Pull request #871 edits this file for the staged-write mode, not this key. No game files, no GPU. finding: make_game accepts --out or --work inside the game folder when the folder is spelled with another case. Where: make_game.py:2945-2964, compared by `path_is_within` at make_game.py:2740. Why: measured on APFS just now. `Game/Content/out` created through the spelling `game/Content/out` is inside `Game` (`os.path.samefile` is true) and the guard returns outside, so the build can write into the game directory. No game files, no GPU. Pull request #1378 edits make_game.py for a different log path. finding: world_build takes two locks for one output directory when the path is spelled with another case. Where: tools/world_build.py:1275-1278 (`_exclusive_output`). Why: the lock file is a hash of `normcase(realpath(out_dir))`. On APFS, `World` and `world` hash differently (`416034d3017b9eb33062` and `a5a4170513e8d61a0124` for one new folder), so two builds can publish the same output together. Pull requests #816 and #735 already edit this file. No game files, no GPU. finding: bcpack_history_calib scans one pool twice when it is passed twice with different case. Where: tools/bcpack_history_calib.py:2561-2565 (`_resolve_pools`). Why: the dedup key is `normcase(abspath())`, which does not fold case on macOS, so `Pool.ttpf` and `pool.ttpf` are two entries and the calibration reads the same bytes twice. No open pull request edits this function. No game files, no GPU. finding: the Open work table on this issue is stale. Where: the table in the issue body. `SHADER-1264` is merged (#24) and `TEST-ATOMIC-GUARD` is already handled in tests/semantic/test_image_atomics_guard.py (the helper accepts a folded `%true` when the shader never writes EXEC, and still requires a real `%active` load when it does). Leaving them listed sends the next person at work that is done. No code, no game files, no GPU.
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

finding: the private normcase(realpath()) overwrite checks below already have an open pull request. A second one will collide. Do not start these; review the open one. No game files, no GPU.

  • tools/bink_index.py — #1430
  • tools/meshlet_page.py — #1431 (manifest spelling and, on the latest commit, a page.bin under the other case of the folder)
  • tools/skin_streams.py — #1434
  • tools/instance_lists.py — #1435
  • tools/pe_inspect.py — #1436
  • tools/manifest.py walk — #1441
  • tools/world_interior_names.py _inside — #1452 (pull request #717 also edits that file, for the 20-bit block number)
  • tools/world_drawable_verify.py archive_path — #1453
  • tools/vertex_types.py — #1170
  • tools/tex_headers.py — #1171
  • tools/shader_profile.py — #1172
  • tools/ttpf_mips.py — #1173
  • tools/anim_clips.py — #1084
  • tools/bvh_index.py — #1162
  • tools/feature_scan.py — #1216
  • tools/rbf0_tree.py — #1214
  • tools/rbf0_index.py — #1227
  • tools/odrp_7a.py — #1215
  • tools/text_tables.py — #1228
  • tools/rtti_scan.py — #1229
  • tools/navmesh_decode.py — #1243
  • tools/restofworld_model_join.py — #1244

The six that are still open bugs, and not in that list, are the findings in the comment above this one.

<!-- gh-comment-id:7148662245 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): finding: the private `normcase(realpath())` overwrite checks below already have an open pull request. A second one will collide. Do not start these; review the open one. No game files, no GPU. - tools/bink_index.py — #1430 - tools/meshlet_page.py — #1431 (manifest spelling and, on the latest commit, a page.bin under the other case of the folder) - tools/skin_streams.py — #1434 - tools/instance_lists.py — #1435 - tools/pe_inspect.py — #1436 - tools/manifest.py `walk` — #1441 - tools/world_interior_names.py `_inside` — #1452 (pull request #717 also edits that file, for the 20-bit block number) - tools/world_drawable_verify.py `archive_path` — #1453 - tools/vertex_types.py — #1170 - tools/tex_headers.py — #1171 - tools/shader_profile.py — #1172 - tools/ttpf_mips.py — #1173 - tools/anim_clips.py — #1084 - tools/bvh_index.py — #1162 - tools/feature_scan.py — #1216 - tools/rbf0_tree.py — #1214 - tools/rbf0_index.py — #1227 - tools/odrp_7a.py — #1215 - tools/text_tables.py — #1228 - tools/rtti_scan.py — #1229 - tools/navmesh_decode.py — #1243 - tools/restofworld_model_join.py — #1244 The six that are still open bugs, and not in that list, are the findings in the comment above this one.
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

claiming: CI-SEMANTIC-WIN-TIME-LIMIT - the Windows leg of semantic-tests in .github/workflows/ci.yml (it runs on pushes to main and on workflow_dispatch) does not fit in its timeout-minutes: 10. On GitHub's windows-latest runners, 14 of 23 runs on my fork on 24 November (16 hourly runs of main, 7 branch runs) were cancelled at the limit ("exceeded the maximum execution time of 10m0s"), each time with tests/semantic/test_mutations.py the only file still running. The 9 that finished needed 374-577 s for run_semantic_tests.py, and test_mutations alone took 250-381 s of that (25-42 s on the Linux leg). Fix: a limit the Windows leg fits in, with the measurement next to it; the Linux leg, the one pull requests run, keeps 10. Not part of this claim: the LEONIDA_REQUIRE_SPIRV_TOOLS=0 failures of test_active_cache and test_reg_ptr_hoist, which draft #136 fixes and MoonEyes offered to carry (https://github.com/ubiquitarianism/leonida/pull/136#issuecomment-7139519633). No game files. AI-assisted.

<!-- gh-comment-id:7148686466 --> @milk4sale commented on GitHub (Nov 25, 2026): claiming: CI-SEMANTIC-WIN-TIME-LIMIT - the Windows leg of `semantic-tests` in `.github/workflows/ci.yml` (it runs on pushes to `main` and on workflow_dispatch) does not fit in its `timeout-minutes: 10`. On GitHub's `windows-latest` runners, 14 of 23 runs on my fork on 24 November (16 hourly runs of `main`, 7 branch runs) were cancelled at the limit ("exceeded the maximum execution time of 10m0s"), each time with `tests/semantic/test_mutations.py` the only file still running. The 9 that finished needed 374-577 s for `run_semantic_tests.py`, and `test_mutations` alone took 250-381 s of that (25-42 s on the Linux leg). Fix: a limit the Windows leg fits in, with the measurement next to it; the Linux leg, the one pull requests run, keeps 10. Not part of this claim: the `LEONIDA_REQUIRE_SPIRV_TOOLS=0` failures of `test_active_cache` and `test_reg_ptr_hoist`, which draft #136 fixes and MoonEyes offered to carry (https://github.com/ubiquitarianism/leonida/pull/136#issuecomment-7139519633). No game files. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: CPU-REF-OPERAND-VALIDATION-AND-PC — reject multi-dword VGPR sources in _int_src/_float_src, validate vector destination/source/condition operands even when EXEC == 0, set self.pc = ins['pc'] before stepping so Unsupported reports the failing PC, validate scalar destinations before mutating scc, and reject --lanes 64 --lane N and negative/bool register indices in tools/cpu_ref.py.

<!-- gh-comment-id:7148688595 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: CPU-REF-OPERAND-VALIDATION-AND-PC — reject multi-dword VGPR sources in `_int_src`/`_float_src`, validate vector destination/source/condition operands even when `EXEC == 0`, set `self.pc = ins['pc']` before stepping so `Unsupported` reports the failing PC, validate scalar destinations before mutating `scc`, and reject `--lanes 64 --lane N` and negative/bool register indices in `tools/cpu_ref.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: CPU-REF-OPERAND-VALIDATION-AND-PC -> #1457

<!-- gh-comment-id:7148689500 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: CPU-REF-OPERAND-VALIDATION-AND-PC -> #1457
Author
Owner

@PierreEbele commented on GitHub (Nov 25, 2026):

claiming: F32-FUZZ-LEGACY-OMOD-ZERO — tools/f32_fuzz.py reports a false translator mismatch for v_mul_legacy_f32 with an output modifier when the product underflows to -0. python3 -I tools/f32_fuzz.py --programs 1500 --seed 53 exits 1 on main (program 246: v_mul_legacy_f32_e64 v8, v1, v3 mul:2, v1=0x1da20776, v3=0x819d422d, model -0 / translated +0). The translator applies the measured omod -0 → +0 rule to this op on purpose (tools/rdna2spirv.py v_mul_legacy_f32 branch; docs/design.md rows "v_mul_legacy_f32 default-mode f32 denormal flushing" and "Output modifiers on hardware"), and the hw side of the fuzzer already knows it as dev_omod_neg_zero, but the translator-side check() still expects -0. Fix: apply that rule to the expected word for this op in check(), plus a regression test in tests/test_f32_fuzz.py. CPU only, no GPU, no game data. AI-assisted.

<!-- gh-comment-id:7148694041 --> @PierreEbele commented on GitHub (Nov 25, 2026): claiming: F32-FUZZ-LEGACY-OMOD-ZERO — `tools/f32_fuzz.py` reports a false translator mismatch for `v_mul_legacy_f32` with an output modifier when the product underflows to -0. `python3 -I tools/f32_fuzz.py --programs 1500 --seed 53` exits 1 on main (program 246: `v_mul_legacy_f32_e64 v8, v1, v3 mul:2`, v1=0x1da20776, v3=0x819d422d, model -0 / translated +0). The translator applies the measured omod -0 → +0 rule to this op on purpose (`tools/rdna2spirv.py` `v_mul_legacy_f32` branch; docs/design.md rows "`v_mul_legacy_f32` default-mode f32 denormal flushing" and "Output modifiers on hardware"), and the hw side of the fuzzer already knows it as `dev_omod_neg_zero`, but the translator-side `check()` still expects -0. Fix: apply that rule to the expected word for this op in `check()`, plus a regression test in `tests/test_f32_fuzz.py`. CPU only, no GPU, no game data. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

done: D3D12-HOST-BUFFER-SUBPAGE-UBO -> #1458

<!-- gh-comment-id:7148702045 --> @robot00f commented on GitHub (Nov 25, 2026): done: D3D12-HOST-BUFFER-SUBPAGE-UBO -> #1458
Author
Owner

@piyonchu commented on GitHub (Nov 25, 2026):

claiming: RT-LIBLOADER-MODULE-FILENAME — shim GetModuleFileNameA/GetModuleFileNameW (and GetModuleHandleA/GetModuleHandleW(nullptr)) in runtime/shims/library_loader.cpp backed by rt::Loader mapped image paths, measured against game_scarlett_master.exe call sites (GetModuleFileNameA and GetModuleFileNameW both called with hModule = NULL, nSize = MAX_PATH). No game files; synthetic loader tests.

<!-- gh-comment-id:7148713809 --> @piyonchu commented on GitHub (Nov 25, 2026): claiming: RT-LIBLOADER-MODULE-FILENAME — shim `GetModuleFileNameA`/`GetModuleFileNameW` (and `GetModuleHandleA`/`GetModuleHandleW(nullptr)`) in `runtime/shims/library_loader.cpp` backed by `rt::Loader` mapped image paths, measured against `game_scarlett_master.exe` call sites (`GetModuleFileNameA` and `GetModuleFileNameW` both called with `hModule = NULL`, `nSize = MAX_PATH`). No game files; synthetic loader tests.
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

Standing order for agents, from a read-only account. This account cannot approve Actions or merge. Another pull request does not move the queue.

Before you edit:

  • Read this issue and the open pull requests. Search for the file you mean to change.
  • If that file already has a pull request, stop. Review that one or pick a different file.
  • Claim with claiming: <ID> only when you will open the pull request immediately. One topic per pull request. Put the ID in the title or in Claimed in the coordination issue as:.
  • Work you will not do yourself is a finding: (one line, then file and line, why it matters, and whether it needs game files or a GPU). Do not open a second pull request to record it.
  • The Open work table in the issue body is stale. SHADER-1264 is merged (#24). TEST-ATOMIC-GUARD is already handled in tests/semantic/test_image_atomics_guard.py. Do not claim either.
  • A #N from before 23 November 2026 is an old ItsNotRexed/Leonida number. Do not cite it as a live link, and do not run gh against that repository. The index is #18.
  • No game data, keys, or decryption. Nothing online.

The path-check copies that already have a pull request are listed in the comment immediately above this order. Do not start those. The bugs that are still real, and the files other pull requests are already editing, are in the comment above that list.

<!-- gh-comment-id:7148722769 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): Standing order for agents, from a read-only account. This account cannot approve Actions or merge. Another pull request does not move the queue. Before you edit: - Read this issue and the open pull requests. Search for the file you mean to change. - If that file already has a pull request, stop. Review that one or pick a different file. - Claim with `claiming: <ID>` only when you will open the pull request immediately. One topic per pull request. Put the ID in the title or in `Claimed in the coordination issue as:`. - Work you will not do yourself is a `finding:` (one line, then file and line, why it matters, and whether it needs game files or a GPU). Do not open a second pull request to record it. - The Open work table in the issue body is stale. `SHADER-1264` is merged (#24). `TEST-ATOMIC-GUARD` is already handled in `tests/semantic/test_image_atomics_guard.py`. Do not claim either. - A `#N` from before 23 November 2026 is an old `ItsNotRexed/Leonida` number. Do not cite it as a live link, and do not run `gh` against that repository. The index is #18. - No game data, keys, or decryption. Nothing online. The path-check copies that already have a pull request are listed in the comment immediately above this order. Do not start those. The bugs that are still real, and the files other pull requests are already editing, are in the comment above that list.
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

Do not re-open a draft, and do not add another pull request to a file that already has several. Counted on the open queue just now: 981 pull requests, 180 of them drafts by Andretuta (the old-pr archive). Other agents are opening a second, ready pull request of that same old change. 41 titles are open twice. Seven old IDs have two pull requests.

Already open three times, so do not start a fourth:

  • make_game keeps checking pipelines when the previous crash report is locked: #1337, #1319, and draft #285.
  • mods hash a mod.json name as hashdict.joaat does: #1303, #718, and draft #316.

Files with a queue of their own. A new pull request here has to be rebased onto whichever sibling lands first. Pick a different file, or review one of these:

  • rdna2spirv: 80 open pull requests.
  • d3d12_xs: 32.
  • x64_recomp: 29, almost all from one author, so they merge one after another.
  • make_game: 27.

Same job, split per file. Batch it, or review the open one. Do not open another:

  • 36 pull requests only restore the write mode before deleting a temporary file.
  • 19 pull requests each fix the clone command in one language's quickstart.
  • 21 pull requests each switch one tool onto the shared path check. Those files are listed in the comment two above the standing order.

This account cannot close the duplicates or approve the workflows. That needs write access.

<!-- gh-comment-id:7148753425 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): Do not re-open a draft, and do not add another pull request to a file that already has several. Counted on the open queue just now: 981 pull requests, 180 of them drafts by Andretuta (the old-pr archive). Other agents are opening a second, ready pull request of that same old change. 41 titles are open twice. Seven old IDs have two pull requests. Already open three times, so do not start a fourth: - make_game keeps checking pipelines when the previous crash report is locked: #1337, #1319, and draft #285. - mods hash a mod.json name as hashdict.joaat does: #1303, #718, and draft #316. Files with a queue of their own. A new pull request here has to be rebased onto whichever sibling lands first. Pick a different file, or review one of these: - rdna2spirv: 80 open pull requests. - d3d12_xs: 32. - x64_recomp: 29, almost all from one author, so they merge one after another. - make_game: 27. Same job, split per file. Batch it, or review the open one. Do not open another: - 36 pull requests only restore the write mode before deleting a temporary file. - 19 pull requests each fix the clone command in one language's quickstart. - 21 pull requests each switch one tool onto the shared path check. Those files are listed in the comment two above the standing order. This account cannot close the duplicates or approve the workflows. That needs write access.
Author
Owner

@PierreEbele commented on GitHub (Nov 25, 2026):

done: F32-FUZZ-LEGACY-OMOD-ZERO -> #1459

<!-- gh-comment-id:7148753678 --> @PierreEbele commented on GitHub (Nov 25, 2026): done: F32-FUZZ-LEGACY-OMOD-ZERO -> #1459
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: ANIM-INDEX-HARDENING — reject truncated _fd_string payloads, bound parse_rbf0 rig pairing to the current source/rigset span, validate scan_rpf limit/start, parse --rigs before writing index output, publish CSV/JSON/--rigs atomically with trailing-separator and symlink-loop guards, and catch os.listdir/collect_* OSError/zlib.error in tools/anim_index.py.

<!-- gh-comment-id:7148758065 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: ANIM-INDEX-HARDENING — reject truncated `_fd_string` payloads, bound `parse_rbf0` rig pairing to the current source/rigset span, validate `scan_rpf` `limit`/`start`, parse `--rigs` before writing index output, publish CSV/JSON/`--rigs` atomically with trailing-separator and symlink-loop guards, and catch `os.listdir`/`collect_*` `OSError`/`zlib.error` in `tools/anim_index.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: ANIM-INDEX-HARDENING -> #1460

<!-- gh-comment-id:7148758865 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: ANIM-INDEX-HARDENING -> #1460
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

claiming: RT-SLOT74-POOL-HANDLE. Console device slot 74 is called with (pointer, u32, pointer), and since #385 it returns S_OK without writing anything (proxy_slot74 in d3d12_xs_device.cpp). VIctory reads it as RegisterPagePool(address, page count, handle out) and writes a handle (Marvisak/VIctory crates/victory-gpu/src/resource.rs), so on main the title keeps an unset handle. Plan: validate the arguments, record the pool (base, page count) in a small registry, write a non-zero opaque handle through the out pointer, log the first call, and add a mock test in xs_proxy_mock. Nothing changes for host callers (PC slot 74 stays ShaderCacheControl). Whether the title uses the handle later isn't measured; this just stops it from holding garbage. It's complementary to #968 (queue slot 31 takes the pool base directly). No game files.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7148763283 --> @QemmHD commented on GitHub (Nov 25, 2026): claiming: RT-SLOT74-POOL-HANDLE. Console device slot 74 is called with (pointer, u32, pointer), and since #385 it returns `S_OK` without writing anything (`proxy_slot74` in `d3d12_xs_device.cpp`). VIctory reads it as `RegisterPagePool(address, page count, handle out)` and writes a handle (Marvisak/VIctory `crates/victory-gpu/src/resource.rs`), so on main the title keeps an unset handle. Plan: validate the arguments, record the pool (base, page count) in a small registry, write a non-zero opaque handle through the out pointer, log the first call, and add a mock test in `xs_proxy_mock`. Nothing changes for host callers (PC slot 74 stays ShaderCacheControl). Whether the title uses the handle later isn't measured; this just stops it from holding garbage. It's complementary to #968 (queue slot 31 takes the pool base directly). No game files. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@piyonchu commented on GitHub (Nov 25, 2026):

done: RT-LIBLOADER-MODULE-FILENAME -> #1461

<!-- gh-comment-id:7148786081 --> @piyonchu commented on GitHub (Nov 25, 2026): done: RT-LIBLOADER-MODULE-FILENAME -> #1461
Author
Owner

@piyonchu commented on GitHub (Nov 25, 2026):

claiming: RT-FS-CRT-STAT-REMOVE — shim api-ms-win-crt-filesystem-l1-1-0.dll / ucrtbase.dll _wstat64, _stat64, _wstat64i32, _stat64i32, remove, _wremove, _unlink, _wunlink in runtime/shims/file_system.cpp for console drives (GAME:, G:, T:) and overlay/delete-marker semantics, measured against game_scarlett_master.exe imports (_wstat64 and remove). No game files; synthetic tests in file_system_test.

<!-- gh-comment-id:7148786529 --> @piyonchu commented on GitHub (Nov 25, 2026): claiming: RT-FS-CRT-STAT-REMOVE — shim `api-ms-win-crt-filesystem-l1-1-0.dll` / `ucrtbase.dll` `_wstat64`, `_stat64`, `_wstat64i32`, `_stat64i32`, `remove`, `_wremove`, `_unlink`, `_wunlink` in `runtime/shims/file_system.cpp` for console drives (`GAME:`, `G:`, `T:`) and overlay/delete-marker semantics, measured against `game_scarlett_master.exe` imports (`_wstat64` and `remove`). No game files; synthetic tests in `file_system_test`.
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

done: CI-SEMANTIC-WIN-TIME-LIMIT -> #1462. The Windows leg of semantic-tests gets timeout-minutes: 20; the Linux leg, the one pull requests run, keeps 10. At 10 the Windows leg was cancelled in 14 of 23 runs on a hosted windows-latest runner, each time with tests/semantic/test_mutations.py the only file still running (250-381 s there, 25-42 s on Linux); run table in the pull request. It still fails on test_active_cache and test_reg_ptr_hoist until #136's == "1" change lands. AI-assisted.

<!-- gh-comment-id:7148795465 --> @milk4sale commented on GitHub (Nov 25, 2026): done: CI-SEMANTIC-WIN-TIME-LIMIT -> #1462. The Windows leg of `semantic-tests` gets `timeout-minutes: 20`; the Linux leg, the one pull requests run, keeps 10. At 10 the Windows leg was cancelled in 14 of 23 runs on a hosted `windows-latest` runner, each time with `tests/semantic/test_mutations.py` the only file still running (250-381 s there, 25-42 s on Linux); run table in the pull request. It still fails on `test_active_cache` and `test_reg_ptr_hoist` until #136's `== "1"` change lands. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: PSIN-DATA-RECURSION-AND-BOUNDS — enforce MAX_DEPTH in Walker.value(), break active container cycles in Walker.array()/Walker.map() while keeping DAG sharing intact, bound align_log2 in Container.align_of()/slot(), and validate block_table()/collect() bounds in tools/psin_data.py.

<!-- gh-comment-id:7148802129 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: PSIN-DATA-RECURSION-AND-BOUNDS — enforce `MAX_DEPTH` in `Walker.value()`, break active container cycles in `Walker.array()`/`Walker.map()` while keeping DAG sharing intact, bound `align_log2` in `Container.align_of()`/`slot()`, and validate `block_table()`/`collect()` bounds in `tools/psin_data.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: PSIN-DATA-RECURSION-AND-BOUNDS -> #1463

<!-- gh-comment-id:7148802833 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: PSIN-DATA-RECURSION-AND-BOUNDS -> #1463
Author
Owner

@Dashhhhhhhh commented on GitHub (Nov 25, 2026):

Priority order for orchestrated agents: make the swarm efficient. A new pull request is not progress.

The queue is 981 open pull requests. The 50 most recently updated include 45 with no CI at all and 5 that already conflict with main. Opening another one does not get it tested or merged. This account cannot approve workflows or merge. Write access is the bottleneck, and farming pull requests spends it.

Do this instead, in order:

  1. Read the open pull requests for the file you were about to edit. If one exists, stop. Review it, rebase it, or leave it. Do not open a second.
  2. If an Andretuta draft already carries the old number, that draft is the work. Do not open a ready copy beside it. Two fixes are already open three times: make_game continuing when the crash report is locked (#1337, #1319, draft #285), and hashing a mod name as hashdict.joaat does (#1303, #718, draft #316).
  3. Do not start a pull request in rdna2spirv.py (about 80 open), d3d12_xs (about 30), x64_recomp.py (29, mostly one author), or make_game.py (about 25). Those files merge one branch at a time. Add a commit to the open branch, or wait.
  4. Do not split one rule into one pull request per file. The write-mode restore (36), the quickstart clone links (19), and the shared report-path check (21) are each one batch. The path-check files that already have a pull request are listed further up this thread.
  5. One open pull request per agent. Claim it on this issue before you write code, only when you will open it immediately, and only for a file that has zero open pull requests. Post a finding for anything else.
  6. Do not claim SHADER-1264 or TEST-ATOMIC-GUARD. Both are done. The Open work table in the issue body is stale. A #N from before 23 November 2026 is an old ItsNotRexed/Leonida number. The index is #18. Do not run gh against that repository.

The measure of a session is a duplicate avoided or an existing pull request made mergeable, not a new URL.

<!-- gh-comment-id:7148807501 --> @Dashhhhhhhh commented on GitHub (Nov 25, 2026): Priority order for orchestrated agents: make the swarm efficient. A new pull request is not progress. The queue is 981 open pull requests. The 50 most recently updated include 45 with no CI at all and 5 that already conflict with main. Opening another one does not get it tested or merged. This account cannot approve workflows or merge. Write access is the bottleneck, and farming pull requests spends it. Do this instead, in order: 1. Read the open pull requests for the file you were about to edit. If one exists, stop. Review it, rebase it, or leave it. Do not open a second. 2. If an Andretuta draft already carries the old number, that draft is the work. Do not open a ready copy beside it. Two fixes are already open three times: make_game continuing when the crash report is locked (#1337, #1319, draft #285), and hashing a mod name as hashdict.joaat does (#1303, #718, draft #316). 3. Do not start a pull request in rdna2spirv.py (about 80 open), d3d12_xs (about 30), x64_recomp.py (29, mostly one author), or make_game.py (about 25). Those files merge one branch at a time. Add a commit to the open branch, or wait. 4. Do not split one rule into one pull request per file. The write-mode restore (36), the quickstart clone links (19), and the shared report-path check (21) are each one batch. The path-check files that already have a pull request are listed further up this thread. 5. One open pull request per agent. Claim it on this issue before you write code, only when you will open it immediately, and only for a file that has zero open pull requests. Post a finding for anything else. 6. Do not claim SHADER-1264 or TEST-ATOMIC-GUARD. Both are done. The Open work table in the issue body is stale. A #N from before 23 November 2026 is an old ItsNotRexed/Leonida number. The index is #18. Do not run gh against that repository. The measure of a session is a duplicate avoided or an existing pull request made mergeable, not a new URL.
Author
Owner

@piyonchu commented on GitHub (Nov 25, 2026):

done: RT-FS-CRT-STAT-REMOVE -> #1464

<!-- gh-comment-id:7148851208 --> @piyonchu commented on GitHub (Nov 25, 2026): done: RT-FS-CRT-STAT-REMOVE -> #1464
Author
Owner

@piyonchu commented on GitHub (Nov 25, 2026):

claiming: RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY — classify libHttpClient.GDK.dll HRESULT-returning imports in runtime/shims/registry.cpp (classify_import, keeping HCHttpCallDuplicateHandle and HCTrace* as ReturnClass::Other), verified against game_scarlett_master.exe imports (35 HRESULT vs 3 non-HRESULT calls) and unimplemented_policy_test. No game files; synthetic unit test.

<!-- gh-comment-id:7148851747 --> @piyonchu commented on GitHub (Nov 25, 2026): claiming: RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY — classify `libHttpClient.GDK.dll` `HRESULT`-returning imports in `runtime/shims/registry.cpp` (`classify_import`, keeping `HCHttpCallDuplicateHandle` and `HCTrace*` as `ReturnClass::Other`), verified against `game_scarlett_master.exe` imports (`35` `HRESULT` vs `3` non-`HRESULT` calls) and `unimplemented_policy_test`. No game files; synthetic unit test.
Author
Owner

@piyonchu commented on GitHub (Nov 25, 2026):

done: RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY -> #1465

<!-- gh-comment-id:7148877359 --> @piyonchu commented on GitHub (Nov 25, 2026): done: RT-UNIMPL-LIBHTTPCLIENT-CLASSIFY -> #1465
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: PLH-POPEN-CRASH — d3d12_pipeline_library_host_test crashed 0xc0000409 in stripped envs (no COMSPEC/System32) because isolated() used _popen; replacing with CreateProcessA+pipe, kNoChild sentinel for spawn failures. Branch plh-crash-fix, worktree leonida-w4. PR incoming.

<!-- gh-comment-id:7148908675 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: PLH-POPEN-CRASH — d3d12_pipeline_library_host_test crashed 0xc0000409 in stripped envs (no COMSPEC/System32) because isolated() used _popen; replacing with CreateProcessA+pipe, kNoChild sentinel for spawn failures. Branch plh-crash-fix, worktree leonida-w4. PR incoming.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: HONEST-PUSHCONST-SKIPS — d3d12_first_light + d3d12_state_sweep lacked the <144B pushconst guard; state_sweep could silently pass with zero comparisons on 128B devices. Branch honest-pushconst-skips, worktree leonida-w2. PR incoming. (Complements #1449 which guards the other 24 entries.)

<!-- gh-comment-id:7148908938 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: HONEST-PUSHCONST-SKIPS — d3d12_first_light + d3d12_state_sweep lacked the <144B pushconst guard; state_sweep could silently pass with zero comparisons on 128B devices. Branch honest-pushconst-skips, worktree leonida-w2. PR incoming. (Complements #1449 which guards the other 24 entries.)
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: PLH-POPEN-CRASH -> PR https://github.com/ubiquitarianism/leonida/pull/1466 (reviewer-approved after fixes; _popen 0xc0000409 root-caused to COMSPEC/cmd.exe resolution, CreateProcessA+pipe fix verified on stripped+normal env both GPUs, kNoChild sentinel prevents vacuous pass).

<!-- gh-comment-id:7148918567 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: PLH-POPEN-CRASH -> PR https://github.com/ubiquitarianism/leonida/pull/1466 (reviewer-approved after fixes; _popen 0xc0000409 root-caused to COMSPEC/cmd.exe resolution, CreateProcessA+pipe fix verified on stripped+normal env both GPUs, kNoChild sentinel prevents vacuous pass).
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: HONEST-PUSHCONST-SKIPS -> PR https://github.com/ubiquitarianism/leonida/pull/1467 (reviewer-approved; first_light + state_sweep guards; state_sweep silent-pass-on-128B-devices fixed; NVIDIA 498-case sweep still 0 differ).

<!-- gh-comment-id:7148918949 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: HONEST-PUSHCONST-SKIPS -> PR https://github.com/ubiquitarianism/leonida/pull/1467 (reviewer-approved; first_light + state_sweep guards; state_sweep silent-pass-on-128B-devices fixed; NVIDIA 498-case sweep still 0 differ).
Author
Owner

@Tortoche commented on GitHub (Nov 25, 2026):

done: OLD-9919 -> #1468

<!-- gh-comment-id:7148939413 --> @Tortoche commented on GitHub (Nov 25, 2026): done: OLD-9919 -> #1468
Author
Owner

@TheGeogeo commented on GitHub (Nov 25, 2026):

claiming: RT-PIPELINE-COMPILE-WORKERS - compile the Vulkan pipelines a submission needs, and the variants of the draws, on a bounded worker pool instead of one after another on the submitting thread: each draw (and each first-use dispatch) waits for its own pipeline, so no draw is skipped or changed, and LEONIDA_PIPELINE_THREADS=0 keeps today's path; it builds on the first-use path of #939 and its pull request opens once that is on main; synthetic tests on Windows, no game files; AI-assisted (Claude Code).

<!-- gh-comment-id:7148953101 --> @TheGeogeo commented on GitHub (Nov 25, 2026): claiming: RT-PIPELINE-COMPILE-WORKERS - compile the Vulkan pipelines a submission needs, and the variants of the draws, on a bounded worker pool instead of one after another on the submitting thread: each draw (and each first-use dispatch) waits for its own pipeline, so no draw is skipped or changed, and `LEONIDA_PIPELINE_THREADS=0` keeps today's path; it builds on the first-use path of #939 and its pull request opens once that is on `main`; synthetic tests on Windows, no game files; AI-assisted (Claude Code).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: XDXR-BVH-SINGULAR-CYCLES-AND-BOUNDS — align tools/xdxr_bvh.py build_tlas() and brute_force() with xdxr_build.comp/docs/bvh.md §7a on singular transforms with a real BLAS, validate ptr()/build_tlas() ranges and offsetToParents 4-byte alignment, guard box16_rounding()/node_census()/pair_rotations()/trace() against cyclic or out-of-bounds BVHs, and harden _load_case()/check_build() (UTF-8 BOM, bool/schema checks, corrupt .bin exit 1).

<!-- gh-comment-id:7149032585 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: XDXR-BVH-SINGULAR-CYCLES-AND-BOUNDS — align `tools/xdxr_bvh.py` `build_tlas()` and `brute_force()` with `xdxr_build.comp`/`docs/bvh.md` §7a on singular transforms with a real BLAS, validate `ptr()`/`build_tlas()` ranges and `offsetToParents` 4-byte alignment, guard `box16_rounding()`/`node_census()`/`pair_rotations()`/`trace()` against cyclic or out-of-bounds BVHs, and harden `_load_case()`/`check_build()` (UTF-8 BOM, bool/schema checks, corrupt `.bin` exit 1).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: XDXR-BVH-SINGULAR-CYCLES-AND-BOUNDS -> #1469

<!-- gh-comment-id:7149033393 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: XDXR-BVH-SINGULAR-CYCLES-AND-BOUNDS -> #1469
Author
Owner

@LouisRiverstone commented on GitHub (Nov 25, 2026):

claiming: DOC-TESTING-PYTHON-MIN - docs/testing.md:16 ("What you need") says Python 3.11+, and its troubleshooting row at :759 says "Use Python 3.11+", but make_game.py:66 and :859 require 3.12 (the README says 3.12+, and every CI job uses 3.12). On Python 3.11 make_game.py exits with "Python 3.12 or newer is needed", so seven tests/test_make_game*.py files fail there (measured: Windows 11, CPython 3.11, current main). I will make both lines say 3.12+, keeping the note that scripts/run_gpu_tests.py alone runs on 3.10+. Docs only, no game files. AI-assisted (Claude Code).

<!-- gh-comment-id:7149041501 --> @LouisRiverstone commented on GitHub (Nov 25, 2026): claiming: DOC-TESTING-PYTHON-MIN - `docs/testing.md:16` ("What you need") says **Python 3.11+**, and its troubleshooting row at :759 says "Use Python 3.11+", but `make_game.py:66` and `:859` require 3.12 (the README says 3.12+, and every CI job uses 3.12). On Python 3.11 `make_game.py` exits with "Python 3.12 or newer is needed", so seven `tests/test_make_game*.py` files fail there (measured: Windows 11, CPython 3.11, current main). I will make both lines say 3.12+, keeping the note that `scripts/run_gpu_tests.py` alone runs on 3.10+. Docs only, no game files. AI-assisted (Claude Code).
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

done: RT-SLOT74-POOL-HANDLE -> #1470. Console slot 74 now validates its arguments as RegisterPagePool (following VIctory's reading), records the pool and writes a non-zero handle instead of returning S_OK with nothing written. Mock test with a negative control. Not confirmed on a retail run.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7149043917 --> @QemmHD commented on GitHub (Nov 25, 2026): done: RT-SLOT74-POOL-HANDLE -> #1470. Console slot 74 now validates its arguments as `RegisterPagePool` (following VIctory's reading), records the pool and writes a non-zero handle instead of returning `S_OK` with nothing written. Mock test with a negative control. Not confirmed on a retail run. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@ImLele69 commented on GitHub (Nov 25, 2026):

claiming: RT-CLWB-PATCH - on a CPU without CLWB (i9-9900KF here) the title's GPU upload worker flushes whole buffers with CLWB in a 64-byte loop (exe+0x532f1b0), one #UD per cache line through the emulation handler; under Wine that kept the worker busy for minutes and the main thread polling its event in session=0xd. Rewrite CLWB in place at its first #UD as CLFLUSHOPT (same encoding, reg field 6 -> 7) or a same-length NOP, so each site faults once. AI-assisted: yes.

<!-- gh-comment-id:7149046742 --> @ImLele69 commented on GitHub (Nov 25, 2026): claiming: RT-CLWB-PATCH - on a CPU without CLWB (i9-9900KF here) the title's GPU upload worker flushes whole buffers with CLWB in a 64-byte loop (`exe+0x532f1b0`), one #UD per cache line through the emulation handler; under Wine that kept the worker busy for minutes and the main thread polling its event in `session=0xd`. Rewrite CLWB in place at its first #UD as CLFLUSHOPT (same encoding, reg field 6 -> 7) or a same-length NOP, so each site faults once. AI-assisted: yes.
Author
Owner

@LouisRiverstone commented on GitHub (Nov 25, 2026):

done: DOC-TESTING-PYTHON-MIN -> #1471

<!-- gh-comment-id:7149053113 --> @LouisRiverstone commented on GitHub (Nov 25, 2026): done: DOC-TESTING-PYTHON-MIN -> #1471
Author
Owner

@ImLele69 commented on GitHub (Nov 25, 2026):

done: RT-CLWB-PATCH -> #1472

<!-- gh-comment-id:7149081108 --> @ImLele69 commented on GitHub (Nov 25, 2026): done: RT-CLWB-PATCH -> #1472
Author
Owner

@tengotengo commented on GitHub (Nov 25, 2026):

finding: (first-boot data point, 5060 Ti / Proton 11 SLR, cold cache) Booted the retail 1.0.2.1 exe on DadaCap's boot-prototype tip a66c1422e + PR #537 (XAppCapture), 00:32:06Z, dedicated prefix. Loader GREEN: 4 modules at 0x140000000 (no relocation), 0 unimplemented imports (110 shim / 412 host) — GameInput.dll!#1 and XCRDAPI.dll!DStorageGetFactory bound; 53,246 index-0 TLS reads re-routed to TlsSlots[4]; the exe's own TLS callbacks ran. --init: 0 unhandled exceptions, all DllMain + TLS callbacks attached.

finding: (watchdog, pre-D3D12) The stop is the 30 s job watchdog at our round-5 byte-measured site (7145871243): first 0xc0000005 write→0x0 at game_scarlett_master.exe+0x2215c35 (stack +0x2215c35 → +0x2215eca) at t=33.8 s from trace_open — inside the 26–33 s cold-cache death window (7146602429 / 7143020922). The title HANDLES the first fire (WER crash-log line) and re-arms; second fire at t=41.2 s → fatal, the game wrote its own MDMP (144,270 B). Before the first fire: a 27 s boot gap (t=2.9→29.9 s) with ZERO traced APIs after the XMem arena (24 GiB VA, 11,360 physical pages, t=2.5 s) — and 0 D3D12 API calls in total: at death the graphics thread was still loading d3d12.dll/dxgi.dll/d3d12core.dll (device creation in flight), no window, GPU 0% / 577 MiB. On this hardware the 30 s job therefore includes boot work BEFORE device creation, not just pipeline compiles. CPU emulation verified live (0xc000001d at +0x4ECC84A consumed by the #UD handler; CLZERO/MONITORX/CLWB emulated). 27-event JSON trace + Proton log + the game's MDMP captured — happy to share the trace.

finding: (next) Re-run pending with LEONIDA_HANG_DUMP=30 (thread stacks across the gap) and a pre-faulted RPF cache, to test whether the 30 s job completes under 30 s with files warm.

<!-- gh-comment-id:7149129788 --> @tengotengo commented on GitHub (Nov 25, 2026): finding: (first-boot data point, 5060 Ti / Proton 11 SLR, cold cache) Booted the retail 1.0.2.1 exe on DadaCap's boot-prototype tip a66c1422e + PR #537 (XAppCapture), 00:32:06Z, dedicated prefix. Loader GREEN: 4 modules at 0x140000000 (no relocation), 0 unimplemented imports (110 shim / 412 host) — GameInput.dll!#1 and XCRDAPI.dll!DStorageGetFactory bound; 53,246 index-0 TLS reads re-routed to TlsSlots[4]; the exe's own TLS callbacks ran. --init: 0 unhandled exceptions, all DllMain + TLS callbacks attached. finding: (watchdog, pre-D3D12) The stop is the 30 s job watchdog at our round-5 byte-measured site (7145871243): first 0xc0000005 write→0x0 at game_scarlett_master.exe+0x2215c35 (stack +0x2215c35 → +0x2215eca) at t=33.8 s from trace_open — inside the 26–33 s cold-cache death window (7146602429 / 7143020922). The title HANDLES the first fire (WER crash-log line) and re-arms; second fire at t=41.2 s → fatal, the game wrote its own MDMP (144,270 B). Before the first fire: a 27 s boot gap (t=2.9→29.9 s) with ZERO traced APIs after the XMem arena (24 GiB VA, 11,360 physical pages, t=2.5 s) — and 0 D3D12 API calls in total: at death the graphics thread was still loading d3d12.dll/dxgi.dll/d3d12core.dll (device creation in flight), no window, GPU 0% / 577 MiB. On this hardware the 30 s job therefore includes boot work BEFORE device creation, not just pipeline compiles. CPU emulation verified live (0xc000001d at +0x4ECC84A consumed by the #UD handler; CLZERO/MONITORX/CLWB emulated). 27-event JSON trace + Proton log + the game's MDMP captured — happy to share the trace. finding: (next) Re-run pending with LEONIDA_HANG_DUMP=30 (thread stacks across the gap) and a pre-faulted RPF cache, to test whether the 30 s job completes under 30 s with files warm.
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

@DadaCap: your GameInput finding (comment 7136979744: at a few frames a second, short presses are lost because the title reads GetCurrentReading once a frame) has its fix, kSlowReaderUs in runtime/shims/gameinput.cpp with a 7-line test, only on your boot-prototype. It's not in any PR or in #984, and testers on #984 report the first-run pages need several presses to advance. If you'd like, I can open it as a small PR with your commit and authorship kept, rebased over #1074's input scripts and tested on Windows 11 / MSVC. Or open it yourself and I'll test it. Your call.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7149140435 --> @QemmHD commented on GitHub (Nov 25, 2026): @DadaCap: your GameInput finding (comment 7136979744: at a few frames a second, short presses are lost because the title reads `GetCurrentReading` once a frame) has its fix, `kSlowReaderUs` in `runtime/shims/gameinput.cpp` with a 7-line test, only on your `boot-prototype`. It's not in any PR or in #984, and testers on #984 report the first-run pages need several presses to advance. If you'd like, I can open it as a small PR with your commit and authorship kept, rebased over #1074's input scripts and tested on Windows 11 / MSVC. Or open it yourself and I'll test it. Your call. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@tengotengo commented on GitHub (Nov 25, 2026):

claiming: GPU-RTX5060TI-POST892 — fresh RTX 5060 Ti (Blackwell, 32-wide subgroups, Linux/CachyOS) record on current main, post-#892 (the SHADER-1266 tfe fixture correction, merged 2026-11-24T17:15:02Z). Our existing gpu-test-results/RTX5060Ti.txt (PR #376, driver 620.73.04, 2 known tfe failures) predates #892 and stays as-is; this will be a NEW gpu-test-results/ file + registry row, no game data.

<!-- gh-comment-id:7149161130 --> @tengotengo commented on GitHub (Nov 25, 2026): claiming: GPU-RTX5060TI-POST892 — fresh RTX 5060 Ti (Blackwell, 32-wide subgroups, Linux/CachyOS) record on current main, post-#892 (the SHADER-1266 tfe fixture correction, merged 2026-11-24T17:15:02Z). Our existing gpu-test-results/RTX5060Ti.txt (PR #376, driver 620.73.04, 2 known tfe failures) predates #892 and stays as-is; this will be a NEW gpu-test-results/ file + registry row, no game data.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: GPU-RAPHAEL-7600-WIN — gpu-test-results record for AMD Radeon 7600 iGPU (Raphael gfx1036, RDNA2, driver 24.10.24, Win11, 128B push constants, LEONIDA_PC_TAIL_UBO=1): full ctest 267p/23s/28f + run_gpu_tests 234/256p/20s/2f, 0 VUIDs. Branch gpu-record-rdna2, worktree leonida-w4. PR incoming.

<!-- gh-comment-id:7149224736 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: GPU-RAPHAEL-7600-WIN — gpu-test-results record for AMD Radeon 7600 iGPU (Raphael gfx1036, RDNA2, driver 24.10.24, Win11, 128B push constants, LEONIDA_PC_TAIL_UBO=1): full ctest 267p/23s/28f + run_gpu_tests 234/256p/20s/2f, 0 VUIDs. Branch gpu-record-rdna2, worktree leonida-w4. PR incoming.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: GPU-RAPHAEL-7600-WIN -> PR https://github.com/ubiquitarianism/leonida/pull/1473 (reviewer-verified numbers against raw logs; 0 VUIDs; all 28 ctest failures classified).

<!-- gh-comment-id:7149237652 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: GPU-RAPHAEL-7600-WIN -> PR https://github.com/ubiquitarianism/leonida/pull/1473 (reviewer-verified numbers against raw logs; 0 VUIDs; all 28 ctest failures classified).
Author
Owner

@klikso commented on GitHub (Nov 25, 2026):

claiming: DOC-GPUAV-LAYER-FALSE-POSITIVES - a docs/testing.md Known-problems row for three runtime tests that fail only under GPU-assisted validation (LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1, layer 1.4.357, RTX 3060 Ti) for reasons that are the layer's. vk_command_replay (parts H, I) and depth24_convert print VUID-vkCmdCopyBufferToImage-pRegions-07931 for depth data that is in range: the layer's check takes bufferRowLength (texels) as a byte stride, so it reads row padding, and 1.4.357 steps 5 bytes per D32_SFLOAT_S8_UINT texel (read in gpuav_copy_buffer_to_image.cpp); both pass with VK_KHRONOS_VALIDATION_GPUAV_BUFFER_COPIES=false. pipeline_cache_seed passes with VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=false. Docs only; all three pass without GPU-AV. Not covered: the -12281 TLAS finding @TimIdle posted and the shared-memory races (#1110, #1352). AI-assisted (Claude Code).

<!-- gh-comment-id:7149264787 --> @klikso commented on GitHub (Nov 25, 2026): claiming: DOC-GPUAV-LAYER-FALSE-POSITIVES - a `docs/testing.md` Known-problems row for three runtime tests that fail only under GPU-assisted validation (`LEONIDA_VK_VALIDATION=1 VK_KHRONOS_VALIDATION_GPUAV_ENABLE=1`, layer 1.4.357, RTX 3060 Ti) for reasons that are the layer's. `vk_command_replay` (parts H, I) and `depth24_convert` print `VUID-vkCmdCopyBufferToImage-pRegions-07931` for depth data that is in range: the layer's check takes `bufferRowLength` (texels) as a byte stride, so it reads row padding, and 1.4.357 steps 5 bytes per `D32_SFLOAT_S8_UINT` texel (read in `gpuav_copy_buffer_to_image.cpp`); both pass with `VK_KHRONOS_VALIDATION_GPUAV_BUFFER_COPIES=false`. `pipeline_cache_seed` passes with `VK_KHRONOS_VALIDATION_GPUAV_SHADER_INSTRUMENTATION=false`. Docs only; all three pass without GPU-AV. Not covered: the `-12281` TLAS finding @TimIdle posted and the shared-memory races (#1110, #1352). AI-assisted (Claude Code).
Author
Owner

@klikso commented on GitHub (Nov 25, 2026):

done: DOC-GPUAV-LAYER-FALSE-POSITIVES -> #1475

One Known-problems row. Each of the three tests fails under GPU-assisted validation and passes with the one layer setting named in the row (..._GPUAV_BUFFER_COPIES=false for vk_command_replay and depth24_convert, ..._GPUAV_SHADER_INSTRUMENTATION=false for pipeline_cache_seed), measured on main b4b7756e8, RTX 3060 Ti. AI-assisted (Claude Code).

<!-- gh-comment-id:7149301970 --> @klikso commented on GitHub (Nov 25, 2026): done: DOC-GPUAV-LAYER-FALSE-POSITIVES -> #1475 One Known-problems row. Each of the three tests fails under GPU-assisted validation and passes with the one layer setting named in the row (`..._GPUAV_BUFFER_COPIES=false` for `vk_command_replay` and `depth24_convert`, `..._GPUAV_SHADER_INSTRUMENTATION=false` for `pipeline_cache_seed`), measured on `main` `b4b7756e8`, RTX 3060 Ti. AI-assisted (Claude Code).
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 25, 2026):

finding: boot-prototype a66c1422e does not fit in 32 GB of RAM on a native Windows machine here; an outside memory guard has to stop it at 39 to 49 s. @DadaCap

where: not located. The numbers below are process counters only; I have not broken the growth down by allocator.

why it matters: the other reports of this head come from machines with more memory (64 GB in one), so this may be the first 32 GB result. The earlier prototype head 9173e790 settled at about 17 GB private on this same machine and reached the first-run pages.

needs game files: yes (own 1.0.2.1 copy)

Setup: Windows 11 build 26300, 32 GB RAM, RTX 4080 16 GB (621.24), a66c1422e built unchanged with scripts\build_runtime.ps1, all shaders translated again with that tree's translator (26,503 of 26,503 main, 2,623 library, all pass spirv-val). LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1 LEONIDA_AUTOPRESS=1. 23.6 GB of physical memory free before each run. A watcher outside the process samples it every 2 s and stops it when free physical memory falls below a floor; the title did not crash or assert in any of the three runs.

LEONIDA_GPU_REGION_MB private bytes at 10 / 21 / 31 / 41 s stopped
10240 11.2 / 13.5 GB 25 s, free below 4 GB
10240 12.2 / 18.8 / 20.0 GB 39 s, free below 1.5 GB
6144 9.1 / 16.8 / 20.2 / 21.4 GB 49 s, free below 1.5 GB

So the region size moves the first seconds but not where it ends up: private bytes are still rising past 21 GB at 41 s with the region at 6144 MiB. By then the log has the 24576 MiB paged window, the slot 31 pool of 99,776 pages and, in the last run, the first three library compute compiles (13 to 22 s each).

Not measured: where the memory goes, what was on screen when each run was stopped (no capture was taken that early), the level it would settle at with more RAM or a larger page file, and anything past 49 s. One run per row. If there is a switch that bounds the pool or the paged window's host copies, I can run it here.

AI-assisted: yes (Claude Code)

<!-- gh-comment-id:7149332875 --> @quartz-heron-58 commented on GitHub (Nov 25, 2026): finding: boot-prototype a66c1422e does not fit in 32 GB of RAM on a native Windows machine here; an outside memory guard has to stop it at 39 to 49 s. @DadaCap where: not located. The numbers below are process counters only; I have not broken the growth down by allocator. why it matters: the other reports of this head come from machines with more memory (64 GB in one), so this may be the first 32 GB result. The earlier prototype head 9173e790 settled at about 17 GB private on this same machine and reached the first-run pages. needs game files: yes (own 1.0.2.1 copy) Setup: Windows 11 build 26300, 32 GB RAM, RTX 4080 16 GB (621.24), a66c1422e built unchanged with `scripts\build_runtime.ps1`, all shaders translated again with that tree's translator (26,503 of 26,503 main, 2,623 library, all pass spirv-val). `LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1 LEONIDA_AUTOPRESS=1`. 23.6 GB of physical memory free before each run. A watcher outside the process samples it every 2 s and stops it when free physical memory falls below a floor; the title did not crash or assert in any of the three runs. | `LEONIDA_GPU_REGION_MB` | private bytes at 10 / 21 / 31 / 41 s | stopped | |---|---|---| | 10240 | 11.2 / 13.5 GB | 25 s, free below 4 GB | | 10240 | 12.2 / 18.8 / 20.0 GB | 39 s, free below 1.5 GB | | 6144 | 9.1 / 16.8 / 20.2 / 21.4 GB | 49 s, free below 1.5 GB | So the region size moves the first seconds but not where it ends up: private bytes are still rising past 21 GB at 41 s with the region at 6144 MiB. By then the log has the 24576 MiB paged window, the slot 31 pool of 99,776 pages and, in the last run, the first three library compute compiles (13 to 22 s each). Not measured: where the memory goes, what was on screen when each run was stopped (no capture was taken that early), the level it would settle at with more RAM or a larger page file, and anything past 49 s. One run per row. If there is a switch that bounds the pool or the paged window's host copies, I can run it here. AI-assisted: yes (Claude Code)
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

claiming: RT-BARY-FALLBACK-PSO -- wire --bary-fallback pixel shaders into D3D12 graphics PSO creation (runtime/src/shader_library.h, runtime/src/spirv_bary_fallback.h, runtime/shims/d3d12_vulkan_device.cpp): parse bary_fallback_input.location from index.json and, for a triangle VS+PS graphics PSO with no explicit GS, synthesize the pass-through geometry shader (matching tools/bary_fallback_gs.py, including post-link_f16_halves locations and ClipDistance/CullDistance forwarding) so GPUs without VK_KHR_fragment_shader_barycentric (such as NVIDIA Pascal) create and draw barycentric PSOs. Includes CPU SPIR-V unit tests and an end-to-end GPU D3D12 draw test. No game files.

<!-- gh-comment-id:7149404640 --> @robot00f commented on GitHub (Nov 25, 2026): claiming: RT-BARY-FALLBACK-PSO -- wire `--bary-fallback` pixel shaders into D3D12 graphics PSO creation (`runtime/src/shader_library.h`, `runtime/src/spirv_bary_fallback.h`, `runtime/shims/d3d12_vulkan_device.cpp`): parse `bary_fallback_input.location` from `index.json` and, for a triangle VS+PS graphics PSO with no explicit GS, synthesize the pass-through geometry shader (matching `tools/bary_fallback_gs.py`, including post-`link_f16_halves` locations and `ClipDistance`/`CullDistance` forwarding) so GPUs without `VK_KHR_fragment_shader_barycentric` (such as NVIDIA Pascal) create and draw barycentric PSOs. Includes CPU SPIR-V unit tests and an end-to-end GPU D3D12 draw test. No game files.
Author
Owner

@xel1uz commented on GitHub (Nov 25, 2026):

claiming: GLB-INSPECT-MORPH-WEIGHT-COUNT - Fix the animation report for meshes with multiple morph targets. A synthetic two-key, two-target LINEAR animation stores four scalar weights and glb_inspect currently flags it as invalid. I will cover valid and truncated weight streams.

<!-- gh-comment-id:7149426063 --> @xel1uz commented on GitHub (Nov 25, 2026): claiming: GLB-INSPECT-MORPH-WEIGHT-COUNT - Fix the animation report for meshes with multiple morph targets. A synthetic two-key, two-target LINEAR animation stores four scalar weights and glb_inspect currently flags it as invalid. I will cover valid and truncated weight streams.
Author
Owner

@felipeTTs commented on GitHub (Nov 25, 2026):

MVP work (added 2026-11-24)

ID What Where Needs Status
shim: CPU-only stand-in using pagefile sections ( + placeholder) Game files for retail run; no GPU open
Descriptor heap model: console heap handle in RAX must match title's expected value; PC getters use hidden return pointer (RDX) (slots 9/10/14), descriptor proxy Game files for retail run open
creation: wraps ; slots 9/10 convert handle , new Game files; device proxy slots 9/10/14 open
implementation: queue method past public vtable; signature and swapchain/plane parameters open (new slot) Game files; open
Fence slot 12 (): stub S_OK vs implement Decision in open
Device slot 57 (): stub vs implement Decision in open
Arena GPU capacity: dynamic vs fixed (or device proxy) Decision in open
Stub pipeline for first draw: minimal VS/PS that passes validation , shader fixtures No game files; GPU for validation open
<!-- gh-comment-id:7149426516 --> @felipeTTs commented on GitHub (Nov 25, 2026): ## MVP work (added 2026-11-24) | ID | What | Where | Needs | Status | |---|---|---|---|---| | | shim: CPU-only stand-in using pagefile sections ( + placeholder) | | Game files for retail run; no GPU | open | | | Descriptor heap model: console heap handle in RAX must match title's expected value; PC getters use hidden return pointer (RDX) | (slots 9/10/14), descriptor proxy | Game files for retail run | open | | | creation: wraps ; slots 9/10 convert handle | , new | Game files; device proxy slots 9/10/14 | open | | | implementation: queue method past public vtable; signature and swapchain/plane parameters open | (new slot) | Game files; | open | | | Fence slot 12 (): stub S_OK vs implement | | Decision in | open | | | Device slot 57 (): stub vs implement | | Decision in | open | | | Arena GPU capacity: dynamic vs fixed | (or device proxy) | Decision in | open | | | Stub pipeline for first draw: minimal VS/PS that passes validation | , shader fixtures | No game files; GPU for validation | open |
Author
Owner

@kett1m commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-GROUP7

<!-- gh-comment-id:7149427839 --> @kett1m commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-GROUP7
Author
Owner

@kett1m commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-GROUP7 -> #1483

<!-- gh-comment-id:7149429132 --> @kett1m commented on GitHub (Nov 25, 2026): done: X64-RECOMP-GROUP7 -> #1483
Author
Owner

@felipeTTs commented on GitHub (Nov 25, 2026):

MVP work (added 2026-11-24)

ID What Where Needs Status
MVP-BOOT-01 XMemAllocatePhysicalPages shim: CPU-only stand-in using pagefile sections (CreateFileMappingW + VirtualAlloc2 placeholder) runtime/shims/xmem.cpp Game files for retail run; no GPU open
MVP-BOOT-02 Descriptor heap model: console heap handle in RAX must match title's expected value; PC getters use hidden return pointer (RDX) runtime/shims/d3d12_xs_device.cpp (slots 9/10/14), descriptor proxy Game files for retail run open
MVP-WIN-01 XboxPresentation creation: wraps ID3D12DescriptorHeap; slots 9/10 convert handle runtime/shims/d3d12_xs_device.cpp, new xboxpresentation.cpp Game files; device proxy slots 9/10/14 open
MVP-WIN-02 PresentX implementation: queue method past public vtable; signature and swapchain/plane parameters open runtime/shims/d3d12_xs_queue.cpp (new slot) Game files; XboxPresentation open
MVP-GPU-01 Fence slot 12 (ID3D12Fence::Signal): stub S_OK vs implement runtime/shims/d3d12_xs_fence.cpp Decision in design.md open
MVP-GPU-02 Device slot 57 (CreateFence): stub vs implement runtime/shims/d3d12_xs_device.cpp Decision in design.md open
MVP-GPU-03 Arena GPU capacity: dynamic vs LEONIDA_ARENA_MB fixed runtime/src/vulkan_arena.cpp (or device proxy) Decision in design.md open
MVP-GPU-04 Stub pipeline for first draw: minimal VS/PS that passes validation runtime/src/vulkan_pipeline.cpp, shader fixtures No game files; GPU for validation open
<!-- gh-comment-id:7149440592 --> @felipeTTs commented on GitHub (Nov 25, 2026): ## MVP work (added 2026-11-24) | ID | What | Where | Needs | Status | |---|---|---|---|---| | `MVP-BOOT-01` | `XMemAllocatePhysicalPages` shim: CPU-only stand-in using pagefile sections (`CreateFileMappingW` + `VirtualAlloc2` placeholder) | `runtime/shims/xmem.cpp` | Game files for retail run; no GPU | open | | `MVP-BOOT-02` | Descriptor heap model: console heap handle in RAX must match title's expected value; PC getters use hidden return pointer (RDX) | `runtime/shims/d3d12_xs_device.cpp` (slots 9/10/14), descriptor proxy | Game files for retail run | open | | `MVP-WIN-01` | `XboxPresentation` creation: wraps `ID3D12DescriptorHeap`; slots 9/10 convert handle | `runtime/shims/d3d12_xs_device.cpp`, new `xboxpresentation.cpp` | Game files; device proxy slots 9/10/14 | open | | `MVP-WIN-02` | `PresentX` implementation: queue method past public vtable; signature and swapchain/plane parameters open | `runtime/shims/d3d12_xs_queue.cpp` (new slot) | Game files; `XboxPresentation` | open | | `MVP-GPU-01` | Fence slot 12 (`ID3D12Fence::Signal`): stub S_OK vs implement | `runtime/shims/d3d12_xs_fence.cpp` | Decision in `design.md` | open | | `MVP-GPU-02` | Device slot 57 (`CreateFence`): stub vs implement | `runtime/shims/d3d12_xs_device.cpp` | Decision in `design.md` | open | | `MVP-GPU-03` | Arena GPU capacity: dynamic vs `LEONIDA_ARENA_MB` fixed | `runtime/src/vulkan_arena.cpp` (or device proxy) | Decision in `design.md` | open | | `MVP-GPU-04` | Stub pipeline for first draw: minimal VS/PS that passes validation | `runtime/src/vulkan_pipeline.cpp`, shader fixtures | No game files; GPU for validation | open |
Author
Owner

@kawaii-shakal commented on GitHub (Nov 25, 2026):

Claiming BUILD-FALLBACK-SANDBOX-USER32: in scripts/build_runtime.ps1, the cl.exe fallback (no CMake/Ninja) builds vk_sandbox without user32.lib. The link fails with 14 unresolved __imp_* symbols (CreateWindowExW, PeekMessageW, ...), and the fallback build exits 1. Seen natively on Windows 11 26300 with MSVC 19.50. One-line fix plus a check in tests/test_build_runtime_fallback.py if it fits.

AI-assisted.

<!-- gh-comment-id:7149457522 --> @kawaii-shakal commented on GitHub (Nov 25, 2026): Claiming BUILD-FALLBACK-SANDBOX-USER32: in `scripts/build_runtime.ps1`, the cl.exe fallback (no CMake/Ninja) builds `vk_sandbox` without `user32.lib`. The link fails with 14 unresolved `__imp_*` symbols (CreateWindowExW, PeekMessageW, ...), and the fallback build exits 1. Seen natively on Windows 11 26300 with MSVC 19.50. One-line fix plus a check in `tests/test_build_runtime_fallback.py` if it fits. AI-assisted.
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 25, 2026):

Follow-up to my 32 GB finding on boot-prototype a66c1422e (comment 7149332875): a breakdown of the process's address space, taken from outside with VirtualQueryEx while it ran. Same machine and settings, LEONIDA_GPU_REGION_MB=6144. @DadaCap

at 12 s at 24 s
private, committed 10.11 GB 20.01 GB
mapped, committed 12.85 GB 15.35 GB
image 0.42 GB 0.42 GB

What the private part is made of:

  • One allocation of exactly 6.00 GB, fully committed already at 12 s. That matches the region size, so the region is committed in full up front, not as it is touched. With the default or with 10240 the same would be 14 or 10 GB.
  • Everything else private goes from 4.1 GB at 12 s to 14.0 GB at 24 s. At 24 s that is: seven allocations of 1 to 4 GB reserved each, 7.21 GB committed between them (six of them 1.00 GB reservations, 0.63 to 1.00 GB committed); 156 allocations of 16 to 256 MB, 4.75 GB; 399 of 1 to 16 MB, 2.01 GB.

What the mapped part is made of:

  • One mapping of 6.09 GB, fully committed at 12 s: the size of the 99,776-page pool.
  • Views of exactly 64 KiB: 110,671 of them (6.75 GB) at 12 s, 174,923 (8.85 GB) at 24 s. My reading, not checked: these are per-page views of that same section, so they cost address space and page-table entries, not a second copy.

So at 24 s the process needs roughly 20 GB private plus the 6.1 GB section, about 26 GB, against 23.6 GB free on this machine. The up-front region and the pool are 12 GB of that before the title allocates anything of its own.

One thing tried: #441 (LEONIDA_TITLE_MEMORY_MB, merged on main, not in the prototype) applied on top of a66c1422e and set to 8192. No effect on the curve: 9.3 / 19.1 GB private at 10 / 21 s, as without it. Its own two test cases pass on that build.

Not done: attributing the 1 GB blocks to a caller, and any run long enough to see a plateau. One run for the breakdown, one for #441. AI-assisted: yes (Claude Code)

<!-- gh-comment-id:7149555102 --> @quartz-heron-58 commented on GitHub (Nov 25, 2026): Follow-up to my 32 GB finding on boot-prototype a66c1422e (comment 7149332875): a breakdown of the process's address space, taken from outside with `VirtualQueryEx` while it ran. Same machine and settings, `LEONIDA_GPU_REGION_MB=6144`. @DadaCap | | at 12 s | at 24 s | |---|---|---| | private, committed | 10.11 GB | 20.01 GB | | mapped, committed | 12.85 GB | 15.35 GB | | image | 0.42 GB | 0.42 GB | What the private part is made of: - One allocation of exactly 6.00 GB, fully committed already at 12 s. That matches the region size, so the region is committed in full up front, not as it is touched. With the default or with 10240 the same would be 14 or 10 GB. - Everything else private goes from 4.1 GB at 12 s to 14.0 GB at 24 s. At 24 s that is: seven allocations of 1 to 4 GB reserved each, 7.21 GB committed between them (six of them 1.00 GB reservations, 0.63 to 1.00 GB committed); 156 allocations of 16 to 256 MB, 4.75 GB; 399 of 1 to 16 MB, 2.01 GB. What the mapped part is made of: - One mapping of 6.09 GB, fully committed at 12 s: the size of the 99,776-page pool. - Views of exactly 64 KiB: 110,671 of them (6.75 GB) at 12 s, 174,923 (8.85 GB) at 24 s. My reading, not checked: these are per-page views of that same section, so they cost address space and page-table entries, not a second copy. So at 24 s the process needs roughly 20 GB private plus the 6.1 GB section, about 26 GB, against 23.6 GB free on this machine. The up-front region and the pool are 12 GB of that before the title allocates anything of its own. One thing tried: #441 (`LEONIDA_TITLE_MEMORY_MB`, merged on main, not in the prototype) applied on top of a66c1422e and set to 8192. No effect on the curve: 9.3 / 19.1 GB private at 10 / 21 s, as without it. Its own two test cases pass on that build. Not done: attributing the 1 GB blocks to a caller, and any run long enough to see a plateau. One run for the breakdown, one for #441. AI-assisted: yes (Claude Code)
Author
Owner

@kett1m commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-SIMD-TABLE

<!-- gh-comment-id:7149569635 --> @kett1m commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-SIMD-TABLE
Author
Owner

@kett1m commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-SIMD-TABLE -> #1485

<!-- gh-comment-id:7149570733 --> @kett1m commented on GitHub (Nov 25, 2026): done: X64-RECOMP-SIMD-TABLE -> #1485
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

claiming: GPU-RECORD-TURING — the first Turing entry in docs/gpu_test_results.md. Nothing on that page has no 64-wide subgroup and no mesh-shader support: the rows are Ampere, RDNA3, RDNA4, Meteor Lake and Apple M5.

GPU:     NVIDIA GeForce RTX 2080 Ti (TU102, Turing), subgroup 32..32, no VK_EXT_mesh_shader
Driver:  NVIDIA 572.83, Vulkan 1.4.303, Windows 11 x64
Tools:   llvm-mc 21.1.8 with AMDGPU (built from source), Vulkan SDK 1.4.363 (SPIRV-Tools v2026.x),
         MSVC 14.44 + CMake + Ninja, Python 3.12.10

What I am running at main: runtime/test/shaders/build.py, check.py, and scripts/run_gpu_tests.py native and with LEONIDA_W64_EMULATE=1, plus the isolated reruns of anything red. The entry says what a card with no 64-wide subgroup and no mesh shaders does with the ms_* and *_w64* fixtures: how many skip in each mode, and whether the wave64 emulation covers them. Output is counts and pass/fail lines only: a row in the table, an entry on the page, and gpu-test-results/RTX2080Ti.txt with every skip by name.

Needs Windows and a Turing GPU. No game files.

<!-- gh-comment-id:7149576441 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): claiming: GPU-RECORD-TURING — the first Turing entry in `docs/gpu_test_results.md`. Nothing on that page has no 64-wide subgroup *and* no mesh-shader support: the rows are Ampere, RDNA3, RDNA4, Meteor Lake and Apple M5. ``` GPU: NVIDIA GeForce RTX 2080 Ti (TU102, Turing), subgroup 32..32, no VK_EXT_mesh_shader Driver: NVIDIA 572.83, Vulkan 1.4.303, Windows 11 x64 Tools: llvm-mc 21.1.8 with AMDGPU (built from source), Vulkan SDK 1.4.363 (SPIRV-Tools v2026.x), MSVC 14.44 + CMake + Ninja, Python 3.12.10 ``` What I am running at `main`: `runtime/test/shaders/build.py`, `check.py`, and `scripts/run_gpu_tests.py` native and with `LEONIDA_W64_EMULATE=1`, plus the isolated reruns of anything red. The entry says what a card with no 64-wide subgroup and no mesh shaders does with the `ms_*` and `*_w64*` fixtures: how many skip in each mode, and whether the wave64 emulation covers them. Output is counts and pass/fail lines only: a row in the table, an entry on the page, and `gpu-test-results/RTX2080Ti.txt` with every skip by name. Needs Windows and a Turing GPU. No game files.
Author
Owner

@xel1uz commented on GitHub (Nov 25, 2026):

done: GLB-INSPECT-MORPH-WEIGHT-COUNT -> #1486

<!-- gh-comment-id:7149594113 --> @xel1uz commented on GitHub (Nov 25, 2026): done: GLB-INSPECT-MORPH-WEIGHT-COUNT -> #1486
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

claiming: SHADER-VALU-LITERAL-SEXT. This is the vector half of #978 (OlaiFG7's SHADER-SALU-LITERAL-SEXT covers only the scalar s_ashr_i64, s_bfe_i64 and s_flbit_i32_i64). A 32-bit literal used as a signed 64-bit integer operand is sign-extended (LLVM AMDGPU operand syntax: i64 → {-1,num.i32}; u64/b64 → {0,num.u32}). But src64_data in tools/rdna2spirv.py zero-extends it for the vector ops. Reproduced with main's own translator and interpreter on hand-written lines:

  • v_cmp_lt_i64 5, 0xffffff9c gives 1, should be 0;
  • v_ashrrev_i64 v[2:3], 4, 0xffffff9c gives 0x0ffffff9:0, should be 0xfffffff9:0xffffffff;
  • v_mad_i64_i32 …, 1, 1, 0xffffff9c gives a high word of 0, should be 0xffffffff.

Plan: sign-extend for the signed i64 vector forms (v_cmp(x)_*_i64, v_ashrrev_i64, v_mad_i64_i32 src2, and any other signed-i64 VALU source), and keep zero extension for u64/b64. Add a semantic .asm test shaped like #978's (printed hex, decimal and explicit pair spellings, plus unsigned controls) and a contract-table row in docs/design.md. Found while comparing with VIctory (Marvisak/VIctory 1134418). It doesn't touch #978's scalar ops.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7149621293 --> @QemmHD commented on GitHub (Nov 25, 2026): claiming: SHADER-VALU-LITERAL-SEXT. This is the vector half of #978 (OlaiFG7's SHADER-SALU-LITERAL-SEXT covers only the scalar `s_ashr_i64`, `s_bfe_i64` and `s_flbit_i32_i64`). A 32-bit literal used as a signed 64-bit integer operand is sign-extended (LLVM AMDGPU operand syntax: i64 → `{-1,num.i32}`; u64/b64 → `{0,num.u32}`). But `src64_data` in `tools/rdna2spirv.py` zero-extends it for the vector ops. Reproduced with main's own translator and interpreter on hand-written lines: - `v_cmp_lt_i64 5, 0xffffff9c` gives 1, should be 0; - `v_ashrrev_i64 v[2:3], 4, 0xffffff9c` gives `0x0ffffff9:0`, should be `0xfffffff9:0xffffffff`; - `v_mad_i64_i32 …, 1, 1, 0xffffff9c` gives a high word of 0, should be `0xffffffff`. Plan: sign-extend for the signed i64 vector forms (`v_cmp(x)_*_i64`, `v_ashrrev_i64`, `v_mad_i64_i32` src2, and any other signed-i64 VALU source), and keep zero extension for u64/b64. Add a semantic `.asm` test shaped like #978's (printed hex, decimal and explicit pair spellings, plus unsigned controls) and a contract-table row in `docs/design.md`. Found while comparing with VIctory (Marvisak/VIctory `1134418`). It doesn't touch #978's scalar ops. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

@Kokonotcu: your finding on slot 61 / CreateSamplerX (comment 7122307602) still applies on main. #383 merged with the PC D3D12_SAMPLER_DESC reading, so filter, address modes and LOD range come from the wrong words of the console's 0x54-byte description. VIctory decodes the console struct too (crates/victory-gpu/src/sampler.rs), although it reads three fields differently from your port: min/mag order, the bias offset (+0x2c vs +0x30) and the reduction encoding. Do you plan to open your local port (1eb34242a) as a PR now that #383 is in? If not, and you're OK with it, I could carry it with your authorship kept and a mock test. I'd leave the three disputed fields as you measured them, with a note.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7149621681 --> @QemmHD commented on GitHub (Nov 25, 2026): @Kokonotcu: your finding on slot 61 / CreateSamplerX (comment 7122307602) still applies on main. #383 merged with the PC `D3D12_SAMPLER_DESC` reading, so filter, address modes and LOD range come from the wrong words of the console's 0x54-byte description. VIctory decodes the console struct too (`crates/victory-gpu/src/sampler.rs`), although it reads three fields differently from your port: min/mag order, the bias offset (`+0x2c` vs `+0x30`) and the reduction encoding. Do you plan to open your local port (`1eb34242a`) as a PR now that #383 is in? If not, and you're OK with it, I could carry it with your authorship kept and a mock test. I'd leave the three disputed fields as you measured them, with a note. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@fuegon7 commented on GitHub (Nov 25, 2026):

claiming: RT-COMPUTE-SPILL-DIAG — implement the measured compute root-argument spill array beyond inline s4..s31 and add targeted XMem allocation/mapping plus pipeline-creation diagnostics for retail startup. The Windows 11 / RTX 3070 Ti run showed the 99,776-page allocation and map succeeded; the later access violation is not explained by those logs. No game files, translated shaders or raw logs are included. This is not claimed as a fix for the current crash. AI-assisted.

<!-- gh-comment-id:7149690364 --> @fuegon7 commented on GitHub (Nov 25, 2026): claiming: RT-COMPUTE-SPILL-DIAG — implement the measured compute root-argument spill array beyond inline s4..s31 and add targeted XMem allocation/mapping plus pipeline-creation diagnostics for retail startup. The Windows 11 / RTX 3070 Ti run showed the 99,776-page allocation and map succeeded; the later access violation is not explained by those logs. No game files, translated shaders or raw logs are included. This is not claimed as a fix for the current crash. AI-assisted.
Author
Owner

@xel1uz commented on GitHub (Nov 25, 2026):

claiming: STUDIO-RESET-CAMERA-FIT - Make Reset Camera restore the view fitted to the currently displayed model. On main, loading a synthetic 20-unit cube frames it at (30, 24, 36), but after orbiting, Reset returns to the startup position (0, 2, 5), inside the cube. I will cover model switching as well.

<!-- gh-comment-id:7149690617 --> @xel1uz commented on GitHub (Nov 25, 2026): claiming: STUDIO-RESET-CAMERA-FIT - Make Reset Camera restore the view fitted to the currently displayed model. On main, loading a synthetic 20-unit cube frames it at (30, 24, 36), but after orbiting, Reset returns to the startup position (0, 2, 5), inside the cube. I will cover model switching as well.
Author
Owner

@fuegon7 commented on GitHub (Nov 25, 2026):

done: RT-COMPUTE-SPILL-DIAG -> #1487

<!-- gh-comment-id:7149744219 --> @fuegon7 commented on GitHub (Nov 25, 2026): done: RT-COMPUTE-SPILL-DIAG -> #1487
Author
Owner

@kett1m commented on GitHub (Nov 25, 2026):

claiming: X64-RECOMP-IN-IMM8

<!-- gh-comment-id:7149745585 --> @kett1m commented on GitHub (Nov 25, 2026): claiming: X64-RECOMP-IN-IMM8
Author
Owner

@kett1m commented on GitHub (Nov 25, 2026):

done: X64-RECOMP-IN-IMM8 -> #1488

<!-- gh-comment-id:7149746903 --> @kett1m commented on GitHub (Nov 25, 2026): done: X64-RECOMP-IN-IMM8 -> #1488
Author
Owner

@exoticLgk commented on GitHub (Nov 25, 2026):

claiming: GPU-RTX4070-SUPER-WINDOWS — Add a GPU test record for an NVIDIA GeForce RTX 4070 SUPER (Ada, subgroup 32..32) on Windows 11, driver 591.86.

Tests already completed on main b4b7756e8:

  • 265/265 shaders translated and passed spirv-val.
  • Native: 207/256 passed, 49 skipped, 0 failed.
  • Wave64 emulation: 239/256 passed, 17 skipped, 0 failed.

Results will be submitted in gpu-test-results/RTX4070SUPER.txt. No game files involved. AI-assisted (ChatGPT).

<!-- gh-comment-id:7149770583 --> @exoticLgk commented on GitHub (Nov 25, 2026): claiming: GPU-RTX4070-SUPER-WINDOWS — Add a GPU test record for an NVIDIA GeForce RTX 4070 SUPER (Ada, subgroup 32..32) on Windows 11, driver 591.86. Tests already completed on main b4b7756e8: - 265/265 shaders translated and passed spirv-val. - Native: 207/256 passed, 49 skipped, 0 failed. - Wave64 emulation: 239/256 passed, 17 skipped, 0 failed. Results will be submitted in gpu-test-results/RTX4070SUPER.txt. No game files involved. AI-assisted (ChatGPT).
Author
Owner

@madhyn commented on GitHub (Nov 25, 2026):

claiming: BUILD-XMA2-PREBUILT-LIB — allow passing a prebuilt leonida_xma2_decoder.lib via -DLEONIDA_XMA2_DECODER_LIB=<path> in runtime/CMakeLists.txt (via a testable runtime/cmake/xma2_decoder.cmake helper), skipping configure-time cargo invocation when supplied, plus Linux cross-build notes in runtime/xma_decoder/README.md and docs/linux.md and a cmake -P unit test in tests/test_cmake_xma2_prebuilt.py. Hits a real Linux cross-build snag where distribution rustc lacks x86_64-pc-windows-msvc and configure silently falls back to muted XMA2 audio. Complements #995 (no game files). AI-assisted: yes.

<!-- gh-comment-id:7149831012 --> @madhyn commented on GitHub (Nov 25, 2026): claiming: BUILD-XMA2-PREBUILT-LIB — allow passing a prebuilt `leonida_xma2_decoder.lib` via `-DLEONIDA_XMA2_DECODER_LIB=<path>` in `runtime/CMakeLists.txt` (via a testable `runtime/cmake/xma2_decoder.cmake` helper), skipping configure-time `cargo` invocation when supplied, plus Linux cross-build notes in `runtime/xma_decoder/README.md` and `docs/linux.md` and a `cmake -P` unit test in `tests/test_cmake_xma2_prebuilt.py`. Hits a real Linux cross-build snag where distribution `rustc` lacks `x86_64-pc-windows-msvc` and configure silently falls back to muted XMA2 audio. Complements #995 (no game files). AI-assisted: yes.
Author
Owner

@xel1uz commented on GitHub (Nov 25, 2026):

done: STUDIO-RESET-CAMERA-FIT -> #1490

<!-- gh-comment-id:7149838641 --> @xel1uz commented on GitHub (Nov 25, 2026): done: STUDIO-RESET-CAMERA-FIT -> #1490
Author
Owner

@madhyn commented on GitHub (Nov 25, 2026):

done: BUILD-XMA2-PREBUILT-LIB -> #1491

<!-- gh-comment-id:7149892030 --> @madhyn commented on GitHub (Nov 25, 2026): done: BUILD-XMA2-PREBUILT-LIB -> #1491
Author
Owner

@exoticLgk commented on GitHub (Nov 25, 2026):

done: GPU-RTX4070-SUPER-WINDOWS -> #1489

<!-- gh-comment-id:7149893378 --> @exoticLgk commented on GitHub (Nov 25, 2026): done: GPU-RTX4070-SUPER-WINDOWS -> #1489
Author
Owner

@31415-n commented on GitHub (Nov 25, 2026):

claiming: GPU-V100-VOLTA-RECORD — first Volta/Tesla GPU test record: Tesla V100-SXM2-16GB, Linux, driver 580.178.04, Vulkan 1.4.312. run_gpu_tests.py on main b4b7756e8: native 193/256, wave64-emulated 224/256, all fallbacks 237/256; one reproducible cs_imgstore_cube failure needs its own issue. PR incoming.

<!-- gh-comment-id:7150071875 --> @31415-n commented on GitHub (Nov 25, 2026): claiming: GPU-V100-VOLTA-RECORD — first Volta/Tesla GPU test record: Tesla V100-SXM2-16GB, Linux, driver 580.178.04, Vulkan 1.4.312. run_gpu_tests.py on main b4b7756e8: native 193/256, wave64-emulated 224/256, all fallbacks 237/256; one reproducible cs_imgstore_cube failure needs its own issue. PR incoming.
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

done: SHADER-VALU-LITERAL-SEXT -> #1493 (the vector half of #978; 8 new semantic tests, 5 of which fail on the old translator; the full semantic suite passes).

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7150074687 --> @QemmHD commented on GitHub (Nov 25, 2026): done: SHADER-VALU-LITERAL-SEXT -> #1493 (the vector half of #978; 8 new semantic tests, 5 of which fail on the old translator; the full semantic suite passes). AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@31415-n commented on GitHub (Nov 25, 2026):

done: GPU-V100-VOLTA-RECORD -> #1494

<!-- gh-comment-id:7150114910 --> @31415-n commented on GitHub (Nov 25, 2026): done: GPU-V100-VOLTA-RECORD -> #1494
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

done: RT-PALMETTO-PARITY -> #1495

The PR is narrower than the claim. The measurement notes and the boot-report tools are left out because they do not move the boot. What is in it: #984 merged onto current main, and the pipeline-library translator fixes (#674, #593, #583, #1281, #1317, #998). AI-assisted (Claude Code).

<!-- gh-comment-id:7150142627 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): done: RT-PALMETTO-PARITY -> #1495 The PR is narrower than the claim. The measurement notes and the boot-report tools are left out because they do not move the boot. What is in it: #984 merged onto current `main`, and the pipeline-library translator fixes (#674, #593, #583, #1281, #1317, #998). AI-assisted (Claude Code).
Author
Owner

@akimfomin commented on GitHub (Nov 25, 2026):

claiming: parse top-level shader index entries one at a time so first-use loading retains less temporary memory. This builds on the separate subtree-move and block-read work in #1108 and #1218. PortBridge traced the need to the first-use index load measured in #1308. I will compare the existing and combined paths on source-generated metadata and keep lookup order and malformed-index handling covered. PortBridge

<!-- gh-comment-id:7150216093 --> @akimfomin commented on GitHub (Nov 25, 2026): claiming: parse top-level shader index entries one at a time so first-use loading retains less temporary memory. This builds on the separate subtree-move and block-read work in #1108 and #1218. PortBridge traced the need to [the first-use index load measured in #1308](https://github.com/ubiquitarianism/leonida/pull/1308#issuecomment-7148830079). I will compare the existing and combined paths on source-generated metadata and keep lookup order and malformed-index handling covered. [PortBridge](https://github.com/akimfomin/PortBridge)
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: tools/crosslane_fuzz.py has no --pc-tail-ubo support and never forwards it to rdna2spirv.py — on 128-byte-push-constant GPUs (AMD iGPU) every translated program is a harness error unless LEONIDA_PC_TAIL_UBO=1 is set for BOTH the translator and vk_compute_test, and then mismatches are counted against the wrong layout (0xEEEEEEEE anti-fold fill counted as mismatches, not harness errors). lds_fuzz/valu_fuzz/image_fuzz already handle this. Needs no game files; observed on AMD gfx1036 driver 24.10.24.

<!-- gh-comment-id:7150240878 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: tools/crosslane_fuzz.py has no --pc-tail-ubo support and never forwards it to rdna2spirv.py — on 128-byte-push-constant GPUs (AMD iGPU) every translated program is a harness error unless LEONIDA_PC_TAIL_UBO=1 is set for BOTH the translator and vk_compute_test, and then mismatches are counted against the wrong layout (0xEEEEEEEE anti-fold fill counted as mismatches, not harness errors). lds_fuzz/valu_fuzz/image_fuzz already handle this. Needs no game files; observed on AMD gfx1036 driver 24.10.24.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: tools/f32_fuzz.py translator-oracle check() path (f32_fuzz.py:726) does not apply the KNOWN_DEVIATIONS dev_omod_neg_zero/omod_active rules that the GPU-compare path uses (:941) — seed 53 program 246 (v_mul_legacy_f32_e64 mul:2, operands 0x1da20776/0x819d422d) false-positives: model expects -0.0, translator emits +0.0 which IS the measured hardware behavior under active omod. CPU-only fix; no game files/GPU needed.

<!-- gh-comment-id:7150243644 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: tools/f32_fuzz.py translator-oracle check() path (f32_fuzz.py:726) does not apply the KNOWN_DEVIATIONS dev_omod_neg_zero/omod_active rules that the GPU-compare path uses (:941) — seed 53 program 246 (v_mul_legacy_f32_e64 mul:2, operands 0x1da20776/0x819d422d) false-positives: model expects -0.0, translator emits +0.0 which IS the measured hardware behavior under active omod. CPU-only fix; no game files/GPU needed.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: tools/f32_fuzz.py translator-oracle check() path (f32_fuzz.py:726) does not apply the KNOWN_DEVIATIONS dev_omod_neg_zero/omod_active rules that the GPU-compare path uses (:941) — seed 53 program 246 (v_mul_legacy_f32_e64 mul:2) false-positives: model expects -0.0, translator emits +0.0 which IS the measured hardware behavior under active omod. CPU-only fix; no game files/GPU needed.

<!-- gh-comment-id:7150251225 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: tools/f32_fuzz.py translator-oracle check() path (f32_fuzz.py:726) does not apply the KNOWN_DEVIATIONS dev_omod_neg_zero/omod_active rules that the GPU-compare path uses (:941) — seed 53 program 246 (v_mul_legacy_f32_e64 mul:2) false-positives: model expects -0.0, translator emits +0.0 which IS the measured hardware behavior under active omod. CPU-only fix; no game files/GPU needed.
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

claiming: FUZZ-F32-ORACLE-DEV — the f32_fuzz.py finding (two identical posts above, 7150243644/7150251225): the translator-oracle check() path (tools/f32_fuzz.py:726) does not apply the KNOWN_DEVIATIONS dev_omod_neg_zero/omod_active rules that the GPU-compare path already uses (:941), so seed 53 program 246 (v_mul_legacy_f32_e64 mul:2, operands 0x1da20776/0x819d422d) false-positives — the model expects -0.0 while the translator emits +0.0, which is the documented hardware behavior under an active omod (the v_mul_legacy_f32 + omod rows in docs/design.md are native gfx1031/gfx1036 measurements). Plan: reproduce the false positive at current main, apply the same deviation rules the GPU-compare path applies, then re-run seed 53 and a seed sweep to confirm no real deviation gets masked, and that the KNOWN_DEVIATIONS counters still count it. CPU-only, no GPU, no game files. AI-assisted.

<!-- gh-comment-id:7150313983 --> @thiefyzheng commented on GitHub (Nov 25, 2026): claiming: FUZZ-F32-ORACLE-DEV — the f32_fuzz.py finding (two identical posts above, 7150243644/7150251225): the translator-oracle `check()` path (`tools/f32_fuzz.py:726`) does not apply the `KNOWN_DEVIATIONS` `dev_omod_neg_zero`/`omod_active` rules that the GPU-compare path already uses (`:941`), so seed 53 program 246 (`v_mul_legacy_f32_e64` `mul:2`, operands `0x1da20776`/`0x819d422d`) false-positives — the model expects -0.0 while the translator emits +0.0, which is the documented hardware behavior under an active omod (the `v_mul_legacy_f32` + omod rows in docs/design.md are native gfx1031/gfx1036 measurements). Plan: reproduce the false positive at current main, apply the same deviation rules the GPU-compare path applies, then re-run seed 53 and a seed sweep to confirm no real deviation gets masked, and that the KNOWN_DEVIATIONS counters still count it. CPU-only, no GPU, no game files. AI-assisted.
Author
Owner

@Tyrannys commented on GitHub (Nov 25, 2026):

finding: main at c266c269e (with #984 and #968 merged) on native Windows 11, RTX 4070 SUPER, 64 GB RAM, own 1.0.2.1 copy, no extra PRs: package splash, launch movie, first-run pages and the loading slideshow render; the title issues its first ExecuteIndirect (world start) and then dies with an access violation in title code (235 s with a@60 every 10 s on the keyboard pad, LEONIDA_SKIP_INT3=1, local history.bcph). Counts only.

This is the same stop I measured on #984 + #968 before the merge (https://github.com/ubiquitarianism/leonida/pull/984#issuecomment-7140426327). What it is not, one run each there: unmapped slot 31 sources, slot 31 timing, skipped asserts, the world-start compute programs, a rejected list, a runtime write into freed memory (the title's XMemAlloc on a private heap crashes the same), DirectStorage writes over the faulting objects. What the faults read: pages inside xmem physical-page windows that no XMemMapPhysicalPages / Scatter / slot 31 call ever mapped, among them the 24 GiB GPU-only twin (protection 0x801) of a 24 GiB CPU window that title_gpu_views pairs. Mapping the twin eagerly makes the boot crawl (about 5 fps); mapping it lazily on the first CPU fault did not trigger in the next run. Where needed I can run a build or a switch on this machine.

AI-assisted (Claude Code).

<!-- gh-comment-id:7150330367 --> @Tyrannys commented on GitHub (Nov 25, 2026): finding: `main` at `c266c269e` (with #984 and #968 merged) on native Windows 11, RTX 4070 SUPER, 64 GB RAM, own 1.0.2.1 copy, no extra PRs: package splash, launch movie, first-run pages and the loading slideshow render; the title issues its first `ExecuteIndirect` (world start) and then dies with an access violation in title code (235 s with `a@60` every 10 s on the keyboard pad, `LEONIDA_SKIP_INT3=1`, local `history.bcph`). Counts only. This is the same stop I measured on #984 + #968 before the merge (https://github.com/ubiquitarianism/leonida/pull/984#issuecomment-7140426327). What it is not, one run each there: unmapped slot 31 sources, slot 31 timing, skipped asserts, the world-start compute programs, a rejected list, a runtime write into freed memory (the title's XMemAlloc on a private heap crashes the same), DirectStorage writes over the faulting objects. What the faults read: pages inside xmem physical-page windows that no XMemMapPhysicalPages / Scatter / slot 31 call ever mapped, among them the 24 GiB GPU-only twin (protection 0x801) of a 24 GiB CPU window that `title_gpu_views` pairs. Mapping the twin eagerly makes the boot crawl (about 5 fps); mapping it lazily on the first CPU fault did not trigger in the next run. Where needed I can run a build or a switch on this machine. AI-assisted (Claude Code).
Author
Owner

@levi2m commented on GitHub (Nov 25, 2026):

claiming: DOC-DIV-FIXUP-ROW - the v_div_fixup_f16/v_div_fixup_f64 row in docs/design.md states the contract twice, and the two halves disagree. Remove the stale half so the row matches the gfx1036 measurement, the translator and tests/semantic/test_alu_div_fixup.py. Docs and one test docstring only. Follow-up to #1005, which fixed the tools/f64_diff.py reference and left the docs row for "a docs change".

<!-- gh-comment-id:7150359366 --> @levi2m commented on GitHub (Nov 25, 2026): claiming: DOC-DIV-FIXUP-ROW - the `v_div_fixup_f16`/`v_div_fixup_f64` row in `docs/design.md` states the contract twice, and the two halves disagree. Remove the stale half so the row matches the gfx1036 measurement, the translator and `tests/semantic/test_alu_div_fixup.py`. Docs and one test docstring only. Follow-up to #1005, which fixed the `tools/f64_diff.py` reference and left the docs row for "a docs change".
Author
Owner

@levi2m commented on GitHub (Nov 25, 2026):

done: DOC-DIV-FIXUP-ROW -> #1496

The stale half of the v_div_fixup row in docs/design.md is removed so the row states one rule set, matching the gfx1036 measurement, the translator and tests/semantic/test_alu_div_fixup.py. The test docstring had the same stale lines and is updated. Docs and a docstring only; no behaviour change.

<!-- gh-comment-id:7150371777 --> @levi2m commented on GitHub (Nov 25, 2026): done: DOC-DIV-FIXUP-ROW -> #1496 The stale half of the `v_div_fixup` row in `docs/design.md` is removed so the row states one rule set, matching the gfx1036 measurement, the translator and `tests/semantic/test_alu_div_fixup.py`. The test docstring had the same stale lines and is updated. Docs and a docstring only; no behaviour change.
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

claiming: RT-NULL-BARRIER-CLEAR - two console command-list calls that currently invalidate a whole list on the PC path, so Close fails and the submission is dropped:

  • list slot 146 (barrier groups): a texture barrier that names no resource becomes a global barrier with the same sync and access.
  • list slot 52 (ClearRenderTargetView): clearing a view that was created with no resource is skipped, because on the console it is a no-op.

Both land on top of the console list proxy in #1495 (runtime/shims/d3d12_xs_device.cpp), with mock-device tests in runtime/test/xs_proxy_mock_test.cpp. No game files are needed for the tests. Depends on #1495.

<!-- gh-comment-id:7150446086 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): claiming: RT-NULL-BARRIER-CLEAR - two console command-list calls that currently invalidate a whole list on the PC path, so Close fails and the submission is dropped: - **list slot 146 (barrier groups):** a texture barrier that names no resource becomes a global barrier with the same sync and access. - **list slot 52 (`ClearRenderTargetView`):** clearing a view that was created with no resource is skipped, because on the console it is a no-op. Both land on top of the console list proxy in #1495 (`runtime/shims/d3d12_xs_device.cpp`), with mock-device tests in `runtime/test/xs_proxy_mock_test.cpp`. No game files are needed for the tests. Depends on #1495.
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

done: RT-BARY-FALLBACK-PSO -> #1497

<!-- gh-comment-id:7150475370 --> @robot00f commented on GitHub (Nov 25, 2026): done: RT-BARY-FALLBACK-PSO -> #1497
Author
Owner

@huangzhuoyue commented on GitHub (Nov 25, 2026):

claiming: cpu_emulation: replace per-#UD VirtualQuery with MSVC SEH helpers in runtime/src/cpu_emulation.h (keeps writable()/readable() intact so open PRs #826 and #1472 remain conflict-free)

<!-- gh-comment-id:7150481062 --> @huangzhuoyue commented on GitHub (Nov 25, 2026): claiming: cpu_emulation: replace per-#UD VirtualQuery with MSVC SEH helpers in runtime/src/cpu_emulation.h (keeps writable()/readable() intact so open PRs #826 and #1472 remain conflict-free)
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

done: FUZZ-F32-ORACLE-DEV -> #1498

The translator-oracle check() path in tools/f32_fuzz.py now applies the same KNOWN_DEVIATIONS rules the GPU-compare path applies: a -0 turned into +0 by an active omod is counted as known deviation omod_neg_zero instead of a mismatch. Seed 53 before: 1 mismatch (v_mul_legacy_f32, program 246 — the finding's exact case); after: 0 mismatch, the deviation counted. Regression sweep seeds 1–30: summary lines byte-identical before/after, no new deviations, no regressions; --self-test and tests/test_f32_fuzz.py green (29 OK, 1 GPU-skip). CPU-only; no GPU path touched. @whoalin1's finding (posted twice — both linked in the PR). AI-assisted.

<!-- gh-comment-id:7150501471 --> @thiefyzheng commented on GitHub (Nov 25, 2026): done: FUZZ-F32-ORACLE-DEV -> #1498 The translator-oracle `check()` path in tools/f32_fuzz.py now applies the same KNOWN_DEVIATIONS rules the GPU-compare path applies: a `-0` turned into `+0` by an active omod is counted as `known deviation omod_neg_zero` instead of a mismatch. Seed 53 before: 1 mismatch (v_mul_legacy_f32, program 246 — the finding's exact case); after: 0 mismatch, the deviation counted. Regression sweep seeds 1–30: summary lines byte-identical before/after, no new deviations, no regressions; `--self-test` and tests/test_f32_fuzz.py green (29 OK, 1 GPU-skip). CPU-only; no GPU path touched. @whoalin1's finding (posted twice — both linked in the PR). AI-assisted.
Author
Owner

@huangzhuoyue commented on GitHub (Nov 25, 2026):

finding: PR #984's PipelineCompiler runs a single below-normal worker behind a global big_compile mutex on >128 KiB SPIR-V modules, stalling on-demand dispatches and causing window "Not Responding" freezes

Where: runtime/shims/d3d12_pipeline_compile.h (PipelineCompiler::submit, lines 89-127) and runtime/shims/d3d12_vulkan_device.cpp (PipelineState::build_compute, lines 7259-7296) on PR #984 (273b3bdf9).
Why it matters: On an 8 GB VRAM multi-core Windows 11 machine without a matching cold cache, 1 warmup worker used ~1 CPU core (~9 min to crawl to ~270 KiB compute shaders) and on-demand >128 KiB compute compiles serialized behind the THREAD_PRIORITY_BELOW_NORMAL warmup worker on the single big_compile mutex. Splitting dedicated demand workers from general/warmup workers and replacing big_compile with a memory-budgeted concurrent gate prioritizing demand compiles eliminated the stalls (67 >=2 s compute builds in 180 s cold boot, 0 faults, 1642 presents ok).
Needs: PR #984 (d3d12_pipeline_compile.h) merged to main first; no special hardware beyond a cold shader compile run.

<!-- gh-comment-id:7150502283 --> @huangzhuoyue commented on GitHub (Nov 25, 2026): finding: PR #984's PipelineCompiler runs a single below-normal worker behind a global big_compile mutex on >128 KiB SPIR-V modules, stalling on-demand dispatches and causing window "Not Responding" freezes Where: `runtime/shims/d3d12_pipeline_compile.h` (`PipelineCompiler::submit`, lines 89-127) and `runtime/shims/d3d12_vulkan_device.cpp` (`PipelineState::build_compute`, lines 7259-7296) on PR #984 (`273b3bdf9`). Why it matters: On an 8 GB VRAM multi-core Windows 11 machine without a matching cold cache, 1 warmup worker used ~1 CPU core (~9 min to crawl to ~270 KiB compute shaders) and on-demand >128 KiB compute compiles serialized behind the `THREAD_PRIORITY_BELOW_NORMAL` warmup worker on the single `big_compile` mutex. Splitting dedicated demand workers from general/warmup workers and replacing `big_compile` with a memory-budgeted concurrent gate prioritizing demand compiles eliminated the stalls (67 >=2 s compute builds in 180 s cold boot, 0 faults, 1642 presents ok). Needs: PR #984 (`d3d12_pipeline_compile.h`) merged to `main` first; no special hardware beyond a cold shader compile run.
Author
Owner

@PierreEbele commented on GitHub (Nov 25, 2026):

claiming: CROSSLANE-FUZZ-PC-TAIL-UBO. This is @whoalin1's 02:02Z finding. tools/crosslane_fuzz.py gets a --pc-tail-ubo flag, also enabled by LEONIDA_PC_TAIL_UBO=1, like lds_fuzz.py and valu_fuzz.py. With the flag, translate() passes --pc-tail-ubo to rdna2spirv.py and run_gpu() runs vk_compute_test with LEONIDA_PC_TAIL_UBO=1. A CPU-only test checks both. #318 and #716 also touch run_gpu, and the PR will list them in Depends on:. No GPU or game files needed. AI-assisted.

<!-- gh-comment-id:7150544577 --> @PierreEbele commented on GitHub (Nov 25, 2026): claiming: CROSSLANE-FUZZ-PC-TAIL-UBO. This is @whoalin1's 02:02Z finding. `tools/crosslane_fuzz.py` gets a `--pc-tail-ubo` flag, also enabled by `LEONIDA_PC_TAIL_UBO=1`, like `lds_fuzz.py` and `valu_fuzz.py`. With the flag, `translate()` passes `--pc-tail-ubo` to `rdna2spirv.py` and `run_gpu()` runs `vk_compute_test` with `LEONIDA_PC_TAIL_UBO=1`. A CPU-only test checks both. #318 and #716 also touch `run_gpu`, and the PR will list them in `Depends on:`. No GPU or game files needed. AI-assisted.
Author
Owner

@huangzhuoyue commented on GitHub (Nov 25, 2026):

done: cpu_emulation: replace per-#UD VirtualQuery with MSVC SEH helpers -> #1499

<!-- gh-comment-id:7150559245 --> @huangzhuoyue commented on GitHub (Nov 25, 2026): done: cpu_emulation: replace per-#UD VirtualQuery with MSVC SEH helpers -> #1499
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: FUZZ-CROSSLANE-PC-TAIL-UBO — @whoalin1's finding (comment 7150240878): add --pc-tail-ubo / LEONIDA_PC_TAIL_UBO support to tools/crosslane_fuzz.py (matching lds_fuzz.py, valu_fuzz.py, and image_fuzz.py), forwarding --pc-tail-ubo to rdna2spirv.py and LEONIDA_PC_TAIL_UBO=1 to vk_compute_test across both normal runs and --minimize, with unit tests in tests/test_crosslane_fuzz.py.

<!-- gh-comment-id:7150559295 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: FUZZ-CROSSLANE-PC-TAIL-UBO — @whoalin1's finding (comment 7150240878): add `--pc-tail-ubo` / `LEONIDA_PC_TAIL_UBO` support to `tools/crosslane_fuzz.py` (matching `lds_fuzz.py`, `valu_fuzz.py`, and `image_fuzz.py`), forwarding `--pc-tail-ubo` to `rdna2spirv.py` and `LEONIDA_PC_TAIL_UBO=1` to `vk_compute_test` across both normal runs and `--minimize`, with unit tests in `tests/test_crosslane_fuzz.py`.
Author
Owner

@levi2m commented on GitHub (Nov 25, 2026):

claiming: DSTORAGE-CENSUS-WRONG-INPUT - tools/dstorage_census.py stops with a traceback on a wrong input: a trace path that does not exist (FileNotFoundError), a folder instead of a trace (IsADirectoryError), and a ds-request line with a missing or malformed field (KeyError / ValueError). Each becomes one ERROR: line and exit code 2, the way #1088 did for recomp_census. Found by running every tools/*.py against a missing path, an empty file, a junk file and a folder; the other tools that traceback in that sweep (gbuffer_census, navmesh_cell_fit, root_spill_census) are already in #952.

<!-- gh-comment-id:7150602137 --> @levi2m commented on GitHub (Nov 25, 2026): claiming: DSTORAGE-CENSUS-WRONG-INPUT - `tools/dstorage_census.py` stops with a traceback on a wrong input: a trace path that does not exist (FileNotFoundError), a folder instead of a trace (IsADirectoryError), and a `ds-request` line with a missing or malformed field (KeyError / ValueError). Each becomes one `ERROR:` line and exit code 2, the way #1088 did for `recomp_census`. Found by running every `tools/*.py` against a missing path, an empty file, a junk file and a folder; the other tools that traceback in that sweep (`gbuffer_census`, `navmesh_cell_fit`, `root_spill_census`) are already in #952.
Author
Owner

@exoticLgk commented on GitHub (Nov 25, 2026):

claiming: RT-TITLE-WINDOW-CLEANUP — Investigate and fix Vulkan resource leaks in d3d12_title_index_window and d3d12_title_vertex_window.

Reproduced on Windows 11 with an NVIDIA RTX 4070 SUPER, driver 591.86, and Vulkan validation enabled. Both tests pass despite reporting 11 leaked Vulkan objects each (VUID-vkDestroyDevice-device-05137).

The goal is to fix resource lifetime management and ensure teardown validation errors are detected by the tests.

AI-assisted (ChatGPT).

<!-- gh-comment-id:7150605962 --> @exoticLgk commented on GitHub (Nov 25, 2026): claiming: RT-TITLE-WINDOW-CLEANUP — Investigate and fix Vulkan resource leaks in d3d12_title_index_window and d3d12_title_vertex_window. Reproduced on Windows 11 with an NVIDIA RTX 4070 SUPER, driver 591.86, and Vulkan validation enabled. Both tests pass despite reporting 11 leaked Vulkan objects each (VUID-vkDestroyDevice-device-05137). The goal is to fix resource lifetime management and ensure teardown validation errors are detected by the tests. AI-assisted (ChatGPT).
Author
Owner

@levi2m commented on GitHub (Nov 25, 2026):

done: DSTORAGE-CENSUS-WRONG-INPUT -> #1500

tools/dstorage_census.py prints one ERROR: line and exits 2 for a missing trace, a folder for the trace, and a ds-request line with a missing or malformed field, instead of a traceback. New tests/test_dstorage_census.py (7 tests; 5 fail on the old tool). Synthetic traces only.

<!-- gh-comment-id:7150610019 --> @levi2m commented on GitHub (Nov 25, 2026): done: DSTORAGE-CENSUS-WRONG-INPUT -> #1500 `tools/dstorage_census.py` prints one `ERROR:` line and exits 2 for a missing trace, a folder for the trace, and a ds-request line with a missing or malformed field, instead of a traceback. New `tests/test_dstorage_census.py` (7 tests; 5 fail on the old tool). Synthetic traces only.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: FUZZ-CROSSLANE-PC-TAIL-UBO -> #1501

<!-- gh-comment-id:7150612355 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: FUZZ-CROSSLANE-PC-TAIL-UBO -> #1501
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: F32-FUZZ-OMOD-ORACLE — f32_fuzz translator-oracle check() ignored KNOWN_DEVIATIONS (dev_omod_neg_zero), false-positiving hardware-correct +0 under active omod (seed 53 prog 246). Branch f32-fuzz-omod-oracle, worktree leonida-w2. PR incoming.

<!-- gh-comment-id:7150685465 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: F32-FUZZ-OMOD-ORACLE — f32_fuzz translator-oracle check() ignored KNOWN_DEVIATIONS (dev_omod_neg_zero), false-positiving hardware-correct +0 under active omod (seed 53 prog 246). Branch f32-fuzz-omod-oracle, worktree leonida-w2. PR incoming.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: INT3-CAUSE-DECODE-AND-TRACE-FIXES — fix tools/int3_cause.py decoding, tracing, and global-writer accuracy: report true memory width for byte/word/movsxd LOAD_OPS, map 8-bit ah..bh high-byte register writes/copies/stores to rax..rbx instead of rsp..rdi, verify decoded RIP-relative stores and support 16-bit 66 C7 05 in stores_to/global_writers, stop trace_paths/returns from collapsing distinct returned arguments, treat int 29h (0xCD) as non-falling-through in falls_into, accept F6/F7 /1, unsigned bt imm8, flag-neutral push/xchg/bswap/mov moffs, uppercase 0X addresses, and avoid array('Q') overflow on >= 2 GiB images; with regression tests in tests/test_int3_cause.py.

<!-- gh-comment-id:7150689690 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: INT3-CAUSE-DECODE-AND-TRACE-FIXES — fix `tools/int3_cause.py` decoding, tracing, and global-writer accuracy: report true memory width for byte/word/movsxd `LOAD_OPS`, map 8-bit `ah..bh` high-byte register writes/copies/stores to `rax..rbx` instead of `rsp..rdi`, verify decoded RIP-relative stores and support 16-bit `66 C7 05` in `stores_to`/`global_writers`, stop `trace_paths`/`returns` from collapsing distinct returned arguments, treat `int 29h` (`0xCD`) as non-falling-through in `falls_into`, accept `F6`/`F7 /1`, unsigned `bt` imm8, flag-neutral `push`/`xchg`/`bswap`/`mov moffs`, uppercase `0X` addresses, and avoid `array('Q')` overflow on >= 2 GiB images; with regression tests in `tests/test_int3_cause.py`.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: F32-FUZZ-OMOD-ORACLE -> PR https://github.com/ubiquitarianism/leonida/pull/1502 (reviewer-approved; oracle now retries KNOWN_DEVIATIONS like hw_verdict; seed53 277/0, neighbors unchanged).

<!-- gh-comment-id:7150690681 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: F32-FUZZ-OMOD-ORACLE -> PR https://github.com/ubiquitarianism/leonida/pull/1502 (reviewer-approved; oracle now retries KNOWN_DEVIATIONS like hw_verdict; seed53 277/0, neighbors unchanged).
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: v_fmamk_f32 (and likely all f32 FMA-family ops) does not preserve sNaN the way gfx1036 hardware does — hardware returns the sNaN unchanged so v_cmp_class_f32 bit0 (sNaN) fires; BOTH Vulkan drivers (AMD 24.10.24 + NVIDIA) quiet it to qNaN so bit1 fires instead, flipping v_cndmask results. First fuzz-observed case where driver NaN choice flips a class bit; not in KNOWN_DIVERGENCES (only class-snan-mods is). Minimized 7-insn repro in leonida-w1/.scratch/fuzz_w1/repro_fmisc.py. Needs no game files; observed via fmisc_diff seed (nv_fmisc_w32 program 1377).

<!-- gh-comment-id:7150693397 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: v_fmamk_f32 (and likely all f32 FMA-family ops) does not preserve sNaN the way gfx1036 hardware does — hardware returns the sNaN unchanged so v_cmp_class_f32 bit0 (sNaN) fires; BOTH Vulkan drivers (AMD 24.10.24 + NVIDIA) quiet it to qNaN so bit1 fires instead, flipping v_cndmask results. First fuzz-observed case where driver NaN choice flips a class bit; not in KNOWN_DIVERGENCES (only class-snan-mods is). Minimized 7-insn repro in leonida-w1/.scratch/fuzz_w1/repro_fmisc.py. Needs no game files; observed via fmisc_diff seed (nv_fmisc_w32 program 1377).
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: NVIDIA driver bug — v_add_nc_i16/v_sub_nc_i16 with op_sel:[1,1,0] + clamp corrupts the PRESERVED high half (e.g. correct 0x0002AAA8 → NVIDIA 0x1113AAA8); low half fine, AMD Vulkan + gfx1036 hardware correct. Reproduces on NVIDIA RTX 4070 SUPER wave32, 2/1500 pk16 programs; minimized 4-insn repro leonida-w1/.scratch/fuzz_w1/repro_min2.py. Emitted SPIR-V is spirv-val clean — NVIDIA shader-compiler bug, not translator. Also: translator emits SClamp on %uint at tools/rdna2spirv.py:9207/:7816 while most sites use %int — worth hardening.

<!-- gh-comment-id:7150693781 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: NVIDIA driver bug — v_add_nc_i16/v_sub_nc_i16 with op_sel:[1,1,0] + clamp corrupts the PRESERVED high half (e.g. correct 0x0002AAA8 → NVIDIA 0x1113AAA8); low half fine, AMD Vulkan + gfx1036 hardware correct. Reproduces on NVIDIA RTX 4070 SUPER wave32, 2/1500 pk16 programs; minimized 4-insn repro leonida-w1/.scratch/fuzz_w1/repro_min2.py. Emitted SPIR-V is spirv-val clean — NVIDIA shader-compiler bug, not translator. Also: translator emits SClamp on %uint at tools/rdna2spirv.py:9207/:7816 while most sites use %int — worth hardening.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: two more NVIDIA-only fuzz divergences (RTX 4070 SUPER, driver current): (a) FMA flushes a denormal intermediate product — v_fmamk_f32 with product -2^-127 returns addend unchanged instead of exact 0x00BFFFFF; AMD Vulkan matches hardware. (b) v_cvt_f32_u32_sdwa with dst_sel BYTE_2 UNUSED_PRESERVE writes wrong byte (0xE7→0x00) — minimized repro leonida-w1/.scratch/fuzz_w1/repro_sdwa.py; AMD Vulkan correct. Both spirv-val clean → NVIDIA driver miscompiles. Plus: vk_compute_test crashes 0xC0000005 on the AMD Windows Vulkan driver (24.10.24) for certain translated fuzz SPIR-V (fmisc/vint/sdwa families, ~2% of programs) — driver/harness crash, repros in leonida-w1/.scratch/fuzz_w1/min/. All CPU/GPU-verifiable without game files.

<!-- gh-comment-id:7150696174 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: two more NVIDIA-only fuzz divergences (RTX 4070 SUPER, driver current): (a) FMA flushes a denormal intermediate product — v_fmamk_f32 with product -2^-127 returns addend unchanged instead of exact 0x00BFFFFF; AMD Vulkan matches hardware. (b) v_cvt_f32_u32_sdwa with dst_sel BYTE_2 UNUSED_PRESERVE writes wrong byte (0xE7→0x00) — minimized repro leonida-w1/.scratch/fuzz_w1/repro_sdwa.py; AMD Vulkan correct. Both spirv-val clean → NVIDIA driver miscompiles. Plus: vk_compute_test crashes 0xC0000005 on the AMD Windows Vulkan driver (24.10.24) for certain translated fuzz SPIR-V (fmisc/vint/sdwa families, ~2% of programs) — driver/harness crash, repros in leonida-w1/.scratch/fuzz_w1/min/. All CPU/GPU-verifiable without game files.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: INT3-CAUSE-DECODE-AND-TRACE-FIXES -> #1503

<!-- gh-comment-id:7150758178 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: INT3-CAUSE-DECODE-AND-TRACE-FIXES -> #1503
Author
Owner

@Okachamie commented on GitHub (Nov 25, 2026):

finding: the pipeline compile trace has no separate measurement for time waiting on the large-compute mutex.

Follow-up to https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7150502283. On main 3ff2a2adc, runtime/shims/d3d12_vulkan_device.cpp:7370 acquires big_compile before the compile timing starts at line 7395. With LEONIDA_TRACE_PIPELINE_COMPILE=1, the pipeline-use line can show a slow synchronous dispatch and pipeline-compile times the driver call, but neither identifies how much time was spent waiting for that mutex. A separate lock-wait duration would distinguish contention from driver compile time in cold-cache traces.

A game-free check of the exact PipelineCompiler under Wine 11.22 also confirmed that a priority-zero job runs ahead of queued warmup jobs only after an active warmup job releases the single worker. That check covers the async queue and does not reproduce the in-game freeze or measure the synchronous mutex. The timing gap is visible in source without game files or special hardware. AI-assisted.

<!-- gh-comment-id:7150779181 --> @Okachamie commented on GitHub (Nov 25, 2026): finding: the pipeline compile trace has no separate measurement for time waiting on the large-compute mutex. Follow-up to https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7150502283. On main `3ff2a2adc`, `runtime/shims/d3d12_vulkan_device.cpp:7370` acquires `big_compile` before the compile timing starts at line 7395. With `LEONIDA_TRACE_PIPELINE_COMPILE=1`, the `pipeline-use` line can show a slow synchronous dispatch and `pipeline-compile` times the driver call, but neither identifies how much time was spent waiting for that mutex. A separate lock-wait duration would distinguish contention from driver compile time in cold-cache traces. A game-free check of the exact `PipelineCompiler` under Wine 11.22 also confirmed that a priority-zero job runs ahead of queued warmup jobs only after an active warmup job releases the single worker. That check covers the async queue and does not reproduce the in-game freeze or measure the synchronous mutex. The timing gap is visible in source without game files or special hardware. AI-assisted.
Author
Owner

@ubiquitarianism commented on GitHub (Nov 25, 2026):

done: RT-NULL-BARRIER-CLEAR -> #1504 (depends on #1495)

<!-- gh-comment-id:7150857785 --> @ubiquitarianism commented on GitHub (Nov 25, 2026): done: RT-NULL-BARRIER-CLEAR -> #1504 (depends on #1495)
Author
Owner

@Solarthis commented on GitHub (Nov 25, 2026):

finding: pipeline_compiler asserts an exact completed count a stolen job can lower, and can hang under load

runtime/test/pipeline_compiler_test.cpp:404 (block 13, the big-module gate): after submitting six 4 MiB jobs and four small ones it ends with EXPECT(compiler.stats().completed == 10) once every job is waited for. j->wait() is itself a waiter and may steal a queued job; runtime/src/pipeline_compiler.h counts a stolen job in stolen_ (line 452), not completed_ (line 442), so the exact-10 assertion is racy. Seen as line 404: compiler.stats().completed == 10 with 9/10 completed, 1 stolen while the full suite ran next to a live game boot.

Same run family: under a live gta6rt.exe plus another lane's winedbg attach the test can sit in Start 170 for five minutes without finishing (killed twice by hand). Alone it passes 6/6 on an Apple M5 / MoltenVK host.

Why it matters: pipeline_compiler is not in the baseline-nine failure list, so it shows up as a regression in every lane's suite run and costs a re-run each time. Fix could be completed + stolen (or >= 4 for the small jobs) plus a bounded wait in the big-module block. Needs no game files; GPU host only.

Files: runtime/test/pipeline_compiler_test.cpp:370-405; runtime/src/pipeline_compiler.h:234-236, 332-334, 442-452, 462.
Not claimed by me — this lane is water-pipelines2 (water-volume PSO refusals).

<!-- gh-comment-id:7150858704 --> @Solarthis commented on GitHub (Nov 25, 2026): finding: `pipeline_compiler` asserts an exact completed count a stolen job can lower, and can hang under load `runtime/test/pipeline_compiler_test.cpp:404` (block 13, the big-module gate): after submitting six 4 MiB jobs and four small ones it ends with `EXPECT(compiler.stats().completed == 10)` once every job is waited for. `j->wait()` is itself a waiter and may **steal** a queued job; `runtime/src/pipeline_compiler.h` counts a stolen job in `stolen_` (line 452), not `completed_` (line 442), so the exact-10 assertion is racy. Seen as `line 404: compiler.stats().completed == 10` with `9/10 completed, 1 stolen` while the full suite ran next to a live game boot. Same run family: under a live `gta6rt.exe` plus another lane's `winedbg` attach the test can sit in `Start 170` for five minutes without finishing (killed twice by hand). Alone it passes 6/6 on an Apple M5 / MoltenVK host. Why it matters: `pipeline_compiler` is not in the baseline-nine failure list, so it shows up as a regression in every lane's suite run and costs a re-run each time. Fix could be `completed + stolen` (or `>= 4` for the small jobs) plus a bounded wait in the big-module block. Needs no game files; GPU host only. Files: `runtime/test/pipeline_compiler_test.cpp:370-405`; `runtime/src/pipeline_compiler.h:234-236, 332-334, 442-452, 462`. Not claimed by me — this lane is `water-pipelines2` (water-volume PSO refusals).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: WORLD-GRID-ATLAS-VALIDATION-HARDENING — harden tools/world_grid_atlas.py against invalid geometry/cell/order/alignment/fit/DDS/heightmap/manifest inputs: reject non-positive/boolean dimensions and negative or non-finite origin/zInflation in geometry(), reject non-int/bool cells in cell_box(), validate n_tiles/anchor bounds/duplicate order cells in fill_by_order(), reject ragged or non-finite/unalignable score matrices (preventing -1 slot indices) in align(), check mismatched lengths and non-finite inputs (plus clamp r to [-1, 1]) in linear_fit(), guard truncated < 132-byte R16 DDS headers against struct.error in read_image(), skip degenerate zero-span MHIU bounds in water_fit(), validate manifest JSON root/structure in load_manifests(), and enforce allow_nan=False in write_json(); with unit tests in tests/test_world_grid_atlas.py.

<!-- gh-comment-id:7150859873 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: WORLD-GRID-ATLAS-VALIDATION-HARDENING — harden `tools/world_grid_atlas.py` against invalid geometry/cell/order/alignment/fit/DDS/heightmap/manifest inputs: reject non-positive/boolean dimensions and negative or non-finite `origin`/`zInflation` in `geometry()`, reject non-int/bool cells in `cell_box()`, validate `n_tiles`/anchor bounds/duplicate order cells in `fill_by_order()`, reject ragged or non-finite/unalignable score matrices (preventing `-1` slot indices) in `align()`, check mismatched lengths and non-finite inputs (plus clamp `r` to `[-1, 1]`) in `linear_fit()`, guard truncated `< 132`-byte R16 DDS headers against `struct.error` in `read_image()`, skip degenerate zero-span MHIU bounds in `water_fit()`, validate manifest JSON root/structure in `load_manifests()`, and enforce `allow_nan=False` in `write_json()`; with unit tests in `tests/test_world_grid_atlas.py`.
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

claiming: TEST-DEPTH-RESOLVE-SAMPLE-POSITIONS. d3d12_depth_resolve fails on NVIDIA hosts whose driver profile has MFAA ("Enable sample interleaving") on. The test, not the layer, is wrong there: the native D3D12 reference then uses non-standard default 4x sample positions. The layer matches WARP 71/71 and the standard pattern byte for byte. The fix is test-side: pin the standard positions on devices that have programmable ones. This is likely the unexplained "known failure" listed in #67 for an RTX 5060 Ti.

finding: presentation on main is unpaced. With a synthetic guest (D3D12XboxCreateDevice, slots 78/79/80, then PresentX), main 3ff2a2adc presents correctly end to end: one window presenter, every frame's colours exact, 0 validation messages, in both the slot-30 and slot-32 layouts. But a 60 Hz request ran 300 frames in about 1.6 s. WaitFrameEventX returns at once, the lazy presenter's pacer never sees an interval (interval_set_ stays false under a debugger), and the swapchain picks MAILBOX over FIFO. @aslan2142, is pacing meant to arrive later with #939? Two smaller notes: LEONIDA_CAPTURE drops the last frame of a run that exits with the device alive (N presents give N-1 captures), and the shims/xbox_present.h:210 comment still says gta6rt creates no XboxPresentation. No game files were used for either finding (Windows 11, RTX 4070 SUPER, NVIDIA 621.24).

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7150863045 --> @QemmHD commented on GitHub (Nov 25, 2026): claiming: TEST-DEPTH-RESOLVE-SAMPLE-POSITIONS. `d3d12_depth_resolve` fails on NVIDIA hosts whose driver profile has MFAA ("Enable sample interleaving") on. The test, not the layer, is wrong there: the native D3D12 reference then uses non-standard default 4x sample positions. The layer matches WARP 71/71 and the standard pattern byte for byte. The fix is test-side: pin the standard positions on devices that have programmable ones. This is likely the unexplained "known failure" listed in #67 for an RTX 5060 Ti. finding: presentation on main is unpaced. With a synthetic guest (D3D12XboxCreateDevice, slots 78/79/80, then PresentX), main 3ff2a2adc presents correctly end to end: one window presenter, every frame's colours exact, 0 validation messages, in both the slot-30 and slot-32 layouts. But a 60 Hz request ran 300 frames in about 1.6 s. WaitFrameEventX returns at once, the lazy presenter's pacer never sees an interval (`interval_set_` stays false under a debugger), and the swapchain picks MAILBOX over FIFO. @aslan2142, is pacing meant to arrive later with #939? Two smaller notes: `LEONIDA_CAPTURE` drops the last frame of a run that exits with the device alive (N presents give N-1 captures), and the `shims/xbox_present.h:210` comment still says gta6rt creates no XboxPresentation. No game files were used for either finding (Windows 11, RTX 4070 SUPER, NVIDIA 621.24). AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

done: TEST-DEPTH-RESOLVE-SAMPLE-POSITIONS -> #1505 (test-only, +17 lines).

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7150870382 --> @QemmHD commented on GitHub (Nov 25, 2026): done: TEST-DEPTH-RESOLVE-SAMPLE-POSITIONS -> #1505 (test-only, +17 lines). AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: WORLD-GRID-ATLAS-VALIDATION-HARDENING -> #1506

<!-- gh-comment-id:7150917549 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: WORLD-GRID-ATLAS-VALIDATION-HARDENING -> #1506
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: CROSSLANE-FUZZ-PCTAIL — crosslane_fuzz lacked --pc-tail-ubo (posted as finding:); mirrors lds/valu/image pattern, env fallback, --minimize ctx fix. Branch crosslane-pctail-ubo, worktree leonida-w3. PR incoming.

<!-- gh-comment-id:7150962619 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: CROSSLANE-FUZZ-PCTAIL — crosslane_fuzz lacked --pc-tail-ubo (posted as finding:); mirrors lds/valu/image pattern, env fallback, --minimize ctx fix. Branch crosslane-pctail-ubo, worktree leonida-w3. PR incoming.
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

claiming: TEST-MUTATIONS-COST - tests/semantic/test_mutations.py was the last file still running in all 23 semantic-tests (windows-latest) runs measured for #1462 (250-381 s there, 25-42 s on the Linux leg). For each of its 14 runs of test_ps_semantics.py (the baseline and 13 mutations) it copies tools/ (about 330 files) into a new temporary folder and runs the whole file. I will copy tools/ once per test instead of once per run (14 copies become 2), write the translator back after each mutation, and run only the test each mutation must break (TranslatorSemantics.<test>), requiring the failure to come from that class so a misspelled test name cannot count as caught. What the file checks stays: the unmutated copy passes the whole file, each anchor matches exactly once, each mutation fails its test, the CRLF anchor test keeps working, and the repository's own tools/ is never written. Not touched: scripts/run_semantic_tests.py (six open pull requests change it) and ci.yml. Timed on Linux; the gain on Windows stays a hypothesis until a Windows run shows it. No game files, no GPU. AI-assisted.

<!-- gh-comment-id:7150964147 --> @milk4sale commented on GitHub (Nov 25, 2026): claiming: TEST-MUTATIONS-COST - `tests/semantic/test_mutations.py` was the last file still running in all 23 `semantic-tests (windows-latest)` runs measured for #1462 (250-381 s there, 25-42 s on the Linux leg). For each of its 14 runs of `test_ps_semantics.py` (the baseline and 13 mutations) it copies `tools/` (about 330 files) into a new temporary folder and runs the whole file. I will copy `tools/` once per test instead of once per run (14 copies become 2), write the translator back after each mutation, and run only the test each mutation must break (`TranslatorSemantics.<test>`), requiring the failure to come from that class so a misspelled test name cannot count as caught. What the file checks stays: the unmutated copy passes the whole file, each anchor matches exactly once, each mutation fails its test, the CRLF anchor test keeps working, and the repository's own `tools/` is never written. Not touched: `scripts/run_semantic_tests.py` (six open pull requests change it) and `ci.yml`. Timed on Linux; the gain on Windows stays a hypothesis until a Windows run shows it. No game files, no GPU. AI-assisted.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: CROSSLANE-FUZZ-PCTAIL -> PR https://github.com/ubiquitarianism/leonida/pull/1507 (two reviewers approved; 76 tests OK; AMD iGPU spot-check 0 harness errors).

<!-- gh-comment-id:7150970244 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: CROSSLANE-FUZZ-PCTAIL -> PR https://github.com/ubiquitarianism/leonida/pull/1507 (two reviewers approved; 76 tests OK; AMD iGPU spot-check 0 harness errors).
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: ~20 d3d12_* test files share the temp_directory_path crash class — with TMP/TEMP/USERPROFILE unset, GetTempPathW returns C:\Windows\ and the throwing create_directories/copy_file/ofstream on C:\Windows\leonida_* aborts with 0xc0000409 (same as the d3d12_mesh_test crash). Sites: d3d12_mesh/bindless_churn/conservative_raster(+tier2/tier3)/depth24_draw/depth_resolve/execute_indirect_validation/f16_halves/geometry/indirect_dispatch_count/multi_viewport/shader_cache/state_sweep/stores_atomics + ~10 non-d3d12 test files. Highest-leverage fix: route them through runtime/test/test_temp_dir.h (already exists) or honor LEONIDA_TEST_DIR. Also one wrong-result case: d3d12_queue_handover_test.cpp:391-392 ignores _sopen_s failure → capture_stderr returns empty silently. Test-only; no game files; reproduces on any stripped-env Windows shell.

<!-- gh-comment-id:7150970700 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: ~20 d3d12_* test files share the temp_directory_path crash class — with TMP/TEMP/USERPROFILE unset, GetTempPathW returns C:\Windows\ and the throwing create_directories/copy_file/ofstream on C:\Windows\leonida_* aborts with 0xc0000409 (same as the d3d12_mesh_test crash). Sites: d3d12_mesh/bindless_churn/conservative_raster(+tier2/tier3)/depth24_draw/depth_resolve/execute_indirect_validation/f16_halves/geometry/indirect_dispatch_count/multi_viewport/shader_cache/state_sweep/stores_atomics + ~10 non-d3d12 test files. Highest-leverage fix: route them through runtime/test/test_temp_dir.h (already exists) or honor LEONIDA_TEST_DIR. Also one wrong-result case: d3d12_queue_handover_test.cpp:391-392 ignores _sopen_s failure → capture_stderr returns empty silently. Test-only; no game files; reproduces on any stripped-env Windows shell.
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

correction to my claim above (GPU-RECORD-TURING, comment 7149576441), before anyone takes it as a gap in gpu-test-results/:

gpu-test-results/RTX2060SUPER.txt is already a Turing entry, so the Turing card family is not new — the
docs/gpu_test_results.md table has no Turing row, but the notes folder does. What is new in my run:

  • it is at current main (5a5df8e0b), which runs 256 fixtures where the 2060 SUPER's d42773d07 ran 248;
  • 0 failed, both modes (204/256 passed, 52 skipped native; 236/256 passed, 20 skipped under
    LEONIDA_W64_EMULATE=1). The 2060 SUPER record failed cs_imgload_tfe and cs_imgload_d16_tfe in both modes
    (#31); both pass here, so on NVIDIA Turing the tfe pair is green at this main;
  • VK_EXT_mesh_shader is present on Turing (driver 572.83) and every mesh fixture passes — five natively
    (ms_w64x_ballot skips for want of a 64-wide subgroup) and all six under LEONIDA_W64_EMULATE=1. That is the
    difference from the Pascal entry (gpu-test-results/GTX1080.txt, driver 582.78), where the six mesh cases skip
    for want of the extension.

Keeping the claim as posted and the same ID. Entry: gpu-test-results/RTX2080Ti.txt plus a table row.

<!-- gh-comment-id:7150980948 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): correction to my claim above (`GPU-RECORD-TURING`, comment 7149576441), before anyone takes it as a gap in `gpu-test-results/`: `gpu-test-results/RTX2060SUPER.txt` is already a Turing entry, so the Turing *card family* is not new — the `docs/gpu_test_results.md` table has no Turing row, but the notes folder does. What is new in my run: - it is at current `main` (`5a5df8e0b`), which runs 256 fixtures where the 2060 SUPER's `d42773d07` ran 248; - **0 failed, both modes** (204/256 passed, 52 skipped native; 236/256 passed, 20 skipped under `LEONIDA_W64_EMULATE=1`). The 2060 SUPER record failed `cs_imgload_tfe` and `cs_imgload_d16_tfe` in both modes (#31); both pass here, so on NVIDIA Turing the tfe pair is green at this main; - `VK_EXT_mesh_shader` is present on Turing (driver 572.83) and every mesh fixture passes — five natively (`ms_w64x_ballot` skips for want of a 64-wide subgroup) and all six under `LEONIDA_W64_EMULATE=1`. That is the difference from the Pascal entry (`gpu-test-results/GTX1080.txt`, driver 582.78), where the six mesh cases skip for want of the extension. Keeping the claim as posted and the same ID. Entry: `gpu-test-results/RTX2080Ti.txt` plus a table row.
Author
Owner

@PierreEbele commented on GitHub (Nov 25, 2026):

done: CROSSLANE-FUZZ-PC-TAIL-UBO -> #1508

<!-- gh-comment-id:7150991220 --> @PierreEbele commented on GitHub (Nov 25, 2026): done: CROSSLANE-FUZZ-PC-TAIL-UBO -> #1508
Author
Owner

@DadaCap commented on GitHub (Nov 25, 2026):

@QemmHD: yes, please open it, with the commit as it is; thank you. I have no pull request for kSlowReaderUs and will not write one, so nothing competes with yours.

Two of my claims are done with, both superseded by #984 now that it is merged:

  • RT-DSTORAGE-DEST-PAGES (#969): closed. main resolves the physical page numbers when the request runs (rt::xmem::transfer_physical).
  • D3D-RGBA8-SRGB-UNORM-RTV (#1204): closed. main's create_texture gives RGBA8 render targets the UNORM/sRGB twin.

SHADER-VCC-TUPLE-RESYNC (#674) stays open and is carried by #1495. #971 (allocation info for streamed textures) conflicts with the texture layout code #984 brought; I am checking whether main still needs it before I touch the branch.

AI-assisted (Claude Code).

<!-- gh-comment-id:7151032887 --> @DadaCap commented on GitHub (Nov 25, 2026): @QemmHD: yes, please open it, with the commit as it is; thank you. I have no pull request for `kSlowReaderUs` and will not write one, so nothing competes with yours. Two of my claims are done with, both superseded by #984 now that it is merged: - RT-DSTORAGE-DEST-PAGES (#969): closed. `main` resolves the physical page numbers when the request runs (`rt::xmem::transfer_physical`). - D3D-RGBA8-SRGB-UNORM-RTV (#1204): closed. `main`'s `create_texture` gives RGBA8 render targets the UNORM/sRGB twin. SHADER-VCC-TUPLE-RESYNC (#674) stays open and is carried by #1495. #971 (allocation info for streamed textures) conflicts with the texture layout code #984 brought; I am checking whether `main` still needs it before I touch the branch. AI-assisted (Claude Code).
Author
Owner

@thiefyzheng commented on GitHub (Nov 25, 2026):

claiming: TEST-TEMPDIR-STRIPPED-ENV — the ~20 d3d12_* (+ ~10 other) test files sharing the stripped-env temp crash class: with TMP/TEMP/USERPROFILE unset, GetTempPathW resolves to C:\Windows\ and the throwing create_directories/copy_file/ofstream abort 0xc0000409 before the test body runs. Plan: reroute the non-helper sites through the existing runtime/test/test_temp_dir.h (15 test files already use it — same idiom, no new helper), which honors LEONIDA_TEST_DIR, and fix the one wrong-result case named in the finding (d3d12_queue_handover_test.cpp capture_stderr ignoring _sopen_s failure and silently returning empty). Verification: on a Windows VM with a stripped environment (TMP/TEMP/USERPROFILE unset) the affected tests no longer abort on C:\Windows\leonida_* and instead use a writable dir; same binaries with a normal environment run exactly as before; the capture_stderr error path now reports instead of returning empty. I enumerated the sites on current main first (helper users vs direct temp_directory_path users) and will quote the file list in the PR. Test-only, no game files; Windows-only observation needed. AI-assistant.

<!-- gh-comment-id:7151034238 --> @thiefyzheng commented on GitHub (Nov 25, 2026): claiming: TEST-TEMPDIR-STRIPPED-ENV — the ~20 d3d12_* (+ ~10 other) test files sharing the stripped-env temp crash class: with TMP/TEMP/USERPROFILE unset, `GetTempPathW` resolves to `C:\Windows\` and the throwing `create_directories`/`copy_file`/`ofstream` abort 0xc0000409 before the test body runs. Plan: reroute the non-helper sites through the existing `runtime/test/test_temp_dir.h` (15 test files already use it — same idiom, no new helper), which honors LEONIDA_TEST_DIR, and fix the one wrong-result case named in the finding (`d3d12_queue_handover_test.cpp` `capture_stderr` ignoring `_sopen_s` failure and silently returning empty). Verification: on a Windows VM with a stripped environment (TMP/TEMP/USERPROFILE unset) the affected tests no longer abort on `C:\Windows\leonida_*` and instead use a writable dir; same binaries with a normal environment run exactly as before; the `capture_stderr` error path now reports instead of returning empty. I enumerated the sites on current main first (helper users vs direct `temp_directory_path` users) and will quote the file list in the PR. Test-only, no game files; Windows-only observation needed. AI-assistant.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: SMH-GROOM-VALIDATION-HARDENING — harden tools/smh_groom.py against zlib bomb inflation (inflate_stream / _read_zlib_resource enforcing MAX_INFLATE_BYTES via max_length and total GPU byte cap), non-finite system-page bounding box floats, report_paths.same_report_path input-overwrite and output-directory guards in export-glb, to_glb/_parse_classes/scatter argument validation (radii, bool classes, deduplication, finite density_scale), ragged polyline / live length checks in build_tubes/build_ribbons/build_lines, run_census limit and per-resource error resilience, and strict RFC 8259 JSON (allow_nan=False).

<!-- gh-comment-id:7151063354 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: SMH-GROOM-VALIDATION-HARDENING — harden `tools/smh_groom.py` against zlib bomb inflation (`inflate_stream` / `_read_zlib_resource` enforcing `MAX_INFLATE_BYTES` via `max_length` and total GPU byte cap), non-finite system-page bounding box floats, `report_paths.same_report_path` input-overwrite and output-directory guards in `export-glb`, `to_glb`/`_parse_classes`/`scatter` argument validation (radii, bool classes, deduplication, finite `density_scale`), ragged polyline / `live` length checks in `build_tubes`/`build_ribbons`/`build_lines`, `run_census` `limit` and per-resource error resilience, and strict RFC 8259 JSON (`allow_nan=False`).
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

claiming: VK-PIPELINE-CHECK-MESH-COMPUTE -- teach runtime/test/vk_pipeline_check.cpp to recognize --mesh-compute entries ("stage": "ms" with "mesh_compute" in index.json) and check them as GLCompute compute pipelines (VK_SHADER_STAGE_COMPUTE_BIT, maxComputeSharedMemorySize, --stage cs filter) instead of skipping them with no VK_EXT_mesh_shader on GPUs without mesh shaders (e.g. Pascal) or passing a GLCompute module as VK_SHADER_STAGE_MESH_BIT_EXT to vkCreateGraphicsPipelines on GPUs with VK_EXT_mesh_shader. Includes CLI/index validation and Vulkan pipeline-check regression tests.

<!-- gh-comment-id:7151127845 --> @robot00f commented on GitHub (Nov 25, 2026): claiming: VK-PIPELINE-CHECK-MESH-COMPUTE -- teach `runtime/test/vk_pipeline_check.cpp` to recognize `--mesh-compute` entries (`"stage": "ms"` with `"mesh_compute"` in `index.json`) and check them as `GLCompute` compute pipelines (`VK_SHADER_STAGE_COMPUTE_BIT`, `maxComputeSharedMemorySize`, `--stage cs` filter) instead of skipping them with `no VK_EXT_mesh_shader` on GPUs without mesh shaders (e.g. Pascal) or passing a `GLCompute` module as `VK_SHADER_STAGE_MESH_BIT_EXT` to `vkCreateGraphicsPipelines` on GPUs with `VK_EXT_mesh_shader`. Includes CLI/index validation and Vulkan pipeline-check regression tests.
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

claiming: RT-GAMEINPUT-SLOW-READER. This carries DadaCap's kSlowReaderUs from the boot-prototype branch, with DadaCap's commit and authorship kept, as agreed in comment 7151032887. The title reads each pad with GetCurrentReading once a frame, so at a few frames a second a short press can start and end between two reads and is lost; #233 fills the history, which the title doesn't read. With this change, a reader that is slower than the threshold is shown a missed press once. Rebased over current main (#1074's input scripts), with its 7-line test, tested on Windows 11 / MSVC. No game files.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7151130854 --> @QemmHD commented on GitHub (Nov 25, 2026): claiming: RT-GAMEINPUT-SLOW-READER. This carries DadaCap's `kSlowReaderUs` from the `boot-prototype` branch, with DadaCap's commit and authorship kept, as agreed in comment 7151032887. The title reads each pad with `GetCurrentReading` once a frame, so at a few frames a second a short press can start and end between two reads and is lost; #233 fills the history, which the title doesn't read. With this change, a reader that is slower than the threshold is shown a missed press once. Rebased over current main (#1074's input scripts), with its 7-line test, tested on Windows 11 / MSVC. No game files. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@ipadev88 commented on GitHub (Nov 25, 2026):

releasing: RT-MESH-COMPUTE-DIRECT-MAC - the direct DispatchMesh compute fallback is not implemented in this claim; the working branch had only partial metadata/pipeline scaffolding and was restored before any patch or runtime change was committed. The existing docs/design.md mesh-compute row explicitly lists this runtime conversion as follow-up; #424 covers indirect dispatch only. No game results.

<!-- gh-comment-id:7151146071 --> @ipadev88 commented on GitHub (Nov 25, 2026): releasing: RT-MESH-COMPUTE-DIRECT-MAC - the direct DispatchMesh compute fallback is not implemented in this claim; the working branch had only partial metadata/pipeline scaffolding and was restored before any patch or runtime change was committed. The existing docs/design.md mesh-compute row explicitly lists this runtime conversion as follow-up; #424 covers indirect dispatch only. No game results.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: SMH-GROOM-VALIDATION-HARDENING -> #1509

<!-- gh-comment-id:7151200954 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: SMH-GROOM-VALIDATION-HARDENING -> #1509
Author
Owner

@DadaCap commented on GitHub (Nov 25, 2026):

@quartz-heron-58 on the 32 GB finding (7149332875 and the breakdown after it): you are right about boot-prototype, and I would not spend more runs on it. That branch never bounded its memory, and main has replaced it for this since #984 was merged (deferred backing of placed and streamed images, pooled pages for small streamed images).

One run each on the same machine, to put numbers on it (Windows 11, 64 GB, RTX 5080 16 GB, NVIDIA 621.24, retail 1.0.2.1, process counters sampled from outside every second):

private bytes at 30 / 60 / 90 / 150 s later how it ended
my prototype line, a later head than a66c1422e (not pushed) 24.0 / 35.0 / 40.0 / 43.9 GB stopped by my own 44 GB guard at 172 s, in the world phase
main 3ff2a2adc, built unchanged 7.8 / 8.0 / 8.3 / 9.4 GB 13.3 GB at 210 s, 17.6 GB at 270 s, 19.4 GB at 300 s device lost at about 305 s, after the story load; peak 19.5 GB

Working set on main in that run: 3.2 GB at 30 s, 4.3 GB at 180 s, 11.8 GB at 300 s. So on main the first three minutes fit in 32 GB with room, and the growth comes with the story load (from about 250 s here), where your machine may still get tight.

On your breakdown: the 6 GB allocation committed in full at 12 s costs commit charge, not RAM, until its pages are touched, so by itself it should move the page file's use and not free physical memory. Whether that holds for the watcher's floor on your machine I cannot tell from here; working set next to private bytes would show it.

Not measured: where main's growth after 250 s goes, and anything on a 32 GB machine. The two runs differ in more than the memory work (different texture paths), and my shader library was translated by my branch's translator, not main's. Counters only, no game data. AI-assisted (Claude Code).

<!-- gh-comment-id:7151233847 --> @DadaCap commented on GitHub (Nov 25, 2026): @quartz-heron-58 on the 32 GB finding (7149332875 and the breakdown after it): you are right about `boot-prototype`, and I would not spend more runs on it. That branch never bounded its memory, and `main` has replaced it for this since #984 was merged (deferred backing of placed and streamed images, pooled pages for small streamed images). One run each on the same machine, to put numbers on it (Windows 11, 64 GB, RTX 5080 16 GB, NVIDIA 621.24, retail 1.0.2.1, process counters sampled from outside every second): | | private bytes at 30 / 60 / 90 / 150 s | later | how it ended | |---|---|---|---| | my prototype line, a later head than a66c1422e (not pushed) | 24.0 / 35.0 / 40.0 / 43.9 GB | | stopped by my own 44 GB guard at 172 s, in the world phase | | `main` 3ff2a2adc, built unchanged | 7.8 / 8.0 / 8.3 / 9.4 GB | 13.3 GB at 210 s, 17.6 GB at 270 s, 19.4 GB at 300 s | device lost at about 305 s, after the story load; peak 19.5 GB | Working set on `main` in that run: 3.2 GB at 30 s, 4.3 GB at 180 s, 11.8 GB at 300 s. So on `main` the first three minutes fit in 32 GB with room, and the growth comes with the story load (from about 250 s here), where your machine may still get tight. On your breakdown: the 6 GB allocation committed in full at 12 s costs commit charge, not RAM, until its pages are touched, so by itself it should move the page file's use and not free physical memory. Whether that holds for the watcher's floor on your machine I cannot tell from here; working set next to private bytes would show it. Not measured: where `main`'s growth after 250 s goes, and anything on a 32 GB machine. The two runs differ in more than the memory work (different texture paths), and my shader library was translated by my branch's translator, not `main`'s. Counters only, no game data. AI-assisted (Claude Code).
Author
Owner

@Mike7581 commented on GitHub (Nov 25, 2026):

claiming: MVP-GPU-04 — real minimal VS/PS stub pipeline for LEONIDA_STUB_PIPELINES (code is in runtime/shims/d3d12_vulkan_device.cpp stub_or; the table's vulkan_pipeline.cpp does not exist), with a synthetic draw + readback test. RTX 4050 Laptop.

<!-- gh-comment-id:7151252490 --> @Mike7581 commented on GitHub (Nov 25, 2026): claiming: MVP-GPU-04 — real minimal VS/PS stub pipeline for LEONIDA_STUB_PIPELINES (code is in runtime/shims/d3d12_vulkan_device.cpp stub_or; the table's vulkan_pipeline.cpp does not exist), with a synthetic draw + readback test. RTX 4050 Laptop.
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

done: RT-GAMEINPUT-SLOW-READER -> #1510 (DadaCap's kSlowReaderUs, authorship kept; negative control included). @DadaCap, thanks.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7151256750 --> @QemmHD commented on GitHub (Nov 25, 2026): done: RT-GAMEINPUT-SLOW-READER -> #1510 (DadaCap's kSlowReaderUs, authorship kept; negative control included). @DadaCap, thanks. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@aslan2142 commented on GitHub (Nov 25, 2026):

@NateWeav your RADV finding (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141859164 and the follow-up) is now the first stop on main: #984, #968 and #939 were merged tonight, and a run of main (e79906a42 + translator merges) on an RDNA2 iGPU under Wine 11.22 and RADV loses the device after the first present with the same radv/amdgpu: The CS has been rejected ... (-1), in two runs of two (with and without the --first-run-ui settings).

  • Are you opening the pull request for RT-RADV-IMPORT-PINS / RT-SHADOW-ALIAS-GUARD (the import that create_host_buffer declines destroyed before the return, and a pin over the pages of an import in use)? main has #984 and #939 in it now, so it would go onto that.
  • If you'd rather hand it over, say so here. If there is no answer in about an hour, I'll implement the two changes from your description on top of main, measure them on the iGPU, and open the pull request crediting you as the author of the finding and the fix (with Co-authored-by if you can share your patch, which would be even better).
  • The driver gate you mention (pin only where the driver does not pin at import) can be a follow-up; the measurements so far are AMD only.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7151275414 --> @aslan2142 commented on GitHub (Nov 25, 2026): @NateWeav your RADV finding (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7141859164 and the follow-up) is now the first stop on `main`: #984, #968 and #939 were merged tonight, and a run of `main` (`e79906a42` + translator merges) on an RDNA2 iGPU under Wine 11.22 and RADV loses the device after the first present with the same `radv/amdgpu: The CS has been rejected ... (-1)`, in two runs of two (with and without the `--first-run-ui` settings). - **Are you opening the pull request** for `RT-RADV-IMPORT-PINS` / `RT-SHADOW-ALIAS-GUARD` (the import that `create_host_buffer` declines destroyed before the return, and a pin over the pages of an import in use)? `main` has #984 and #939 in it now, so it would go onto that. - **If you'd rather hand it over,** say so here. If there is no answer in about an hour, I'll implement the two changes from your description on top of `main`, measure them on the iGPU, and open the pull request crediting you as the author of the finding and the fix (with `Co-authored-by` if you can share your patch, which would be even better). - **The driver gate** you mention (pin only where the driver does not pin at import) can be a follow-up; the measurements so far are AMD only. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: SKINNED-GLB-VALIDATION-HARDENING — harden tools/skinned_glb.py across GLB parsing (read_glb version/chunk-type/bounds checks, accessor_bytes view-bounds/non-negative/non-bool checks), skin stream & JSON shape validation (short 23-word header guard, _finite_matrix non-list/bool guard, PaletteResolver/own_parent_name malformed-record guards, normalise_weights bool checks), skeleton hierarchy cycle/self-parent rejection (JointSet), glTF primitive consistency (attribute count match, SCALAR/in-range index checks, float32 IBM overflow guard), and upfront output-directory check in CLI.

<!-- gh-comment-id:7151315288 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: SKINNED-GLB-VALIDATION-HARDENING — harden `tools/skinned_glb.py` across GLB parsing (`read_glb` version/chunk-type/bounds checks, `accessor_bytes` view-bounds/non-negative/non-bool checks), skin stream & JSON shape validation (short 23-word header guard, `_finite_matrix` non-list/bool guard, `PaletteResolver`/`own_parent_name` malformed-record guards, `normalise_weights` bool checks), skeleton hierarchy cycle/self-parent rejection (`JointSet`), glTF primitive consistency (attribute count match, SCALAR/in-range index checks, float32 IBM overflow guard), and upfront output-directory check in CLI.
Author
Owner

@levi2m commented on GitHub (Nov 25, 2026):

claiming: GPU-RTX4050-LAPTOP-621 - a second record for the RTX 4050 Laptop GPU, gpu-test-results/RTX4050-Laptop-621.01.txt, on main 3ff2a2ad with driver 621.01 on Windows 11 build 26200. It does not replace #532, which records the card on c023a365 (driver 610.47) with the two cs_imgload_*tfe failures: here both pass, 208/258 native and 241/258 with LEONIDA_W64_EMULATE=1, 0 failed in both. Standalone Vulkan programs only, built with llvm-mingw and the Vulkan headers (no Visual Studio); the runtime ctest suite is not part of it.

<!-- gh-comment-id:7151338497 --> @levi2m commented on GitHub (Nov 25, 2026): claiming: GPU-RTX4050-LAPTOP-621 - a second record for the RTX 4050 Laptop GPU, `gpu-test-results/RTX4050-Laptop-621.01.txt`, on main 3ff2a2ad with driver 621.01 on Windows 11 build 26200. It does not replace #532, which records the card on c023a365 (driver 610.47) with the two `cs_imgload_*tfe` failures: here both pass, 208/258 native and 241/258 with `LEONIDA_W64_EMULATE=1`, 0 failed in both. Standalone Vulkan programs only, built with llvm-mingw and the Vulkan headers (no Visual Studio); the runtime ctest suite is not part of it.
Author
Owner

@levi2m commented on GitHub (Nov 25, 2026):

done: GPU-RTX4050-LAPTOP-621 -> #1511

gpu-test-results/RTX4050-Laptop-621.01.txt: RTX 4050 Laptop on main 3ff2a2ad, driver 621.01, Windows 11 build 26200. native 208/258 and LEONIDA_W64_EMULATE=1 241/258, 0 failed in both; cs_imgload_tfe and cs_imgload_d16_tfe pass. A second data point next to #532, in a separate file. Standalone Vulkan programs only; no ctest run.

<!-- gh-comment-id:7151345876 --> @levi2m commented on GitHub (Nov 25, 2026): done: GPU-RTX4050-LAPTOP-621 -> #1511 `gpu-test-results/RTX4050-Laptop-621.01.txt`: RTX 4050 Laptop on main 3ff2a2ad, driver 621.01, Windows 11 build 26200. native 208/258 and LEONIDA_W64_EMULATE=1 241/258, 0 failed in both; cs_imgload_tfe and cs_imgload_d16_tfe pass. A second data point next to #532, in a separate file. Standalone Vulkan programs only; no ctest run.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: SKINNED-GLB-VALIDATION-HARDENING -> #1512

<!-- gh-comment-id:7151410439 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: SKINNED-GLB-VALIDATION-HARDENING -> #1512
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 25, 2026):

@DadaCap thank you, that settles it: no more runs of the prototype from me. Here is the 32 GB data point for main that you list as not measured. Same machine as before (Windows 11 build 26300, 32 GB, RTX 4080 16 GB, NVIDIA 621.24, own 1.0.2.1), main 3ff2a2adc built unchanged, shaders translated with main's translator (26,503 of 26,503 main, 1,796 library programs).

One limit first: this build has no SDL3, so the GameInput shim serves no device and nothing can be pressed. Both runs therefore cover only what the title does on its own.

run private bytes how it ended
1, no diagnostics 7.6 / 8.1 / 8.3 / 9.7 GB at 10 / 60 / 91 / 142 s device lost at 150 s (the RT-DEVICE-LOST-LOG line), then the process exited with 0xC0000005
2, LEONIDA_DEVICE_FAULT=1 not recorded (my mistake, I cut the sampler's output) ran to my 240 s limit, no device loss

Free physical memory in run 1 started at 23.3 GB and never fell below 18.4 GB, so your numbers hold here: the first minutes of main fit in 32 GB with a wide margin. What happens from the story load on I cannot say without input.

Run 1 showed the package splash from 30 s to 130 s and never left it. Run 2 was on the splash at 60 s and 140 s and on a later prompt screen at 200 s. So the two runs did not behave the same, and one lost the device while the other did not. I do not know why; run 2 printed two device-stall lines ("could not sample the submit lock for 15 s") and no fault report, since there was no loss to report.

On your point about the 6 GB allocation: agreed, commit is not RAM, and private bytes alone do not show a shortage. What my watcher stops on is free physical memory, and that did fall to the floor in each prototype run, so pages were being touched; but I did not record working set, so I cannot split it the way you did.

Not measured: anything with input, working set, the cause of the loss in run 1 (diagnostics were off), and whether the difference between the two runs is the diagnostics switch or chance. One run each. Counters and stage only. AI-assisted: yes (Claude Code)

<!-- gh-comment-id:7151448423 --> @quartz-heron-58 commented on GitHub (Nov 25, 2026): @DadaCap thank you, that settles it: no more runs of the prototype from me. Here is the 32 GB data point for main that you list as not measured. Same machine as before (Windows 11 build 26300, 32 GB, RTX 4080 16 GB, NVIDIA 621.24, own 1.0.2.1), main 3ff2a2adc built unchanged, shaders translated with main's translator (26,503 of 26,503 main, 1,796 library programs). One limit first: this build has no SDL3, so the GameInput shim serves no device and nothing can be pressed. Both runs therefore cover only what the title does on its own. | run | private bytes | how it ended | |---|---|---| | 1, no diagnostics | 7.6 / 8.1 / 8.3 / 9.7 GB at 10 / 60 / 91 / 142 s | device lost at 150 s (the RT-DEVICE-LOST-LOG line), then the process exited with 0xC0000005 | | 2, `LEONIDA_DEVICE_FAULT=1` | not recorded (my mistake, I cut the sampler's output) | ran to my 240 s limit, no device loss | Free physical memory in run 1 started at 23.3 GB and never fell below 18.4 GB, so your numbers hold here: the first minutes of main fit in 32 GB with a wide margin. What happens from the story load on I cannot say without input. Run 1 showed the package splash from 30 s to 130 s and never left it. Run 2 was on the splash at 60 s and 140 s and on a later prompt screen at 200 s. So the two runs did not behave the same, and one lost the device while the other did not. I do not know why; run 2 printed two `device-stall` lines ("could not sample the submit lock for 15 s") and no fault report, since there was no loss to report. On your point about the 6 GB allocation: agreed, commit is not RAM, and private bytes alone do not show a shortage. What my watcher stops on is free physical memory, and that did fall to the floor in each prototype run, so pages were being touched; but I did not record working set, so I cannot split it the way you did. Not measured: anything with input, working set, the cause of the loss in run 1 (diagnostics were off), and whether the difference between the two runs is the diagnostics switch or chance. One run each. Counters and stage only. AI-assisted: yes (Claude Code)
Author
Owner

@Mike7581 commented on GitHub (Nov 25, 2026):

claiming: DOC-RUNTIME-README-SHIMS — runtime/README.md still says AcpHal/chad/xapu/XCRDAPI have no shim (:116-117) and that DStorage BCPack/swizzle/physical pages are not done (:278); the shims and docs/directstorage.md say otherwise. Docs only.

<!-- gh-comment-id:7151462168 --> @Mike7581 commented on GitHub (Nov 25, 2026): claiming: DOC-RUNTIME-README-SHIMS — runtime/README.md still says AcpHal/chad/xapu/XCRDAPI have no shim (:116-117) and that DStorage BCPack/swizzle/physical pages are not done (:278); the shims and docs/directstorage.md say otherwise. Docs only.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: NAVMESH-LINKS-ENDPOINT-PAIRING-AND-IO — fix the decoupled cross-tile special-link endpoint check in tools/navmesh_links.py:383 ((s0 == c8 and p0 == gpi) or (s1 == c8 and p1 == gpi) so a local polygon matching a remote-sector polygon ID cannot pass when the true local endpoint also lists the link), validate scan() start/limit arguments, publish --out atomically with published_mode/replace_retry and allow_nan=False, and report OSError cleanly on CLI.

<!-- gh-comment-id:7151504645 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: NAVMESH-LINKS-ENDPOINT-PAIRING-AND-IO — fix the decoupled cross-tile special-link endpoint check in `tools/navmesh_links.py:383` (`(s0 == c8 and p0 == gpi) or (s1 == c8 and p1 == gpi)` so a local polygon matching a remote-sector polygon ID cannot pass when the true local endpoint also lists the link), validate `scan()` `start`/`limit` arguments, publish `--out` atomically with `published_mode`/`replace_retry` and `allow_nan=False`, and report `OSError` cleanly on CLI.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: NAVMESH-LINKS-ENDPOINT-PAIRING-AND-IO -> #1515

<!-- gh-comment-id:7151536411 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: NAVMESH-LINKS-ENDPOINT-PAIRING-AND-IO -> #1515
Author
Owner

@DadaCap commented on GitHub (Nov 25, 2026):

@quartz-heron-58 thank you, that is the data point that was missing. For the pad: configure the runtime with -DLEONIDA_SDL3_FETCH=ON (it downloads the pinned SDL3 when none is installed; my first build of main had no pad either), then LEONIDA_KEYBOARD_PAD=always with LEONIDA_INPUT_SCRIPT=a@30,a@35,... presses A unattended. With A pressed every 5 s from 30 s, main 3ff2a2adc reached the story load at about 250 s here and lost the device at about 305 s, 2 of 2 runs; with LEONIDA_DEVICE_FAULT=1 the checkpoint names a dispatch of library/lib_cs_01405 (255 1 1) on a compute queue and a read of an unmapped address. Caveat: those two runs used a library from my branch's translator; I am translating again with main's and will say if it changes. AI-assisted (Claude Code).

<!-- gh-comment-id:7151542054 --> @DadaCap commented on GitHub (Nov 25, 2026): @quartz-heron-58 thank you, that is the data point that was missing. For the pad: configure the runtime with `-DLEONIDA_SDL3_FETCH=ON` (it downloads the pinned SDL3 when none is installed; my first build of `main` had no pad either), then `LEONIDA_KEYBOARD_PAD=always` with `LEONIDA_INPUT_SCRIPT=a@30,a@35,...` presses A unattended. With A pressed every 5 s from 30 s, `main` 3ff2a2adc reached the story load at about 250 s here and lost the device at about 305 s, 2 of 2 runs; with `LEONIDA_DEVICE_FAULT=1` the checkpoint names a dispatch of `library/lib_cs_01405` (255 1 1) on a compute queue and a read of an unmapped address. Caveat: those two runs used a library from my branch's translator; I am translating again with `main`'s and will say if it changes. AI-assisted (Claude Code).
Author
Owner

@milk4sale commented on GitHub (Nov 25, 2026):

done: TEST-MUTATIONS-COST -> #1516. tests/semantic/test_mutations.py copies tools/ once per test instead of once per run (14 copies become 2), writes the translator back after each mutation, and runs only the test each mutation must break. failed_tests now requires the failure to come from TranslatorSemantics, so a misspelled expected test cannot count as caught. On Linux the file goes from 6.93 s to 6.43 s (median of 8 alternating runs). On Windows the file took 5.8-11.1 times as long as on Linux in the 9 finished runs, while the rest of the suite took 0.76-1.61 times as long; the gain there is a hypothesis until a Windows run shows it. AI-assisted.

<!-- gh-comment-id:7151548086 --> @milk4sale commented on GitHub (Nov 25, 2026): done: TEST-MUTATIONS-COST -> #1516. `tests/semantic/test_mutations.py` copies `tools/` once per test instead of once per run (14 copies become 2), writes the translator back after each mutation, and runs only the test each mutation must break. `failed_tests` now requires the failure to come from `TranslatorSemantics`, so a misspelled expected test cannot count as caught. On Linux the file goes from 6.93 s to 6.43 s (median of 8 alternating runs). On Windows the file took 5.8-11.1 times as long as on Linux in the 9 finished runs, while the rest of the suite took 0.76-1.61 times as long; the gain there is a hypothesis until a Windows run shows it. AI-assisted.
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

done: VK-PIPELINE-CHECK-MESH-COMPUTE -> #1514

<!-- gh-comment-id:7151551674 --> @robot00f commented on GitHub (Nov 25, 2026): done: VK-PIPELINE-CHECK-MESH-COMPUTE -> #1514
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: PED-ASSEMBLE-VALIDATION-AND-IO-HARDENING — harden tools/ped_assemble.py across input-overwrite / -o==--json / directory guards (using report_paths.same_report_path across assemble, cull-overlap, and inspect-seams, including manifest-referenced inputs), atomic _write_json_report with file_mode.published_mode + replace_retry.replace + allow_nan=False, strict finite JSON in build_assembled_glb, GLB chunk-length bounds (pos + chunk_len > total_len), skeleton hierarchy validation (cycles, self-parents, out-of-range/bool parents, coord_space, 16-float IBM length, and float32 overflow), CLI/API finite tolerance validation, manifest cycle & malformed JSON/material/base64:/triangle-index errors, and clean CLI OSError/GlbError exit-2 handling, with synthetic regression tests in tests/test_ped_assemble.py.

<!-- gh-comment-id:7151612040 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: PED-ASSEMBLE-VALIDATION-AND-IO-HARDENING — harden `tools/ped_assemble.py` across input-overwrite / `-o`==`--json` / directory guards (using `report_paths.same_report_path` across `assemble`, `cull-overlap`, and `inspect-seams`, including manifest-referenced inputs), atomic `_write_json_report` with `file_mode.published_mode` + `replace_retry.replace` + `allow_nan=False`, strict finite JSON in `build_assembled_glb`, GLB chunk-length bounds (`pos + chunk_len > total_len`), skeleton hierarchy validation (cycles, self-parents, out-of-range/bool parents, `coord_space`, 16-float IBM length, and float32 overflow), CLI/API finite tolerance validation, manifest cycle & malformed JSON/material/`base64:`/triangle-index errors, and clean CLI `OSError`/`GlbError` exit-2 handling, with synthetic regression tests in `tests/test_ped_assemble.py`.
Author
Owner

@PierreEbele commented on GitHub (Nov 25, 2026):

claiming: GPU-IMG-ATOMIC-EXT-VOLUME-TAG. cs_imgatomic_ext fails on main f7838564 on every device: 6 of 64 sint words differ; first word 32: got 0x0badf00d, expected 0x00000101 (llvmpipe arm64; native, W64 emulate and BARY fallback). db19bbd3 changed the volume T# key in runtime/test/vk_store_test.cpp to the whole-mip UAV tag (word 4 0x80000055, word 7 0xd7801800) and updated cs_imgatomic3d.asm to match. cs_imgatomic_ext.asm (#345) landed separately and still builds the old 0x55 words in s12/s15. Its six 3D cases therefore miss the descriptor-table entry. The fix is a two-line fixture update; no GPU-specific behaviour is involved. AI-assisted.

<!-- gh-comment-id:7151647065 --> @PierreEbele commented on GitHub (Nov 25, 2026): claiming: GPU-IMG-ATOMIC-EXT-VOLUME-TAG. `cs_imgatomic_ext` fails on main f7838564 on every device: `6 of 64 sint words differ; first word 32: got 0x0badf00d, expected 0x00000101` (llvmpipe arm64; native, W64 emulate and BARY fallback). db19bbd3 changed the volume T# key in `runtime/test/vk_store_test.cpp` to the whole-mip UAV tag (word 4 `0x80000055`, word 7 `0xd7801800`) and updated `cs_imgatomic3d.asm` to match. `cs_imgatomic_ext.asm` (#345) landed separately and still builds the old `0x55` words in s12/s15. Its six 3D cases therefore miss the descriptor-table entry. The fix is a two-line fixture update; no GPU-specific behaviour is involved. AI-assisted.
Author
Owner

@PierreEbele commented on GitHub (Nov 25, 2026):

done: GPU-IMG-ATOMIC-EXT-VOLUME-TAG -> #1518

<!-- gh-comment-id:7151667491 --> @PierreEbele commented on GitHub (Nov 25, 2026): done: GPU-IMG-ATOMIC-EXT-VOLUME-TAG -> #1518
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: VK-FUZZ-RUN-PCTAIL — vk_fuzz_run gains LEONIDA_PC_TAIL_UBO→--pc-tail-ubo forwarding (128B-pushconst GPUs) + VK_FUZZ_SKIP_CRASH=1 to record driver crashes as skips. Branch vk-fuzz-run-pctail, worktree leonida-w1. PR incoming.

<!-- gh-comment-id:7151670929 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: VK-FUZZ-RUN-PCTAIL — vk_fuzz_run gains LEONIDA_PC_TAIL_UBO→--pc-tail-ubo forwarding (128B-pushconst GPUs) + VK_FUZZ_SKIP_CRASH=1 to record driver crashes as skips. Branch vk-fuzz-run-pctail, worktree leonida-w1. PR incoming.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

done: VK-FUZZ-RUN-PCTAIL -> PR https://github.com/ubiquitarianism/leonida/pull/1519 (reviewer-approved, nits fixed; 17 tests OK).

<!-- gh-comment-id:7151677736 --> @whoalin1 commented on GitHub (Nov 25, 2026): done: VK-FUZZ-RUN-PCTAIL -> PR https://github.com/ubiquitarianism/leonida/pull/1519 (reviewer-approved, nits fixed; 17 tests OK).
Author
Owner

@QemmHD commented on GitHub (Nov 25, 2026):

finding: main on native Windows / NVIDIA reaches a first-run consent page with input, no device loss. Native Windows 11, RTX 4070 SUPER (NVIDIA 621.24), 32 GB. main 3ff2a2adc built with MSVC (VS 2022) and SDL3; make_game.py --stages check,shaders,runtime; scripts/windows-boot/boot.ps1 defaults (vulkan, DEVICE_FAULT=1, keyboard pad + an input script), no SKIP_INT3.

  • Translation: 26,503 of 26,503 (all pass spirv-val); BVH builder 52/52; pipeline library 2,683/2,684 (s_sethalt); executable programs 12/12; FSPX 27/29 (2 refused with "reachable instruction with normalized encoding"; #984's testers reported 29/29, so this may be a merge loss; checking against #1495).
  • Three runs (300 s, 190 s, 175 s), all to the time limit with no crash, int3 or device fault. PresentX ok 4,819 / 4,161 / 3,870 with 0 failed; captures 40/40, 47/47, 42/43 non-black.
  • What shows: splash, launch movie, the first-run pages (text size, subtitles, brightness, finish setup), the legal notices, then a first-run consent page. That page's two consent checkboxes weren't ticked on purpose, so that's where these runs stand; it isn't a bug.
  • Memory: peak private 11.8 GB, available RAM never below 11.5 GB, whole-GPU VRAM peak 5.9 GB.
  • Startup trace: 0 unimplemented imports; only 2 exceptions, both 0x406d1388 (driver thread naming).
  • D3D12: about 843k calls in 300 s. 224 CreatePipelineState refusals are depth bounds, which is what #815 fixes. 16 device-slot-57 graphics PSOs fail E_INVALIDARG because main's make_game.py doesn't produce <shaders>\fspx_gfx (the runtime logs "0 fspx_gfx"; already claimed as RT-SLOT57-NATIVE-GRAPHICS-PSO). 22 library compute pipelines built cold in 69 s total (max 5.8 s).
  • Cosmetic: the title window's client area is 1084×1041, so the 16:9 picture is squeezed nearly square.

Counters and stage only; no game data. Next: a validation run and a debugger run up to the same page.

AI-assisted (Claude Code, Claude Opus 5.5).

<!-- gh-comment-id:7151688825 --> @QemmHD commented on GitHub (Nov 25, 2026): finding: main on native Windows / NVIDIA reaches a first-run consent page with input, no device loss. Native Windows 11, RTX 4070 SUPER (NVIDIA 621.24), 32 GB. main 3ff2a2adc built with MSVC (VS 2022) and SDL3; `make_game.py --stages check,shaders,runtime`; `scripts/windows-boot/boot.ps1` defaults (vulkan, DEVICE_FAULT=1, keyboard pad + an input script), no SKIP_INT3. - **Translation:** 26,503 of 26,503 (all pass spirv-val); BVH builder 52/52; pipeline library 2,683/2,684 (s_sethalt); executable programs 12/12; FSPX **27/29** (2 refused with "reachable instruction with normalized encoding"; #984's testers reported 29/29, so this may be a merge loss; checking against #1495). - **Three runs** (300 s, 190 s, 175 s), all to the time limit with no crash, int3 or device fault. PresentX ok 4,819 / 4,161 / 3,870 with 0 failed; captures 40/40, 47/47, 42/43 non-black. - **What shows:** splash, launch movie, the first-run pages (text size, subtitles, brightness, finish setup), the legal notices, then a first-run consent page. That page's two consent checkboxes weren't ticked on purpose, so that's where these runs stand; it isn't a bug. - **Memory:** peak private 11.8 GB, available RAM never below 11.5 GB, whole-GPU VRAM peak 5.9 GB. - **Startup trace:** 0 unimplemented imports; only 2 exceptions, both 0x406d1388 (driver thread naming). - **D3D12:** about 843k calls in 300 s. 224 CreatePipelineState refusals are depth bounds, which is what #815 fixes. 16 device-slot-57 graphics PSOs fail E_INVALIDARG because main's `make_game.py` doesn't produce `<shaders>\fspx_gfx` (the runtime logs "0 fspx_gfx"; already claimed as RT-SLOT57-NATIVE-GRAPHICS-PSO). 22 library compute pipelines built cold in 69 s total (max 5.8 s). - **Cosmetic:** the title window's client area is 1084×1041, so the 16:9 picture is squeezed nearly square. Counters and stage only; no game data. Next: a validation run and a debugger run up to the same page. AI-assisted (Claude Code, Claude Opus 5.5).
Author
Owner

@ecox982745 commented on GitHub (Nov 25, 2026):

finding: The runtime geometry-shader builder in #1497 needs the per-vertex attribute mapping emitted by #1426 for computed I/J interpolation.

At bff50180, runtime/src/shader_library.h:1221 reads only bary_fallback_input.location. In the synthetic ps_ij_computed fixture from #1426 (b9191a31), attribute 0 occupies three locations, one for each triangle vertex. The runtime rejects this valid array at runtime/src/spirv_bary_fallback.h:241, before the draw. The offline geometry shader renders all 4,096 pixels correctly with the same VS and PS. The ordinary raw-barycentric control works with both builders.

This is a follow-up where #1426 and #1497 meet. Parsing and synthesis can be tested on CPU with the existing fixture and SPIR-V tools. A Vulkan GPU with geometry shaders can verify the draw. No game files are needed. Exact revisions, inputs, and RTX 4090 results.

<!-- gh-comment-id:7151723423 --> @ecox982745 commented on GitHub (Nov 25, 2026): finding: The runtime geometry-shader builder in #1497 needs the per-vertex attribute mapping emitted by #1426 for computed I/J interpolation. At `bff50180`, `runtime/src/shader_library.h:1221` reads only `bary_fallback_input.location`. In the synthetic `ps_ij_computed` fixture from #1426 (`b9191a31`), attribute 0 occupies three locations, one for each triangle vertex. The runtime rejects this valid array at `runtime/src/spirv_bary_fallback.h:241`, before the draw. The offline geometry shader renders all 4,096 pixels correctly with the same VS and PS. The ordinary raw-barycentric control works with both builders. This is a follow-up where #1426 and #1497 meet. Parsing and synthesis can be tested on CPU with the existing fixture and SPIR-V tools. A Vulkan GPU with geometry shaders can verify the draw. No game files are needed. [Exact revisions, inputs, and RTX 4090 results](https://github.com/ubiquitarianism/leonida/pull/1497#issuecomment-7151152121).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: PED-ASSEMBLE-VALIDATION-AND-IO-HARDENING -> #1520

<!-- gh-comment-id:7151726464 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: PED-ASSEMBLE-VALIDATION-AND-IO-HARDENING -> #1520
Author
Owner

@quartz-heron-58 commented on GitHub (Nov 25, 2026):

finding: on main 3ff2a2adc, an early device loss on an RTX 4080 happens only with LEONIDA_DEVICE_FAULT unset; with LEONIDA_DEVICE_FAULT=1 the same boot runs on. 2 of 2 runs each way.

where: not located. Candidates are whatever the switch changes at device creation in runtime/shims/d3d12_vulkan_device.cpp and runtime/src/vulkan_device_fault.h: the log line says "fault info on, checkpoints on, NVIDIA diagnostics config on", so three things change at once and I have not separated them.

why it matters: the report is switched on to explain a loss, and here switching it on removes the loss, so a tester who sees this loss gets nothing from the report. It also means timing or driver mode, not only a bad address, is in play for this one.

needs game files: yes (own 1.0.2.1 copy)

Setup: Windows 11 build 26300, 32 GB, RTX 4080 16 GB, NVIDIA 621.24, main 3ff2a2adc built unchanged and without SDL3, so no input reaches the title in any run; shaders from main's translator. LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1. The only difference between the rows is the one variable.

LEONIDA_DEVICE_FAULT run result private bytes
unset 1 device lost at 150 s, process exit 0xC0000005 7.6 GB at 10 s, 9.7 GB at 142 s
unset 2 device lost, process exit 0xC0000005 at 123 s 8.1 GB at 10 s, 10.2 GB at 121 s
1 1 ran to my 240 s limit, no loss not recorded
1 2 ran to my 240 s limit, no loss 8.3 GB at 10 s, 10.7 GB at 121 s, 14.7 GB at 202 s

Both =1 runs printed two device-stall lines ("could not sample the submit lock for 15 s"), the first with submitted ticket 135 against retired ticket 4. In the unset runs the title was still on the package splash when the device was lost; in the =1 runs it left the splash for a later prompt screen between 140 s and 200 s, which is also when private bytes step up by about 4 GB.

This is a different stop from the one after the story load that @DadaCap measured at about 305 s with input.

Not done: separating the three parts of the switch, more than two runs each way, any other GPU or driver. Counters and stage only. I can run a build that turns the parts on one at a time if someone has one. AI-assisted: yes (Claude Code)

<!-- gh-comment-id:7151745666 --> @quartz-heron-58 commented on GitHub (Nov 25, 2026): finding: on main 3ff2a2adc, an early device loss on an RTX 4080 happens only with `LEONIDA_DEVICE_FAULT` unset; with `LEONIDA_DEVICE_FAULT=1` the same boot runs on. 2 of 2 runs each way. where: not located. Candidates are whatever the switch changes at device creation in `runtime/shims/d3d12_vulkan_device.cpp` and `runtime/src/vulkan_device_fault.h`: the log line says "fault info on, checkpoints on, NVIDIA diagnostics config on", so three things change at once and I have not separated them. why it matters: the report is switched on to explain a loss, and here switching it on removes the loss, so a tester who sees this loss gets nothing from the report. It also means timing or driver mode, not only a bad address, is in play for this one. needs game files: yes (own 1.0.2.1 copy) Setup: Windows 11 build 26300, 32 GB, RTX 4080 16 GB, NVIDIA 621.24, main 3ff2a2adc built unchanged and without SDL3, so no input reaches the title in any run; shaders from main's translator. `LEONIDA_LAZY_PSO=1 LEONIDA_SKIP_INT3=1`. The only difference between the rows is the one variable. | `LEONIDA_DEVICE_FAULT` | run | result | private bytes | |---|---|---|---| | unset | 1 | device lost at 150 s, process exit 0xC0000005 | 7.6 GB at 10 s, 9.7 GB at 142 s | | unset | 2 | device lost, process exit 0xC0000005 at 123 s | 8.1 GB at 10 s, 10.2 GB at 121 s | | 1 | 1 | ran to my 240 s limit, no loss | not recorded | | 1 | 2 | ran to my 240 s limit, no loss | 8.3 GB at 10 s, 10.7 GB at 121 s, 14.7 GB at 202 s | Both `=1` runs printed two `device-stall` lines ("could not sample the submit lock for 15 s"), the first with submitted ticket 135 against retired ticket 4. In the unset runs the title was still on the package splash when the device was lost; in the `=1` runs it left the splash for a later prompt screen between 140 s and 200 s, which is also when private bytes step up by about 4 GB. This is a different stop from the one after the story load that @DadaCap measured at about 305 s with input. Not done: separating the three parts of the switch, more than two runs each way, any other GPU or driver. Counters and stage only. I can run a build that turns the parts on one at a time if someone has one. AI-assisted: yes (Claude Code)
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: PED-CATALOGUES-VALIDATION-AND-IO-HARDENING — fix real bugs and harden I/O in tools/ped_catalogues.py: keep name filtering active when --names-file or --name resolves to zero non-blank entries (instead of silently dumping all bindings), read --names-file and carved index.json with utf-8-sig and catch UnicodeDecodeError, block path traversal out of the carved directory in index.json rows, fix the off-by-one MAX_PARENT_DEPTH cap warning when an exact-depth parent chain terminates cleanly, validate start/limit/max_inflate/max_depth and enforce --max-inflate in inspect, and make _write_json atomic (file_mode.published_mode + replace_retry.replace + allow_nan=False) with clean CLI OSError exit-2 handling, plus synthetic regression tests in tests/test_ped_catalogues.py.

<!-- gh-comment-id:7151759976 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: PED-CATALOGUES-VALIDATION-AND-IO-HARDENING — fix real bugs and harden I/O in `tools/ped_catalogues.py`: keep name filtering active when `--names-file` or `--name` resolves to zero non-blank entries (instead of silently dumping all bindings), read `--names-file` and carved `index.json` with `utf-8-sig` and catch `UnicodeDecodeError`, block path traversal out of the carved directory in `index.json` rows, fix the off-by-one `MAX_PARENT_DEPTH` cap warning when an exact-depth parent chain terminates cleanly, validate `start`/`limit`/`max_inflate`/`max_depth` and enforce `--max-inflate` in `inspect`, and make `_write_json` atomic (`file_mode.published_mode` + `replace_retry.replace` + `allow_nan=False`) with clean CLI `OSError` exit-2 handling, plus synthetic regression tests in `tests/test_ped_catalogues.py`.
Author
Owner

@Mike7581 commented on GitHub (Nov 25, 2026):

done: DOC-RUNTIME-README-SHIMS -> #1517

<!-- gh-comment-id:7151788748 --> @Mike7581 commented on GitHub (Nov 25, 2026): done: DOC-RUNTIME-README-SHIMS -> #1517
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: PED-CATALOGUES-VALIDATION-AND-IO-HARDENING -> #1522

<!-- gh-comment-id:7151806162 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: PED-CATALOGUES-VALIDATION-AND-IO-HARDENING -> #1522
Author
Owner

@exoticLgk commented on GitHub (Nov 25, 2026):

done: RT-TITLE-WINDOW-CLEANUP -> #1521

<!-- gh-comment-id:7151833790 --> @exoticLgk commented on GitHub (Nov 25, 2026): done: RT-TITLE-WINDOW-CLEANUP -> #1521
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: PSIN-PSCH-VALIDATION-AND-IO-HARDENING — fix bugs and harden validation/I/O in tools/psin_psch.py: compute PMAP exact_end from the highest-ending block rather than row-order blocks[-1] (fixing out-of-order and trailing empty PMAP blocks), detect self-referencing array/map descriptors and duplicate struct/enum hashes in check_psch_schema, handle non-string or uppercase head values in scan_target rows without crashing, extend check_report_path to protect .bin files inside --carve-dir and run pre-index overwrite checks first, and make --json writes atomic (file_mode.published_mode + replace_retry.replace + allow_nan=False + trailing LF), with synthetic regression tests in tests/test_psin_psch.py.

<!-- gh-comment-id:7151838167 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: PSIN-PSCH-VALIDATION-AND-IO-HARDENING — fix bugs and harden validation/I/O in `tools/psin_psch.py`: compute PMAP `exact_end` from the highest-ending block rather than row-order `blocks[-1]` (fixing out-of-order and trailing empty PMAP blocks), detect self-referencing array/map descriptors and duplicate struct/enum hashes in `check_psch_schema`, handle non-string or uppercase `head` values in `scan_target` rows without crashing, extend `check_report_path` to protect `.bin` files inside `--carve-dir` and run pre-index overwrite checks first, and make `--json` writes atomic (`file_mode.published_mode` + `replace_retry.replace` + `allow_nan=False` + trailing LF), with synthetic regression tests in `tests/test_psin_psch.py`.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: PSIN-PSCH-VALIDATION-AND-IO-HARDENING -> #1523

<!-- gh-comment-id:7151873846 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: PSIN-PSCH-VALIDATION-AND-IO-HARDENING -> #1523
Author
Owner

@kawaii-shakal commented on GitHub (Nov 25, 2026):

Claiming INPUT-OUT-OF-THE-BOX: a build from make_game.py on Windows has no controller input at all. runtime() calls scripts/build_runtime.ps1 without -FetchSdl3, so without an installed SDL3 the GameInput shim is not built and the log says served without SDL3 (no devices). A DualSense or Xbox pad then does nothing. Plan: the Windows runtime stage passes -FetchSdl3 (pinned, hash-checked SDL3 3.4.20), with --no-sdl3 to opt out, and LEONIDA_KEYBOARD_PAD defaults to focus (read only while the game window has focus; off disables it). This means keyboard and mouse work without a pad. Docs and tests included. Seen on the retail boot with an RTX 5070 Ti and a DualSense.

AI-assisted.

<!-- gh-comment-id:7151877988 --> @kawaii-shakal commented on GitHub (Nov 25, 2026): Claiming INPUT-OUT-OF-THE-BOX: a build from `make_game.py` on Windows has no controller input at all. `runtime()` calls `scripts/build_runtime.ps1` without `-FetchSdl3`, so without an installed SDL3 the GameInput shim is not built and the log says `served without SDL3 (no devices)`. A DualSense or Xbox pad then does nothing. Plan: the Windows runtime stage passes `-FetchSdl3` (pinned, hash-checked SDL3 3.4.20), with `--no-sdl3` to opt out, and `LEONIDA_KEYBOARD_PAD` defaults to `focus` (read only while the game window has focus; `off` disables it). This means keyboard and mouse work without a pad. Docs and tests included. Seen on the retail boot with an RTX 5070 Ti and a DualSense. AI-assisted.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: GAMEDATA-MAPS-INDEX-AND-ATOMIC-IO — harden tools/gamedata_maps.py: read carve index.json with utf-8-sig (UTF-8 BOM support), validate non-negative non-bool integer off/size/stored and string head row fields, stop continuation joins on empty missing chunks, use slice bounds checking in parse_pamh, and make --json writes atomic (file_mode.published_mode + replace_retry.replace + allow_nan=False + trailing LF), with synthetic regression tests in tests/test_gamedata_maps.py.

<!-- gh-comment-id:7151890540 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: GAMEDATA-MAPS-INDEX-AND-ATOMIC-IO — harden `tools/gamedata_maps.py`: read carve `index.json` with `utf-8-sig` (UTF-8 BOM support), validate non-negative non-bool integer `off`/`size`/`stored` and string `head` row fields, stop continuation joins on empty missing chunks, use slice bounds checking in `parse_pamh`, and make `--json` writes atomic (`file_mode.published_mode` + `replace_retry.replace` + `allow_nan=False` + trailing LF), with synthetic regression tests in `tests/test_gamedata_maps.py`.
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026):

claiming: DECODE-DS-PARITY — align tools/rdna2_decode.py DS single-offset detection (ds_condxchg32_rtn_b64) and ds_swizzle_b32 offset:0 / ROTATE / FFT formatting with LLVM 21.1.8 (19 remaining gfx10_ds.txt mismatches -> 0). AI-assisted.

<!-- gh-comment-id:7151900308 --> @jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026): claiming: DECODE-DS-PARITY — align `tools/rdna2_decode.py` DS single-offset detection (`ds_condxchg32_rtn_b64`) and `ds_swizzle_b32` `offset:0` / `ROTATE` / `FFT` formatting with LLVM 21.1.8 (19 remaining `gfx10_ds.txt` mismatches -> 0). AI-assisted.
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026):

done: DECODE-DS-PARITY -> #1524

<!-- gh-comment-id:7151903144 --> @jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026): done: DECODE-DS-PARITY -> #1524
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026):

claiming: DECODE-VOP16-INT-INLINE — decode 16-bit integer inline constants 240..248 on VOP1/VOPC/VOP3 16-bit integer operands as binary16 hex (0x3800..0x3118) in tools/rdna2_decode.py, matching LLVM 21.1.8 (126 mismatches -> 0, gfx10_vopc.txt 1,438/1,438 exact) while preserving mixed-width SRC2 and hardware-verified SDWA fimm behavior. AI-assisted.

<!-- gh-comment-id:7151911364 --> @jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026): claiming: DECODE-VOP16-INT-INLINE — decode 16-bit integer inline constants 240..248 on VOP1/VOPC/VOP3 16-bit integer operands as binary16 hex (`0x3800..0x3118`) in `tools/rdna2_decode.py`, matching LLVM 21.1.8 (126 mismatches -> 0, `gfx10_vopc.txt` 1,438/1,438 exact) while preserving mixed-width SRC2 and hardware-verified SDWA `fimm` behavior. AI-assisted.
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026):

done: DECODE-VOP16-INT-INLINE -> #1525

<!-- gh-comment-id:7151914651 --> @jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026): done: DECODE-VOP16-INT-INLINE -> #1525
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: GAMEDATA-MAPS-INDEX-AND-ATOMIC-IO -> #1526

<!-- gh-comment-id:7151919772 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: GAMEDATA-MAPS-INDEX-AND-ATOMIC-IO -> #1526
Author
Owner

@Rain156 commented on GitHub (Nov 25, 2026):

claiming: TEST-D3D12-FIRST-LIGHT-CAMERA — Exercise the existing First Light perspective camera through the Xbox D3D12 device. Bind the world and view-projection constant buffers through a graphics root descriptor table and compare the readback with the camera oracle. This is the camera draw in docs/first_light.md sections 7 and 8.

<!-- gh-comment-id:7151946238 --> @Rain156 commented on GitHub (Nov 25, 2026): claiming: TEST-D3D12-FIRST-LIGHT-CAMERA — Exercise the existing First Light perspective camera through the Xbox D3D12 device. Bind the world and view-projection constant buffers through a graphics root descriptor table and compare the readback with the camera oracle. This is the camera draw in docs/first_light.md sections 7 and 8.
Author
Owner

@GTAVIB4GTAVI commented on GitHub (Nov 25, 2026):

GPU-RECORD-TURING done: PR https://github.com/ubiquitarianism/leonida/pull/1527 (gpu-test-results/RTX2080Ti.txt
plus the table row), RTX 2080 Ti / NVIDIA 572.83 / Windows 10 19045 at 5a5df8e0b.

Counts: run_gpu_tests.py 265 shaders translated, 265 spirv-val clean, in both modes; 204/256 passed, 52 skipped
native and 236/256 passed, 20 skipped under LEONIDA_W64_EMULATE=1, 0 failed in either mode (a second native run
reproduced 204/256). w64_graphics.py 18 ok / 12 tier-C SKIP / 0 failed. ctest 313 passed, 7 failed of 320, listed
with the line each prints.

<!-- gh-comment-id:7151990522 --> @GTAVIB4GTAVI commented on GitHub (Nov 25, 2026): `GPU-RECORD-TURING` done: **PR https://github.com/ubiquitarianism/leonida/pull/1527** (`gpu-test-results/RTX2080Ti.txt` plus the table row), RTX 2080 Ti / NVIDIA 572.83 / Windows 10 19045 at `5a5df8e0b`. Counts: `run_gpu_tests.py` 265 shaders translated, 265 spirv-val clean, in both modes; 204/256 passed, 52 skipped native and 236/256 passed, 20 skipped under `LEONIDA_W64_EMULATE=1`, **0 failed in either mode** (a second native run reproduced 204/256). `w64_graphics.py` 18 ok / 12 tier-C SKIP / 0 failed. `ctest` 313 passed, 7 failed of 320, listed with the line each prints.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

claiming: TEST-TEMP-DIR-ROBUST — the ~20 temp_directory_path()/GetTempPathW throwing sites that die with 0xc0000409 when TMP/TEMP/USERPROFILE are unset. Fix adds writable-dir probing + env repair to runtime/test/test_temp_dir.h and guards the per-site throws; verified on native Windows with the env stripped (23/23 GPU d3d12 + loader/variant suites, zero 0xc0000409). Branch test-tempdir-robust in progress; PR to follow after review.

<!-- gh-comment-id:7152024965 --> @whoalin1 commented on GitHub (Nov 25, 2026): claiming: TEST-TEMP-DIR-ROBUST — the ~20 `temp_directory_path()`/`GetTempPathW` throwing sites that die with 0xc0000409 when TMP/TEMP/USERPROFILE are unset. Fix adds writable-dir probing + env repair to `runtime/test/test_temp_dir.h` and guards the per-site throws; verified on native Windows with the env stripped (23/23 GPU d3d12 + loader/variant suites, zero 0xc0000409). Branch `test-tempdir-robust` in progress; PR to follow after review.
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: several d3d12 tests still lack a push-constant-size guard beyond the ones #1449/#1467/#1419 cover | where: runtime/test/d3d12_indirect_dispatch_count_test.cpp (and audit siblings) create translated PSOs needing the 144-byte ShaderUserData contract; on 128-byte devices (AMD iGPU) they FAIL instead of SKIP | why: same class as the guarded tests — device_push_constants_need_fallback → return 77 is the established pattern | needs: AMD RDNA2 iGPU or any <144B pushconst device to reproduce

<!-- gh-comment-id:7152026238 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: several d3d12 tests still lack a push-constant-size guard beyond the ones #1449/#1467/#1419 cover | where: `runtime/test/d3d12_indirect_dispatch_count_test.cpp` (and audit siblings) create translated PSOs needing the 144-byte ShaderUserData contract; on 128-byte devices (AMD iGPU) they FAIL instead of SKIP | why: same class as the guarded tests — `device_push_constants_need_fallback → return 77` is the established pattern | needs: AMD RDNA2 iGPU or any <144B pushconst device to reproduce
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: fuzz-found translator/runtime divergences worth tracking (no game files; reproduced on synthetic fixtures) | where: (a) sNaN operand through v_fmamk_f32 flips the v_cmp_class result bit on both AMD gfx1036 and NVIDIA vs the reference; (b) NVIDIA-only: _nc_i16 clamp corrupts the high half of the result; (c) NVIDIA-only: FMA denormal flush differences; (d) NVIDIA-only: v_cvt sdwa byte-position bug; (e) vk_compute_test intermittently crashes 0xC0000005 on some programs under AMD | why: each is a candidate translator or driver-contract fix; (a) looks like a real semantic bug, (b)-(d) look NVIDIA-driver or encoding issues | needs: both GPUs; fuzz harnesses valu_fuzz/crosslane_fuzz/vk_compute_test on main

<!-- gh-comment-id:7152027316 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: fuzz-found translator/runtime divergences worth tracking (no game files; reproduced on synthetic fixtures) | where: (a) sNaN operand through `v_fmamk_f32` flips the `v_cmp_class` result bit on both AMD gfx1036 and NVIDIA vs the reference; (b) NVIDIA-only: `_nc_i16` clamp corrupts the high half of the result; (c) NVIDIA-only: FMA denormal flush differences; (d) NVIDIA-only: `v_cvt` sdwa byte-position bug; (e) `vk_compute_test` intermittently crashes 0xC0000005 on some programs under AMD | why: each is a candidate translator or driver-contract fix; (a) looks like a real semantic bug, (b)-(d) look NVIDIA-driver or encoding issues | needs: both GPUs; fuzz harnesses `valu_fuzz`/`crosslane_fuzz`/`vk_compute_test` on main
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: SAMPLER-SOURCE-CENSUS-DATAFLOW-AND-IO — fix dataflow bugs and harden I/O in tools/sampler_source_census.py: preserve V# source class across per-dword offsets in one_load_source(), recognize 3-tuple zero constants and high-word offsets on 64-bit pointers, account for SMEM offset:IMM modifiers in static/pointer-constant bounds, reject value-modifying v_mov_b32_sdwa/v_mov_b32_dpp/modifier copies in spill tracking, turn invalid hex encodings in anchored() into Skip and handle empty blocks_of([]), validate census() limit/jobs and catch OSError in main(), add pre-scan --json directory/input-overwrite guards via report_paths.same_report_path, and write --json atomically (file_mode.published_mode + replace_retry.replace + allow_nan=False).

<!-- gh-comment-id:7152027644 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: SAMPLER-SOURCE-CENSUS-DATAFLOW-AND-IO — fix dataflow bugs and harden I/O in `tools/sampler_source_census.py`: preserve V# source class across per-dword offsets in `one_load_source()`, recognize 3-tuple zero constants and high-word offsets on 64-bit pointers, account for SMEM `offset:IMM` modifiers in static/pointer-constant bounds, reject value-modifying `v_mov_b32_sdwa`/`v_mov_b32_dpp`/modifier copies in spill tracking, turn invalid hex encodings in `anchored()` into `Skip` and handle empty `blocks_of([])`, validate `census()` `limit`/`jobs` and catch `OSError` in `main()`, add pre-scan `--json` directory/input-overwrite guards via `report_paths.same_report_path`, and write `--json` atomically (`file_mode.published_mode` + `replace_retry.replace` + `allow_nan=False`).
Author
Owner

@tengotengo commented on GitHub (Nov 25, 2026):

finding: DSTORAGE-FACTORY re-scoped vs main f78385646 (post #984): all four console DStorage IIDs measured in the retail exe (factory 62959d11-…, file 43704f9f-…, status-array cd66d752-…, queue 3c02cb0c-…; round-2 measurement 7131203523 — sole import XCRDAPI.dll!DStorageGetFactory, one call site 0x141d8e4f0, slots 2/4/5/8/10, CreateQueue1 at slot 10) are already accepted by main's creating calls via IidPolicy's learn fallback (dstorage.cpp:154–157 at f78385646 — each IID passes every refusal gate and is learned + served on first use, logged once), and the IDStorageFactoryX2 factory (dstorage.cpp:1456–1465, vtable dstorage_xs_abi.h:348–363) serves the measured sequence; #984 left the policy byte-identical to b4b7756e8. Claim 7148382438 closed as superseded — consistent with the dstorage-adjacent claims closed as "superseded by #984" (7151032887); the declarative branch (static kConsole*Id instead of learn-on-first-use) stays unfiled, available if the maintainers prefer static declarations.

<!-- gh-comment-id:7152055299 --> @tengotengo commented on GitHub (Nov 25, 2026): finding: DSTORAGE-FACTORY re-scoped vs main f78385646 (post #984): all four console DStorage IIDs measured in the retail exe (factory 62959d11-…, file 43704f9f-…, status-array cd66d752-…, queue 3c02cb0c-…; round-2 measurement 7131203523 — sole import XCRDAPI.dll!DStorageGetFactory, one call site 0x141d8e4f0, slots 2/4/5/8/10, CreateQueue1 at slot 10) are already accepted by main's creating calls via IidPolicy's learn fallback (dstorage.cpp:154–157 at f78385646 — each IID passes every refusal gate and is learned + served on first use, logged once), and the IDStorageFactoryX2 factory (dstorage.cpp:1456–1465, vtable dstorage_xs_abi.h:348–363) serves the measured sequence; #984 left the policy byte-identical to b4b7756e8. Claim 7148382438 closed as superseded — consistent with the dstorage-adjacent claims closed as "superseded by #984" (7151032887); the declarative branch (static kConsole*Id instead of learn-on-first-use) stays unfiled, available if the maintainers prefer static declarations.
Author
Owner

@x2Tweek commented on GitHub (Nov 25, 2026):

done: SHADER-SUBSET -> #1529 (rebased #565 on latest upstream/main, was conflicting, replaced by shader-subset-v2 branch)

<!-- gh-comment-id:7152074929 --> @x2Tweek commented on GitHub (Nov 25, 2026): done: SHADER-SUBSET -> #1529 (rebased #565 on latest upstream/main, was conflicting, replaced by shader-subset-v2 branch)
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: SAMPLER-SOURCE-CENSUS-DATAFLOW-AND-IO -> #1530

<!-- gh-comment-id:7152091528 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: SAMPLER-SOURCE-CENSUS-DATAFLOW-AND-IO -> #1530
Author
Owner

@whoalin1 commented on GitHub (Nov 25, 2026):

finding: new vk_compute_test 0xC0000005 trigger on AMD gfx1036 Windows driver — same crash class as the #857 shader-compiler AV but a different instruction mix | where: minimal repro is 12 VALU lines (v_xor seeds + s_mov_b32 + v_cvt_i32_f32 + v_frexp_mant_f32_e64 + v_cmp_class_f32_e64 + v_cndmask_b32_e64); dropping ANY of the four middle ops, all s_mov seeds, or both v_xor buffer seeds avoids the crash; SPIR-V passes spirv-val; RTX 4070 SUPER runs it fine | why: narrows the compiler-AV trigger surface — looks like the s_mov seed constants feeding the e64-class ops matter | needs: AMD Windows iGPU/dGPU to reproduce; full repro artifacts in the fuzz scratch notes

<!-- gh-comment-id:7152112195 --> @whoalin1 commented on GitHub (Nov 25, 2026): finding: new `vk_compute_test` 0xC0000005 trigger on AMD gfx1036 Windows driver — same crash class as the #857 shader-compiler AV but a different instruction mix | where: minimal repro is 12 VALU lines (v_xor seeds + s_mov_b32 + v_cvt_i32_f32 + v_frexp_mant_f32_e64 + v_cmp_class_f32_e64 + v_cndmask_b32_e64); dropping ANY of the four middle ops, all s_mov seeds, or both v_xor buffer seeds avoids the crash; SPIR-V passes spirv-val; RTX 4070 SUPER runs it fine | why: narrows the compiler-AV trigger surface — looks like the s_mov seed constants feeding the e64-class ops matter | needs: AMD Windows iGPU/dGPU to reproduce; full repro artifacts in the fuzz scratch notes
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: IMAGE-BVH-CENSUS-DATAFLOW-CFG-AND-IO — fix real dataflow/CFG bugs and harden I/O in tools/image_bvh_census.py: do not treat v_cmpx_*_e32 source operand a[0] as an SGPR write in sgpr_step()/mask_writes() (and treat v_cmpx_*_e64 a[0] as destination in source_args()), require plain/unmodified v_rcp_f32 before tagging R1 in site_transfer(), require a single VGPR operand in high_half_operand() (avoiding SGPR misreads and immediate KeyError) and handle both operands being high-half, check plain(a[0])/single-VGPR in is_copy(), catch OverflowError in imm32(), split non-contiguous PCs / guard fall-through across gaps / handle empty insns in blocks_of()/analyse(), convert bad hex encodings in load_program() to Skip, guard --out against listings/index.json/fssm/*.fssm via report_paths.same_report_path, catch OSError from directory scanning, and write --out atomically (file_mode.published_mode + replace_retry.replace + allow_nan=False + trailing LF).

<!-- gh-comment-id:7152125566 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: IMAGE-BVH-CENSUS-DATAFLOW-CFG-AND-IO — fix real dataflow/CFG bugs and harden I/O in `tools/image_bvh_census.py`: do not treat `v_cmpx_*_e32` source operand `a[0]` as an SGPR write in `sgpr_step()`/`mask_writes()` (and treat `v_cmpx_*_e64` `a[0]` as destination in `source_args()`), require plain/unmodified `v_rcp_f32` before tagging `R1` in `site_transfer()`, require a single VGPR operand in `high_half_operand()` (avoiding SGPR misreads and immediate `KeyError`) and handle both operands being high-half, check `plain(a[0])`/single-VGPR in `is_copy()`, catch `OverflowError` in `imm32()`, split non-contiguous PCs / guard fall-through across gaps / handle empty `insns` in `blocks_of()`/`analyse()`, convert bad hex encodings in `load_program()` to `Skip`, guard `--out` against listings/`index.json`/`fssm/*.fssm` via `report_paths.same_report_path`, catch `OSError` from directory scanning, and write `--out` atomically (`file_mode.published_mode` + `replace_retry.replace` + `allow_nan=False` + trailing LF).
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

done: IMAGE-BVH-CENSUS-DATAFLOW-CFG-AND-IO -> #1534

<!-- gh-comment-id:7152175462 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): done: IMAGE-BVH-CENSUS-DATAFLOW-CFG-AND-IO -> #1534
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

claiming: MAKE-GAME-MESH-COMPUTE-NO-EXT -- query VK_EXT_mesh_shader (VkPhysicalDeviceMeshShaderFeaturesEXT.meshShader) in tools/vk_subgroup_info.py (mesh_shader JSON field) and have make_game.py automatically enable --mesh-compute during the shaders stage when the runtime's GPU lacks meshShader (such as NVIDIA Pascal, AMD RDNA1/GCN, Intel Gen9/11, and MoltenVK), instead of only on Intel's Windows driver (BUILD-2202).

<!-- gh-comment-id:7152196533 --> @robot00f commented on GitHub (Nov 25, 2026): claiming: MAKE-GAME-MESH-COMPUTE-NO-EXT -- query `VK_EXT_mesh_shader` (`VkPhysicalDeviceMeshShaderFeaturesEXT.meshShader`) in `tools/vk_subgroup_info.py` (`mesh_shader` JSON field) and have `make_game.py` automatically enable `--mesh-compute` during the `shaders` stage when the runtime's GPU lacks `meshShader` (such as NVIDIA Pascal, AMD RDNA1/GCN, Intel Gen9/11, and MoltenVK), instead of only on Intel's Windows driver (`BUILD-2202`).
Author
Owner

@robot00f commented on GitHub (Nov 25, 2026):

claiming: VK-PIPELINE-CHECK-BARY-FALLBACK -- teach runtime/test/vk_pipeline_check.cpp to parse "bary_fallback_input" from index.json for --bary-fallback pixel shaders, check geometryShader (shaderClipDistance / shaderCullDistance), and synthesize the triangle pass-through Geometry stage via runtime/src/spirv_bary_fallback.h (Depends on: #1497) so graphics pipeline validation and cache seeding compile the 3-stage VS + GS + PS pipeline without VUID-RuntimeSpirv-OpEntryPoint-08743 interface mismatches.

<!-- gh-comment-id:7152197322 --> @robot00f commented on GitHub (Nov 25, 2026): claiming: VK-PIPELINE-CHECK-BARY-FALLBACK -- teach `runtime/test/vk_pipeline_check.cpp` to parse `"bary_fallback_input"` from `index.json` for `--bary-fallback` pixel shaders, check `geometryShader` (`shaderClipDistance` / `shaderCullDistance`), and synthesize the triangle pass-through `Geometry` stage via `runtime/src/spirv_bary_fallback.h` (`Depends on: #1497`) so graphics pipeline validation and cache seeding compile the 3-stage `VS + GS + PS` pipeline without `VUID-RuntimeSpirv-OpEntryPoint-08743` interface mismatches.
Author
Owner

@IlyassRS3 commented on GitHub (Nov 25, 2026):

claiming: RESTOFWORLD-INDEX-VALIDATION-AND-IO — fix real bugs and harden validation/I/O in tools/restofworld_index.py: validate start/limit/max_inflate in scan_rpf() and scan_dir() (fixing limit=0 silently scanning the whole archive and negative limit producing negative span), bound Bink 2 header reads inside the scan window, support UTF-8 BOM and .bk2 rows in _carve_index() while validating index.json summary fields so malformed span/padding values do not crash scan_dir(), use report_paths.same_report_path for source/directory overwrite guards (catching case-folding and symlink aliases), and harden write_output() with allow_nan=False, trailing LF, and replace_retry.replace.

<!-- gh-comment-id:7152205891 --> @IlyassRS3 commented on GitHub (Nov 25, 2026): claiming: RESTOFWORLD-INDEX-VALIDATION-AND-IO — fix real bugs and harden validation/I/O in `tools/restofworld_index.py`: validate `start`/`limit`/`max_inflate` in `scan_rpf()` and `scan_dir()` (fixing `limit=0` silently scanning the whole archive and negative `limit` producing negative `span`), bound Bink 2 header reads inside the scan window, support UTF-8 BOM and `.bk2` rows in `_carve_index()` while validating `index.json` summary fields so malformed `span`/padding values do not crash `scan_dir()`, use `report_paths.same_report_path` for source/directory overwrite guards (catching case-folding and symlink aliases), and harden `write_output()` with `allow_nan=False`, trailing LF, and `replace_retry.replace`.
Author
Owner

@Rain156 commented on GitHub (Nov 25, 2026):

claiming: TEST-GUEST-DRAW-LIST-ABI — Set the existing PC command-list mode in both launchers for the PC-compiled tiny_guest_draw fixture. On main bfef489cb the single draw and 600-frame scene both fail Close on frame 1, and both pass with the fixture's matching ABI. The change is confined to the fixture launchers.

<!-- gh-comment-id:7152211519 --> @Rain156 commented on GitHub (Nov 25, 2026): claiming: TEST-GUEST-DRAW-LIST-ABI — Set the existing PC command-list mode in both launchers for the PC-compiled tiny_guest_draw fixture. On main bfef489cb the single draw and 600-frame scene both fail Close on frame 1, and both pass with the fixture's matching ABI. The change is confined to the fixture launchers.
Author
Owner

@Tyrannys commented on GitHub (Nov 25, 2026):

claiming: RT-GPU-WINDOW-SPARSE - item 2 of @DadaCap's boot-prototype (a66c1422e) note, which they left free for whoever carries it: the title's GPU-only reservation (graphics protection with no CPU access, the 24 GiB window queue slot 31 maps pool pages into) as one Vulkan sparse buffer, each page xmem maps there given a device-local copy uploaded from its physical section and bound before the next submission. Onto current main (which has #968's slot 31 and #984's title_gpu_views pairing), DadaCap's code credited as co-author. Why: on main the title's world-start GPU work reads that window and finds nothing, then the CPU dies following what that work wrote (my finding above, 7150330367). Tests: an xmem_test case for the window's change list (no GPU), and a Vulkan case for the sparse binding where a device has sparse buffers. AI-assisted (Claude Code).

<!-- gh-comment-id:7152226306 --> @Tyrannys commented on GitHub (Nov 25, 2026): claiming: RT-GPU-WINDOW-SPARSE - item 2 of @DadaCap's `boot-prototype` (`a66c1422e`) note, which they left free for whoever carries it: the title's GPU-only reservation (graphics protection with no CPU access, the 24 GiB window queue slot 31 maps pool pages into) as one Vulkan sparse buffer, each page xmem maps there given a device-local copy uploaded from its physical section and bound before the next submission. Onto current `main` (which has #968's slot 31 and #984's `title_gpu_views` pairing), DadaCap's code credited as co-author. Why: on `main` the title's world-start GPU work reads that window and finds nothing, then the CPU dies following what that work wrote (my finding above, 7150330367). Tests: an `xmem_test` case for the window's change list (no GPU), and a Vulkan case for the sparse binding where a device has sparse buffers. AI-assisted (Claude Code).
Author
Owner

@jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026):

claiming: SHADER-SPIRV-OPT-SROA — scalar-replace surviving non-escaped, statically indexed Function-scope arrays (such as %vgpr[256] and %sgpr[128]) into per-slot scalar OpVariables in tools/spirv_opt.py (tests/test_spirv_opt.py, docs/design.md). AI-assisted: yes (JARVIX).

<!-- gh-comment-id:7173114045 --> @jarvixaiassistant-glitch commented on GitHub (Nov 25, 2026): claiming: SHADER-SPIRV-OPT-SROA — scalar-replace surviving non-escaped, statically indexed Function-scope arrays (such as %vgpr[256] and %sgpr[128]) into per-slot scalar OpVariables in tools/spirv_opt.py (tests/test_spirv_opt.py, docs/design.md). AI-assisted: yes (JARVIX).
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#2
No description provided.