mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:00:52 +01:00
[PR #1087] [MERGED] docs: the BVH builder's 52 programs all translate, and pipeline-state streams are implemented (DOC-BVH-BUILDER-52) #1122
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1122
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1087
Author: @milk4sale
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142
Base:
main← Head:docs/d3d12-builder-52📝 Commits (2)
60e15c8docs: the BVH builder's 52 programs all translate, and pipeline-state streams are implemented (DOC-BVH-BUILDER-52)767479bMerge main into docs/d3d12-builder-52📊 Changes
3 files changed (+37 additions, -40 deletions)
View changed files
📝
docs/README.md(+1 -1)📝
docs/d3d12_vulkan.md(+20 -23)📝
docs/embedded_shaders.md(+16 -16)📄 Description
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 #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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.