[PATCH vkd3d 5/6] vkd3d-shader/hlsl: Cache matrix types.