diff options
author | Eric Anholt <[email protected]> | 2010-08-04 19:55:52 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-04 20:52:33 -0700 |
commit | 72fd0568db0ce5f25a1eee0266ec1e7cb3dafab0 (patch) | |
tree | 5256514e227cdfd2aaced8852b16056611448759 /src/mesa/program/prog_print.h | |
parent | 455290e4281bf53ce2fe248a2adf5163563c44c8 (diff) |
i965: Settle on printing our program debug to stdout.
Mixing stderr (_mesa_print_program, _mesa_print_instruction,
_mesa_print_alu) with stdout means that when writing both to a file,
there isn't a consistent ordering between the two.
Diffstat (limited to 'src/mesa/program/prog_print.h')
-rw-r--r-- | src/mesa/program/prog_print.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/program/prog_print.h b/src/mesa/program/prog_print.h index 9ab74560169..4ffd5ab96c6 100644 --- a/src/mesa/program/prog_print.h +++ b/src/mesa/program/prog_print.h @@ -56,6 +56,13 @@ extern void _mesa_print_swizzle(GLuint swizzle); extern void +_mesa_fprint_alu_instruction(FILE *f, + const struct prog_instruction *inst, + const char *opcode_string, GLuint numRegs, + gl_prog_print_mode mode, + const struct gl_program *prog); + +extern void _mesa_print_alu_instruction(const struct prog_instruction *inst, const char *opcode_string, GLuint numRegs); |