Thanks a lot. Tested-by: Marek Olšák <[email protected]>
Marek On Thu, Oct 15, 2015 at 5:16 AM, Timothy Arceri <[email protected]> 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 <[email protected]> > Cc: Jason Ekstrand <[email protected]> > --- > 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
