diff options
author | Keith Whitwell <[email protected]> | 2006-09-12 13:51:09 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2006-09-12 13:51:09 +0000 |
commit | 72e810db9db663dd3ff5f746d942423d87928e86 (patch) | |
tree | cc7736ec8c8c775865edd8c7a6dac611f9915078 /src/mesa/drivers/dri | |
parent | 7b8c73460f670fd18aa4a1fd4729d683b92b6c60 (diff) |
Disassemble active program when DEBUG_VS is set.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index 48a4dc79723..a22740084d3 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -893,6 +893,13 @@ void brw_vs_emit( struct brw_vs_compile *c ) GLuint nr_insns = c->vp->program.Base.NumInstructions; GLuint insn; + + if (INTEL_DEBUG & DEBUG_VS) { + _mesa_printf("\n\n\nvs-emit:\n"); + _mesa_print_program(&c->vp->program.Base); + _mesa_printf("\n"); + } + brw_set_compression_control(p, BRW_COMPRESSION_NONE); brw_set_access_mode(p, BRW_ALIGN_16); |