amd/common: Handle nir_deref_type_ptr_as_array for shared memory.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 24 Jan 2019 00:21:28 +0000 (01:21 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 6 Feb 2019 21:35:58 +0000 (22:35 +0100)
commit830fd0efc1ae58d722d8efa4b95f708cf70b23ca
tree479fde005aa514554f0bfb15b8550e16c2d6aa4e
parentdbdb44d5756cb98e15c40d0abf9efd4a7f250895
amd/common: Handle nir_deref_type_ptr_as_array for shared memory.

Fixes: a2b5cc3c399 "radv: enable variable pointers"
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c