ac: handle pointer types to LDS in ac_get_elem_bits()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Nov 2019 10:34:05 +0000 (11:34 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 12 Nov 2019 07:32:15 +0000 (08:32 +0100)
commitbef7b2f805f20661733ecc6b6499551d83c512e3
treebd7e9e1d24d7efa9641003879333e7ce77830301
parent01cae57c80839fcb0defc76f450f1938e96e8ae7
ac: handle pointer types to LDS in ac_get_elem_bits()

This fixes crashes with some
dEQP-VK.spirv_assembly.instruction.spirv1p4.* tests.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/llvm/ac_llvm_build.c