radeonsi/nir: add support for packed inputs
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 17 Nov 2017 06:04:22 +0000 (17:04 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 3 Dec 2017 22:10:30 +0000 (09:10 +1100)
commitc16a0e11d394a9ad9b5d9b698130e15e1a84bf1c
tree172eadcb50d2317baca52b656a1ae11931d1fc0a
parentc3a5d74377bd90f78b9af55db598b03d264d0c02
radeonsi/nir: add support for packed inputs

Because NIR can create non vec4 variables when implementing component
packing we need to make sure not to reprocess the same slot again.

Also we can drop the fs_attr_idx counter and just use driver_location.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader_nir.c