-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dump root parameters, insted of descriptor heap
1. Dumping SetGraphicsRootDescriptorTable or SetComputeRootDescriptorTable, instead of descripotr heap, is more straightfoward since drawcall use resources that are set by root desciptor tables. 2. If the target drawcall is dispatch, dump compute root descriptor table. If it's not, dump graphics. 3. Dump more descriptor type: sampler. rtv and dsv shouldn't be bind by root descriptor tables. 4. For CBV_SRV_UAV type, resources could be set the same index and the same heap of all three cbv, srv, and uav types. It needs root parameter types to identify it. 5. CaptureGPUAddrMatchDescriptorHeap find the index of the heap for the address of roopt descriptor tables. Use the index to find the view in the map in the heap. Not using MatchDescriptorCPUGPUHandle and for each to find the view any more. MatchDescriptorCPUGPUHandle has a bug to find a wrong view. 6. Similar to No. 5. RelayCPUAddrMatchDescriptorHeap find the index of the heap for the address of rtvs and dsv. Use the index to find the view in the map in the heap. 7. Skip dump vertices, index, rtv and dsv if the taget drawcall isn't draw.
- Loading branch information
1 parent
efc0a6c
commit 4dbf259
Showing
7 changed files
with
1,412 additions
and
562 deletions.
There are no files selected for viewing
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.