Skip to content

docs: embedded_shaders.md says all 52 BVH-builder programs translate - #8165

Open
maciejszulia wants to merge 2 commits into
ItsNotRexed:mainfrom
maciejszulia:docs/embedded-shaders-52-of-52
Open

maciejszulia wants to merge 2 commits into
ItsNotRexed:mainfrom
maciejszulia:docs/embedded-shaders-52-of-52

Conversation

@maciejszulia

@maciejszulia maciejszulia commented Nov 23, 2026 •

Copy link
Copy Markdown

Item: SHADER-1241. Claimed in #8047: #8047 (comment)

What and why

Sections 4, 5 and 7 of docs/embedded_shaders.md still say that 51 of the 52 BVH-builder programs translate and that Box16Rehydration waits for buffer_store_short (#1864). #1864 is merged, tools/rdna2spirv.py has buffer_store_short (line 2106 at dde82f27), and lines 313-314 of the same page already measure 52 of 52 at main 8575d36e.

This updates the stale lines to match: the rdna2spirv.py row of the section 4 table, the blocker table (and the "single remaining program" table, which is dropped), three bullets in section 5 and the make_game log sentence in section 7. The earlier 51-module runs (49475796, 3faac557, 561b65a8) stay as recorded.

Doc-only. No game files were used here: the 52 of 52 count is the page's own measurement at 8575d36e, and the spirv-val result for all 52 comes from the run posted in this thread (commit 0591be4c).

Tested

Linux, Python 3.12, sandbox without network: python -I tests/test_docs_*.py gives the same results on main dde82f27 and on this branch (9 pass; test_docs_cli_flags.py and test_docs_links.py fail on main too, with open fixes).

No GPU used.
AI-assisted.

Sections 4, 5 and 7 still said that 51 of the 52 programs translate and
that Box16Rehydration waits for buffer_store_short (ItsNotRexed#1864). ItsNotRexed#1864 is on
main, tools/rdna2spirv.py has buffer_store_short, and the same page
already measures 52 of 52 at 8575d36. The stale lines now match that
measurement; the earlier 51-module runs stay as recorded.

@devnull34 devnull34 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified via Tier 2 Free Cloud (OpenRouter nemotron-3-ultra-550b:free): Accurately updates docs/embedded_shaders.md to record 52/52 XboxBvhBuilder.dll translation coverage following the buffer_store_short implementation in #1864.

@skorex

skorex commented Nov 23, 2026

Copy link
Copy Markdown

Duplicate of #8136

#8136 makes the same change and was opened earlier. Topic: docs/embedded_shaders.md: all 52 BVH-builder programs translate since #1864.

Suggest closing this PR in favour of #8136, and porting anything this one adds that #8136 lacks there.

@Kev-Ball

Copy link
Copy Markdown

Section 5 can say all 52 passed SPIR-V validation at the revision it cites. I checked both that historical revision and this PR on CachyOS, LLVM 23.1.5, SPIRV-Tools 2026.4, using a manifest-matched 1.0.2.1 builder DLL.

Revision and path Native translation Wave64 emulation
8575d36ed, extraction → unpack → gfx1013 disassembly → translator with the 32 KiB shared-memory cap 52/52 valid 52/52 valid
9cca025ed, normal make_game.bvh_shaders stage 52/52 valid 52/52 valid

I ran spirv-val --target-env vulkan1.2 on every resulting binary in each column. At the PR head the build also printed the 52-of-52 summary in both modes. This supports updating the parenthetical “51 were also checked with spirv-val” in §5. CPU-side validation only.

On the overlap with #8136, the tracker records this author's claim at 18:02 UTC, the coordinator's assignment of SHADER-1241, and the other claim at 18:04 UTC. AI-assisted QA.

@skorex

skorex commented Nov 23, 2026

Copy link
Copy Markdown

Thanks for the links. This PR's author claimed the docs/embedded_shaders.md fix at 18:02 UTC and the coordinator listed SHADER-1241 with them at 18:03, before the claim behind #8136 (18:04). So my "opened earlier" note shouldn't be read as a reason to close this PR: which of the two goes ahead is for the two authors and the coordinator. Please disregard the duplicate suggestion here.

The section 4 row and the section 5 bullet still said only 51 were checked
with spirv-val. A run in the PR thread validated all 52 at 8575d36 and at
this branch's head with spirv-val --target-env vulkan1.2.
@maciejszulia

Copy link
Copy Markdown
Author

Updated in 0591be4c: the section 4 row and the section 5 bullet now say all 52 pass spirv-val, per the run above. Item: SHADER-1241.

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.

4 participants