Repository navigation
docs: the BVH builder's 52 programs all translate, and pipeline-state streams are implemented (DOC-BVH-BUILDER-52) - #1087
Conversation
… streams are implemented (DOC-BVH-BUILDER-52) docs/d3d12_vulkan.md, docs/embedded_shaders.md and the index row in docs/README.md said 51 of the 52 XboxBvhBuilder.dll programs translate and one rule, buffer_store_short, was missing. The rule has been in tools/rdna2spirv.py since 8f208d0, and embedded_shaders.md section 7 already recorded 52 of 52 for main 8575d36. Measured on main 3aa9754 with a 1.0.2.1 package: 52 containers extracted, 52 translated, 52 pass spirv-val, natively and with --wave64-emulate. - d3d12_vulkan.md: the eight passages that give the count (sections 4.8 and 7.2, the M6 row, open question 7, the risks list, Appendix A.2). Section 7.2 held the same paragraph twice, the second copy starting mid-sentence; it is one paragraph again. The Appendix A.2 measurement keeps its numbers and says what changed since. - d3d12_vulkan.md section 3.6: pipeline-state streams (CreatePipelineState) were described as not implemented yet, 50 lines above the section that documents them; an unknown subobject type is E_INVALIDARG, not a logged hard error. - embedded_shaders.md: sections 4, 5 and 7 (the result table, the blocker tables, "What this changes" and the build step's report line). The dated measurements of 51 modules stay as they are. Open question 20's row in d3d12_vulkan.md has the same count and is left alone: pull request 381 rewrites that line. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
abnalstlll-byte
left a comment
There was a problem hiding this comment.
Reviewed and verified. Resolves stale documentation across docs/d3d12_vulkan.md, docs/embedded_shaders.md, and docs/README.md, correctly aligning with current main where all 52 XboxBvhBuilder.dll shader programs translate and pass spirv-val, and pipeline-state streams (CreatePipelineState) are fully implemented. 100% clean-room.
Brings the branch up to date with main 68d1331. No conflicts; the merged tree was tested before the push (every standalone test file under tests/ passes except tests/test_ci_registration.py, which fails on main alone since ProjectLeonida#930). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Merged. Thank you, @milk4sale: the three pages now agree with each other and with the translator on
Two older statements stay for a follow-up: the status paragraph at the top of AI-assisted (Claude Code, Claude Opus 5.5). |
|
Local stand-in for this pull request's CI, which has been queued here since 22:31 UTC (about 580 runs waiting). Tested:
Docs only: the The two pytest failures are Not covered: the Windows and macOS jobs. Setup: Linux (CachyOS), Python 3.14.10 (CI uses 3.12), llvm-mc 23.1.4 (CI uses 19), Node 26.13.1. GPU suite on lavapipe from Mesa 26.2.6 with AI-assisted (Claude Code). |
Claimed in the coordination issue as: DOC-BVH-BUILDER-52 (claim)
What and why
Three docs say 51 of the 52
XboxBvhBuilder.dllprograms translate and one rule,buffer_store_short, is still missing. That rule has been intools/rdna2spirv.pysince8f208d09a, anddocs/embedded_shaders.mdsection 7 already records "52 of 52" formain8575d36e, so the pages contradict themselves and each other.docs/d3d12_vulkan.md: the eight passages that give the count now say all 52 translate and passspirv-val(sections 4.8 and 7.2, the M6 row, open question 7, the risks list, Appendix A.2). Section 7.2 held the same paragraph twice, the second copy starting mid-sentence; it is one paragraph again. The Appendix A.2 measurement keeps its numbers and says what changed since.docs/d3d12_vulkan.mdsection 3.6: one sentence said pipeline-state streams (CreatePipelineState) "are not implemented yet", 50 lines above "Implemented (D3D-29): pipeline state streams, mesh PSOs andDispatchMesh". It now points there, and says an unknown subobject type isE_INVALIDARG, asparse_pipeline_streamanswers and that section states.docs/embedded_shaders.md: sections 4, 5 and 7: the result table, the two blocker tables, "What this changes" and the build step's report line. The dated measurements of 51 modules (the creation table, thevk_pipeline_checkruns) stay as they are.docs/README.md: the index row forembedded_shaders.md.Left alone on purpose: open question 20's row in
d3d12_vulkan.mdcarries the same count, but #381 rewrites that line, so it needs the number there. The status paragraph at the top, the "Known gaps" paragraphs and the descriptor-path gaps are also stale and are already handled by #424/#429, #381 and #513.Tested
main3aa975421with my own 1.0.2.1 package, using the four tools the build step runs (pe_shader_containers.py --extract,fssm_unpack.py,shader_disasm.py --mcpu gfx1013,rdna2spirv.py --max-shared-memory 32768): 52 containers extracted, 52FSSMblobs, 52 translated, andspirv-val --target-env vulkan1.2accepts all 52 modules, both natively and with--wave64-emulate. LLVM 23.1.4. Counts only; the outputs stayed outside the repository.make_game.py's shaders stage, run frommainon that package earlier the same day (2026-11-24, about 07:54 UTC), reported52 of 52 XboxBvhBuilder.dll programs translated.ID3D12Device2::CreatePipelineStateandparse_pipeline_streaminruntime/shims/d3d12_vulkan_device.cpp;d3d12_mesh_testbuilds an MS + PS and a VS + PS PSO from streams.tests/test_docs_*.pypasses,python -I scripts/check_no_game_data.pyon the three files,git diff --check.git merge-treeagainst the 96 open pull requests that touch any of the three files: 34 already conflict withmainby themselves; none conflicts because of this change. It also merges with d3d12: an enhanced texture barrier into LAYOUT_UNDEFINED closes and keeps the layout (D3D-BARRIER-INTO-UNDEFINED) #1055.Not run: the creation test on the Vulkan device (
bvh_builder_testwithLEONIDA_BVH_DEVICE=vulkan); the statement that all 53 pipelines are created there isembedded_shaders.mdsection 7's measurement on a Radeon, which this change only cites.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🤖 Generated with Claude Code