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