[Mesa-dev] [PATCH 6/7] i965/vec4/gs: Stop munging the ATTR containing gl_PointSize.
Kenneth Graunke
kenneth at whitecape.org
Thu Jan 14 11:06:04 PST 2016
On Thursday, January 14, 2016 10:24:32 AM PST Matt Turner wrote:
> On Wed, Jan 13, 2016 at 8:33 PM, Kenneth Graunke <kenneth at whitecape.org>
wrote:
> > gl_PointSize is delivered in the .w component of the VUE header, while
> > the language expects it to be a float (and thus in the .x component).
> >
> > Previously, we emitted MOVs to copy it over to the .x component.
> > But this is silly - we can just use a .wwww swizzle and access it
> > without copying anything or clobbering the value stored at .x
> > (which admittedly is useless).
> >
> > Removes the last use of ATTR destinations.
> >
> > Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> > ---
>
> Oh, this must have been what you were working on when you asked me
> about <4,4,0> regions on 3-src instructions.
>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
Nope, that was actually trying to convert SIMD8 TES from SINGLE_PATCH
mode to DUAL_PATCH mode (new on Skylake). But I guess this would be
a <4,4,0> in align1 mode too :)
--Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20160114/c85f9e2d/attachment.sig>
More information about the mesa-dev
mailing list