i965: Re-index SSA definitions before printing NIR code.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 10 Jun 2015 08:46:13 +0000 (01:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 11 Jun 2015 18:17:52 +0000 (11:17 -0700)
commitf4310cdbd08f20276237fbefa3eba406aa109636
treeeb56b95dd92c8a921290b9a2e2f7038b3518b971
parent1a6e4f46ed117b393e26aff326e5b05d4aea7fb0
i965: Re-index SSA definitions before printing NIR code.

This makes the SSA definitions use sequential numbers (0, 1, 2, ...)
instead of seemingly random ones.  There's not much point normally,
but it makes debug output much easier to read.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/mesa/drivers/dri/i965/brw_nir.c