d3dcompiler: Distinguish between scalars, vectors and matrices.