On Fri, Mar 25, 2016 at 7:12 PM, Jason Ekstrand <[email protected]> wrote: >
Reviewed-by: Rob Clark <[email protected]> > --- > src/compiler/nir/nir.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h > index 33bb1fd..68df76c 100644 > --- a/src/compiler/nir/nir.h > +++ b/src/compiler/nir/nir.h > @@ -339,6 +339,9 @@ typedef struct nir_variable { > #define nir_foreach_variable(var, var_list) \ > foreach_list_typed(nir_variable, var, node, var_list) > > +#define nir_foreach_variable_safe(var, var_list) \ > + foreach_list_typed_safe(nir_variable, var, node, var_list) > + > static inline bool > nir_variable_is_global(const nir_variable *var) > { > -- > 2.5.0.400.gff86faf > > _______________________________________________ > mesa-dev mailing list > [email protected] > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
