Hi,
I'm trying to wrap my head around making sense of descriptor tables and heaps to design a flexible root signature/resource mapping system. I'm a little lost in the weeds and would appreciate someone pointing me in the right direction. Here goes:
- So lets say I have two descriptor tables (CBV and SRV) in my root parameters - how do I allocate a descriptor heap properly so that there's enough storage for N and M ranges in the CBV and SRV respectively?
- Related to #1 - how is the index for the the descriptor tables into the heap specified?
- Related to #1, if I am able to allocate a large enough descriptor heap, is the full increment size just N or M times the handle increment size?
- Lastly, if I'm trying to draw a large amount geometry in batches that have unique resources, what's the most optimal descriptor table and heap configuration I should consider?
Thanks!