if (c->Base.Debug) {
_mesa_printf("Fragment Program: After native rewrite:\n");
rc_print_program(&c->Base.Program);
- fflush(stdout);
+ fflush(stderr);
}
if (c->is_r500) {
if (c->Base.Debug) {
_mesa_printf("Compiler: after NqSSA-DCE:\n");
rc_print_program(&c->Base.Program);
- fflush(stdout);
+ fflush(stderr);
}
if (c->is_r500) {
if (compiler->Base.Debug) {
fprintf(stderr, "Vertex program after native rewrite:\n");
rc_print_program(&compiler->Base.Program);
- fflush(stdout);
+ fflush(stderr);
}
{
if (compiler->Base.Debug) {
fprintf(stderr, "Vertex program after source conflict resolve:\n");
rc_print_program(&compiler->Base.Program);
- fflush(stdout);
+ fflush(stderr);
}
{
if (compiler->Base.Debug) {
fprintf(stderr, "Vertex program after NQSSADCE:\n");
rc_print_program(&compiler->Base.Program);
- fflush(stdout);
+ fflush(stderr);
}
}
compiler->code->OutputsWritten = compiler->Base.Program.OutputsWritten;
if (compiler->Base.Debug) {
- printf("Final vertex program code:\n");
+ fprintf(stderr, "Final vertex program code:\n");
r300_vertex_program_dump(compiler->code);
}
}
compiler.AllocateHwInputs = &allocate_hw_inputs;
if (compiler.Base.Debug) {
- fflush(stdout);
+ fflush(stderr);
_mesa_printf("Fragment Program: Initial program:\n");
_mesa_print_program(&cont->Base.Base);
- fflush(stdout);
+ fflush(stderr);
}
rc_mesa_to_rc_program(&compiler.Base, &cont->Base.Base);
if (compiler.Base.Debug) {
fprintf(stderr, "Initial vertex program:\n");
_mesa_print_program(&vp->Base->Base);
- fflush(stdout);
+ fflush(stderr);
}
if (mesa_vp->IsPositionInvariant) {