softpipe: increase max 2D/cube texture size to 4K x 4K

This commit is contained in:
Brian Paul
2009-05-29 00:55:54 -06:00
parent b70fcd620d
commit 425c39058b
+2 -2
View File
@@ -82,11 +82,11 @@ softpipe_get_param(struct pipe_screen *screen, int param)
case PIPE_CAP_TEXTURE_SHADOW_MAP:
return 1;
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
return 12; /* max 2Kx2K */
return 13; /* max 2Kx2K */
case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
return 8; /* max 128x128x128 */
case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
return 12; /* max 2Kx2K */
return 13; /* max 2Kx2K */
default:
return 0;
}