nir/print: Better function argument printing
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 13 Feb 2016 04:41:19 +0000 (20:41 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 12 Mar 2016 23:48:36 +0000 (15:48 -0800)
commitf86f3c90aa6918e741e505217e1f766c025229e4
tree096cdb5cd88ef614d283a66ee6368350b309de93
parent13969565f91a65c490f8362363b73b207df5c7e0
nir/print: Better function argument printing

Since we aren't going to put the function parameters or the return variable
in the list of locals, it won't get a proper declaration.  This changes
nir_print to print the type along with each parameter or return variable.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/compiler/nir/nir_print.c