ac/nir: Assert GS input index is constant
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 20 Aug 2019 10:43:33 +0000 (12:43 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Fri, 23 Aug 2019 09:05:31 +0000 (11:05 +0200)
commit400db1852bda58f0559c5612fcc378695380425a
tree9088d63f97bdb17faf552466ea257860c811efcc
parentbb42c896fe9a1057f8e630480541938225ce0149
ac/nir: Assert GS input index is constant

If it's not we silently ignore indir_index which is definitely a bug.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c