[PATCH 03/13] vkd3d-shader/hlsl: Unify type minor/major size functions.