If you define a constant buffer in a shader, for example
cbuffer test : register(c2)
{
float4x4 data;
}
But never actually use the data in the shader, does that incur any runtime cost at all? It's convenient for me to do this but not at the cost of slowing runtime performance at all. When I time it I don't see any difference...