nir/print: print symbolic names from shader-enum
authorRob Clark <robclark@freedesktop.org>
Tue, 15 Sep 2015 22:55:48 +0000 (18:55 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 16 Sep 2015 14:15:35 +0000 (10:15 -0400)
commitaecbc93f2d1ff9de4e03a2b216e86dcb9a4ce414
treed0dc2147e1074b34bac9c385a24b242b84f6fcc1
parent840df72f9336994b2ca9dde981ec75fe10811a4e
nir/print: print symbolic names from shader-enum

v2: split out moving of FILE *fp into state structure into it's own
(more complete patch) to reduce the noise in this one

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/glsl/nir/nir_print.c