My understanding was that you put the solar in the desert, so that you can put the vertical farm somewhere else where soil, water, transport logistics is easier.
So the question is whether a greenhouse/farm in the desert is easier than solar in the desert connected through grid to vertical farm somewhere else.
I have no data. My guess is the ongoing logistics of piping electricity out of the desert is easier than fertiliser into the desert and produce out to where people live.