i965/fs: Show register pressure in dump_instructions() output.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 5 Aug 2013 06:34:01 +0000 (23:34 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 21 Jan 2014 22:20:44 +0000 (14:20 -0800)
commit391eaa59bd2b71078a28ff34dd3d4eed470653ee
tree197b41044c1579c9afb8fc5cf1cbeb6b6d55ef28
parent3b74f4b2333704bc7dbe5714e1f2aa4d201669ee
i965/fs: Show register pressure in dump_instructions() output.

Dumping the number of live registers at each IP allows us to see
register pressure and identify any local maxima.  This should
aid in debugging passes designed to reduce register pressure, as
well as optimizations that suddenly trigger spilling.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_shader.h