llvmpipe: consolidate texture memory allocation code
authorBrian Paul <brianp@vmware.com>
Wed, 21 Apr 2010 16:30:53 +0000 (10:30 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 21 Apr 2010 16:30:57 +0000 (10:30 -0600)
commit15d60294d6587eeb5c8c814f96d925fbbe05c56b
treea0e1d4c595d93ad4070fe47e2f3e7e45662e5660
parent867109f311a9f23a69465e5c65e02fe5a36a1507
llvmpipe: consolidate texture memory allocation code

And fix incorrect allocation of linear memory for display targets.
This fixes fd.o bugs 27761 and 27762.
src/gallium/drivers/llvmpipe/lp_texture.c