mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
radeon/r200: add some hw texture limits
This commit is contained in:
parent
69fd0cbaa2
commit
cdbcb051d9
2 changed files with 8 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -286,7 +286,10 @@ r100CreateContext( const __GLcontextModes *glVisual,
|
|||
/* FIXME: When no memory manager is available we should set this
|
||||
* to some reasonable value based on texture memory pool size */
|
||||
/* FIXME: does r100 support 2048x2048 texture ? */
|
||||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue