ac: pass write param to get_sampler_desc() from get_image_descriptor()
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 27 Jul 2018 05:08:28 +0000 (15:08 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 27 Jul 2018 22:57:03 +0000 (08:57 +1000)
commit77207e53806790e5edf3002a84d7105e646e22cb
tree3eb8f3912da0e08ff65ca9ddc8cc5113ebd96920
parentd89a123dfddf42f289b4c613c64ed8571c519cb0
ac: pass write param to get_sampler_desc() from get_image_descriptor()

Looks like a mistake from when the deref stuff landed.

Fixes: 506a07e4e3a4 ("ac/nir: Add deref support to image intrinsics.")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c