Pablo Martin : d3d11: Make d3d10 *SetConstantBuffers use a helper method.