llvmpipe: Fast path for sampling rgba8 textures with linear filtering.
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 25 Oct 2009 09:51:57 +0000 (09:51 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 25 Oct 2009 09:53:49 +0000 (09:53 +0000)
commite1342f871b2ec1ed0293f564540d03aaa11b1720
tree353c5be7de08eb2392e7f9e12d1438ad65062f6e
parentf3893ca9c8bfdba9323ef2fc179ac203e85eda70
llvmpipe: Fast path for sampling rgba8 textures with linear filtering.

Implement Keith's suggestion of doing most of the sampling with 16x8
and 8x16 AoS, and only doing the conversion to floating point SoA at
the very last step.

Improves gloss performance by 10%.
src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c