nir: Print the format of image variables.
authorEric Anholt <eric@anholt.net>
Thu, 13 Dec 2018 19:15:07 +0000 (11:15 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 13 Dec 2018 20:24:12 +0000 (12:24 -0800)
commitc2c44dba7a0ece017f672e13b71bea4519d5f4a5
treeea2e81b0c2395b7f5bc7eda17d73684f05636efe
parent19ffcba161e56566611e546b73e21f498be63fa5
nir: Print the format of image variables.

This helps a lot when debugging image load/store lowering on large
testcases.  Unfortunately the Mesa enum name stuff is under src/mesa and
we can't get at it from the compiler.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_print.c