radeonsi/nir: move the interpolation qualifier scanning
authorTimothy Arceri <tarceri@itsqueeze.com>
Sun, 14 Jan 2018 09:43:40 +0000 (20:43 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 30 Jan 2018 22:14:07 +0000 (09:14 +1100)
commitfea6da9aaa418c40f229db2ca0c85d7aae96cb73
tree46d12e8e84bfd31b18a58a427a0fe2044c1956bd
parent580f1aa247479b0cd06e94ba09c13317240561be
radeonsi/nir: move the interpolation qualifier scanning

We need to collect this when scanning over the instruction rather
than when scanning over the inputs otherwise we might get confliting
values for inputs that are use by the interpolateAt* builtins.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader_nir.c