i965: Remove useless IR self-destruct backend_shader method.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 9 Mar 2016 01:23:37 +0000 (17:23 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 14 Mar 2016 01:07:53 +0000 (18:07 -0700)
commit63250d8178dcbcf619423025e363c4f02f3bb6f9
treeb44e375a6cd1d08d530808a39bc8d5ec6ba32510
parent8c7acd87afbe834f3fd7f088606e099cc827c538
i965: Remove useless IR self-destruct backend_shader method.

From the point it's constructed the CFG contains the only existing
copy of the program IR, and it never becomes invalid.  Calling
backend_shader::invalidate_cfg would have destroyed the program
structure irrecoverably -- We weren't calling it at all for a good
reason.

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