diff options
author | Alex Deucher <alex@botch2.com> | 2008-05-12 11:57:08 -0400 |
---|---|---|
committer | Alex Deucher <alex@botch2.com> | 2008-05-12 11:57:08 -0400 |
commit | 2a4d1085cb9d2d03e6aeb2c71a59888826c31afd (patch) | |
tree | fdf172c83e55f3dabe12480e7f509d2f158ad58b /src/mesa/drivers/dri/r300/r300_context.c | |
parent | 63503f284863530d628f26bea27f2390aca518e5 (diff) |
R500: add support for 4k textures
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index c56a762289..31cc00a081 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -278,6 +278,11 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual, ctx->Const.MaxTextureCoordUnits); ctx->Const.MaxTextureMaxAnisotropy = 16.0; + if (screen->chip_family >= CHIP_FAMILY_RV515) { + ctx->Const.MaxTextureLevels = 13; + ctx->Const.MaxTextureRectSize = 4096; + } + ctx->Const.MinPointSize = 1.0; ctx->Const.MinPointSizeAA = 1.0; ctx->Const.MaxPointSize = R300_POINTSIZE_MAX; |