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

Abierto
#644 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
22/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
python
Área
compilers

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).
Lenguaje dominante
Python
Estrellas
14.9k
Forks
1.2k
Merge medio
1 h 58 min
PR fusionados (30 d)
40

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ItsNotRexed/Leonida

Todos los issues de ItsNotRexed/Leonida

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.