nouveau/nir: Put the UBO offset indirect into the address reg.
authorEmma Anholt <emma@anholt.net>
Mon, 25 Apr 2022 23:32:39 +0000 (16:32 -0700)
committerMarge Bot <emma+marge@anholt.net>
Fri, 29 Apr 2022 23:07:03 +0000 (23:07 +0000)
commit16ead7132f464fefcdd3930cfb683de0a4b8a16c
treef0b47dd605413c73fb760e9000d0e5afe782a3fa
parentd1ff453a0dfdbcc9d23ad1992487530bcab9994d
nouveau/nir: Put the UBO offset indirect into the address reg.

Fixes indirect UBO addressing pre-nvc0.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15949>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp