ac: fix get_image_coords() for radeonsi
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 27 Jul 2018 05:32:36 +0000 (15:32 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sat, 15 Sep 2018 02:23:32 +0000 (12:23 +1000)
commite29f0ede757797bce38aa00bc706ae2224b66053
treebe4160b33057f71018b398c5db31f82819550cb9
parent914bd3014f6cb05f0893485487e69ca87e7c972c
ac: fix get_image_coords() for radeonsi

Because this was setting image to true we would end up calling
si_load_image_desc() when we sould be calling
si_load_sampler_desc().

This fixes an assert() in Deus Ex: MD

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