When I think of comparing visuals I think it only matters perceptually. If you're achieving the same visual end result with notably less raw power thanks to some technology or other (like dlss for example) then great, you can stand up to the "powerful" console.
That's why I argue that Switch 2 could reasonably achieve graphics "comparable" to PS4 or even PS4 Pro according to how much Nvidia and Nintendo are willing to put into the hardware when aiming for a certain price point. Some people here have laughed at me for saying this but, eh, why can't a 2024 dedicated portable hardware compare to or even outperform (perceptually) a 11 year old console if the engineering behind it is smart enough?