Repository navigation
gpu: test descriptor paging across two logical heaps - #1074
Merged
Merged
Conversation
Owner
|
I reproduced debug warning 1328 on Windows 11 build 26200.9974. The paging output now starts in COMMON and transitions explicitly to UAV. I also tested d246daf after integrating main with #1060. Windows Release passed 19/19, including normal and swapped paging, descriptor-window live/stale/unknown records, dual UAV and offscreen controls on RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818). The debug layer reported zero errors and warnings. The physical slots and all four sentinel words matched both paging expectations. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Refs #874. Copy slots 255 and 256 in each of two logical descriptor heaps. Allocate their pages in interleaved order in one shared shader-visible heap, so each logical copy must split across nonadjacent physical pages. Reuse #1054’s shader to read all four descriptors. A swapped-heap run must exchange both pairs of sentinel words.
Verification
Tested
232103a0on Windows 10 22H219045.6456, MSVC 19.44 x64 and SDK10.0.26100.0. GTX 1060 6 GB (32.0.15.6094) and in-box WARP (10.0.19041.5794) both returnedS_OKfor the 1,024-slot shared heap. Each copy split into two chunks. Normal and swapped readbacks matched all four expected words. Debug and Release each passed 13 tests, with zero skips and zero D3D12 warnings or errors.Repeat with
release.git diff --check,python -I -B tests/docs_links_check.pyandpython -I -B tests/bidi_controls_check.pypassed.Evidence and follow-up
The MIT-licensed fixture uses four generated DWORDs. Its 256-slot page size and allocation order are fixture policy, informed by the on-demand approach in XCL. Maintainer request · XCL paging reference
Checklist
AI-assisted (Codex).