llvmpipe: set max cube texture size to 4K x 4K
authorBrian Paul <brianp@vmware.com>
Mon, 17 Sep 2012 01:05:51 +0000 (19:05 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2012 01:49:26 +0000 (19:49 -0600)
commitdf73be910506e466940db0c56aa7a1c0452d6e58
tree0120eafec4f0081ffa941c5fdf01f211eff9cb08
parent7dc76e94246a14d995d2e9a4c8dc8591c4085849
llvmpipe: set max cube texture size to 4K x 4K

Before, the limit was 8K.  For 32-bit RGBA that would be require 1.5 GB
of memory (w/out mipmaps).  That's well beyond the LP_MAX_TEXTURE_SIZE
of 1GB.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_limits.h
src/gallium/drivers/llvmpipe/lp_screen.c