i965/nir: Print NIR on INTEL_DEBUG=fs.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Jan 2015 07:11:54 +0000 (23:11 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 23 Jan 2015 22:53:26 +0000 (14:53 -0800)
commitf3e06fcc6add67ed3eeecbce600994ef3220ec1c
treef732ad2ec125b5b8c61ea7ac0af832fe22ce5104
parentfaa38e16aadd9f2a2416fcb5087d7f8fc8178bf2
i965/nir: Print NIR on INTEL_DEBUG=fs.

This is useful for debugging and looking for optimization opportunities.

It will need to be expanded when we add support for other scalar stages.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp