Hello,
Is there a way to update a (GPU visible) descriptor in a heap from a command list?
As an exemple, I have a list of 100 texture descriptors:
- Draw call 1 uses this list.
- Modify one of the descriptor (lets say, descriptor #17)... something like "commandList->UpdateDescriptor(descHeap, 17, srvDesc)"
- Draw call 2 uses the modified list.
As I understand, descriptors are managed from the CPU and to be sure I do not modify something the GPU may be using I would need to create a brand new list of 100 descriptors with only one of them modified.
- Draw call 1 uses first list.
- Create a second list of 100 descriptors with #17 different from first list.
- Draw call 2 uses the second list.
That does not look too bad but I have a feeling that scaling the number of descriptors to 10k can become problematic.
Hopefully you can understand what I mean...
Thanks.