On Wed, Dec 30, 2015 at 10:32 AM, Rob Clark <robdcl...@gmail.com> wrote: > diff --git a/src/mesa/drivers/dri/i965/brw_nir.c > b/src/mesa/drivers/dri/i965/brw_nir.c > index e031173..a8bed70 100644 > --- a/src/mesa/drivers/dri/i965/brw_nir.c > +++ b/src/mesa/drivers/dri/i965/brw_nir.c > @@ -405,42 +405,8 @@ brw_nir_lower_uniforms(nir_shader *nir, bool is_scalar) > } > } > > -#include "util/debug.h" > - > -static bool > -should_clone_nir() > -{ > - static int should_clone = -1; > - if (should_clone < 1)
btw, EdB pointed out on irc.. shouldn't this be if (should_clone < 0) ? BR, -R > - should_clone = env_var_as_boolean("NIR_TEST_CLONE", false); > - > - return should_clone; > -} _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev