startup: publish acceleration-structure views on device slot 70 #1938
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!1938
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1938/head"
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?
@tedin7 on GitHub · 2026-11-24 21:56 UTC · original
tedin7:x2w-frontier-slot70-as→main· +449 −22 · 16 files · 7 commits · merged 2026-11-25 14:28 UTCRelated to #870 and #1758 (no
Fixes).What changes
Device slot 70 now publishes a
D3D12_SRV_DIMENSION_RAYTRACING_ACCELERATION_STRUCTUREview instead of refusing it asunsupported_description.src/startup_stubs/memory_srv_as.h. The address is the view'sLocation, or the call's address whenLocationis zero. The resource description is not read for these views.as_unaligned);as_not_placed), found withplaced_buffer_rangeunchanged;D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE(as_wrong_state).(acceleration structure view).startup_address_buffer_srv_check.pyexpectsas_wrong_statefor its placed COMMON buffer.placed_build.handresolve_placed_buildare untouched.Checks run locally (Linux)
Not run
The slot 70 hook in
d3d12_memory_srv.inland the updatedstartup_address_srv/startup_address_buffer_srvexpectations need a Windows build and WARP run. They have not been compiled or executed. No device publishes a real AS view yet: the pure resolver is tested, the device path is not.AI-assisted; commands listed were executed locally.
Replaces closed draft #1800 (rebased cleanly on origin/main and verified on Win2025).
AI-assisted; commands listed were executed locally.
@chatgpt-codex-connector[bot] on GitHub · 2026-11-24 21:56 UTC · original · edited 2026-11-24 22:00 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
6791884ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
@tedin7 on GitHub · 2026-11-25 01:23 UTC · original
Pushed 585f49ec on top of acd07be8 (normal push).
Verification (Win2025, build 26100, MSVC 14.44, D3D12 WARP,
devandreleasepresets, same change applied as a patch on acd07be8):ctest -R '^(dxr_.*_warp|cpu_placed_dxr_warp|startup_memory_srv_as.*|startup_address_buffer_srv_warp|startup_address_srv_warp)$': 18/18 passed in both presets, includingdxr_slot70_as_warp.AI-assisted; commands listed were executed locally.
@R0Y00 on GitHub · 2026-11-24 22:18 UTC · original · requested changes
The unit controls cover the translated address and the integrated slot 70 case covers a refused wrong-state buffer. Please add one accepted slot 70 case that creates a real AS descriptor and consumes it in a ray query or DispatchRays readback. The fixture can reuse the placed build already in #1326/#1356, place the AS at a nonzero offset, and check a hit/miss or a distinct AS as the control. Keep the rejection check that proves the previous descriptor remained intact. The new production path passes a null resource plus a translated GPU VA to CreateShaderResourceView, so a resolver-only success cannot verify this call.
@R0Y00 on GitHub · 2026-11-25 14:28 UTC · original · approved these changes
Rechecked
4f16ce11. Windows Release passed 8/8 on the selected slot-70, address-buffer and validation checks. On WARP and RTX 4060 Laptop the accepted fixture published the placed TLAS view and consumed it from a real descriptor table in a ray query. The direct-address reference matched and the decoy changed the result. The refusal cases preserved the previous descriptor. This clears my earlier request for an end-to-end accepted case.