radv: make use of ac_unpack_param() instead of ac_build_bfe()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 13 Sep 2018 14:36:45 +0000 (16:36 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 14 Sep 2018 08:59:52 +0000 (10:59 +0200)
commit18464d298b4ffee7fcbf76bba217fce1bf4e9bdd
tree3d47dfc4606b0dbd2b1af86bf79feb5907781f0e
parent21e34bab09b42ffaa0ef799b6c915f7b9778e6ac
radv: make use of ac_unpack_param() instead of ac_build_bfe()

Same code is generated because LLVM ends up by using bfe, but
that seems cleaner to me.

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