[PATCH v7 5/5] vkd3d-shader/ir: Validate destination write masks depending on the dimension.