i965: get uses discard from nir info
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 5 Oct 2016 04:13:23 +0000 (15:13 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 6 Oct 2016 05:03:40 +0000 (16:03 +1100)
commit556335eb9915fc6e00aafa15eaf0265ddc25b131
treec4b9d42d2cae4b5c2f599dd33b35c8d9033671c3
parentee829cba8ed7941631e214ae8557c5af9fa667b4
i965: get uses discard 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_wm.c