ac/nir: Fix nir_texop_lod on GFX for 1D arrays.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 22 Oct 2017 16:32:14 +0000 (18:32 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 22 Oct 2017 22:27:44 +0000 (00:27 +0200)
commit2c5b43c87fc4e5dcc50f72d782d7b3718e3c2c1c
tree6a16acace121fe039566ce30983cea6455b279dd
parentda9c3cd3ee5494b43a8ab3f9a3fee95620d9d357
ac/nir: Fix nir_texop_lod on GFX for 1D arrays.

Fixes: 1bcb953e166 'radv: handle GFX9 1D textures'
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c