Okay, so I've finally started switching from D3D9 to D3D11.
One thing that confuses me is ID3D11Device::CreateInputLayout().
I have to supply my input element definition, so far so good. But it also requires the compiled vertex shader code.
What if I want to draw a mesh with different vertex shaders? Will I have to create a different input layout for each combination or can I just use one for every shader?