ac/nir: properly handle large global access constant offsets
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 14 Apr 2022 17:57:51 +0000 (18:57 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 15 Apr 2022 10:39:40 +0000 (10:39 +0000)
commit8fe8c5dfd08a7582e99c41146e50b21bea5d8485
tree1ee251326caed815df45e8e3c77d33e7a7bb4456
parent7be6632f7d9a18557d2f75cce607ea17d93313f5
ac/nir: properly handle large global access constant offsets

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Fixes: 61ac5acca3b ("radv,ac/nir: lower global access to _amd global access intrinsics")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6321
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15951>
src/amd/common/ac_nir_lower_global_access.c