[Mesa-dev] [PATCH] nir: Use a list instead of a hash_table for inputs, outputs, and uniforms

Jason Ekstrand jason at jlekstrand.net
Wed Mar 18 12:40:47 PDT 2015


On Mar 18, 2015 12:39 PM, "Ilia Mirkin" <imirkin at alum.mit.edu> wrote:
>
> On Wed, Mar 18, 2015 at 3:36 PM, Jason Ekstrand <jason at jlekstrand.net>
wrote:
> > diff --git a/src/glsl/nir/glsl_to_nir.cpp b/src/glsl/nir/glsl_to_nir.cpp
> > index 047cb51..e3c085a 100644
> > --- a/src/glsl/nir/glsl_to_nir.cpp
> > +++ b/src/glsl/nir/glsl_to_nir.cpp
> > @@ -98,6 +98,9 @@ private:
> >     /* whether the IR we're operating on is per-function or global */
> >     bool is_global;
> >
> > +   /* A set of seen variable names to ensure uniqueness */
> > +   struct hash_set *var_names;
> > +
>
> I don't see any references to this elsewhere in the patch... left-over?

Yup. Thanks. I'll drop that hunk.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150318/7bc532cd/attachment.html>


More information about the mesa-dev mailing list