i965: get uses texture gather from nir info
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 5 Oct 2016 03:57:21 +0000 (14:57 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 6 Oct 2016 05:03:00 +0000 (16:03 +1100)
commitee829cba8ed7941631e214ae8557c5af9fa667b4
treeda6ed7ba3f336aed08eb5ae3fcce4a5620127c11
parenta85a8ecd32202b22e560bdf714b5715a168cc76e
i965: get uses texture gather from nir info

This is a step towards dropping the GLSL IR version of
do_set_program_inouts() in i965 and moving towards native nir support.

This is important because we want to eventually convert to nir and
use its optimisations passes before we can call this GLSL IR pass.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c