r600g: geom shaders: always load texture src regs from inputs
authorDave Airlie <airlied@redhat.com>
Tue, 18 Nov 2014 04:06:36 +0000 (14:06 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Nov 2014 22:21:40 +0000 (08:21 +1000)
commitd4c342f67e128dd9c17e8ae48a44677baf546295
treebf911383ce84dff2ab3f00bb2683a26b03d87cb5
parent82e919d33bbe508b3e1ba883a01ef2512dbc8f72
r600g: geom shaders: always load texture src regs from inputs

Otherwise we seem to lose the split_gs_inputs and try and
pull from an uninitialised register.

fixes 9 texelFetch geom shader tests.

Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
Cc: "10.3 10.4" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c