nir: Make the printer include nir_variable::location too.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Feb 2015 09:19:13 +0000 (01:19 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 9 Mar 2015 08:34:03 +0000 (01:34 -0700)
commitb9c2fa15e31c4904d4a2526b79ef3f70596c1074
tree9ffac1f3d9173782ec4a95a7eee44ea106797435
parenta72fb69604711d4f0e0fe49241d2da0311503f6a
nir: Make the printer include nir_variable::location too.

Being able to see both location and driver_location can be useful when
debugging IO mistakes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/glsl/nir/nir_print.c