Thanks a lot.

Tested-by: Marek Olšák <marek.ol...@amd.com>

Marek

On Thu, Oct 15, 2015 at 5:16 AM, Timothy Arceri <t_arc...@yahoo.com.au> wrote:
> This was only being done in one of the two process methods.
>
> Fixes issue with samplers using the array size of a previous record.
>
> Cc: Marek Olšák <mar...@gmail.com>
> Cc: Jason Ekstrand <ja...@jlekstrand.net>
> ---
>  src/glsl/link_uniforms.cpp | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp
> index 0ccd9c8..e60b050 100644
> --- a/src/glsl/link_uniforms.cpp
> +++ b/src/glsl/link_uniforms.cpp
> @@ -160,6 +160,7 @@ program_resource_visitor::process(ir_variable *var)
>                  false, record_array_count);
>        ralloc_free(name);
>     } else {
> +      this->set_record_array_count(record_array_count);
>        this->visit_field(t, var->name, row_major, NULL, packing, false);
>     }
>  }
> --
> 2.4.3
>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to