radeonsi/nir: fix input processing for packed varyings
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 23 Mar 2018 01:10:42 +0000 (12:10 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Mar 2018 22:59:38 +0000 (09:59 +1100)
commitb260efbd5eed4fd89e7928cfc2103f058a1e86d2
tree535c7ca353b5a6ac9ecaaddcc780eba2c156eced
parent51f175028dcc69e055d7e612024f7bfe79d7ed5d
radeonsi/nir: fix input processing for packed varyings

The location was only being incremented the first time we processed a
location. This meant we would incorrectly skip some elements of
an array if the first element was packed and proccessed previously
but other elements were not.

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