summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs.c
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-10-05 13:58:05 -0700
committerKristian Høgsberg Kristensen <[email protected]>2015-10-08 12:13:31 -0700
commitba71d581aeb96c4626500eb5b19f3bef2f40d586 (patch)
tree18ffc3a2b1c8bbdb9c4a4664c2da05bff81a7e74 /src/mesa/drivers/dri/i965/brw_vs.c
parent1fda56cdb2e8d982ccb063e63347103c03aeeadb (diff)
i965: Move brw_dump_ir() out of brw_*_emit() functions
We move these calls one level up into the codegen functions. Reviewed-by: Topi Pohjolainen <[email protected]> Signed-off-by: Kristian Høgsberg Kristensen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c
index 3c6ee0a7a03..63d2e3f0f03 100644
--- a/src/mesa/drivers/dri/i965/brw_vs.c
+++ b/src/mesa/drivers/dri/i965/brw_vs.c
@@ -195,6 +195,9 @@ brw_codegen_vs_prog(struct brw_context *brw,
start_time = get_time();
}
+ if (unlikely(INTEL_DEBUG & DEBUG_VS))
+ brw_dump_ir("vertex", prog, &vs->base, &vp->program.Base);
+
/* Emit GEN4 code.
*/
program = brw_vs_emit(brw, mem_ctx, key, &prog_data,