ac/nir_to_llvm: make get_sampler_desc() more generic and pass it the image intrinsic
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 29 Mar 2019 05:03:01 +0000 (16:03 +1100)
committerKarol Herbst <kherbst@redhat.com>
Fri, 12 Apr 2019 07:02:59 +0000 (09:02 +0200)
commit55fb93b586896cc34b168a83fc6c4a3825977a76
treef2f94f764435e55af5d5e9758b0315ccbac9caec
parent4a3c04a11f41b5a280a4e284eb1795af2b1236a9
ac/nir_to_llvm: make get_sampler_desc() more generic and pass it the image intrinsic

This will be required by the bindless support in the following patches.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c