nir: Use the right argument order for load_scratch_base_ptr
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 30 Nov 2020 16:41:35 +0000 (10:41 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 30 Nov 2020 18:03:33 +0000 (12:03 -0600)
commitb70847a3894cff36c6a4bd1cc96d174e5920397e
tree1b2c79ce9214527e615412eb8dd295333fb6ac72
parentb14679ab226bd3e263a778ea8e39828bde38b403
nir: Use the right argument order for load_scratch_base_ptr

Fixes: c9bcad25737 "nir: add generated intrinsic builders"
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7836>
src/compiler/nir/nir_lower_io.c
src/intel/compiler/brw_nir_rt_builder.h