nir/lower_clip: Fix picking of unused driver locations.
authorEric Anholt <eric@anholt.net>
Tue, 21 Apr 2020 23:11:05 +0000 (16:11 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 18:52:46 +0000 (18:52 +0000)
commit035fd4fb9f403f281e95b63290fa6e3e6a6ee22f
tree2d19fad7391cd872fea6adb647aac30b065d135e
parent91668ae8391d3e4d14f5cfe60d2755385a81a64d
nir/lower_clip: Fix picking of unused driver locations.

This fixes things when the last input/output is a struct or matrix.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4670>
src/compiler/nir/nir_lower_clip.c