radv: set noalias/dereferenceable LLVM attributes based on param types
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 25 Jan 2019 08:21:33 +0000 (09:21 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 28 Jan 2019 15:30:38 +0000 (16:30 +0100)
commitafeef3cacf35376a0c31f0871b57628cafd90ccb
treee7121fdfc4e8d64e8f466f6ad288d58357b4fbb3
parent320b058d32bd37150bf82b66594db292bb65bb94
radv: set noalias/dereferenceable LLVM attributes based on param types

Instead of using this useless array_params_mask variable.
This should set these two attributes to streamout buffers too.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_nir_to_llvm.c