glsl: make print_type non-static for debugging

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5746>
This commit is contained in:
Marek Olšák
2020-07-04 19:12:13 -04:00
parent 1d5e1882f6
commit a038863ba0
2 changed files with 12 additions and 11 deletions

View File

@@ -2535,6 +2535,9 @@ extern "C" {
extern void _mesa_print_ir(FILE *f, struct exec_list *instructions,
struct _mesa_glsl_parse_state *state);
extern void
ir_print_type(FILE *f, const struct glsl_type *t);
extern void
fprint_ir(FILE *f, const void *instruction);