mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:25:52 +01:00
[PR #1166] [MERGED] docs, tests: record descriptor heap census and provide 32-bit address translation contract suite (BL-4) #1199
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#1199
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/1166
Author: @abnalstlll-byte
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142
Base:
main← Head:feat/bl4-descriptor-address-translation📝 Commits (2)
83a90abdocs, tests: record descriptor heap census and provide 32-bit address translation contract suite (BL-4)da60135docs, tests: clarify descriptor address translation suite and verify production paths (BL-4)📊 Changes
3 files changed (+419 additions, -7 deletions)
View changed files
📝
docs/boot_leads.md(+8 -6)📝
docs/d3d12_vulkan.md(+8 -1)➕
tests/test_descriptor_address_translation.py(+403 -0)📄 Description
Resolves the open finding in
docs/boot_leads.md §BL-4("descriptor words are 32-bit GPU addresses"):1. Descriptor Heap Census & Findings (
docs/boot_leads.md,docs/d3d12_vulkan.md§3.4)value = slot_index + 1, ending at0xFFFFFFFF)2. Synthetic Contract Test Suite (
tests/test_descriptor_address_translation.py)docs/d3d12_vulkan.md§3.3/§3.4):host_address = heap_base + console_va): Verifies lossless translation andptr32_lotruncation compatibility for the 25,865 shaders zeroing the high dword before addition.word0andword1[15:0].address >> 8acrossword0andword1[7:0]) with 256-byte alignment.IMAGE_KEY_BASE(4 GiB) starts strictly aboveARENA_CAP_MAX(4095 MiB).XboxBvhBuilder.dllvalidation (addr < 2^40and 256-byte aligned).Verification
pytest tests/test_descriptor_address_translation.py: 53/53 PASSED (0.19s).python -I scripts/check_no_game_data.py: 0 violations (100% clean-room).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.