The switching node should be as short as possible.
It is recommended to place the input capacitor close not only to the VIN and GND pins.
The output capacitor must be placed close to the IC and it is recommended to be close to the ground pin. If possible, the ground for the input and output capacitor should be on the same plane. In the TPS61046 it was not possible to follow this rule due to the placement for reduced size. Therefore, a solid ground with vias was provided on the next layer making sure the connection is adequate.