tgsi/scan: don't set interp flags for inputs only used by INTERP (v2)
authorMarek Olšák <marek.olsak@amd.com>
Thu, 8 Sep 2016 17:12:00 +0000 (19:12 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 5 Oct 2016 19:03:23 +0000 (21:03 +0200)
commitfaee2d6dda6498bde60ff13e1753f7d32019890c
tree95e0f21f553aafa0be9f329e7487aeb7a6532a91
parent10e5f126dd08849d9d209c8c0b80f2d2f6527571
tgsi/scan: don't set interp flags for inputs only used by INTERP (v2)

(v1 pushed, then reverted)

This fixes 9 randomly failing tests on radeonsi:
  GL45-CTS.shader_multisample_interpolation.render.interpolate_at_centroid.*

v2: use input_interpolate[input] (correct) instead of
    input_interpolate[index] (incorrect)

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c