r600: implement tg4 integer workaround. (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 8 Feb 2018 02:35:46 +0000 (12:35 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Feb 2018 06:21:40 +0000 (16:21 +1000)
commit3f7a7bd897ce4d7da50d4f25b1549001abef05cc
treeacf5833db03fd6ffbf180dc6895118fcf3fba71f
parent77b1b337242770f45feea8e1a42c5005590e5358
r600: implement tg4 integer workaround. (v2)

This ports the texture gather integer workaround from radeonsi.

This fixes:
KHR-GL45.texture_gather.plain-gather-uint/int*

v2: add rect support, fix 2d array shadow
Reviewed-by: Roland Scheidegger <sroland@vmware.com> (on irc)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c