projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0cdeda
)
mesa/st: Flush stdout after pritingin the GLSL.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 14 Nov 2011 14:43:25 +0000
(14:43 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 14 Nov 2011 14:43:25 +0000
(14:43 +0000)
Otherwise it gets all garbled with stderr.
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
index b133164c388e62e457d8e2fcf727a4749743bb4d..17b611783a3599eeff4369006377ed36414a03e0 100644
(file)
--- a/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
+++ b/
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
@@
-4991,6
+4991,7
@@
get_mesa_program(struct gl_context *ctx,
_mesa_print_ir(shader->ir, NULL);
printf("\n");
printf("\n");
+ fflush(stdout);
}
prog->Instructions = NULL;