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

Juan A. Suarez Romero jasuarez at igalia.com
Thu Nov 2 17:33:05 UTC 2017


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.

Ah, right. You mean for TCS/TES/GS shaders, as inputs are arrays of the
outputs from the previous shader in the pipeline.


I'll send a new version soon. Thank you!

	J.A.



More information about the mesa-dev mailing list