i965: Move perf_debug code to brw_codegen_*_prog()
authorKristian Høgsberg Kristensen <krh@bitplanet.net>
Sat, 5 Sep 2015 00:09:40 +0000 (17:09 -0700)
committerKristian Høgsberg Kristensen <krh@bitplanet.net>
Mon, 14 Sep 2015 23:56:59 +0000 (16:56 -0700)
commita548c75e31b4146d55133cb8c57a82117c196584
tree5a7d4d8cbd5a024eacac9643eb07b7a604631e7d
parent84f2ed2cfdab45aa949aa6affe46cfe2944759c1
i965: Move perf_debug code to brw_codegen_*_prog()

We're trying to avoid a libdrm dependency in the core compiler, so let's
move the perf_debug code one level up from the brw_*_emit() helpers to
the brw_codegen_*_prog() helpers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Kristian Høgsberg Kristensen <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_cs.c
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vs.c
src/mesa/drivers/dri/i965/brw_wm.c