summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir.h
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2014-07-30 15:29:27 -0700
committerJason Ekstrand <[email protected]>2015-01-15 07:18:58 -0800
commit98fa28bff78b469b8539816e6bfdb02d8ac6032a (patch)
treeac06ad593ff08282b095205b8c76437886d2fbae /src/glsl/nir/nir.h
parent9b1139649d86a27a477ae6d3c398be778288f97c (diff)
nir: add a printer
This is similar to ir_print_visitor.cpp. v2: Jason Ekstrand <[email protected]>: whitespace fixes
Diffstat (limited to 'src/glsl/nir/nir.h')
-rw-r--r--src/glsl/nir/nir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
index ec41b5d0f59..4b1f162964f 100644
--- a/src/glsl/nir/nir.h
+++ b/src/glsl/nir/nir.h
@@ -1238,6 +1238,8 @@ void nir_index_ssa_defs(nir_function_impl *impl);
void nir_index_blocks(nir_function_impl *impl);
+void nir_print_shader(nir_shader *shader, FILE *fp);
+
#ifdef __cplusplus
} /* extern "C" */
#endif