On Wed, Nov 24, 2010 at 7:23 AM, Marek Olšák <[email protected]> wrote: > In order to be able to create and render to textures of size 8192x8192 > on r600 and nv50, including 3D textures like 8192x4x4.
Can we bump this to 16k? evergreen and ni chips support 16k surfaces. Alex > > Two new piglit tests have been added to test this: fbo-maxsize and > tex3d-maxsize. > > Driver status: > swrast passes fbo-maxsize and segfaults in tex3d-maxsize. > softpipe and r300g pass both. > (r300g returns GL_OUT_OF_MEMORY in tex3d-maxsize). > > Cc: Brian Paul <[email protected]> > Signed-off-by: Marek Olšák <[email protected]> > --- > src/mesa/main/config.h | 14 +++++++------- > 1 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h > index 0f2d1a8..5388069 100644 > --- a/src/mesa/main/config.h > +++ b/src/mesa/main/config.h > @@ -98,16 +98,16 @@ > #define MAX_COLOR_TABLE_SIZE 256 > > /** Number of 1D/2D texture mipmap levels */ > -#define MAX_TEXTURE_LEVELS 13 > +#define MAX_TEXTURE_LEVELS 14 > > /** Number of 3D texture mipmap levels */ > -#define MAX_3D_TEXTURE_LEVELS 9 > +#define MAX_3D_TEXTURE_LEVELS 14 > > /** Number of cube texture mipmap levels - GL_ARB_texture_cube_map */ > -#define MAX_CUBE_TEXTURE_LEVELS 13 > +#define MAX_CUBE_TEXTURE_LEVELS 14 > > /** Maximum rectangular texture size - GL_NV_texture_rectangle */ > -#define MAX_TEXTURE_RECT_SIZE 4096 > +#define MAX_TEXTURE_RECT_SIZE 8192 > > /** Maximum number of layers in a 1D or 2D array texture - > GL_MESA_texture_array */ > #define MAX_ARRAY_TEXTURE_LAYERS 64 > @@ -140,11 +140,11 @@ > */ > > #ifndef MAX_WIDTH > -# define MAX_WIDTH 4096 > +# define MAX_WIDTH 8192 > #endif > /** Maximum viewport/image height */ > #ifndef MAX_HEIGHT > -# define MAX_HEIGHT 4096 > +# define MAX_HEIGHT 8192 > #endif > > /** Maxmimum size for CVA. May be overridden by the drivers. */ > @@ -168,7 +168,7 @@ > #define MAX_TEXTURE_MAX_ANISOTROPY 16.0 > > /** For GL_EXT_texture_lod_bias (typically MAX_TEXTURE_LEVELS - 1) */ > -#define MAX_TEXTURE_LOD_BIAS 12.0 > +#define MAX_TEXTURE_LOD_BIAS 13.0 > > /** For any program target/extension */ > /*...@{*/ > -- > 1.7.0.4 > > _______________________________________________ > mesa-dev mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/mesa-dev > _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
