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