st/glsl_to_tgsi: attach image to correct instruction for samples
authorDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 05:53:48 +0000 (15:53 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 20:55:09 +0000 (06:55 +1000)
commitd36d11ad907c93407d1e984ab0931337936a4a37
tree4129b0ce17d5e602dbbc5402bd3ceab34f72a1a2
parent07df3b81ffd86a399caf7d530fb4d2f8833fd76c
st/glsl_to_tgsi: attach image to correct instruction for samples

This fixes a crash (but not the test):
GL45-CTS.shader_texture_image_samples_tests.functional_test

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp