amd/common: Implement ptr->int casts in ac_to_integer.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 23 Jan 2019 00:54:39 +0000 (01:54 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 6 Feb 2019 21:35:40 +0000 (22:35 +0100)
commit58c8dadd328ee98d74a198820c7b5980306af7b1
tree5f9cd9238b4f2ebe1c04548c902444230480a7ed
parente00d9a9a728fe0c91bd295a5818fdb8303f321bf
amd/common: Implement ptr->int casts in ac_to_integer.

For the implicit casts inherent in nir.

This should probably have been done for shared memory for
VK_KHR_variable_pointers.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_llvm_build.c