summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-06-25 13:26:52 +1000
committerDave Airlie <[email protected]>2009-06-25 13:26:52 +1000
commitcdbcb051d93836861bc4d4e1027156111ac249d2 (patch)
tree29332042b5d05094531beefda9c8fddfc0a6afaa /src/mesa/drivers/dri/r200
parent69fd0cbaa2ac259101f647ad0934b626f382674f (diff)
radeon/r200: add some hw texture limits
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c
index 241390cef79..1ba8e5e612d 100644
--- a/src/mesa/drivers/dri/r200/r200_context.c
+++ b/src/mesa/drivers/dri/r200/r200_context.c
@@ -356,7 +356,10 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual,
/* FIXME: When no memory manager is available we should set this
* to some reasonable value based on texture memory pool size */
- ctx->Const.MaxTextureLevels = 12;
+ ctx->Const.MaxTextureLevels = 11;
+ ctx->Const.Max3DTextureLevels = 8;
+ ctx->Const.MaxCubeTextureLevels = 11;
+ ctx->Const.MaxTextureRectSize = 2048;
ctx->Const.MaxTextureMaxAnisotropy = 16.0;