llvmpipe: Bump the maximum texture size (in pixels).
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 6 Jul 2012 18:14:37 +0000 (19:14 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 28 Aug 2012 14:18:43 +0000 (15:18 +0100)
commitbc8509b43b591796fa7c3b7a7497053eb298dc8b
treedaa86e32bec95fd54dd74101da04651bcbc3a000
parent6463eb013f645440d252b8b390e1c6e3c1212b7e
llvmpipe: Bump the maximum texture size (in pixels).

But cap the size in bytes, to avoid depleting the whole system memory,
with humongus textures.

Tested with max-texture-size piglit test.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/llvmpipe/lp_limits.h
src/gallium/drivers/llvmpipe/lp_texture.c