Re: [Mesa-dev] [PATCH] glsl: add varying resources for arrays of complex types

2017-11-02 Thread Juan A. Suarez Romero
On Fri, 2017-10-27 at 11:09 -0400, Ilia Mirkin wrote: > > > With the latter ones getting bogus locations? What is it supposed to > > > do in this case? > > > > Why it would get bogus locations? > > Because it'll do elem_location += stride every time, but they each > should get the same location.

Re: [Mesa-dev] [PATCH] glsl: add varying resources for arrays of complex types

2017-10-27 Thread Ilia Mirkin
On Fri, Oct 27, 2017 at 11:07 AM, Juan A. Suarez Romero wrote: > On Fri, 2017-10-27 at 10:27 -0400, Ilia Mirkin wrote: >> On Fri, Oct 27, 2017 at 10:03 AM, Juan A. Suarez Romero >> wrote: >> > This patch is mostly a patch done by Ilia Mirkin. >> > >> >

Re: [Mesa-dev] [PATCH] glsl: add varying resources for arrays of complex types

2017-10-27 Thread Juan A. Suarez Romero
On Fri, 2017-10-27 at 10:27 -0400, Ilia Mirkin wrote: > On Fri, Oct 27, 2017 at 10:03 AM, Juan A. Suarez Romero > wrote: > > This patch is mostly a patch done by Ilia Mirkin. > > > > It fixes KHR-GL45.enhanced_layouts.varying_structure_locations. > > > > CC: Ilia Mirkin

Re: [Mesa-dev] [PATCH] glsl: add varying resources for arrays of complex types

2017-10-27 Thread Ilia Mirkin
On Fri, Oct 27, 2017 at 10:03 AM, Juan A. Suarez Romero wrote: > This patch is mostly a patch done by Ilia Mirkin. > > It fixes KHR-GL45.enhanced_layouts.varying_structure_locations. > > CC: Ilia Mirkin > Bugzilla:

[Mesa-dev] [PATCH] glsl: add varying resources for arrays of complex types

2017-10-27 Thread Juan A. Suarez Romero
This patch is mostly a patch done by Ilia Mirkin. It fixes KHR-GL45.enhanced_layouts.varying_structure_locations. CC: Ilia Mirkin Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103098 Signed-off-by: Juan A. Suarez Romero ---