I'm creating a shader management system instead of using the Effects 11 library. I have a couple of questions about resource management for shaders.
If I have a Constant Buffer set to a certain register in the shader code, does it need to be set to that register when I set it on the device? What if I have multiple shaders that use that register?
Are constant buffers maintained in memory between draws, or are they cleared? Say for example I have a constant buffer that is not changed from the last draw, do I need to set it again?
Is it slower to set constant buffers one at a time or all at once?
Thanks in advance.