From: Brian Paul Date: Fri, 29 May 2009 06:55:54 +0000 (-0600) Subject: softpipe: increase max 2D/cube texture size to 4K x 4K X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=425c39058b54ebbde4130e4eebb1c302005ba6ac;p=mesa.git softpipe: increase max 2D/cube texture size to 4K x 4K --- diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index a32fd3a1ba0..4ead6c928ca 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -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; }