st/glsl_to_tgsi: handle offsets from inputs
authorDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 01:41:02 +0000 (11:41 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 03:14:29 +0000 (13:14 +1000)
commitf75a26d1ba6336d1e8a760ad106642f34265b64c
treefc3fab789a566bd783a8960fca8f5035696449c3
parentaa730aca20a04e46109fceb4cf99c00b35a135cf
st/glsl_to_tgsi: handle offsets from inputs

This fixes:
GL45-CTS.gpu_shader5.texture_gather_offset_color_repeat

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp