i965: Move program dump to a helper function in brw_eu.c.
authorEric Anholt <eric@anholt.net>
Fri, 3 Feb 2012 10:50:42 +0000 (11:50 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 17 Sep 2012 19:32:51 +0000 (12:32 -0700)
commitf2bd3e70b5e643f9c03a5003965861281f206fd3
tree252ba61d064788fc5341a0a4b58127d1063e3543
parent826ecbbe6eef88ccc6602d0db978f1941c1a3421
i965: Move program dump to a helper function in brw_eu.c.

It's going to get more complicated when we do instruction compaction.  This
also introduces putting the program offset in the output.

v2: Use next_insn_offset in brw_get_program(), too.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp
src/mesa/drivers/dri/i965/brw_vs_emit.c
src/mesa/drivers/dri/i965/brw_wm_emit.c