[Mesa-dev] [PATCH 6/7] i965/vec4/gs: Stop munging the ATTR containing gl_PointSize.

Matt Turner mattst88 at gmail.com
Thu Jan 14 10:24:32 PST 2016


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>


More information about the mesa-dev mailing list