i965: Move lower_output_reads to brw_link_shader().
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Apr 2015 22:05:12 +0000 (15:05 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Apr 2015 18:38:14 +0000 (11:38 -0700)
commitf41f07f685e7f585e433b5fd1fadf602e74f0f1e
tree216163c69870de9d23549db500b279443e4e1910
parent8e414cbdec76ce33a16425631ac87cb4ba827409
i965: Move lower_output_reads to brw_link_shader().

This makes it so emit_nir_code() doesn't modify the GLSL IR.

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/brw_shader.cpp