[PATCH 4/5] d3dcompiler: Calculate the register size of types.