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