llvmpipe: Per quad interpolation.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Jun 2010 17:43:35 +0000 (18:43 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 2 Jun 2010 17:43:35 +0000 (18:43 +0100)
commitead58101f91e82279b25676dfe822120be611995
tree2698c9fa8f327726c57e5cda971c88447ce134b1
parent5871b7ebc9f9629c076c9fe3c9c32aa9fd531eba
llvmpipe: Per quad interpolation.

First interpolate the 4 quads upper left corners, then sub-interpolate
each quad pixel. Do the perspective divide once per quad.

Saves some muls and reciprocates. But doesn't seem to make a
noticeable improvement.

It make the code simpler and more compact, so commiting anyway.
src/gallium/drivers/llvmpipe/lp_bld_interp.c
src/gallium/drivers/llvmpipe/lp_bld_interp.h