[PATCH 3/3] vkd3d-shader/ir: Validate the write mask for destinations depending on the dimension.