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

Đang mở
#644 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
compilers

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).
Ngôn ngữ chính
Python
Star
14.9k
Fork
1.2k
Merge trung bình
1 giờ 58 phút
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ItsNotRexed/Leonida

Tất cả issue của ItsNotRexed/Leonida

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.