nir/algebraic: A bit of validation refactoring'
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Oct 2018 19:03:24 +0000 (14:03 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Oct 2018 21:00:18 +0000 (16:00 -0500)
commitea9e651423424219cae8ebdef88f432b7cff31ab
tree24872bf457f5fb8da4f8910cafa2bdaa726e126d
parent641f4be8e80eb1abd4d497bc136b9572062d8003
nir/algebraic: A bit of validation refactoring'

We rename some local variables in validate() to be more readable and
plumb the var through to get/set_var_bit_class instead of the var index.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/compiler/nir/nir_algebraic.py