i965: Move pulls_bary setting to emit_pixel_interpolator_send().
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Jul 2016 03:16:11 +0000 (20:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Jul 2016 02:26:54 +0000 (19:26 -0700)
commit18f67c8a69fcde5d3f585effeef670d0861b0730
treee5682c386f3fdd0b946d302e5cb5a0b0348697f9
parent7ef7738a61ded5632105b8de6f8141307592e20a
i965: Move pulls_bary setting to emit_pixel_interpolator_send().

pulls_bary should be set when the shader uses a pixel interpolator
message.  So, setting it from the function that emits pixel interpolator
messages makes a lot of sense.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp