nir: Make nir_lower_io_to_temporaries store an impl internally.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 25 Aug 2016 02:15:53 +0000 (19:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 26 Aug 2016 02:18:11 +0000 (19:18 -0700)
commit8479b03c5826f32355775d865d99d69c829e65bb
tree5104c8650c6e8862e62007f2ae55854f37f252ea
parentda85b5a9f1b22a8f6cae1a3b335dc5f31011bcb1
nir: Make nir_lower_io_to_temporaries store an impl internally.

This changes the pass internals to work with a nir_function_impl
directly rather than a nir_function.  The next patch will change
the API.

v2: Rebase after framebuffer fetch landed.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_lower_io_to_temporaries.c