summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-03-18 10:45:11 -0600
committerBrian Paul <[email protected]>2012-03-20 08:23:32 -0600
commit2cbccfdcb09322f5711cff995f9a2953af355d35 (patch)
tree33928f216b8798471b85026a161bd569deb393ed /src/mesa/main/texobj.c
parent73fd269d2f5aa2a0b9bc03ef904b81e263e3cc37 (diff)
softpipe: set max cube texture size to 4Kx4K
The max size was 16Kx16K so a 4 byte/pixel, six-sided cube would require 6 GBytes of memory. If mipmapped, 8 GB. Reduce the max size to 4K to make the total size more reasonable. Fixes a crash with the new piglit max-texture-size test. Reviewed-by: Yuanhan Liu <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.c')
0 files changed, 0 insertions, 0 deletions