llvmpipe: Factor out and optimize the input interpolation.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 23 Aug 2009 11:28:34 +0000 (12:28 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 29 Aug 2009 08:21:41 +0000 (09:21 +0100)
commitf85c5f8621382ba1c8baa1582d87b46b388258d2
tree16a9aa88a190d6780d9446ab8f4cb50cad4b4c83
parent03180dca7a3b5d57100158eb06d00419e55d9dc8
llvmpipe: Factor out and optimize the input interpolation.

Special attention is given to the interpolation of side by side quads.
Multiplications are made only for the first quad. Interpolation of
inputs for posterior quads are done exclusively with additions, and
perspective divide if necessary.
src/gallium/drivers/llvmpipe/Makefile
src/gallium/drivers/llvmpipe/SConscript
src/gallium/drivers/llvmpipe/lp_bld_interp.c [new file with mode: 0644]
src/gallium/drivers/llvmpipe/lp_bld_interp.h [new file with mode: 0644]
src/gallium/drivers/llvmpipe/lp_bld_tgsi.h
src/gallium/drivers/llvmpipe/lp_bld_tgsi_soa.c
src/gallium/drivers/llvmpipe/lp_state_fs.c