radv: use rtld for shader uploads

Closed Nicolai Hähnle requested to merge nh/mesa:radv-rtld into master

Moves radv and radeonsi to using the same mechanism for handling relocations etc.

This is really only the first step towards fully using the new machinery, since LDS use of LSHS and ESGS shaders is not explicit and uses ac_declare_lds_as_pointer instead.

However, for the time being this should fix regressions introduced by LLVM's change in behavior.

Merge request reports