nir: Add a nir->info.uses_interp_var_at_offset flag.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 13 May 2016 06:53:13 +0000 (23:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 16 May 2016 06:50:28 +0000 (23:50 -0700)
commit6d65b0c6dc0ef4fad319129fea5fd7b4ad940bec
tree35a33c5f1422529cfb18da09e50afbe70477521d
parentd4d7e1516b4f14b65192ae856a44a2c10788c9fe
nir: Add a nir->info.uses_interp_var_at_offset flag.

I've added this to nir_gather_info(), but also to glsl_to_nir() as a
temporary measure, since the i965 GL driver today doesn't use
nir_gather_info() yet.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/glsl_to_nir.cpp
src/compiler/nir/nir.h
src/compiler/nir/nir_gather_info.c