r600g: take into account offset to system inputs at tgsi_interp_egcm()
authorConstantine Charlamov <Hi-Angel@yandex.ru>
Sat, 24 Jun 2017 14:06:48 +0000 (17:06 +0300)
committerDave Airlie <airlied@redhat.com>
Mon, 26 Jun 2017 06:32:36 +0000 (16:32 +1000)
commit3d466f3e9f76c91083f0cfbb8a76148bdb0d52a3
treeeae2b922f9d966dbc36c1a8cafa751ae20a7ae09
parent469e2ed4730bc90b59d6cd55a0b729b38e9f99b0
r600g: take into account offset to system inputs at tgsi_interp_egcm()

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=100785
v2: I was too much twiddling whether to initialize nsys_inputs at the beginning of shader initialization or for allocation of system values, and by the time I decided to go with the first one, I forgot to change it back.

Signed-off-by: Constantine Kharlamov <Hi-Angel@yandex.ru>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h