Francisco Casas : vkd3d-shader/hlsl: Use the base type of the array elements in write_sm1_type().