Scripts: show descriptor table offsets in BVH summaries #2966
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2966"
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?
Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-27T05:37:21Z.
The BVH root-signature summary printed each descriptor range's kind, count, and register but omitted its offset within the descriptor table. Explicit gaps and
APPENDtherefore looked identical in this diagnostic. The serialized root-signature 1.0 and 1.1 layouts both carry an offset field (DirectXShaderCompiler header).What is in it
scripts/re/bvhb_shaders.py: printoffset=<number>oroffset=appendfor each RTS0 descriptor range.scripts/test_bvhb_shaders.py: synthetic 1.0 and 1.1 tables with an explicit gap and an append range.Tested
c2ee10e4for both root-signature versions.python -B -m unittest discover -s scripts -v: 26 passed, 0 failed, 0 skipped on the committed head.git diff --check HEAD^ HEAD: passed.cargo +stable build --workspace --locked -j 2: passed.cargo +stable test --workspace --locked -j 2 --no-fail-fast -- --test-threads=4withXCL_ADAPTER=AMD Radeon RX 6800MandXCL_REQUIRE_GPU=1: exit 101. The library process aborted0xc0000005after 83 logged passes and 1 ignored, with no harness summary. Across 37 completed target summaries: 126 passed, 2 failed, 20 ignored, with 4 explicitSKIPPEDnotices. The e2e failure was missingxcl_testtitle.exe/testgame_mw.dllbefore the workspace build; the split-pipeline e2e fixture also failed in this run. After the build, each failed integration fixture passed in a separate exact test rerun (1 passed, 0 failed, 0 ignored each).Not tested
AI use
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T09:14:01Z.
Triage (#1607) – head
a7c77a6#1759 changes the same descriptor-range line in
scripts/re/bvhb_shaders.pyrts0(it adds register spaces; this PR adds table offsets) and adds the samesummarize_roottest helper. Different output, so they are not duplicates, but the second to merge needs a rebase.The v1 (5-dword) and v2 (6-dword) range layouts both put the offset last, and the unpacking handles both. No problems found in the diff.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.