[Mesa-dev] [PATCH 3/4] i965: Write gl_FragCoord directly to the destination.

Timothy Arceri timothy.arceri at collabora.com
Sat Jul 16 23:23:24 UTC 2016


On Fri, 2016-07-15 at 23:43 -0700, Kenneth Graunke wrote:
> This patch makes emit_general_interpolation take a destination
> register
> as an argument, and write directly to that.  This is simpler than the
> old approach of ralloc'ing a register, writing to that temporary, and
> then making the caller emit per-component MOVs to copy it to the
> actual
> destination.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> 

Nice clean up.

Reviewed-by: Timothy Arceri <timothy.arceri at collabora.com>


More information about the mesa-dev mailing list