nir: Improve printing of load_input/store_output variable names.
authorEric Anholt <eric@anholt.net>
Sun, 24 Feb 2019 00:17:02 +0000 (16:17 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 5 Mar 2019 18:59:40 +0000 (10:59 -0800)
commita4f612b4cf84cb5f40ab7eda6075dff89c2b6404
tree1472444546fc0e637258ad4af86631abd659e314
parent43f40dc7cb234e007fe612b67cc765288ddf0533
nir: Improve printing of load_input/store_output variable names.

We were printing only when the channel was exactly the start channel, so
scalarized loads/stores would be missing the name on the rest.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir_print.c