summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_print.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang/slang_print.h')
-rw-r--r--src/mesa/shader/slang/slang_print.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_print.h b/src/mesa/shader/slang/slang_print.h
new file mode 100644
index 00000000000..a98607a540f
--- /dev/null
+++ b/src/mesa/shader/slang/slang_print.h
@@ -0,0 +1,38 @@
+
+
+#ifndef SLANG_PRINT
+#define SLANG_PRINT
+
+extern void
+slang_print_function(const slang_function *f, GLboolean body);
+
+extern void
+slang_print_tree(const slang_operation *op, int indent);
+
+
+extern void
+slang_print_opcode(unsigned int opcode);
+
+
+extern const char *
+slang_asm_string(slang_assembly_type t);
+
+
+extern const char *
+slang_type_qual_string(slang_type_qualifier q);
+
+extern void
+slang_print_type(const slang_fully_specified_type *t);
+
+extern void
+slang_print_variable(const slang_variable *v);
+
+extern void
+_slang_print_var_scope(const slang_variable_scope *s, int indent);
+
+
+extern int
+slang_checksum_tree(const slang_operation *op);
+
+#endif /* SLANG_PRINT */
+