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