clover/nir: Use the correct address mode for shared
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Aug 2020 17:15:23 +0000 (12:15 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 Aug 2020 18:11:42 +0000 (18:11 +0000)
commit8f7784ee8da38050a99aa55a27fe18a7f85b6464
tree38a2ffedd28435549bc33d164ed3b4aa0ebd922c
parentb2226f7a98d6dc5b1c98ebfc93bac2857777bbf7
clover/nir: Use the correct address mode for shared

Shared memory needs to have 64-bit pointers but we want 32-bit offsets
most of the time.  This is exactly what 32bit_offset_as_64bit is for.

Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6367>
src/gallium/frontends/clover/nir/invocation.cpp