diff options
author | Brian Paul <[email protected]> | 2009-02-20 08:31:02 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-20 11:44:38 -0700 |
commit | d8de0a2f3a95e424848874f4f5a954c502794e54 (patch) | |
tree | 445e775a85a4130d37e2fcf0e6cae3fb3ea07602 /src | |
parent | c0b59420eec5ffdf22a5919d38851c3620b97c09 (diff) |
i965: additional debug output
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_glsl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_glsl.c b/src/mesa/drivers/dri/i965/brw_wm_glsl.c index d99aa372a9b..121cdc040ea 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_glsl.c +++ b/src/mesa/drivers/dri/i965/brw_wm_glsl.c @@ -2509,12 +2509,20 @@ static void brw_wm_emit_glsl(struct brw_context *brw, struct brw_wm_compile *c) */ void brw_wm_glsl_emit(struct brw_context *brw, struct brw_wm_compile *c) { + if (INTEL_DEBUG & DEBUG_WM) { + _mesa_printf("brw_wm_glsl_emit:\n"); + } + /* initial instruction translation/simplification */ brw_wm_pass_fp(c); /* actual code generation */ brw_wm_emit_glsl(brw, c); + if (INTEL_DEBUG & DEBUG_WM) { + brw_wm_print_program(c, "brw_wm_glsl_emit done"); + } + c->prog_data.total_grf = c->reg_index; c->prog_data.total_scratch = 0; } |