ac/nir/llvm: fix channel in texture gather lowering code.
authorDave Airlie <airlied@redhat.com>
Tue, 15 Nov 2016 07:30:09 +0000 (07:30 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Nov 2016 23:18:15 +0000 (09:18 +1000)
commit713522fb8d4366d29be18edc3d5f33faba1cb7c4
tree604704190e24b893546d6d803b0ba14640751dfb
parent38ab625c5f5ca06b78af2892422a966dc659f8cd
ac/nir/llvm: fix channel in texture gather lowering code.

This fixes a number of CTS tests like:
dEQP-VK.glsl.texture_gather.basic.2d.rgba8ui.size_npot.clamp_to_edge_repeat

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c