Scripts: print the right register class for root descriptors #1070
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1079"
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 anakatt on 2026-11-24T11:23:06Z.
I fixed the root-descriptor register prefixes printed by
scripts/re/bvhb_shaders.py. Its string index printedCBV t7instead ofCBV b7, andSRV 11instead ofSRV t11. UAV output was already correct.What is in it
Tested
macOS Darwin 24.6.0, arm64; Python 3.15.2. No GPU used.
python3 -B -m unittest discover -s scripts -p test_bvhb_shaders.py -v: before the fix, both version subcases failed with the incorrect printed registers; after the fix, 1 test passed, 0 failed, 0 skipped (two version subcases).Windows 11 Pro ARM64 10.0.26100.1742 in UTM, Python 3.14.0 ARM64; no GPU used. Exact source archive
8f66b3bb5d5bb7884961b57383d852a775a41e07:C:\xcl-tests\python\python.exe -B -m unittest discover -s scripts -p test_bvhb_shaders.py -v: 1 passed, 0 failed, 0 skipped (two subcases).Not tested
AI use
openai-codex/gpt-6-astra) to find the bug, write the fix and synthetic regression, run the Python test, and prepare this description.Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T14:15:19Z.
Tested exact head
8f66b3b, script tests only, since this PR has no test report yet.Tested
python -m pytest scripts/test_bvhb_shaders.pyat the head: 1 passed, 2 subtests passed.930e8b4): fails for both subtests (version=1,version=2) oftest_root_descriptors_print_their_register_classes. So the new test catches the problem the PR fixes.Not tested
AI use
upstream-sync referenced this pull request2026-11-25 06:04:27 +00:00