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

Ilia Mirkin imirkin at alum.mit.edu
Wed Mar 18 12:39:41 PDT 2015


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?


More information about the mesa-dev mailing list