Hello
I'm new to Direct3D, i come from the OpenGL world and my question is about shaders.
With OpenGL, you never bind a vertex shader or a pixel shader. Instead, you link both into a shader program then you bind the program (not the individual shaders). It seems like Direct3D work differently though.
So when sorting draw calls, do you sort by vertex shaders then by pixel shader ? Wouldn't it be simpler to sort by pair of vertex/pixel shaders ?
I must admit i don't really understand the idea of binding vertex and pixel shaders separately.