cell: use 7-bit weights in sample_texture_2d_bilinear_int()
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 16 Oct 2008 21:48:04 +0000 (15:48 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 17 Oct 2008 20:14:23 +0000 (14:14 -0600)
commitfa7b8388066651c5cfafd4ce6461fc43c982d8c7
tree93145a8990cf2dc60d8c361d28abb2cccfc81d98
parent87a6fe57e85ea5f273e808211a0e61d2b837b8e2
cell: use 7-bit weights in sample_texture_2d_bilinear_int()

This allows us to use 16-bit signed mul/add instructions.  Had to
used unsigned mul before and there's no unsigned mul/add instruction.
src/gallium/drivers/cell/spu/spu_texture.c