nir/opcodes: Clear variable names confusion
authorAndres Gomez <agomez@igalia.com>
Wed, 18 Sep 2019 12:48:36 +0000 (15:48 +0300)
committerAndres Gomez <agomez@igalia.com>
Wed, 18 Sep 2019 20:59:07 +0000 (23:59 +0300)
commitd9760f8935afc4aab0ecafa635c706dea9fde6a3
treeba53f65966c3998ed17346d3a1233d5080c1d305
parentb3f71685d995d4b7fb5780a808250049ee29b641
nir/opcodes: Clear variable names confusion

Having Python and C variables sharing name in the same block of code
makes its understanding a bit confusing. Make it explicit that the
Python bit_size variable refers to the destination bit size.

Suggested-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_opcodes.py