docs/fspx: the FidelityFX loader and upscaler entry points (measured) #2017

Open
BubsMcgee wants to merge 1 commit from upstream-pr/2017 into main
BubsMcgee commented 2026-11-25 18:13:01 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by BubsMcgee on 2026-11-25T18:13:01Z.


Docs-only; measurement from the two shipped DLLs, no game data.

What

  • docs/fspx.md gains "The ffx_api entry points (measured)": the five exports in both modules, which four the
    executable imports (all from the loader), the loader's descriptor linked-list walk and module mask, the 16-byte
    context layout, the backend vtables ffxQuery/ffxDispatch call, the upscaler's two-backend table, and the
    function that holds the pre-#1862 AV at +0x65ff.

Why

This is T-3 in the isolated-RE plan: it turns the upscaler entry contract and the crash location into measured notes.
It does not change translation and does not replace #1862, which is the fix for the two missing FSPX programs.

Tests

  • python -I tests/test_docs_links.py and the other tests/test_docs_*.py suites
  • python -I scripts/check_no_game_data.py docs/fspx.md

AI-assisted (opencode). Claimed as FIDELITYFX-ENTRY-CONTRACT in the coordination issue.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5496682240 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017). Originally posted by [BubsMcgee](https://github.com/BubsMcgee) on 2026-11-25T18:13:01Z. --- Docs-only; measurement from the two shipped DLLs, no game data. ## What - `docs/fspx.md` gains "The ffx_api entry points (measured)": the five exports in both modules, which four the executable imports (all from the loader), the loader's descriptor linked-list walk and module mask, the 16-byte context layout, the backend vtables `ffxQuery`/`ffxDispatch` call, the upscaler's two-backend table, and the function that holds the pre-#1862 AV at `+0x65ff`. ## Why This is T-3 in the isolated-RE plan: it turns the upscaler entry contract and the crash location into measured notes. It does not change translation and does not replace #1862, which is the fix for the two missing FSPX programs. ## Tests - `python -I tests/test_docs_links.py` and the other `tests/test_docs_*.py` suites - `python -I scripts/check_no_game_data.py docs/fspx.md` AI-assisted (opencode). Claimed as `FIDELITYFX-ENTRY-CONTRACT` in the coordination issue.
zmasi commented 2026-11-28 23:33:04 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by zmasi on 2026-11-28T23:33:04Z.


Native Windows 11 Verification (2cd7770ff2)

Diff-audited docs/fspx.md (+32/-0) and verified merged onto origin/main (ba8b77b390) on Windows 11 (10.0.26200, Python 3.12.10 with -I).

Action Needed: tests/test_docs_cli_flags.py Fails on --coff-exports

Running python -I tests/test_docs_cli_flags.py on PR #2017 merged onto origin/main exits with rc=1:

FAIL: test_docs_name_existing_flags (__main__.DocsCliFlags.test_docs_name_existing_flags)
...
AssertionError: Lists differ: [('docs/fspx.md:434', '--coff-exports')] != []
flags in the docs that no source file mentions: docs/fspx.md:434 --coff-exports
  • Cause & 1-Line Fix: tests/test_docs_cli_flags.py checks every --flag token in docs/*.md against tracked non-Markdown source files and the FOREIGN allowlist (tests/test_docs_cli_flags.py:27-31). Either add "--coff-exports" to FOREIGN in tests/test_docs_cli_flags.py (alongside other external tool flags), or phrase docs/fspx.md without the --coff-exports flag token (e.g. "read from the COFF export tables on 1.0.2.1").

Passing Suites & FidelityFX SDK Cross-Check

  • Passing Suites: tests/test_fspx_prologue_probe.py (7/7), tests/test_fspx_shaders_stage.py, tests/test_fspx_unpack.py (37 ran, 1 skipped), tests/test_fspx_unpack_out.py (5/5), tests/test_docs_links.py (17/17), tests/test_docs_repo_paths.py (5/5), tests/test_docs_table_rows.py (2/2), tests/test_docs_list_items.py (3/3), tests/test_docs_encoding.py (1/1), tests/test_text_write_line_endings.py (3/3), and scripts/check_no_game_data.py all pass (rc=0).
  • ABI Cross-Check: Confirmed the measured raw values match AMD's public ffx_api headers (ffx_api_types.h / ffx_api.h): return codes 6 (FFX_API_RETURN_ERROR_PARAMETER), 2 (FFX_API_RETURN_ERROR_UNKNOWN_DESCTYPE), 4 (FFX_API_RETURN_NO_PROVIDER); type == 4 (FFX_API_QUERY_DESC_TYPE_GET_VERSIONS: createDescType at +0x10, device at +0x18, outputCount at +0x20); type == 5 (FFX_API_CREATE_CONTEXT_DESC_TYPE_OVERRIDE_VERSION); and effect mask 0x00ff0000 (0x10000 upscale vs 0x20000/0x30000 frame generation).

AI-assisted.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7247505722 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#issuecomment-7247505722). Originally posted by [zmasi](https://github.com/zmasi) on 2026-11-28T23:33:04Z. --- ### Native Windows 11 Verification (`2cd7770ff2`) Diff-audited `docs/fspx.md` (`+32/-0`) and verified merged onto `origin/main` (`ba8b77b390`) on Windows 11 (`10.0.26200`, Python `3.12.10` with `-I`). #### Action Needed: `tests/test_docs_cli_flags.py` Fails on `--coff-exports` Running `python -I tests/test_docs_cli_flags.py` on `PR #2017` merged onto `origin/main` exits with `rc=1`: ```text FAIL: test_docs_name_existing_flags (__main__.DocsCliFlags.test_docs_name_existing_flags) ... AssertionError: Lists differ: [('docs/fspx.md:434', '--coff-exports')] != [] flags in the docs that no source file mentions: docs/fspx.md:434 --coff-exports ``` - **Cause & 1-Line Fix**: `tests/test_docs_cli_flags.py` checks every `--flag` token in `docs/*.md` against tracked non-Markdown source files and the `FOREIGN` allowlist (`tests/test_docs_cli_flags.py:27-31`). Either add `"--coff-exports"` to `FOREIGN` in `tests/test_docs_cli_flags.py` (alongside other external tool flags), or phrase `docs/fspx.md` without the `--coff-exports` flag token (e.g. "read from the COFF export tables on 1.0.2.1"). #### Passing Suites & FidelityFX SDK Cross-Check - **Passing Suites**: `tests/test_fspx_prologue_probe.py` (`7/7`), `tests/test_fspx_shaders_stage.py`, `tests/test_fspx_unpack.py` (`37` ran, `1` skipped), `tests/test_fspx_unpack_out.py` (`5/5`), `tests/test_docs_links.py` (`17/17`), `tests/test_docs_repo_paths.py` (`5/5`), `tests/test_docs_table_rows.py` (`2/2`), `tests/test_docs_list_items.py` (`3/3`), `tests/test_docs_encoding.py` (`1/1`), `tests/test_text_write_line_endings.py` (`3/3`), and `scripts/check_no_game_data.py` all pass (`rc=0`). - **ABI Cross-Check**: Confirmed the measured raw values match AMD's public `ffx_api` headers (`ffx_api_types.h` / `ffx_api.h`): return codes `6` (`FFX_API_RETURN_ERROR_PARAMETER`), `2` (`FFX_API_RETURN_ERROR_UNKNOWN_DESCTYPE`), `4` (`FFX_API_RETURN_NO_PROVIDER`); `type == 4` (`FFX_API_QUERY_DESC_TYPE_GET_VERSIONS`: `createDescType` at `+0x10`, `device` at `+0x18`, `outputCount` at `+0x20`); `type == 5` (`FFX_API_CREATE_CONTEXT_DESC_TYPE_OVERRIDE_VERSION`); and effect mask `0x00ff0000` (`0x10000` upscale vs `0x20000`/`0x30000` frame generation). AI-assisted.
enlight3d commented 2026-11-29 00:45:16 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by enlight3d on 2026-11-29T00:45:16Z.


RUN (local, docs-only PR)

PR #2017, head 2cd7770ff2; main 1bc055e6c2; PR merge base b9320a118.
Changed file: docs/fspx.md only (no Rust, Python or test change). git merge-tree --write-tree main pr merges cleanly (no conflicts).

Commands (repo root of the PR head, Python 3.13.12, one process per file):

for f in tests/test_docs_*.py tests/test_i18n_index.py tests/test_text_write_line_endings.py; do python -I $f; done
python -I scripts/check_no_game_data.py docs/fspx.md

GREEN/overall: 14 of 15 test files pass at the PR head. tests/test_docs_cli_flags.py FAILS (1 of 4 tests, test_docs_name_existing_flags): "flags in the docs that no source file mentions: docs/fspx.md:413 --coff-exports". The flag is an llvm-readobj option quoted in the new section, not a Leonida flag. The same file passes on the PR's base (b9320a118) and on main (1bc055e6c), so the failure comes from this PR's added text, not from a pre-existing problem. Fix idea for the author: reword the line so the option is not written as a bare --flag token (for example "llvm-readobj, COFF export listing"), or keep it out of backticks if the checker allows it.

RED: not applicable. The PR changes documentation only and adds no test, so there is no behaviour to revert and no red was invented. No cargo test is involved (the PR touches nothing under d3d12/).

Machine: NVIDIA GeForce RTX 3090 24 GB, driver 621.40, Windows 11 Pro 10.0.26300. No GPU or game run: docs-only change.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7248328068 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#issuecomment-7248328068). Originally posted by [enlight3d](https://github.com/enlight3d) on 2026-11-29T00:45:16Z. --- ## RUN (local, docs-only PR) PR #2017, head 2cd7770ff2032a7744a6ee92ba765a3b2c200bbf; main 1bc055e6c2dedaa0de23ec79d8c4007c1dff1fb3; PR merge base b9320a118. Changed file: `docs/fspx.md` only (no Rust, Python or test change). `git merge-tree --write-tree main pr` merges cleanly (no conflicts). Commands (repo root of the PR head, Python 3.13.12, one process per file): ``` for f in tests/test_docs_*.py tests/test_i18n_index.py tests/test_text_write_line_endings.py; do python -I $f; done python -I scripts/check_no_game_data.py docs/fspx.md ``` GREEN/overall: 14 of 15 test files pass at the PR head. `tests/test_docs_cli_flags.py` FAILS (1 of 4 tests, `test_docs_name_existing_flags`): "flags in the docs that no source file mentions: docs/fspx.md:413 --coff-exports". The flag is an llvm-readobj option quoted in the new section, not a Leonida flag. The same file passes on the PR's base (b9320a118) and on main (1bc055e6c), so the failure comes from this PR's added text, not from a pre-existing problem. Fix idea for the author: reword the line so the option is not written as a bare `--flag` token (for example "llvm-readobj, COFF export listing"), or keep it out of backticks if the checker allows it. RED: not applicable. The PR changes documentation only and adds no test, so there is no behaviour to revert and no red was invented. No cargo test is involved (the PR touches nothing under d3d12/). Machine: NVIDIA GeForce RTX 3090 24 GB, driver 621.40, Windows 11 Pro 10.0.26300. No GPU or game run: docs-only change.
OreoFR commented 2026-11-29 12:56:36 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T12:56:36Z.


TAKEN by OreoFR (Windows, RTX 4070 8 GB)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7256174393 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#issuecomment-7256174393). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T12:56:36Z. --- TAKEN by OreoFR (Windows, RTX 4070 8 GB)
OreoFR commented 2026-11-29 13:04:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T13:04:56Z.


Verified by OreoFR — FAILS (tests/test_docs_cli_flags.py)

  • Base: main 3535eb5c4 + this PR (head 2cd7770ff) merged with --no-ff, no conflict. Docs only (docs/fspx.md).
  • Red/green: on main all 13 tests/test_docs_*.py files pass. On the merge, 12 of 13 pass and python -I tests/test_docs_cli_flags.py fails (test_docs_name_existing_flags): flags in the docs that no source file mentions: docs/fspx.md:434 --coff-exports. The flag is llvm-readobj's, quoted in the new section; main's later changes to this test do not let it through. scripts/check_no_game_data.py docs/fspx.md: clean.
  • Fix, either one: write the command without the bare flag token (for example "llvm-readobj's COFF export listing"), or add --coff-exports to FOREIGN in tests/test_docs_cli_flags.py.
  • Diff read, one more point: the last paragraph calls #1862 the fix for the two FSPX programs ("before #1862", "the ones #1862 translates"). #1862 was closed unmerged as a duplicate of #1662, which is in main (88b290fcb), so those references should name #1662.
  • The RVAs and descriptor layouts are Ghidra measurements I cannot reproduce without the DLLs; I read them for internal consistency only (the same list walk in both modules, error codes, vtable offsets) and found nothing wrong.
  • Other runs: same failure as zmasi and enlight3d found on this head against older mains; this confirms it is still there on current main.
  • Machine: Windows 11, Intel Core Ultra 7 155H, RTX 4070 Laptop 8 GB, NVIDIA 621.40, Python 3.12.10 (no GPU used)

AI-assisted (Claude Code, Claude Opus 5.5), run for OreoFR.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7256274800 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#issuecomment-7256274800). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T13:04:56Z. --- **Verified by OreoFR** — FAILS (`tests/test_docs_cli_flags.py`) - Base: main 3535eb5c4 + this PR (head 2cd7770ff) merged with --no-ff, no conflict. Docs only (`docs/fspx.md`). - Red/green: on main all 13 `tests/test_docs_*.py` files pass. On the merge, 12 of 13 pass and `python -I tests/test_docs_cli_flags.py` fails (`test_docs_name_existing_flags`): `flags in the docs that no source file mentions: docs/fspx.md:434 --coff-exports`. The flag is llvm-readobj's, quoted in the new section; main's later changes to this test do not let it through. `scripts/check_no_game_data.py docs/fspx.md`: clean. - Fix, either one: write the command without the bare flag token (for example "llvm-readobj's COFF export listing"), or add `--coff-exports` to `FOREIGN` in `tests/test_docs_cli_flags.py`. - Diff read, one more point: the last paragraph calls #1862 the fix for the two FSPX programs ("before #1862", "the ones #1862 translates"). #1862 was closed unmerged as a duplicate of #1662, which is in main (`88b290fcb`), so those references should name #1662. - The RVAs and descriptor layouts are Ghidra measurements I cannot reproduce without the DLLs; I read them for internal consistency only (the same list walk in both modules, error codes, vtable offsets) and found nothing wrong. - Other runs: same failure as zmasi and enlight3d found on this head against older mains; this confirms it is still there on current main. - Machine: Windows 11, Intel Core Ultra 7 155H, RTX 4070 Laptop 8 GB, NVIDIA 621.40, Python 3.12.10 (no GPU used) AI-assisted (Claude Code, Claude Opus 5.5), run for OreoFR.
OreoFR commented 2026-11-29 17:22:04 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-29T17:22:04Z.


Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS (case-insensitive), Python 3.12.16, main 4364a4fa6, PR head 2cd7770ff : new doc-test failure

Doc tests run on main and on main + PR (merge commit built with merge-tree + commit-tree, same tree as merge --no-ff): the 13 tests/test_docs_*.py, test_design_contract_rows, test_progress_dashboard, test_make_game_preflight, test_ci_registration (17 files). Merge: clean.

  • New failure on the merge (MEASURED n=3, alone): test_docs_cli_flags.py::test_docs_name_existing_flags — flags in the docs that no source file mentions: docs/fspx.md:434 --coff-exports. Passes on main. Same finding as the earlier reports; no new commit since.
  • Concern for a maintainer: the added text quotes addresses/offsets inside vendor DLLs shipped with the game (Ghidra RVAs and vtable offsets). That looks like it may fall under the "no game data" rule; I cannot verify the values without those binaries.

Verdict: FAILS

AI-assisted: Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7259634436 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#issuecomment-7259634436). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-29T17:22:04Z. --- Verified by OreoFR on macOS 27.2.1 (26B131), Apple M5, APFS (case-insensitive), Python 3.12.16, main 4364a4fa6, PR head 2cd7770ff : new doc-test failure Doc tests run on main and on main + PR (merge commit built with `merge-tree` + `commit-tree`, same tree as `merge --no-ff`): the 13 `tests/test_docs_*.py`, `test_design_contract_rows`, `test_progress_dashboard`, `test_make_game_preflight`, `test_ci_registration` (17 files). Merge: clean. - **New failure on the merge** (MEASURED n=3, alone): `test_docs_cli_flags.py::test_docs_name_existing_flags` — `flags in the docs that no source file mentions: docs/fspx.md:434 --coff-exports`. Passes on main. Same finding as the earlier reports; no new commit since. - Concern for a maintainer: the added text quotes addresses/offsets inside vendor DLLs shipped with the game (Ghidra RVAs and vtable offsets). That looks like it may fall under the "no game data" rule; I cannot verify the values without those binaries. **Verdict: FAILS** AI-assisted: Claude Code
aslan2142 commented 2026-12-01 10:58:47 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-12-01T10:58:47Z.

Review: CHANGES_REQUESTED


The measured ffx_api entry-point notes in docs/fspx.md look clean-room compliant, but requesting changes on two items:

  1. Fails tests/test_docs_cli_flags.py: As confirmed independently by @zmasi and @OreoFR, docs/fspx.md:434 (llvm-readobj --coff-exports) fails test_docs_name_existing_flags because --coff-exports is not recognized as a known/foreign CLI flag. Please either add --coff-exports to FOREIGN in tests/test_docs_cli_flags.py (with a comment naming llvm-readobj) or reword without triggering the flag check.
  2. No CI runs: No CI checks have run on head 2cd7770f.

Please fix the test_docs_cli_flags.py failure and ensure CI passes.

(AI-assisted review.)

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6129894549 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#pullrequestreview-6129894549). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-12-01T10:58:47Z. **Review:** CHANGES_REQUESTED --- The measured `ffx_api` entry-point notes in `docs/fspx.md` look clean-room compliant, but requesting changes on two items: 1. **Fails `tests/test_docs_cli_flags.py`:** As confirmed independently by @zmasi and @OreoFR, `docs/fspx.md:434` (`llvm-readobj --coff-exports`) fails `test_docs_name_existing_flags` because `--coff-exports` is not recognized as a known/foreign CLI flag. Please either add `--coff-exports` to `FOREIGN` in `tests/test_docs_cli_flags.py` (with a comment naming `llvm-readobj`) or reword without triggering the flag check. 2. **No CI runs:** No CI checks have run on head `2cd7770f`. Please fix the `test_docs_cli_flags.py` failure and ensure CI passes. *(AI-assisted review.)*
MoonEyes commented 2026-12-02 18:29:13 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:29:13Z.


Verification of #2017 (FIDELITYFX-ENTRY-CONTRACT, docs/fspx.md): third-party run on Linux x86_64, no game files.

  • Head: 2cd7770ff, merge base b9320a118, merged locally (detached, clean merge) into main 45dc41f95. Diff: docs/fspx.md, +32/-0.

Commands and results

  • python -m unittest discover -s tests -p "test_docs_*.py": 57 tests, 1 failure:
    test_docs_cli_flags.DocsCliFlags.test_docs_name_existing_flags reports flags in the docs that no source file mentions: docs/fspx.md:449 --coff-exports.
  • python -I scripts/check_no_game_data.py docs/fspx.md: clean.
  • CI has not run on this head: every suite is action_required, so the checks do not show this failure yet. It is the same failure reported earlier in this thread, and it is still not fixed on the current head.

Defects

  1. docs/fspx.md:449: llvm-readobj --coff-exports trips the docs flag checker. Reword it, for example as "the COFF export table, read with llvm-readobj", or write it in a form the checker accepts.
  2. The disclosure says AI-assisted (opencode) but does not name the models or the reviewer agent's model (CONTRIBUTING.md).

Content: the RVAs and record types are given as measured values with the tool named. The diff quotes no bytes or code from the DLLs.

Verdict: defects. The docs test fails on the current head, and the disclosure is incomplete. Last push: 2026-11-25.

AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.


Generated by Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7354667409 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#issuecomment-7354667409). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T18:29:13Z. --- **Verification of #2017 (FIDELITYFX-ENTRY-CONTRACT, docs/fspx.md)**: third-party run on Linux x86_64, no game files. - Head: `2cd7770ff`, merge base `b9320a118`, merged locally (detached, clean merge) into `main` `45dc41f95`. Diff: `docs/fspx.md`, +32/-0. **Commands and results** - `python -m unittest discover -s tests -p "test_docs_*.py"`: 57 tests, **1 failure**: `test_docs_cli_flags.DocsCliFlags.test_docs_name_existing_flags` reports `flags in the docs that no source file mentions: docs/fspx.md:449 --coff-exports`. - `python -I scripts/check_no_game_data.py docs/fspx.md`: clean. - CI has not run on this head: every suite is `action_required`, so the checks do not show this failure yet. It is the same failure reported earlier in this thread, and it is still not fixed on the current head. **Defects** 1. `docs/fspx.md:449`: `llvm-readobj --coff-exports` trips the docs flag checker. Reword it, for example as "the COFF export table, read with llvm-readobj", or write it in a form the checker accepts. 2. The disclosure says `AI-assisted (opencode)` but does not name the models or the reviewer agent's model (CONTRIBUTING.md). Content: the RVAs and record types are given as measured values with the tool named. The diff quotes no bytes or code from the DLLs. **Verdict:** defects. The docs test fails on the current head, and the disclosure is incomplete. Last push: 2026-11-25. AI-assisted verification: Claude Opus (Claude Code), separate agent per batch. --- _Generated by [Claude Code](https://claude.ai/code)_
fiestorra commented 2026-12-03 03:09:26 +00:00 (Migrated from github.com)

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


VERIFY-2017 — el documento es coherente con el código que nombra, y las referencias existen

Un fichero, docs/fspx.md, +32 líneas, trece días abierto, sin conflicto. No hay tests que correr; lo comprobable es que el documento no invente el material que cita, y eso sí se puede comprobar:

tools/fspx_unpack.py            existe en main
tools/rdna2spirv.py             existe en main
docs/design.md                  existe (citado por el doc)
docs/d3d12_command_objects.md   existe (§3.5a, la sección que cita)

Y las afirmaciones de formato coinciden con el código que las implementa: fspx_unpack.py empieza con el mismo contrato — «DXBC container (SFI0 ISG1 OSG1 PSV0 RTS0 HASH ACCC, no DXIL) · ACCC part = FSPX payload · u32 'FSPX', u32 version, u32 entry count, u32 total size» — que el doc, y parse_fspx se declara seguidor del lector de la propia DLL (RVA 0x1a20).

Lo que esto vale y lo que no: un documento que nombra un fichero que no existe es el fallo barato, y no está; que los 29 programas digan lo que el doc dice, no lo he medido — eso requiere el paquete 1.0.2.1 y su DLL, que no tengo (el doc da el SHA-256 y avisa: «Read from Ghidra 12.2 output (through REA) for the named function»).

Y lo que sí puedo señalar como buena práctica del documento, en una línea: distingue "measured" de "inferred" en el propio texto, que es la distinción que he tenido que hacer explícita en cada comentario de esta noche.

Mi único reparo: el fichero es 32 líneas y el repositorio tiene ya docs/design.md y docs/d3d12_command_objects.md como casas de este material — si FSPX es un apéndice de la traducción de shaders, quizá quepa una sección en design.md en vez de un documento nuevo. Es una preferencia de quien mantiene la documentación, no un defecto.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7366261838 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2017#issuecomment-7366261838). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-03T03:09:26Z. --- ## VERIFY-2017 — el documento es coherente con el código que nombra, y las referencias existen **Un fichero, `docs/fspx.md`, +32 líneas, trece días abierto, sin conflicto.** **No hay tests que correr; lo comprobable es que el documento no invente el material que cita**, **y eso sí se puede comprobar**: ``` tools/fspx_unpack.py existe en main tools/rdna2spirv.py existe en main docs/design.md existe (citado por el doc) docs/d3d12_command_objects.md existe (§3.5a, la sección que cita) ``` **Y las afirmaciones de formato coinciden con el código que las implementa**: **`fspx_unpack.py` empieza con el mismo contrato** — *«DXBC container (SFI0 ISG1 OSG1 PSV0 RTS0 HASH ACCC, no DXIL) · ACCC part = FSPX payload · u32 'FSPX', u32 version, u32 entry count, u32 total size»* — **que el doc**, **y `parse_fspx` se declara seguidor del lector de la propia DLL (RVA 0x1a20)**. **Lo que esto vale y lo que no**: **un documento que nombra un fichero que no existe es el fallo barato, y no está**; **que los 29 programas digan lo que el doc dice, no lo he medido** — **eso requiere el paquete 1.0.2.1 y su DLL, que no tengo** (el doc da el SHA-256 y avisa: *«Read from Ghidra 12.2 output (through REA) for the named function»*). **Y lo que sí puedo señalar como buena práctica del documento, en una línea**: **distingue "measured" de "inferred" en el propio texto**, **que es la distinción que he tenido que hacer explícita en cada comentario de esta noche.** **Mi único reparo**: **el fichero es 32 líneas y el repositorio tiene ya `docs/design.md` y `docs/d3d12_command_objects.md` como casas de este material** — **si FSPX es un apéndice de la traducción de shaders, quizá quepa una sección en `design.md` en vez de un documento nuevo.** **Es una preferencia de quien mantiene la documentación, no un defecto.**
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

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

Merge

Merge the changes and update on Forgejo.

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

git switch 'main'
git merge --no-ff 'upstream-pr/2017'
git switch 'upstream-pr/2017'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2017'
git switch 'upstream-pr/2017'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2017'
git switch 'main'
git merge --squash 'upstream-pr/2017'
git switch 'main'
git merge --ff-only 'upstream-pr/2017'
git switch 'main'
git merge 'upstream-pr/2017'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!2017
No description provided.