st/glsl_to_tgsi: don't increase immediate index by 1.
authorDave Airlie <airlied@redhat.com>
Mon, 6 Jun 2016 23:39:55 +0000 (09:39 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 2 Jul 2016 07:01:25 +0000 (17:01 +1000)
commit27d456cc87a01998c6fe1dbf45937e2ca6128495
tree6c1aeb9efd2c1b004306fe7d5dd7b38a57f075b7
parent6f4d35212b9566125cee4c2b749f8baa2a6fc031
st/glsl_to_tgsi: don't increase immediate index by 1.

Immediates are stored into a separate table, and are
consolidated, so if we get an immediate we don't need
to offset it as the index it has is correct.

Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp