On Wednesday, October 18, 2017 10:31:57 PM PDT Jordan Justen wrote:
> Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
> ---
>  src/compiler/glsl/glsl_to_nir.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compiler/glsl/glsl_to_nir.cpp 
> b/src/compiler/glsl/glsl_to_nir.cpp
> index 63694fd41f..1d1085ffbc 100644
> --- a/src/compiler/glsl/glsl_to_nir.cpp
> +++ b/src/compiler/glsl/glsl_to_nir.cpp
> @@ -311,7 +311,7 @@ nir_visitor::visit(ir_variable *ir)
>     if (ir->data.mode == ir_var_shader_shared)
>        return;
>  
> -   nir_variable *var = ralloc(shader, nir_variable);
> +   nir_variable *var = rzalloc(shader, nir_variable);
>     var->type = ir->type;
>     var->name = ralloc_strdup(var, ir->name);
>  
> 

Patches 9-10:
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to