i965/nir: Inline remap_vs_attrs
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 3 May 2017 23:41:43 +0000 (16:41 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 9 May 2017 22:07:47 +0000 (15:07 -0700)
commit36764b6923620f3e3c5f547b12d1201e1498c9c6
treee1e2571ba1e4036a1d8ef047619e04f1c1946f01
parentb86dba8a0eee6be283a96481c0c2b1fb1e882824
i965/nir: Inline remap_vs_attrs

Now that we have nice block iterators, there's no good reason for this
to be off on it's own.  While we're here, we convert to using the NIR
const index getters/setters instead of whacking const_index values
directly.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_nir.c