Mesa (master): glsl: fix formatting glitch in _mesa_print_ir()
Brian Paul
brianp at kemper.freedesktop.org
Fri Jun 19 22:47:11 UTC 2015
Module: Mesa
Branch: master
Commit: a1f84453a2f104a92f9efd353c629177e00e4b5e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1f84453a2f104a92f9efd353c629177e00e4b5e
Author: Brian Paul <brianp at vmware.com>
Date: Fri Jun 19 16:45:44 2015 -0600
glsl: fix formatting glitch in _mesa_print_ir()
Print the closing ) before the newline. Trivial.
---
src/glsl/ir_print_visitor.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp
index c991658..4cbcad4 100644
--- a/src/glsl/ir_print_visitor.cpp
+++ b/src/glsl/ir_print_visitor.cpp
@@ -72,7 +72,7 @@ _mesa_print_ir(FILE *f, exec_list *instructions,
if (ir->ir_type != ir_type_function)
fprintf(f, "\n");
}
- fprintf(f, "\n)");
+ fprintf(f, ")\n");
}
void
More information about the mesa-commit
mailing list