ac/llvm: fix ac_to_integer_type() for 32-bit const addr space pointers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 21 Oct 2019 12:11:47 +0000 (14:11 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 21 Oct 2019 20:32:01 +0000 (22:32 +0200)
commit39760793b56175e76bca7566992150e4e437a6d9
tree52280158457e954811f489add9ffc73a7cba1fcb
parent73184e51d1cbb9f22b02e8c9f46e9dec116c63dc
ac/llvm: fix ac_to_integer_type() for 32-bit const addr space pointers

This fixes some crashes with dEQP-VK.descriptor_indexing.* when
read_first_invocation has its source from a descriptor.

Most of these tests still fail because of an LLVM bug (they work
with ACO).

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