ac/nir: add missing round_slice for 1D arrays
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 23 Apr 2018 12:46:26 +0000 (14:46 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 23 Apr 2018 17:10:52 +0000 (19:10 +0200)
commit84fef802fb16cef68ec358cbfed1cac9c3bfa410
tree9a9a998fe8cbc5ba38db9f95990cd7337b6eadb6
parent10e42905241f541eefda4b174e9d4b18c8285400
ac/nir: add missing round_slice for 1D arrays

This fixes a bunch of CTS fails with 1D arrays:

dEQP-VK.glsl.texture_functions.texture*.sampler1darray_*

Fixes: 625dcbbc456 ("amd/common: pass address components individually to
ac_build_image_intrinsic")
Cc: 18.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_nir_to_llvm.c