[PATCH v4 6/7] vkd3d-shader/hlsl: Use the base type of the array elements in write_sm1_type().