On Thu, Jan 29, 2015 at 4:13 PM, Kenneth Graunke <kenn...@whitecape.org>
wrote:

> On Thursday, January 29, 2015 12:50:16 PM Jason Ekstrand wrote:
> > This allows us to indicate a concept of an invalid type.
> > ---
> >  src/glsl/nir/nir.h | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/src/glsl/nir/nir.h b/src/glsl/nir/nir.h
> > index 980fdd0..f2050de 100644
> > --- a/src/glsl/nir/nir.h
> > +++ b/src/glsl/nir/nir.h
> > @@ -576,6 +576,7 @@ void nir_alu_dest_copy(nir_alu_dest *dest, const
> nir_alu_dest *src,
> >                         void *mem_ctx);
> >
> >  typedef enum {
> > +   nir_type_void = 0, /* Not a valid type */
> >     nir_type_float,
> >     nir_type_int,
> >     nir_type_unsigned,
>
> I think it would be clearer to call this nir_type_invalid, since "void" is
> a
> real type in source languages.
>

Sure.  I don't care too much.  Changed locally.
--Jason


>
> --Ken
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to