Simon of the Desert (1965)
A scene with a character on a stone pillar is a reference to Simón del desierto.
Scotty mentions it.
Both films end with characters inexplicably dancing in a strange location, and several shots in the Lynch film quote the Buñuel film.
The priest character is inspired in the priest chief in the mentioned film
Mentioned in paper