mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:55:52 +01:00
[PR #30] [MERGED] docs: fix stale counts and follow-up claims (OLD-5516, OLD-5517, OLD-5519, OLD-5521) #84
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#84
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/30
Author: @ItsMrDubey
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:docs-stale-counts📝 Commits (5)
be64e8cdocs: salu_diff generates 99 opcodes by default; v_pack_b32_f16 abs is implemented (#5519, #5517)b7fb698docs: clarify the default salu_diff opcode pool0e87fa3docs/design.md: the pc-tail-ubo row drops its stale shader counts; the GPU test programs bind the block, the D3D12 layer does not yet51c61dfdocs/README.md: the fspx row gives 20 of 29, the latest count in fspx.mdd8db771docs/shader_validation.md: salu_diff has 117 opcodes in OPS and draws from 104 by default📊 Changes
3 files changed (+9 additions, -8 deletions)
View changed files
📝
docs/README.md(+1 -1)📝
docs/design.md(+2 -2)📝
docs/shader_validation.md(+6 -5)📄 Description
Claimed in the coordination issue as: OLD-5516, OLD-5517, OLD-5519, OLD-5521 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7119646964)
What and why
Four stale statements in the docs, each checked against the tree on
origin/main(9ec34cd):docs/design.md,v_pack_b32_f16inputnegrow): saidabsis still refused.tools/rdna2spirv.py(thev_pack_b32_f16branch, ~line 8081) emitsOpBitwiseAnd ... 0x7FFFforabsbefore thenegXOR, andtests/semantic/test_pack_b32_f16_mods.pytests it (6 tests, OK). Carried fromold-pr/9891by @AlejoReyna, cherry-picked with authorship kept.docs/shader_validation.md): said salu_diff is an 87-opcode reference. Also carried fromold-pr/9891(@AlejoReyna), which said 112 inOPS/ 99 by default. Those were right at that branch's base (c95d935), but615f30d(s_cmov_b32/b64, s_cmovk_i32, s_movrels_b32/b64) has since added 5, so a follow-up commit of mine makes them 117 / 104. Counted by importing the module:len(OPS)= 117,len(LANE_MASK_OPS)= 13,OPSminusLANE_MASK_OPS= 104 (the default pool attools/salu_diff.pyline 811);--list-opsprints 117 lines.docs/design.md,--pc-tail-uborow): "185 shaders / 109 read the tail" and "the GPU harnesses ... are the follow-ups". The harness part is stale:runtime/test/vk_pc_tail.hexists andvk_compute_test,vk_store_test,vk_harness,vk_texture_test,vk_sampler_test,vk_bindless_test(andvk_image_fuzz) callpc_tail_requested(); docs/testing.md already lists them. The D3D12 layer still doesn't bind it (push_constants_fitinruntime/shims/d3d12_vulkan_device.cpprefuses pipelines below 144 bytes), so the row now says that. The counts:runtime/test/shadersnow has 284.asmfiles, so 185 is stale, but I could not re-measure (nollvm-mc/spirv-valon this machine). I dropped the numbers and the row now says where the count comes from (build.py/run_gpu_tests.pywithLEONIDA_PC_TAIL_UBO=1, thepc_tailentries in the index), plus whattests/test_pc_tail_ubo.pyactually checks.docs/README.md, fspx row): said 13 of 29. The issue quotes fspx.md as 17, but 17 is that file's old breakdown. Its latest count is the SHADER-813 recount (fspx.md, end of the "Wave size" section): 20 of 29 translate and passspirv-val. The README now gives that number. I read it from fspx.md and did not re-measure it, because that needs the FidelityFX DLL. fspx.md itself still lists 17/26/27/20 from different dates. I left that alone here.Tested
Windows 11, Python 3.11.9, no GPU needed.
python -I tests/test_docs_links.py: 7 tests OK.tests/test_docs_*.py(cli_flags, design_rows, encoding, env_vars, links, list_items, pr_template, python_deps, repeated_lines, repo_paths, table_ids, table_rows): all OK.python -I tests/semantic/test_pack_b32_f16_mods.py: 6 tests OK (abs implemented).python -I scripts/check_no_game_data.py docs/design.md docs/README.md docs/shader_validation.md: exit 0.tests/test_pc_tail_ubo.pynot run (needs pytest + llvm-mc/spirv-val, not installed here).AI-assisted: yes
Checklist
docs/design.md, with how it was confirmed. n/a: no translator rule🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.