i965/nir: Make INTEL_DEBUG=ann work with NIR.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 24 Jan 2015 10:05:56 +0000 (02:05 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Apr 2015 19:35:47 +0000 (12:35 -0700)
commitb6354d9bb077815d2e388dc5d0e7411ea6d89748
tree5ecaa3ab8d64496c12e45d1bc8db8d43eb3dc029
parent89c1feb78d010bc457f5d02be84c955eebf3549f
i965/nir: Make INTEL_DEBUG=ann work with NIR.

Now that we store a copy of the NIR shader, and don't immediately free
it, we can use it in annotations as well.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/intel_asm_annotation.c