d3d10: Make the constant buffer a variable.