summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_optimization.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-03-18 10:45:11 -0600
committerBrian Paul <brianp@vmware.com>2012-03-20 08:23:32 -0600
commit2cbccfdcb09322f5711cff995f9a2953af355d35 (patch)
tree33928f216b8798471b85026a161bd569deb393ed /src/glsl/ir_optimization.h
parent73fd269d2f5aa2a0b9bc03ef904b81e263e3cc37 (diff)
downloadexternal_mesa3d-2cbccfdcb09322f5711cff995f9a2953af355d35.zip
external_mesa3d-2cbccfdcb09322f5711cff995f9a2953af355d35.tar.gz
external_mesa3d-2cbccfdcb09322f5711cff995f9a2953af355d35.tar.bz2
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 <yuanhan.liu@linux.intel.com>
Diffstat (limited to 'src/glsl/ir_optimization.h')
0 files changed, 0 insertions, 0 deletions