diff options
-rw-r--r-- | src/glsl/ir_print_visitor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp index eff950ebd7..5c19db1326 100644 --- a/src/glsl/ir_print_visitor.cpp +++ b/src/glsl/ir_print_visitor.cpp @@ -153,6 +153,9 @@ void ir_print_visitor::visit(ir_function_signature *ir) void ir_print_visitor::visit(ir_function *ir) { + if (!ir->has_user_signature()) + return; + printf("(function %s\n", ir->name); indentation++; foreach_iter(exec_list_iterator, iter, *ir) { |