Skip to content

docs/embedded_shaders.md: all 52 of XboxBvhBuilder.dll's programs translate since #1864 - #8136

Open
mrp1no wants to merge 1 commit into
ItsNotRexed:mainfrom
mrp1no:docs-embedded-bvh-52
Open

mrp1no wants to merge 1 commit into
ItsNotRexed:mainfrom
mrp1no:docs-embedded-bvh-52

Conversation

@mrp1no

@mrp1no mrp1no commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue: #8047 (comment) (@exotiquee's finding: #8047 (comment))

Depends on: none. Docs only.

What and why

docs/embedded_shaders.md §4, §5 and §7 still said that 51 of the builder's 52 programs translate, and that Box16Rehydration stops at buffer_store_short (#1864). #1864 is on main (8f208d09a), so the page read as if the RT builder still lacked a translator rule.

Measured (own 1.0.2.1 copy, counts only)

main dde82f27e, Windows 11, llvm-mc 23.1.6, SPIRV-Tools 2026.4, using the page's own commands:

step result
pe_shader_containers.py --extract 52 containers
fssm_unpack.py 52 FSSM (716 B to 101,320 B, median 2,200 B, as the page says)
shader_disasm.py --mcpu gfx1013 52 clean (the page's first measurement had 42 clean and 10 with invalid words)
rdna2spirv.py 52 translated, 52 pass spirv-val
§7 recipe (--no-asm --max-shared-memory 32768) 52 of 52, native and --wave64-emulate

Changes

Tested

  • tests/test_docs_*.py and tests/test_text_write_line_endings.py: the same 3 failures as on clean main dde82f27e, all on lines this PR doesn't touch:
    • test_docs_cli_flags names this file's spirv-opt pass list in §7, and fails identically before and after;
    • test_docs_links (dev-tools.md);
    • test_text_write_line_endings.
  • scripts/check_no_game_data.py docs/embedded_shaders.md: clean. git diff --check: clean.

No GPU needed. AI-assisted (Claude Code). No game data: counts and commit hashes only.

🤖 Generated with Claude Code

…nslate since ItsNotRexed#1864

Sections 4, 5 and 7 still said 51 of the 52 programs translate, with Box16Rehydration
stopped at buffer_store_short (ItsNotRexed#1864). ItsNotRexed#1864 landed (8f208d0). Re-measured with the page's
own commands on main dde82f2 (own 1.0.2.1 copy, llvm-mc 23.1.6, SPIRV-Tools 2026.4):
52 extracted, 52 FSSM (716 B to 101,320 B, median 2,200 B), 52 disassemble with no invalid
word, 52 translate and pass spirv-val. Section 7's build recipe (--no-asm
--max-shared-memory 32768) gives 52 of 52 too, native and with --wave64-emulate.

Measurements labelled with an earlier commit (the shared-memory cap table, the Radeon and
RTX 3070 rows, the LeafRehydration notes) are left as they were.

Finding by exotiquee.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant