Rico Schüller : d3d10: Improve d3d10_variable_type().