r600: fix texture gather swizzling.
authorDave Airlie <airlied@redhat.com>
Thu, 8 Feb 2018 06:19:28 +0000 (16:19 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Feb 2018 23:32:20 +0000 (09:32 +1000)
commit2a891ed19065dac89e8639800d3c63274d19a97a
tree48ac1335898a9aa74044b7894f9e0feaefc851f6
parent12a2350e6d3b974dec74280543cf5cac22720358
r600: fix texture gather swizzling.

This fixes:
KHR-GL45.texture_gather.swizzle
on cayman and redwood.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c