Full-corpus counts from a second verified copy on native Linux: 25,032 of 26,503 shaders translate clean; the README line reads as all 26,503

Aperta
#644 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python
Ambito
compilers

Direzione di ricerca

Start with the README line claiming all 26,503 shaders translate and pass spirv-val, then the shaders stage that runs carve, unpack, disassemble, translate and merge over two shards, and the merged index. The issue reports 25,032 clean translations and 1,471 to 1,473 shaders flagged as invalid words or normalized encoding, so the work is to find where the count diverges between runs. Done means an agreed explanation of the gap, not a code change, and the issue has no decision yet.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Submission draft (supersedes worker drafts) — counts from a second verified copy, native Linux

Proposed venue: their bug-report issue form (PR #12 adds it). Counts and environment only;
no game data, no keys, no acquisition links, per CONTRIBUTING.

Proposed title

Full-corpus counts from a second verified copy on native Linux: 25,032 of 26,503 shaders
translate clean; the README line reads as all 26,503

Environment (say what you tested, per CONTRIBUTING)

  • Native Arch-family Linux (Arch-derived distro), not Windows, not WSL. No GPU stage run; CPU-only.
  • Python 3.14.9 (runs with -I, stdlib only), distro LLVM 23.1.5 (llvm-mc assembles gfx1013; the
    WSL route in the docs was not needed), native spirv-tools (spirv-as / spirv-val), native .NET,
    submodule fetched via git on Linux.

What was run

  1. The copy verified against game/xbox-1.0.2.1.json: 108/108 files SHA-256 match on a full read;
    the executable slot is the manifest's only unfilled entry. (The repo's own check stage confirms
    the same: "all files present" plus the exe note.)
  2. Current main (793b06f, post PR #5 and PR #6): shaders stage, carve -> unpack -> disassemble ->
    translate -> merge, run as two shards as the tool intends.
  3. A second full run on the commit immediately before PR #5 produced identical translator numbers.

Counts (tool-reported, this copy)

Stage Result
Carve (shaders.rpf) 26,503 index rows; 25,734 distinct files; 1,377 names occur more than once; 17,734 files carry the collision suffix; 767 rows share a file (exact-duplicate names overwrite)
Unpack 25,734 outputs; 2 exceptions counted by the tool
Disassemble (gfx1013) 26,503 shaders -> clean 25,030; invalid words 1,473
Models (archives with entries) 155,598 exported, 0 fail, 0 skip; no layout rejections on this copy (README: "not all layouts are decoded yet")
Textures (in-archive entries) 6,738 exported, 0 fail, 0 skip

All counts are tool-reported from this machine; intermediate files are prunable and every stage reruns from
the copy, so any row here can be re-derived on request.
| Translate (2 shards, current main) | shard 0: 13,251 -> 12,527 translated, 12,527 pass spirv-val, 724 "reachable instruction with normalized encoding"; shard 1: 13,252 -> 12,505 / 12,505, 747 same category; merged index 25,032 entries |
| Second run (pre-PR-5 commit, 2 shards total) | 26,503 -> 25,032 translated, 25,032 pass spirv-val, 1,471 same category |

The one-line gap

The README claims all 26,503 carve/unpack/disassemble and all 26,503 translate and pass spirv-val
with the per-stage split 2,236 VS / 12,101 PS / 2,689 CS / 9,282 mesh / 195 geometry. On this copy
the translator leaves 1,471 shaders in the "reachable instruction with normalized encoding" bucket
(the tool's own LLVM-skip re-anchor path) and disassembly flags 1,473 as invalid words. Since this
copy is hash-identical to the manifest, the difference is presumably between this run and the
maintainer's, and the obvious suspects are the name layer (1,377 duplicated names, 767 shared
files, truncation at the fssm layer) and the case-insensitive filesystem the documented layout
runs on. Offered as observation, not diagnosis.

Also true from this machine (optional second comment, or fold into #7 if reopened)

Native distro LLVM 23.1.5 on Arch-family Linux assembles gfx1013 fine and the native carve/unpack/
disassembly pipeline completes on it end to end; the docs' WSL note is Windows-side only.

What this is NOT

  • Not the disasm-path layout bug: current main's PR #5 already fixed that; an earlier draft
    describing it is superseded.
  • Not an MIT-license point: that's their decision (issue #4).
  • Not any claim about GPU results: the GPU stage was never run here (no Windows host, and the
    harness tools load vulkan-1.dll; that harness port is the known gap).
Lingua principale
Python
Stelle
14.9k
Fork
1.2k
Merge medio
1h 58m
PR unite (30g)
40

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ItsNotRexed/Leonida

Tutte le issue di ItsNotRexed/Leonida

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.