nir: add always_active_io to nir variable
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 11 Sep 2017 06:19:22 +0000 (16:19 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 26 Sep 2017 12:37:02 +0000 (22:37 +1000)
commit4244bea8591d13a0f03a329bcd21a57587a68230
treee511a4f4c2a423a423e5460c64a00aed70f217b4
parent06bfb2d28f7adca7edc6be9c210a7a3583023652
nir: add always_active_io to nir variable

Will be used in nir link pass to decided if we can remove a varying
or not.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/nir.h