nir: Add raytracing shader call lowering pass.
Based on the existing Intel pass.
Changes:
- Instead of all the intel lowering introduce rt_{execute_callable,trace_ray,resume}. This can then be lowered easily using a follow-up driver-specific pass.
- Add the ability to use scratch intrinsics directly.
Edited by Bas Nieuwenhuizen